/* ==========================================================================
   DECAL TẤN KIỆT - STYLING SYSTEM
   Chuẩn màu RGB dịu mắt, sang trọng, phong cách chuyên nghiệp đẳng cấp
   ========================================================================== */

:root {
  /* RGB Color System - Chuẩn màu RGB êm dịu, không chói gắt */
  --rgb-bg-main: 34, 36, 40;           /* rgb(34, 36, 40) - Nền chính xám than */
  --rgb-bg-surface: 45, 48, 53;        /* rgb(45, 48, 53) - Bề mặt thẻ card / navbar */
  --rgb-bg-elevated: 58, 62, 68;       /* rgb(58, 62, 68) - Bề mặt nâng cao / hover */
  --rgb-bg-input: 39, 42, 46;          /* rgb(39, 42, 46) - Bề mặt ô input */
  
  --rgb-gold: 34, 211, 238;            /* rgb(34, 211, 238) - Màu nhấn cyan (tên biến giữ là gold) */
  --rgb-gold-soft: 103, 232, 249;      /* rgb(103, 232, 249) - Cyan sáng */
  --rgb-gold-dark: 8, 145, 178;        /* rgb(8, 145, 178) - Cyan đậm */
  
  --rgb-blue-accent: 56, 189, 248;     /* rgb(56, 189, 248) - Xanh biển dịu êm */
  --rgb-green-accent: 52, 211, 153;    /* rgb(52, 211, 153) - Xanh lá tươi mát */
  --rgb-zalo: 0, 104, 255;             /* rgb(0, 104, 255) - Zalo Blue */
  --rgb-fb: 24, 119, 242;              /* rgb(24, 119, 242) - Facebook Blue */

  --rgb-text-primary: 243, 244, 246;   /* rgb(243, 244, 246) - Chữ chính sáng dịu */
  --rgb-text-secondary: 170, 170, 178; /* rgb(170, 170, 178) - Chữ phụ xám trung tính */
  --rgb-text-muted: 128, 128, 136;     /* rgb(128, 128, 136) - Chữ mờ nhẹ */

  --rgb-border: 255, 255, 255;         /* Dùng kèm opacity: rgba(var(--rgb-border), 0.08) */
  --rgb-bg-deep: 27, 29, 32;           /* Nền sâu: thanh thông báo, footer, header modal/chat */
  --text-on-deep-heading: #ffffff;     /* Màu chữ sáng đầu gradient tiêu đề logo */

  /* Ready-to-use variables */
  --bg-main: rgb(var(--rgb-bg-main));
  --bg-surface: rgb(var(--rgb-bg-surface));
  --bg-elevated: rgb(var(--rgb-bg-elevated));
  --text-primary: rgb(var(--rgb-text-primary));
  --text-secondary: rgb(var(--rgb-text-secondary));
  --text-muted: rgb(var(--rgb-text-muted));
  --accent-gold: rgb(var(--rgb-gold));
  --accent-gold-soft: rgb(var(--rgb-gold-soft));
  --border-color: rgba(var(--rgb-border), 0.09);

  /* Shadows & Glows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.4);
  --shadow-gold-glow: 0 0 25px rgba(var(--rgb-gold), 0.2);
  --shadow-float: 0 8px 30px rgba(0, 0, 0, 0.45);

  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-normal: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: 0.5s cubic-bezier(0.16, 1, 0.3, 1);

  /* Typography */
  --font-main: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', 'Be Vietnam Pro', sans-serif;
  
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  color-scheme: dark;
}

/* ==========================================================================
   GIAO DIỆN SÁNG (data-theme="light" do theme.js đặt; "Tự động" theo hệ điều hành)
   ========================================================================== */
:root[data-theme="light"] {
  --rgb-bg-main: 244, 246, 250;
  --rgb-bg-surface: 255, 255, 255;
  --rgb-bg-elevated: 234, 238, 245;
  --rgb-bg-input: 248, 250, 252;
  --rgb-bg-deep: 236, 240, 246;

  --rgb-gold: 214, 140, 10;
  --rgb-gold-soft: 180, 105, 0;
  --rgb-gold-dark: 180, 83, 9;
  --rgb-blue-accent: 2, 132, 199;
  --rgb-green-accent: 5, 150, 105;

  --rgb-text-primary: 17, 24, 39;
  --rgb-text-secondary: 71, 85, 105;
  --rgb-text-muted: 100, 116, 139;

  --rgb-border: 15, 23, 42;
  --border-color: rgba(var(--rgb-border), 0.12);
  --text-on-deep-heading: rgb(17, 24, 39);

  --shadow-subtle: 0 4px 20px rgba(15, 23, 42, 0.08);
  --shadow-card: 0 10px 30px -5px rgba(15, 23, 42, 0.12);
  --shadow-gold-glow: 0 0 25px rgba(var(--rgb-gold), 0.18);
  --shadow-float: 0 8px 30px rgba(15, 23, 42, 0.16);

  color-scheme: light;
}

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-main);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

button, input, select, textarea {
  font-family: inherit;
  color: inherit;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: rgb(var(--rgb-bg-elevated));
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: rgba(var(--rgb-gold), 0.5);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.text-center {
  text-align: center;
}

/* ==========================================================================
   BUTTONS & UI PILLS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, rgb(var(--rgb-gold)) 0%, rgb(var(--rgb-gold-dark)) 100%);
  color: #0b0f19;
  box-shadow: 0 4px 15px rgba(var(--rgb-gold), 0.28);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(var(--rgb-gold), 0.42);
  filter: brightness(1.08);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(var(--rgb-bg-elevated), 0.9);
  color: var(--text-primary);
  border: 1px solid rgba(var(--rgb-border), 0.15);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  background: rgb(var(--rgb-bg-elevated));
  border-color: rgba(var(--rgb-gold), 0.5);
  color: var(--accent-gold-soft);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(var(--rgb-gold), 0.5);
}
.btn-outline:hover {
  background: rgba(var(--rgb-gold), 0.12);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 1.05rem;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
  /* Nút full-width có chữ dài (VD: nút gửi form in tem) được xuống dòng trên mobile, không tràn khỏi nút */
  white-space: normal;
  text-align: center;
  line-height: 1.4;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(var(--rgb-gold), 0.12);
  border: 1px solid rgba(var(--rgb-gold), 0.25);
  border-radius: var(--radius-full);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 40px auto;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */
.announcement-bar {
  background: rgba(var(--rgb-bg-deep), 0.95);
  border-bottom: 1px solid rgba(var(--rgb-border), 0.05);
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 6px 0;
}

.announcement-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.announcement-left, .announcement-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.announcement-bar i {
  color: var(--accent-gold);
  margin-right: 4px;
}

.divider {
  opacity: 0.3;
}

.phone-link {
  color: var(--accent-gold-soft);
  font-weight: 600;
}
.phone-link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   HEADER & NAVIGATION TABS (Requirement 2 & 4)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(var(--rgb-bg-main), 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  transition: all var(--transition-normal);
}

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

/* Logo: Requirement 4 */
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  transition: transform var(--transition-fast);
  text-decoration: none;
}
.brand-logo-link:hover {
  transform: scale(1.02);
}

.brand-logo-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.4);
  padding: 2px;
  border: 1px solid rgba(var(--rgb-gold), 0.35);
  box-shadow: 0 0 15px rgba(var(--rgb-gold), 0.15);
  transition: box-shadow var(--transition-normal);
}
.brand-logo-link:hover .brand-logo-img {
  box-shadow: 0 0 20px rgba(var(--rgb-gold), 0.35);
}

.brand-text-block {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--text-on-deep-heading) 40%, var(--accent-gold-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1.1;
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent-gold);
  letter-spacing: 0.8px;
  margin-top: 2px;
}

/* Nav Tabs: Requirement 2 */
.nav-tab-list {
  display: flex;
  align-items: center;
  background: rgba(var(--rgb-bg-surface), 0.8);
  padding: 5px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(var(--rgb-border), 0.08);
  gap: 4px;
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all var(--transition-normal);
}

.nav-tab-btn i {
  font-size: 0.95rem;
}

.nav-tab-btn span {
  white-space: nowrap;
}

/* Header 5 tab + 3 nút hành động phải vừa khung 1200px:
   ẩn nhãn phụ & icon của tab, nút "Tra cứu lịch" chỉ còn icon (có title khi rê chuột). */
.tab-pill,
.nav-tab-btn i,
.header-guest-btn span {
  display: none;
}

.nav-tab-btn {
  padding: 8px 14px;
}

.brand-title {
  white-space: nowrap;
}

@media (max-width: 1200px) {
  .nav-tab-btn {
    padding: 8px 10px;
  }
  .header-admin-btn span,
  .header-booking-btn span {
    display: none;
  }
}

/* Dưới 1040px không đủ chỗ cho 5 tab => chuyển sang menu hamburger (drawer), nút hiện lại chữ */
@media (max-width: 1040px) {
  .main-navigation {
    display: none;
  }
  .header-action-group .mobile-menu-toggle {
    display: flex;
  }
}

/* Từ 860px trở xuống: layout mobile gốc (đã ẩn nút tra cứu) => hiện lại chữ trên nút */
@media (max-width: 860px) {
  .header-admin-btn span,
  .header-booking-btn span {
    display: inline;
  }
}

.nav-tab-btn:hover {
  color: var(--text-primary);
  background: rgba(var(--rgb-border), 0.05);
}

.nav-tab-btn.active {
  background: linear-gradient(135deg, rgb(var(--rgb-gold)) 0%, rgb(var(--rgb-gold-dark)) 100%);
  color: #0b0f19;
  box-shadow: 0 4px 15px rgba(var(--rgb-gold), 0.25);
}

.tab-pill {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: rgb(56, 189, 248);
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.tab-pill-gold {
  background: rgba(var(--rgb-gold), 0.15);
  color: rgb(var(--rgb-gold));
  border: 1px solid rgba(var(--rgb-gold), 0.3);
}

.nav-tab-btn.active .tab-pill,
.nav-tab-btn.active .tab-pill-gold {
  background: rgba(0, 0, 0, 0.2);
  color: #0b0f19;
  border-color: rgba(0, 0, 0, 0.25);
}

/* Header Action CTA */
.header-action-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-call-btn {
  font-size: 0.88rem;
  padding: 8px 18px;
}

.header-booking-btn {
  font-size: 0.88rem;
  padding: 8px 18px;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 38px;
  height: 38px;
  padding: 10px 8px;
  background: rgba(var(--rgb-bg-surface), 0.8);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.mobile-menu-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  left: -320px;
  width: 300px;
  height: 100vh;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-color);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  transition: left var(--transition-normal);
  padding: 24px;
}
.mobile-drawer.open {
  left: 0;
}
.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}
.drawer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(var(--rgb-gold), 0.3);
}
.drawer-brand strong {
  display: block;
  font-size: 1rem;
}
.drawer-brand small {
  color: var(--text-muted);
  font-size: 0.75rem;
}
.drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  color: var(--text-muted);
  cursor: pointer;
}
.drawer-body {
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mobile-tab-btn {
  width: 100%;
  text-align: left;
  padding: 12px 16px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.mobile-tab-btn.active {
  background: rgba(var(--rgb-gold), 0.15);
  border-color: rgba(var(--rgb-gold), 0.3);
  color: var(--accent-gold);
}
.drawer-contact-info {
  border-top: 1px solid var(--border-color);
  padding-top: 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.drawer-contact-info p {
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.drawer-socials {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.drawer-social-btn {
  flex: 1;
  text-align: center;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.zalo-btn {
  background: rgb(var(--rgb-zalo));
  color: #fff;
}
.fb-btn {
  background: rgb(var(--rgb-fb));
  color: #fff;
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

/* ==========================================================================
   TAB VIEW SYSTEM
   ========================================================================== */
.tab-view {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.tab-view.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 60px 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(var(--rgb-gold), 0.08) 0%, transparent 50%),
              radial-gradient(circle at 10% 80%, rgba(56, 189, 248, 0.05) 0%, transparent 40%);
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 50px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(var(--rgb-bg-surface), 0.9);
  border: 1px solid rgba(var(--rgb-border), 0.12);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgb(var(--rgb-green-accent));
  box-shadow: 0 0 10px rgb(var(--rgb-green-accent));
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--text-primary);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.highlight-gold {
  color: var(--accent-gold-soft);
  text-shadow: 0 0 30px rgba(var(--rgb-gold), 0.35);
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 35px;
  max-width: 600px;
}

.hero-desc strong {
  color: var(--text-primary);
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 45px;
}

.hero-stats {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding-top: 25px;
  border-top: 1px solid var(--border-color);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-gold-soft);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 4px;
  max-width: 220px;
  line-height: 1.45;
}

.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(var(--rgb-border), 0.1);
}

.hero-media-wrapper {
  position: relative;
}

.hero-main-img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--rgb-gold), 0.25);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(var(--rgb-gold), 0.12);
}

/* Ảnh hero chụp dọc: căn khung vào thợ đang thi công + logo trên lưng áo */
.hero-main-img--portrait {
  object-position: center 62%;
}

.hero-badge-float {
  position: absolute;
  top: 20px;
  left: -20px;
  background: rgba(var(--rgb-bg-surface), 0.92);
  backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--rgb-gold), 0.4);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-float);
  animation: floatBounce 4s ease-in-out infinite;
}

.float-logo-thumb {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 6px;
}

.hero-badge-float strong {
  display: block;
  font-size: 0.9rem;
  color: var(--accent-gold-soft);
}

.hero-badge-float small {
  font-size: 0.75rem;
  color: var(--text-secondary);
}

@keyframes floatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ==========================================================================
   REQUIREMENT 5: SERVICE SELECTOR UNDER HOME
   Dưới trang home là trang (khu vực) dùng để chọn opt là dán xe hoặc in tem
   ========================================================================== */
.section-services-selector {
  padding: 70px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(var(--rgb-bg-surface), 0.5) 50%, var(--bg-main) 100%);
  position: relative;
}

.services-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.choice-card {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(var(--rgb-border), 0.1);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
}

.choice-card:hover {
  transform: translateY(-8px);
  border-color: rgba(var(--rgb-gold), 0.5);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), var(--shadow-gold-glow);
}

.choice-card-image-box {
  position: relative;
  height: 250px;
  overflow: hidden;
}

.choice-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.choice-card:hover .choice-bg-img {
  transform: scale(1.06);
}

.choice-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(var(--rgb-bg-surface), 0.95) 100%);
}

.choice-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(16, 185, 129, 0.9);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  backdrop-filter: blur(8px);
}

.choice-badge-gold {
  background: rgba(var(--rgb-gold), 0.95);
  color: #0b0f19;
}

.choice-card-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.choice-icon-wrap {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-md);
  background: rgba(56, 189, 248, 0.12);
  color: rgb(56, 189, 248);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  transition: all var(--transition-normal);
}

.choice-icon-wrap.icon-gold {
  background: rgba(var(--rgb-gold), 0.12);
  color: var(--accent-gold);
  border-color: rgba(var(--rgb-gold), 0.25);
}

.choice-card:hover .choice-icon-wrap {
  transform: scale(1.1) rotate(5deg);
}

.choice-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.choice-desc {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 20px;
}

.choice-features-list {
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.choice-features-list li {
  font-size: 0.9rem;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.choice-features-list li i {
  color: rgb(var(--rgb-green-accent));
  font-size: 0.9rem;
}

.choice-action {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.choice-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  color: rgb(56, 189, 248);
  transition: gap var(--transition-fast);
}

.choice-btn-gold {
  color: var(--accent-gold-soft);
}

.choice-card:hover .choice-btn {
  gap: 12px;
}

.choice-warranty-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   QUICK CALCULATOR / ESTIMATOR
   ========================================================================== */
.section-calculator {
  padding: 30px 0 70px 0;
}

.calc-card {
  background: var(--bg-surface);
  border: 1px solid rgba(var(--rgb-gold), 0.2);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-card);
}

.calc-header {
  margin-bottom: 28px;
}

.calc-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-gold);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.calc-header h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 6px;
}

.calc-header p {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1.1fr;
  gap: 24px;
  align-items: center;
}

.calc-field label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-field label i {
  color: var(--accent-gold);
}

.calc-select {
  width: 100%;
  padding: 14px 16px;
  background: rgb(var(--rgb-bg-input));
  border: 1px solid rgba(var(--rgb-border), 0.12);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  cursor: pointer;
  transition: border-color var(--transition-fast);
}
.calc-select:focus {
  border-color: var(--accent-gold);
}

/* Bước 1: chọn Xe 2 bánh / Xe 4 bánh */
.calc-field-full {
  grid-column: 1 / -1;
}

.calc-step-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.calc-step-label i {
  color: var(--accent-gold);
}

.calc-wheel-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 520px;
}

.calc-wheel-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  background: rgb(var(--rgb-bg-input));
  border: 1px solid rgba(var(--rgb-border), 0.12);
  border-radius: var(--radius-md);
  color: var(--text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
}

.calc-wheel-btn i {
  font-size: 1.15rem;
}

.calc-wheel-btn:hover {
  border-color: rgba(var(--rgb-gold), 0.5);
  color: var(--text-primary);
}

.calc-wheel-btn.active {
  border-color: var(--accent-gold);
  background: rgba(var(--rgb-gold), 0.14);
  color: var(--accent-gold);
}

.calc-wheel-btn:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

/* ==================== ĐẶT LÀM BIỂN SỐ XE ==================== */
.plate-order-card .calc-wheel-toggle {
  max-width: none;
}

.plate-preview-row {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  margin: 4px 0 22px;
}

/* Biển số xem trước: màu nền/chữ cố định như biển thật, không đổi theo theme sáng/tối */
.plate-preview {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  max-width: 100%;
  padding: 12px 22px;
  border: 3px solid #111;
  border-radius: 8px;
  font-family: 'Arial Narrow', 'Roboto Condensed', Arial, sans-serif;
  font-weight: 700;
  font-size: 2rem;
  letter-spacing: 1px;
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.6), 0 6px 18px rgba(0, 0, 0, 0.25);
}

.plate-preview.plate-white {
  background: #f8f8f6;
  color: #111;
}

.plate-preview.plate-yellow {
  background: #f6c90e;
  color: #111;
}

.plate-preview.plate-car {
  min-width: 300px;
}

.plate-preview.plate-placeholder span {
  opacity: 0.35;
}

.plate-preview-note {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.plate-quote-box {
  background: rgba(var(--rgb-bg-elevated), 0.8);
  border: 1px solid rgba(var(--rgb-gold), 0.3);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 18px;
}

.plate-quote-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 0;
}

.plate-quote-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
}

.plate-quote-label i {
  color: var(--accent-gold);
  margin-right: 4px;
}

.plate-quote-value {
  color: var(--accent-gold);
  font-size: 1.1rem;
  text-align: right;
}

.plate-quote-note {
  margin-top: 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.plate-form-alert {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #ef4444;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 0.88rem;
  margin-bottom: 14px;
}

.plate-order-success {
  text-align: center;
}

.plate-success-icon {
  font-size: 3rem;
  color: rgb(var(--rgb-green-accent));
  margin-bottom: 10px;
}

.plate-order-success h3 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.plate-order-success > p {
  color: var(--text-secondary);
}

.plate-success-summary {
  text-align: left;
  max-width: 460px;
  margin: 18px auto 6px;
  background: rgba(var(--rgb-bg-elevated), 0.8);
  border: 1px solid rgba(var(--rgb-gold), 0.3);
  border-radius: var(--radius-md);
  padding: 14px 18px;
}

.plate-success-summary div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(var(--rgb-border), 0.12);
}

.plate-success-summary div:last-child {
  border-bottom: none;
}

.plate-success-summary span {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

.plate-success-summary strong {
  text-align: right;
}

.plate-order-success .btn {
  margin-top: 14px;
}

@media (max-width: 480px) {
  .plate-preview {
    min-width: 0;
    width: 100%;
    font-size: 1.5rem;
  }
  .plate-preview.plate-car {
    min-width: 0;
  }
}

.calc-result-box {
  background: rgba(var(--rgb-bg-elevated), 0.8);
  border: 1px solid rgba(var(--rgb-gold), 0.3);
  padding: 20px;
  border-radius: var(--radius-md);
  text-align: center;
}

.result-text-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.result-price {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-gold-soft);
  margin: 6px 0;
}

.result-time {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.mt-3 {
  margin-top: 12px;
}

/* ==========================================================================
   FEATURES / WHY CHOOSE US
   ========================================================================== */
.section-features {
  padding: 70px 0;
}

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

.feature-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 28px 22px;
  transition: all var(--transition-normal);
}

.feature-item:hover {
  transform: translateY(-4px);
  border-color: rgba(var(--rgb-gold), 0.4);
  box-shadow: var(--shadow-subtle);
}

.feature-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(var(--rgb-gold), 0.12);
  color: var(--accent-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.feature-item h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.feature-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   STOREFRONT HIGHLIGHT
   ========================================================================== */
.section-store-highlight {
  padding: 70px 0;
  background: rgba(var(--rgb-bg-surface), 0.4);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.store-highlight-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 50px;
}

.store-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--rgb-gold), 0.3);
  box-shadow: var(--shadow-card);
}

.store-front-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
}

.store-badge-card {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(var(--rgb-bg-main), 0.92);
  backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(var(--rgb-gold), 0.3);
  display: flex;
  align-items: center;
  gap: 14px;
}

.store-badge-card i {
  font-size: 1.6rem;
  color: var(--accent-gold);
}

.store-badge-card strong {
  display: block;
  font-size: 0.95rem;
}

.store-badge-card span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Link địa chỉ -> Google Maps: giữ nguyên giao diện chữ, chỉ gạch chân khi rê chuột */
.map-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}

.map-link:hover strong,
a.map-link:not(.store-badge-card):hover {
  text-decoration: underline;
}

.store-badge-card.map-link {
  transition: border-color 0.2s ease;
}

.store-badge-card.map-link:hover {
  border-color: var(--accent-gold);
}

.store-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.store-desc strong {
  color: var(--text-primary);
}

.store-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}

.perk-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.perk-row i {
  color: rgb(var(--rgb-green-accent));
  margin-top: 4px;
}

.store-action-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   SUBPAGE STYLES (DÁN XE, IN TEM, GIỚI THIỆU)
   ========================================================================== */
.subpage-hero {
  padding: 50px 0 40px 0;
  background: radial-gradient(circle at 50% 0%, rgba(var(--rgb-gold), 0.1) 0%, transparent 60%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
}

.subpage-breadcrumbs {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}
.subpage-breadcrumbs a:hover {
  color: var(--accent-gold);
}
.subpage-breadcrumbs .current {
  color: var(--accent-gold-soft);
  font-weight: 600;
}

.subpage-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 14px;
}

.subpage-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto;
}

/* Detailed Services Cards */
.section-detail-services {
  padding: 60px 0;
}

.service-detail-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-normal);
}
.service-detail-card:hover {
  border-color: rgba(var(--rgb-gold), 0.4);
}

.service-detail-card.reverse {
  grid-template-columns: 1.2fr 1fr;
}
.service-detail-card.reverse .service-detail-media {
  order: 2;
}
.service-detail-card.reverse .service-detail-info {
  order: 1;
}

.service-detail-media {
  position: relative;
  height: 100%;
  min-height: 320px;
  overflow: hidden;
}

/* Ảnh nằm tuyệt đối để ảnh dọc không kéo dài thẻ, chiều cao theo cột nội dung */
.service-detail-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-detail-media img.media-focus-top {
  object-position: center 30%;
}

.service-detail-info {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  background: rgba(56, 189, 248, 0.15);
  color: rgb(56, 189, 248);
  margin-bottom: 12px;
}

.service-badge.gold {
  background: rgba(var(--rgb-gold), 0.15);
  color: var(--accent-gold);
}

.service-detail-info h3 {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  margin-bottom: 14px;
}

.service-detail-info p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
}

.service-specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  background: rgba(0, 0, 0, 0.25);
  padding: 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.spec-item {
  display: flex;
  flex-direction: column;
}

.spec-name {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.spec-val {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.spec-val.highlight {
  color: var(--accent-gold-soft);
  font-size: 1.05rem;
}

/* Process Section */
.section-process {
  padding: 60px 0;
  background: rgba(var(--rgb-bg-surface), 0.3);
  border-top: 1px solid var(--border-color);
}

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

.process-step {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  padding: 28px 22px;
  border-radius: var(--radius-md);
  position: relative;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(var(--rgb-gold), 0.25);
  line-height: 1;
  margin-bottom: 12px;
}

.process-step h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Custom Sticker Request Form */
.section-custom-sticker-form {
  padding: 60px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, rgba(var(--rgb-bg-surface), 0.6) 100%);
}

.custom-form-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-surface);
  border: 1px solid rgba(var(--rgb-gold), 0.25);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-card);
}

.form-intro {
  text-align: center;
  margin-bottom: 30px;
}
.form-intro h3 {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  margin-bottom: 10px;
}
.form-intro p {
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.form-row > * {
  min-width: 0; /* ô chọn file / input dài không đẩy tràn cột lưới */
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: rgb(var(--rgb-bg-input));
  border: 1px solid rgba(var(--rgb-border), 0.12);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 0.92rem;
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent-gold);
}

/* Form in tem: ô chọn file mẫu + xem trước */
.form-group input[type="file"] {
  padding: 9px 12px;
  cursor: pointer;
}

.stk-file-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  padding: 10px;
  border: 1px dashed rgba(var(--rgb-gold), 0.4);
  border-radius: var(--radius-md);
}
.stk-file-preview img {
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}
.stk-file-preview-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
  font-size: 0.88rem;
  color: var(--text-secondary);
}
.stk-file-preview-info span {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .custom-form-card {
    padding: 24px 16px;
  }
  .form-intro h3 {
    font-size: 1.4rem;
  }
}

/* About Page Content */
.section-about-content {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: flex-start;
}

.about-text-content h3 {
  font-family: var(--font-heading);
  font-size: 2rem;
  margin-bottom: 18px;
  color: var(--accent-gold-soft);
}

.about-text-content p {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 18px;
}

.store-info-box {
  background: var(--bg-surface);
  border: 1px solid rgba(var(--rgb-gold), 0.3);
  padding: 24px;
  border-radius: var(--radius-md);
  margin-top: 26px;
}

.store-info-box h4 {
  font-size: 1.15rem;
  color: var(--accent-gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.store-info-list li {
  font-size: 0.95rem;
  margin-bottom: 12px;
  color: var(--text-primary);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.store-info-list li i {
  color: var(--accent-gold);
  margin-top: 5px;
}

.store-info-list a {
  color: var(--accent-gold-soft);
  font-weight: 600;
}

.about-visuals {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.storefront-card {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
}
.storefront-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
.storefront-card .caption {
  padding: 12px 16px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-align: center;
}

.logo-card-feature {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(var(--rgb-gold), 0.3);
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo-card-feature img {
  width: 90px;
  height: 90px;
  object-fit: contain;
  border-radius: 8px;
  background: #000;
  padding: 4px;
}

.logo-caption strong {
  font-size: 1.05rem;
  color: var(--accent-gold-soft);
  display: block;
  margin-bottom: 4px;
}
.logo-caption p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background: rgb(var(--rgb-bg-deep));
  border-top: 1px solid var(--border-color);
  padding: 60px 0 0 0;
  margin-top: 40px;
}

.footer-container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.footer-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand-title {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-brand-sub {
  font-size: 0.72rem;
  color: var(--accent-gold);
  letter-spacing: 0.5px;
}

.footer-about-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
}

.footer-social-icons {
  display: flex;
  gap: 12px;
}

.f-social-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.f-social-icon:hover {
  background: var(--accent-gold);
  color: #0b0f19;
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  margin-bottom: 20px;
  color: var(--text-primary);
  position: relative;
  padding-bottom: 8px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background: var(--accent-gold);
}

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

.footer-links a {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--transition-fast);
}

.footer-links a i {
  font-size: 0.75rem;
  color: var(--accent-gold);
}

.footer-links a:hover {
  color: var(--accent-gold-soft);
  transform: translateX(4px);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.footer-contact-list i {
  color: var(--accent-gold);
  margin-top: 4px;
  font-size: 1rem;
}

.footer-contact-list a {
  color: var(--accent-gold-soft);
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(var(--rgb-border), 0.05);
  padding: 20px 0;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

/* ==========================================================================
   REQUIREMENT 6: FLOATING CONTACT CLUSTER AT BOTTOM RIGHT
   Góc dưới bên phải gồm các thông tin liên hệ như face, zalo, và chatbox
   ========================================================================== */
.floating-contact-cluster {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

/* Tooltip Hint */
.cluster-hint {
  background: rgba(var(--rgb-bg-surface), 0.95);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(var(--rgb-gold), 0.4);
  color: var(--text-primary);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-float);
  animation: hintPulse 2.5s infinite;
}

.hint-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 0 4px;
}

@keyframes hintPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

/* Common Float Button */
.float-btn {
  position: relative;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.35rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  border: none;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.float-btn-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-btn-text {
  display: none;
}

.float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

/* Nút kén thu nhỏ (Peek Pill) khi thanh liên lạc nổi tự động lặn xuống trên mobile */
.contact-peek-pill {
  position: fixed;
  bottom: max(10px, env(safe-area-inset-bottom, 10px));
  left: 50%;
  transform: translateX(-50%) translateY(60px);
  background: rgba(var(--rgb-bg-deep), 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(var(--rgb-gold), 0.45);
  color: var(--accent-gold);
  border-radius: var(--radius-full);
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  display: none;
  align-items: center;
  gap: 7px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 12px rgba(var(--rgb-gold), 0.15);
  z-index: 989;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
}

@keyframes peekPulse {
  0%, 100% { box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55), 0 0 12px rgba(var(--rgb-gold), 0.15); }
  50% { box-shadow: 0 6px 22px rgba(0, 0, 0, 0.65), 0 0 18px rgba(var(--rgb-gold), 0.35); }
}

.float-btn-label {
  position: absolute;
  right: 64px;
  background: rgba(var(--rgb-bg-surface), 0.96);
  backdrop-filter: blur(8px);
  color: var(--text-primary);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all var(--transition-fast);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-subtle);
}

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

/* Hotline Call Button */
.float-phone {
  background: linear-gradient(135deg, rgb(34, 197, 94) 0%, rgb(21, 128, 61) 100%);
  animation: phoneRing 3s ease-in-out infinite;
}
@keyframes phoneRing {
  0%, 100% { transform: scale(1); }
  10%, 20% { transform: scale(1.08) rotate(-10deg); }
  15%, 25% { transform: scale(1.08) rotate(10deg); }
  30% { transform: scale(1); }
}

/* Facebook Button */
.float-facebook {
  background: linear-gradient(135deg, rgb(24, 119, 242) 0%, rgb(10, 85, 185) 100%);
}

/* Zalo Button */
.float-zalo {
  background: linear-gradient(135deg, rgb(0, 104, 255) 0%, rgb(0, 80, 200) 100%);
}
.zalo-text-icon {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

/* Chatbox Button */
.float-chatbox {
  width: 58px;
  height: 58px;
  background: linear-gradient(135deg, rgb(var(--rgb-gold)) 0%, rgb(var(--rgb-gold-dark)) 100%);
  color: #0b0f19;
  box-shadow: 0 6px 25px rgba(var(--rgb-gold), 0.4);
}
.float-chatbox .icon-active {
  display: none;
}
.float-chatbox.open .icon-normal {
  display: none;
}
.float-chatbox.open .icon-active {
  display: block;
  font-size: 1.5rem;
}

.unread-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #ef4444;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--bg-main);
  animation: pulseBadge 2s infinite;
}
@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* ==========================================================================
   CHATBOX WINDOW (MẪU CHATBOX TƯƠNG TÁC)
   ========================================================================== */
.chatbox-window {
  position: fixed;
  bottom: 95px;
  right: 24px;
  width: 375px;
  max-width: calc(100vw - 40px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--bg-surface);
  border: 1px solid rgba(var(--rgb-gold), 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card), 0 0 35px rgba(0, 0, 0, 0.6);
  z-index: 991;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.95);
  pointer-events: none;
  transition: all var(--transition-normal);
}

.chatbox-window.open {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Header */
.chatbox-header {
  background: rgba(var(--rgb-bg-deep), 0.98);
  border-bottom: 1px solid var(--border-color);
  padding: 14px 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbox-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.chatbox-avatar-wrap {
  position: relative;
}

.chatbox-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--accent-gold);
}

.status-indicator.online {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgb(var(--rgb-green-accent));
  border: 2px solid var(--bg-surface);
}

.chatbox-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.chatbox-subtitle {
  font-size: 0.72rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 2px;
}

.dot-online {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(var(--rgb-green-accent));
}

.chatbox-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.chat-ctrl-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  width: 30px;
  height: 30px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}
.chat-ctrl-btn:hover {
  background: rgba(var(--rgb-border), 0.1);
  color: var(--text-primary);
}

/* Notice Banner */
.chatbox-notice {
  background: rgba(var(--rgb-gold), 0.12);
  border-bottom: 1px solid rgba(var(--rgb-gold), 0.2);
  padding: 6px 14px;
  font-size: 0.74rem;
  color: var(--accent-gold-soft);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Body / Messages */
.chatbox-body {
  flex-grow: 1;
  min-height: 0;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: radial-gradient(circle at 50% 50%, rgba(var(--rgb-bg-surface), 0.8) 0%, var(--bg-main) 100%);
}

.chat-msg {
  display: flex;
  gap: 10px;
  max-width: 88%;
  animation: messageIn 0.3s ease;
}

@keyframes messageIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.msg-received {
  align-self: flex-start;
}

.msg-sent {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.msg-avatar img {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(var(--rgb-gold), 0.4);
}

.msg-bubble {
  padding: 12px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  position: relative;
}

.msg-received .msg-bubble {
  background: rgba(var(--rgb-bg-elevated), 0.9);
  border: 1px solid rgba(var(--rgb-border), 0.08);
  color: var(--text-primary);
  border-top-left-radius: 4px;
}

.msg-sent .msg-bubble {
  background: linear-gradient(135deg, rgb(var(--rgb-gold)) 0%, rgb(var(--rgb-gold-dark)) 100%);
  color: #0b0f19;
  border-top-right-radius: 4px;
  font-weight: 500;
}

.msg-time {
  display: block;
  font-size: 0.68rem;
  color: var(--text-muted);
  margin-top: 4px;
  text-align: right;
}

.msg-sent .msg-time {
  color: rgba(0, 0, 0, 0.6);
}

.msg-bubble {
  overflow-wrap: anywhere;
}

.msg-received .msg-bubble a {
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: underline;
}

/* Link đặt lịch do bot gửi: hiện như nút bấm */
.msg-received .msg-bubble a.chat-booking-link {
  display: inline-block;
  margin: 4px 0;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
  color: #0b0f19;
  text-decoration: none;
}

.chat-send-btn:disabled {
  opacity: 0.5;
  cursor: wait;
}

/* Quick Action Chips */
.quick-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 6px;
}

.chip-btn {
  background: rgba(var(--rgb-bg-elevated), 0.7);
  border: 1px solid rgba(var(--rgb-gold), 0.3);
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip-btn:hover {
  background: rgba(var(--rgb-gold), 0.15);
  border-color: var(--accent-gold);
  color: var(--accent-gold-soft);
  transform: translateY(-1px);
}

/* Typing Indicator */
.typing-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  color: var(--text-muted);
  font-size: 0.78rem;
}
.typing-indicator span {
  width: 6px;
  height: 6px;
  background: var(--accent-gold);
  border-radius: 50%;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-5px); }
}

/* Chat Footer / Input Form */
.chatbox-footer {
  padding: 12px 14px;
  background: rgba(var(--rgb-bg-deep), 0.98);
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 8px;
  align-items: center;
}

.chat-input-wrapper {
  position: relative;
  flex-grow: 1;
}

.chat-input-wrapper input {
  width: 100%;
  padding: 10px 38px 10px 14px;
  background: rgb(var(--rgb-bg-input));
  border: 1px solid rgba(var(--rgb-border), 0.1);
  border-radius: var(--radius-full);
  color: var(--text-primary);
  font-size: 0.88rem;
  outline: none;
}
.chat-input-wrapper input:focus {
  border-color: var(--accent-gold);
}

.chat-attach-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
}
.chat-attach-btn:hover {
  color: var(--accent-gold);
}

.chat-send-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--accent-gold);
  color: #0b0f19;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}
.chat-send-btn:hover {
  transform: scale(1.06);
  filter: brightness(1.1);
}

/* ==========================================================================
   MODAL QUICK QUOTE
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid rgba(var(--rgb-gold), 0.35);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}
.modal-backdrop.open .modal-card {
  transform: scale(1);
}

.modal-header {
  padding: 20px 24px;
  background: rgba(var(--rgb-bg-deep), 0.98);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  object-fit: contain;
}

.modal-title-group h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 2px;
}

.modal-title-group small {
  color: var(--text-muted);
  font-size: 0.78rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
}
.modal-close:hover {
  color: var(--text-primary);
}

.modal-body {
  padding: 24px;
}

/* Modal co giãn theo chiều cao màn hình: header cố định, phần thân tự cuộn
   => máy màn nhỏ vẫn kéo xuống được tới nút gửi đơn, không bị kẹt */
.modal-card {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
}
.modal-header {
  flex-shrink: 0;
}
.modal-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 480px), (max-height: 700px) {
  .modal-backdrop {
    padding: 10px;
  }
  .modal-card {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
  }
  .modal-header {
    padding: 14px 16px;
  }
  .modal-body {
    padding: 16px;
  }
}

/* Toast Container */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--bg-surface);
  border: 1px solid rgba(var(--rgb-gold), 0.4);
  color: var(--text-primary);
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: toastIn 0.3s ease forwards;
}

.toast i {
  color: var(--accent-gold);
  font-size: 1.2rem;
}

@keyframes toastIn {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* ==========================================================================
   RESPONSIVE DESIGN (TABLET & MOBILE)
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-media-wrapper {
    order: -1;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
  }
  .hero-main-img {
    height: 360px;
  }
  .hero-badge-float {
    left: 10px;
  }
  .features-grid, .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .store-highlight-container, .about-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .main-navigation {
    display: none;
  }
  .mobile-menu-toggle {
    display: flex;
  }
  .announcement-bar {
    display: none;
  }
  .services-choice-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .calc-grid {
    grid-template-columns: 1fr;
  }
  .service-detail-card, .service-detail-card.reverse {
    grid-template-columns: 1fr;
  }
  .service-detail-card.reverse .service-detail-media {
    order: 1;
  }
  .service-detail-card.reverse .service-detail-info {
    order: 2;
  }
  .service-detail-media {
    min-height: 240px;
    max-height: 280px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-container {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE FULL SCREEN & POPUP FLOATING CONTACT CLUSTER
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Tối ưu trải nghiệm toàn màn hình (Full Screen Mobile) */
  html, body {
    overflow-x: hidden;
    width: 100%;
  }

  .container {
    padding-left: 14px;
    padding-right: 14px;
    width: 100%;
    max-width: 100%;
  }

  .site-header {
    padding: 8px 0;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  .header-container {
    gap: 8px;
  }

  .brand-logo-img {
    width: 38px;
    height: 38px;
  }

  .brand-title {
    font-size: 1.05rem;
    letter-spacing: -0.3px;
  }

  .brand-subtitle {
    font-size: 0.62rem;
  }

  .header-action-group {
    gap: 6px;
  }

  .header-guest-btn {
    display: none; /* Đã có đầy đủ trong menu drawer */
  }

  .header-admin-btn {
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .header-admin-btn span {
    display: none; /* Chỉ hiển thị icon ổ khóa trên mobile để tiết kiệm diện tích */
  }

  .header-booking-btn {
    padding: 8px 11px;
    font-size: 0.95rem;
    white-space: nowrap;
  }

  .header-booking-btn span {
    display: none; /* Chỉ hiển thị icon lịch trên mobile cho gọn */
  }

  /* Section Spacings: Tràn màn hình gọn gàng, thoáng đãng */
  .section-padding {
    padding: 42px 0 38px 0;
  }

  .hero-section {
    padding: 24px 0 30px 0;
  }

  .hero-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .hero-title {
    font-size: 2.1rem;
    line-height: 1.22;
  }

  .hero-desc {
    font-size: 0.94rem;
    margin-bottom: 22px;
    line-height: 1.6;
  }

  .hero-cta-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 28px;
  }

  .hero-cta-group .btn {
    padding: 10px 14px;
    font-size: 0.86rem;
    text-align: center;
    justify-content: center;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px;
  }

  .stat-divider {
    display: none;
  }

  .hero-media-wrapper {
    max-width: 100%;
    width: 100%;
  }

  .hero-main-img {
    height: 240px;
    object-fit: cover;
    border-radius: 16px;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .section-subtitle {
    font-size: 0.88rem;
  }

  .features-grid, .process-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  /* 2. Cụm liên lạc nổi dạng Pop-up Dock dưới đáy màn hình trên Mobile */
  .floating-contact-cluster {
    position: fixed;
    bottom: max(14px, env(safe-area-inset-bottom, 14px));
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(0);
    z-index: 990;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: calc(100% - 24px);
    max-width: 410px;
    padding: 7px 10px;
    background: rgba(var(--rgb-bg-deep), 0.94);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(var(--rgb-gold), 0.38);
    border-radius: 40px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.65), 0 0 20px rgba(var(--rgb-gold), 0.18);
    transition: transform 0.42s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, box-shadow 0.35s ease;
    will-change: transform, opacity;
  }

  /* Khi để yên không cuộn: Tự động lặn xuống để hiển thị trọn vẹn 100% Full Screen */
  .floating-contact-cluster.contact-idle-hidden {
    transform: translateX(-50%) translateY(calc(100% + 35px));
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
  }

  /* Tooltip Hint nổi phía trên dock */
  .cluster-hint {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 0.74rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
  }

  /* Các nút bấm bên trong Mobile Dock */
  .floating-contact-cluster .float-btn {
    position: relative;
    width: auto;
    height: auto;
    min-width: 56px;
    padding: 4px 6px;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    text-decoration: none;
    cursor: pointer;
    border: none;
  }

  .floating-contact-cluster .float-btn:hover {
    transform: none;
    box-shadow: none;
  }

  .floating-contact-cluster .float-btn-icon-wrap {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease;
  }

  .floating-contact-cluster .float-phone .float-btn-icon-wrap {
    background: linear-gradient(135deg, rgb(34, 197, 94) 0%, rgb(21, 128, 61) 100%);
    animation: phoneRing 3s ease-in-out infinite;
  }

  .floating-contact-cluster .float-zalo .float-btn-icon-wrap {
    background: linear-gradient(135deg, rgb(0, 104, 255) 0%, rgb(0, 80, 200) 100%);
  }

  .floating-contact-cluster .float-facebook .float-btn-icon-wrap {
    background: linear-gradient(135deg, rgb(24, 119, 242) 0%, rgb(10, 85, 185) 100%);
  }

  .floating-contact-cluster .float-chatbox .float-btn-icon-wrap {
    background: linear-gradient(135deg, rgb(var(--rgb-gold)) 0%, rgb(var(--rgb-gold-dark)) 100%);
    color: #0b0f19;
  }

  .floating-contact-cluster .float-btn-text {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.2px;
    text-align: center;
    margin-top: 1px;
  }

  .floating-contact-cluster .float-btn-label {
    display: none; /* Tắt nhãn hover dạng tooltip trên mobile */
  }

  .floating-contact-cluster .float-btn:active .float-btn-icon-wrap {
    transform: scale(0.92);
  }

  /* Nút kén hiển thị khi thanh dock lặn xuống */
  .contact-peek-pill {
    display: flex;
  }

  .contact-peek-pill.show-peek {
    transform: translateX(-50%) translateY(0);
    opacity: 0.95;
    pointer-events: auto;
    animation: peekPulse 2.8s infinite;
  }

  /* Hộp Chatbox trên Mobile */
  .chatbox-window {
    right: 8px;
    left: 8px;
    bottom: max(12px, env(safe-area-inset-bottom, 12px));
    width: auto;
    max-width: none;
    height: 78vh;
    max-height: 580px;
    border-radius: 20px;
    z-index: 1001;
  }
}

@media (max-width: 480px) {
  .header-admin-btn {
    display: none; /* Để tinh gọn tối đa thanh trên cùng */
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-cta-group {
    grid-template-columns: 1fr;
  }

  .floating-contact-cluster {
    padding: 6px 6px;
    width: calc(100% - 16px);
  }

  .floating-contact-cluster .float-btn {
    min-width: 50px;
  }

  .floating-contact-cluster .float-btn-icon-wrap {
    width: 36px;
    height: 36px;
    font-size: 1.05rem;
  }

  .floating-contact-cluster .float-btn-text {
    font-size: 0.65rem;
  }
}

/* ==========================================================================
   ADMIN & GUEST PORTAL STYLES
   ========================================================================== */
.modal-header-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.modal-card-xl {
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.admin-dashboard-body {
  overflow-y: auto;
  padding: 24px;
}

/* Admin Quick Stats */
.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-bottom: 22px;
}

.admin-stat-card {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-color);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.admin-stat-card .stat-title {
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.admin-stat-card .stat-value {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
}

.admin-stat-card.warning .stat-value { color: #f59e0b; }
.admin-stat-card.info .stat-value { color: #38bdf8; }
.admin-stat-card.success .stat-value { color: #10b981; }
.admin-stat-card.highlight .stat-value { color: var(--accent-gold); }

/* Filters Bar */
.admin-filters-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
  background: rgba(var(--rgb-bg-elevated), 0.5);
  padding: 12px 16px;
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}

.filter-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.filter-select, .filter-input {
  padding: 6px 12px;
  background: rgb(var(--rgb-bg-input));
  border: 1px solid rgba(var(--rgb-border), 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.85rem;
  outline: none;
}
.filter-select:focus, .filter-input:focus {
  border-color: var(--accent-gold);
}

/* Appointments Table */
.admin-table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: rgba(0, 0, 0, 0.2);
  margin-bottom: 18px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.86rem;
  text-align: left;
}

.admin-table th {
  background: rgba(var(--rgb-bg-deep), 0.9);
  padding: 12px 14px;
  color: var(--text-muted);
  font-weight: 600;
  border-bottom: 1px solid var(--border-color);
  white-space: nowrap;
}

.admin-table td {
  padding: 12px 14px;
  border-bottom: 1px solid rgba(var(--rgb-border), 0.05);
  color: var(--text-primary);
  vertical-align: middle;
}

.admin-table tr:hover td {
  background: rgba(var(--rgb-border), 0.02);
}

/* Status Badges */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.status-badge.pending {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.confirmed {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.status-badge.completed {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge.cancelled {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Action Buttons inside Table */
.tbl-action-group {
  display: flex;
  gap: 6px;
  align-items: center;
}

.tbl-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 5px 9px;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.tbl-btn:hover {
  background: var(--bg-elevated);
  color: var(--text-primary);
}

.tbl-btn.confirm-btn:hover {
  background: rgba(56, 189, 248, 0.2);
  border-color: #38bdf8;
  color: #38bdf8;
}

.tbl-btn.complete-btn:hover {
  background: rgba(16, 185, 129, 0.2);
  border-color: #34d399;
  color: #34d399;
}

.tbl-btn.cancel-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  border-color: #f87171;
  color: #f87171;
}

/* Pagination Bar */
.admin-pagination-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==================== ĐƠN CỦA TÔI (LƯU ĐƠN & THEO DÕI) ==================== */
.my-orders-header-btn {
  position: relative;
}

.my-orders-count {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: var(--radius-full);
  background: var(--accent-gold);
  color: #0b0f19;
  font-size: 0.68rem;
  font-weight: 800;
  line-height: 18px;
  text-align: center;
}

.my-orders-count[hidden] {
  display: none;
}

.my-orders-card {
  padding: 28px;
}

.my-orders-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.my-orders-heading {
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.my-orders-heading i {
  color: var(--accent-gold);
}

.my-orders-updated {
  color: var(--text-muted);
  font-size: 0.78rem;
}

#my-orders-refresh-btn.is-loading i {
  animation: fa-spin 1s linear infinite;
}

.my-orders-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.my-orders-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-secondary);
  border: 1px dashed var(--border-color);
  border-radius: var(--radius-md);
}

.my-orders-empty > i {
  font-size: 2rem;
  display: block;
  margin-bottom: 10px;
  opacity: 0.6;
}

.my-orders-empty-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.my-order-card {
  position: relative;
  background: rgba(var(--rgb-bg-elevated), 0.5);
  border: 1px solid var(--border-color);
  border-left: 4px solid #fbbf24;
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.my-order-card.status-confirmed { border-left-color: #38bdf8; }
.my-order-card.status-completed { border-left-color: #34d399; }
.my-order-card.status-cancelled { border-left-color: #f87171; opacity: 0.85; }
.my-order-card.status-missing { border-left-color: var(--text-muted); opacity: 0.8; }

.my-order-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.my-order-title {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  min-width: 0;
}

.my-order-title h4 {
  font-size: 0.98rem;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.my-order-title small {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.my-order-kind {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(var(--rgb-gold), 0.12);
  color: var(--accent-gold);
}

.my-order-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 12px 0 4px;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.my-order-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.my-order-meta strong {
  color: var(--accent-gold-soft);
  font-family: monospace;
  letter-spacing: 0.5px;
}

/* Thanh tiến trình: Đã gửi -> Cửa hàng nhận/chốt -> Hoàn thành */
.my-order-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 14px 0 0;
  padding: 0;
}

.my-order-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

/* Đường nối giữa các bước */
.my-order-step:not(:first-child)::before {
  content: '';
  position: absolute;
  top: 14px;
  right: 50%;
  width: 100%;
  height: 2px;
  background: rgba(var(--rgb-border), 0.12);
  z-index: 0;
}

.my-order-step.done:not(:first-child)::before,
.my-order-step.current:not(:first-child)::before {
  background: #34d399;
}

.my-order-step-dot {
  position: relative;
  z-index: 1;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  background: var(--bg-surface);
  border: 2px solid rgba(var(--rgb-border), 0.15);
}

.my-order-step.done .my-order-step-dot {
  background: #34d399;
  border-color: #34d399;
  color: #0b0f19;
}

.my-order-step.current .my-order-step-dot {
  border-color: var(--accent-gold);
  color: var(--accent-gold);
  box-shadow: 0 0 0 4px rgba(var(--rgb-gold), 0.15);
}

.my-order-card.status-completed .my-order-step.current .my-order-step-dot {
  background: #34d399;
  border-color: #34d399;
  color: #0b0f19;
  box-shadow: none;
}

.my-order-step.current .my-order-step-label {
  color: var(--text-primary);
  font-weight: 600;
}

.my-order-cancelled {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: rgba(239, 68, 68, 0.1);
  color: #f87171;
  font-size: 0.82rem;
}

.my-order-cancelled a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
}

.my-order-remove {
  margin-top: 12px;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.76rem;
  color: var(--text-muted);
  cursor: pointer;
}

.my-order-remove:hover {
  color: #f87171;
}

.my-orders-add {
  margin-top: 22px;
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
}

.my-orders-add summary {
  cursor: pointer;
  color: var(--accent-gold);
  font-weight: 600;
  font-size: 0.9rem;
}

.my-orders-add-form {
  margin-top: 14px;
}

@media (max-width: 600px) {
  .my-orders-card {
    padding: 18px 16px;
  }
  .my-orders-toolbar,
  .my-order-head {
    flex-direction: column;
  }
  .my-order-step {
    font-size: 0.7rem;
  }
}

@media (max-width: 900px) {
  .admin-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==================== UNIFIED AUTH TABS & OTP STYLING ==================== */
.auth-tabs {
  display: flex;
  background: rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid var(--border-color);
  padding: 0 16px;
  gap: 8px;
}

.auth-tab {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--text-muted);
  padding: 12px 16px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.auth-tab:hover {
  color: var(--text-primary);
}

.auth-tab.active {
  color: var(--accent-gold);
  border-bottom-color: var(--accent-gold);
  background: rgba(var(--rgb-gold), 0.04);
}

/* Customer Portal Banner & Card */
.customer-info-banner {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.1) 0%, rgba(var(--rgb-bg-surface), 0.8) 100%);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.customer-avatar-box {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  border: 2px solid rgba(56, 189, 248, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgb(56, 189, 248);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.customer-details {
  flex: 1;
}

.customer-details h4 {
  font-size: 1.15rem;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.customer-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.user-role-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 2px 8px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
}

.customer-appointment-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  margin-bottom: 12px;
  transition: all var(--transition-fast);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.customer-appointment-card:hover {
  border-color: rgba(var(--rgb-gold), 0.35);
  background: var(--bg-elevated);
}

.cust-card-main h5 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.cust-card-meta {
  display: flex;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.cust-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 600px) {
  .customer-info-banner {
    flex-direction: column;
    text-align: center;
  }
  .customer-appointment-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Fix calendar icon hit area */
input[type="date"], input[type="datetime-local"] {
  position: relative;
}
input[type="date"]::-webkit-calendar-picker-indicator,
input[type="datetime-local"]::-webkit-calendar-picker-indicator {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: auto;
  height: auto;
  color: transparent;
  background: transparent;
  cursor: pointer;
  z-index: 10;
}


/* ===== Bản web tĩnh: hộp "Gửi yêu cầu cho cửa hàng" ===== */
.send-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.send-actions .btn {
  justify-content: center;
  text-decoration: none;
}

#send-message-text {
  font-family: inherit;
  line-height: 1.5;
  resize: vertical;
}
/* ===== Featured service card (PPF Best Seller) ===== */
.service-detail-card.featured {
  position: relative;
  border: 2px solid rgba(var(--rgb-gold), 0.7);
  background:
    radial-gradient(circle at 100% 0%, rgba(var(--rgb-gold), 0.14) 0%, transparent 55%),
    var(--bg-surface);
  box-shadow: var(--shadow-card), 0 0 40px rgba(var(--rgb-gold), 0.25);
  animation: featuredGlow 3s ease-in-out infinite;
}
.service-detail-card.featured:hover {
  border-color: var(--accent-gold);
}
@keyframes featuredGlow {
  0%, 100% { box-shadow: var(--shadow-card), 0 0 28px rgba(var(--rgb-gold), 0.2); }
  50%      { box-shadow: var(--shadow-card), 0 0 48px rgba(var(--rgb-gold), 0.42); }
}

.best-seller-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 7px 16px;
  margin-bottom: 14px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b0f19;
  background: linear-gradient(135deg, rgb(var(--rgb-gold-soft)) 0%, rgb(var(--rgb-gold)) 50%, rgb(var(--rgb-gold-dark)) 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 16px rgba(var(--rgb-gold), 0.45);
  position: relative;
  overflow: hidden;
}
.best-seller-badge .fa-fire { color: #b91c1c; }
.best-seller-badge::after {
  content: "";
  position: absolute;
  top: 0; left: -60%;
  width: 40%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transform: skewX(-20deg);
  animation: badgeShine 2.8s ease-in-out infinite;
}
@keyframes badgeShine {
  0%   { left: -60%; }
  60%, 100% { left: 130%; }
}

.service-detail-card.featured h3 {
  font-size: 1.85rem;
  line-height: 1.3;
  background: linear-gradient(135deg, var(--text-primary) 30%, var(--accent-gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.featured-ribbon {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  background: linear-gradient(135deg, #ef4444 0%, #b91c1c 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 4px 14px rgba(185, 28, 28, 0.45);
}

@media (max-width: 768px) {
  .service-detail-card.featured h3 { font-size: 1.45rem; }
}
@media (prefers-reduced-motion: reduce) {
  .service-detail-card.featured,
  .best-seller-badge::after { animation: none; }
}

/* ===== Footer: featured service (PPF Best Seller) ===== */
.footer-links li.footer-featured {
  margin-bottom: 16px;
}
.footer-links .footer-featured a {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding: 12px 14px;
  border: 1px solid rgba(var(--rgb-gold), 0.55);
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(var(--rgb-gold), 0.16) 0%, rgba(var(--rgb-gold), 0.03) 100%);
  box-shadow: 0 0 18px rgba(var(--rgb-gold), 0.18);
}
.footer-links .footer-featured a:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 24px rgba(var(--rgb-gold), 0.35);
}
.footer-best-seller {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0b0f19;
  background: linear-gradient(135deg, rgb(var(--rgb-gold-soft)) 0%, rgb(var(--rgb-gold)) 50%, rgb(var(--rgb-gold-dark)) 100%);
  border-radius: var(--radius-full);
  box-shadow: 0 3px 10px rgba(var(--rgb-gold), 0.4);
}
.footer-links .footer-best-seller i {
  font-size: 0.7rem;
  color: #0b0f19;
}
.footer-links .footer-best-seller .fa-fire {
  color: #b91c1c;
}
.footer-featured-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  color: var(--accent-gold-soft);
}

/* ===== Hero badge thành nút liên hệ Zalo ===== */
.hero-badge-zalo {
  font: inherit;
  color: inherit;
  text-align: left;
  cursor: pointer;
  max-width: 330px;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.hero-badge-zalo:hover,
.hero-badge-zalo:focus-visible {
  border-color: var(--accent-gold);
  box-shadow: var(--shadow-float), 0 0 18px rgba(var(--rgb-gold), 0.35);
  outline: none;
}
.hero-badge-zalo .hero-badge-text { display: block; }
.hero-badge-zalo strong { line-height: 1.35; }
.hero-badge-zalo small { display: block; margin-top: 3px; }
.hero-badge-zalo small i { color: #0068ff; margin-right: 3px; }

/* ===== Hộp chọn số Zalo ===== */
.zalo-picker {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.zalo-picker[hidden] { display: none; }
.zalo-picker-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
}
.zalo-picker-dialog {
  position: relative;
  width: 100%;
  max-width: 400px;
  background: var(--bg-surface);
  border: 1px solid rgba(var(--rgb-gold), 0.4);
  border-radius: var(--radius-lg);
  padding: 26px 22px 22px;
  box-shadow: var(--shadow-float);
}
.zalo-picker-dialog h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin: 0 0 6px;
  padding-right: 28px;
}
.zalo-picker-sub {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin: 0 0 16px;
}
.zalo-picker-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
}
.zalo-picker-close:hover { color: var(--text-primary); }
.zalo-picker-options {
  display: grid;
  gap: 10px;
}
.zalo-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  font: inherit;
  text-align: left;
  color: var(--text-primary);
  background: rgba(0, 104, 255, 0.08);
  border: 1px solid rgba(0, 104, 255, 0.35);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: border-color var(--transition-fast), background var(--transition-fast), transform var(--transition-fast);
}
.zalo-option:hover,
.zalo-option:focus-visible {
  border-color: #0068ff;
  background: rgba(0, 104, 255, 0.16);
  transform: translateY(-1px);
  outline: none;
}
.zalo-option > span:nth-child(2) { flex: 1; }
.zalo-option strong { display: block; font-size: 1.05rem; letter-spacing: 0.02em; }
.zalo-option small { color: var(--text-muted); font-size: 0.78rem; }
.zalo-option > i { color: var(--text-muted); font-size: 0.85rem; }
.zalo-option-icon {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 0.78rem;
  color: #fff;
  background: #0068ff;
}
.zalo-option.is-tried { opacity: 0.6; }
.zalo-option.is-tried small::after { content: " · đã mở"; }
.zalo-option.is-suggested {
  border-color: var(--accent-gold);
  background: rgba(var(--rgb-gold), 0.12);
  box-shadow: 0 0 16px rgba(var(--rgb-gold), 0.3);
}
.zalo-option.is-suggested small::after { content: " · thử số này"; color: var(--accent-gold); }
.zalo-picker-hint {
  margin: 14px 0 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--accent-gold-soft);
}
.hero-badge-zalo .nowrap { white-space: nowrap; }

/* ===== Dòng "liên hệ để biết giá" thay cho giá ===== */
.spec-item-full { grid-column: 1 / -1; }
.price-contact {
  font-size: 0.92rem;
  font-weight: 600;
  line-height: 1.5;
  color: var(--text-primary);
}
.price-zalo-link {
  display: inline-flex;
  align-items: center;
  padding: 1px 10px;
  margin: 2px 0;
  border-radius: var(--radius-full);
  background: rgba(0, 104, 255, 0.14);
  border: 1px solid rgba(0, 104, 255, 0.45);
  color: #3b8bff;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.price-zalo-link:hover,
.price-zalo-link:focus-visible {
  background: #0068ff;
  color: #fff;
}

/* ===== Tab Dán xe: 3 loại keo + phim cách nhiệt ===== */
.danxe-intro { margin-bottom: 32px; }
.service-detail-card[id] { scroll-margin-top: 90px; }
.ppf-variant-list {
  list-style: none;
  padding: 0;
  margin: -8px 0 20px;
  display: grid;
  gap: 6px;
}
.ppf-variant-list li {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}
.ppf-variant-list i { color: var(--accent-gold); margin-right: 8px; }
.matte-note {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: -12px 0 40px;
  padding: 16px 20px;
  border: 1px dashed rgba(var(--rgb-gold), 0.55);
  border-radius: var(--radius-md);
  background: rgba(var(--rgb-gold), 0.08);
}
.matte-note i { font-size: 1.3rem; color: var(--accent-gold); flex: none; }
.matte-note p { margin: 0; color: var(--text-secondary); line-height: 1.6; }
.matte-note strong { color: var(--text-primary); }

/* ===== Trang Cửa hàng (Về chúng tôi) – bố cục mới ===== */
.about-grid { align-items: center; }
.about-text-content .section-tag { margin-bottom: 12px; }
.about-points {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.about-points li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(var(--rgb-gold), 0.08);
  border: 1px solid rgba(var(--rgb-gold), 0.25);
  border-radius: var(--radius-full);
}
.about-points i { color: var(--accent-gold); }

.about-storefront {
  position: relative;
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--rgb-gold), 0.3);
  box-shadow: var(--shadow-card);
  aspect-ratio: 4 / 3;
}
.about-storefront > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.about-storefront figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 40px 18px 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.55) 60%, transparent 100%);
}
.about-storefront-logo {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: contain;
  border-radius: 10px;
  background: #000;
  padding: 3px;
  border: 1px solid rgba(var(--rgb-gold), 0.6);
}
.about-storefront figcaption strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: rgb(var(--rgb-gold-soft));
}
.about-storefront figcaption small {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.85);
}

.store-contact {
  margin-top: 56px;
}
.store-contact-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin: 0 0 20px;
  color: var(--text-primary);
}
.store-contact-title i { color: var(--accent-gold); }
.store-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.contact-tile {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 20px;
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}
.contact-tile:hover {
  border-color: rgba(var(--rgb-gold), 0.45);
  transform: translateY(-2px);
}
.contact-tile-wide { grid-column: span 2; }
.contact-tile-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  color: var(--accent-gold);
  background: rgba(var(--rgb-gold), 0.12);
  border: 1px solid rgba(var(--rgb-gold), 0.3);
}
.contact-tile-icon-zalo {
  font-size: 0.75rem;
  font-weight: 800;
  color: #fff;
  background: #0068ff;
  border-color: #0068ff;
}
.contact-tile-icon-fb {
  color: #fff;
  background: #1877f2;
  border-color: #1877f2;
}
.contact-tile-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 3px;
  min-width: 0;
}
.contact-tile-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.contact-tile-value {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.4;
}
.contact-tile-note {
  font-size: 0.85rem;
  color: var(--text-secondary);
}
.contact-tile-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 6px 14px;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--accent-gold-soft);
  background: rgba(var(--rgb-gold), 0.1);
  border: 1px solid rgba(var(--rgb-gold), 0.4);
  text-decoration: none;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.contact-tile-btn:hover { background: var(--accent-gold); color: #0b0f19; }
.contact-tile-btn-zalo {
  color: #3b8bff;
  background: rgba(0, 104, 255, 0.12);
  border-color: rgba(0, 104, 255, 0.45);
}
.contact-tile-btn-zalo:hover { background: #0068ff; color: #fff; }
.contact-tile-btn-fb {
  color: #4d94ff;
  background: rgba(24, 119, 242, 0.12);
  border-color: rgba(24, 119, 242, 0.45);
}
.contact-tile-btn-fb:hover { background: #1877f2; color: #fff; }

@media (max-width: 900px) {
  .store-contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .store-contact-grid { grid-template-columns: 1fr; }
  .contact-tile-wide { grid-column: auto; }
  .store-contact { margin-top: 40px; }
  .store-contact-title { font-size: 1.3rem; }
}

/* ===== Thanh liên hệ trong khung chat ===== */
.chatbox-contact-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  padding: 8px 14px;
  background: rgba(var(--rgb-bg-deep), 0.92);
  border-bottom: 1px solid var(--border-color);
}
.chatbox-contact-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-right: 2px;
}
.chat-contact-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  font-size: 0.76rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  text-decoration: none;
  white-space: nowrap;
  transition: background var(--transition-fast), color var(--transition-fast);
}
.chip-zalo {
  color: #3b8bff;
  background: rgba(0, 104, 255, 0.12);
  border: 1px solid rgba(0, 104, 255, 0.45);
}
.chip-zalo:hover { background: #0068ff; color: #fff; }
.chip-zalo-mark {
  font-size: 0.6rem;
  font-weight: 800;
  color: #fff;
  background: #0068ff;
  border-radius: 4px;
  padding: 1px 3px;
}
.chip-fb {
  color: #4d94ff;
  background: rgba(24, 119, 242, 0.12);
  border: 1px solid rgba(24, 119, 242, 0.45);
}
.chip-fb:hover { background: #1877f2; color: #fff; }

/* Link Zalo / fanpage tự tạo trong câu trả lời của bot */
.msg-bubble .chat-contact-link {
  color: #4d94ff;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-all;
}
.msg-bubble .chat-contact-link:hover { color: #7fb2ff; }

/* Lựa chọn Fanpage trong hộp chọn kênh liên hệ */
.zalo-option.fb-option {
  text-decoration: none;
  background: rgba(24, 119, 242, 0.08);
  border-color: rgba(24, 119, 242, 0.4);
}
.zalo-option.fb-option:hover,
.zalo-option.fb-option:focus-visible {
  border-color: #1877f2;
  background: rgba(24, 119, 242, 0.16);
}
.fb-option-icon { background: #1877f2; font-size: 1.1rem; }

/* Nút Fanpage trong dòng "liên hệ để biết giá" */
.price-fb-link {
  background: rgba(24, 119, 242, 0.14);
  border-color: rgba(24, 119, 242, 0.45);
  color: #4d94ff;
}
.price-fb-link:hover,
.price-fb-link:focus-visible { background: #1877f2; color: #fff; }

/* Tab Biển số: 2 nút đặt qua Zalo / Fanpage */
.plate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.plate-actions .btn { margin: 0; }
.plate-fb-btn {
  color: #fff;
  background: #1877f2;
  border: 1px solid #1877f2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}
.plate-fb-btn:hover {
  background: #0f63d6;
  color: #fff;
  transform: translateY(-2px);
}
@media (max-width: 420px) {
  .plate-actions { grid-template-columns: 1fr; }
}

/* ===== Hero co giãn theo màn hình ===== */
.hero-container { gap: clamp(24px, 4vw, 50px); }
.hero-title { font-size: clamp(1.75rem, 0.9rem + 2.6vw, 3.1rem); }
.hero-desc { font-size: clamp(0.94rem, 0.86rem + 0.3vw, 1.1rem); }
.hero-main-img { height: clamp(240px, 36vw, 440px); }
.hero-badge-float { max-width: calc(100% - 20px); }

/* 861–1024px: vẫn giữ 2 cột (chữ trái, ảnh phải) thay vì dồn 1 cột */
@media (min-width: 861px) and (max-width: 1024px) {
  .hero-container {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: start;
  }
  .hero-media-wrapper { margin-top: 48px; }
  .hero-media-wrapper {
    order: 0;
    max-width: none;
  }
}

/* ≤860px: 1 cột, chữ và ảnh cùng bề rộng, căn giữa */
@media (max-width: 860px) {
  .hero-content,
  .hero-media-wrapper {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }
}
