/* ==========================================================================
   CƠ ĐIỆN LẠNH TÔN HOÀNG - PROFESSIONAL ENTERPRISE HVAC DESIGN SYSTEM
   Theme: Clean Ice Blue, Deep Corporate Navy, Pure White & High-Impact Red CTA
   Inspired by Enterprise HVAC & Climate Solutions Standards
   ========================================================================== */

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

:root {
  /* Primary HVAC Blues */
  --blue-primary: #0284C7;       /* Primary HVAC Blue (Sky 600) */
  --blue-dark: #0369A1;          /* Deep Sky Blue (Sky 700) */
  --blue-deep: #0C4A6E;          /* Deep Ocean / Marine Navy (Sky 900) */
  --blue-light: #38BDF8;         /* Sky 400 */
  --blue-ice: #E0F2FE;           /* Soft Ice Blue Card / Surface */
  --blue-ice-light: #F0F7FF;     /* Ultra Light Ice Blue Background */
  
  /* Corporate Navy & Text */
  --navy-dark: #0F172A;          /* Slate 900 - Headings & High Contrast Text */
  --navy-primary: #1E293B;       /* Slate 800 - Body & Primary Elements */
  --navy-surface: #F8FAFC;       /* Off-White / Slate 50 */
  --navy-light: #334155;         /* Slate 700 */
  --navy-accent: #0284C7;        /* Remapped to Corporate Blue */

  /* White & Surface Tones */
  --white-bg: #FFFFFF;
  --white-surface: #F8FAFC;
  --white-muted: #F1F5F9;
  --white-border: #E2E8F0;

  /* High-Impact Red/Coral Accent (Matching "Get A Free Quote" & Hotline in reference image) */
  --red-accent: #D93829;
  --red-accent-hover: #B91C1C;
  --red-light: #FEE2E2;
  --red-gradient: linear-gradient(135deg, #EF4444 0%, #D93829 50%, #B91C1C 100%);

  /* Remapped Legacy Gold Variables to Corporate Cyan-Blue System */
  --gold-primary: #0284C7;
  --gold-light: #0EA5E9;
  --gold-subtle: #E0F2FE;
  --gold-metallic: linear-gradient(135deg, #0EA5E9 0%, #0284C7 100%);

  /* Typography & Readability */
  --text-dark: #0F172A;
  --text-muted: #475569;
  --text-light: #64748B;
  --text-white: #FFFFFF;

  /* Gradients */
  --ice-gradient: linear-gradient(180deg, #FFFFFF 0%, #F0F7FF 60%, #E0F2FE 100%);
  --hero-gradient: linear-gradient(135deg, #F0F7FF 0%, #E0F2FE 50%, #FFFFFF 100%);

  /* Shadows - Clean, Soft & Enterprise Level */
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 6px 16px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 16px 32px -4px rgba(2, 132, 199, 0.12);
  --shadow-navy: 0 16px 36px -8px rgba(15, 23, 42, 0.16);
  --shadow-cta: 0 8px 24px rgba(217, 56, 41, 0.28);
  --shadow-card: 0 10px 30px rgba(2, 132, 199, 0.08);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-code: 'Space Grotesk', monospace;

  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 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: #F8FAFC;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

button {
  cursor: pointer;
}

/* Utility Containers */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Badge System - Modern HVAC Pill Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-gold {
  background: var(--blue-ice);
  color: var(--blue-dark);
  border: 1px solid rgba(2, 132, 199, 0.25);
}

.badge-navy {
  background: var(--navy-dark);
  color: var(--white-bg);
}

.badge-success {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.badge-oem {
  background: var(--white-muted);
  color: var(--navy-primary);
  border: 1px solid var(--white-border);
  font-family: var(--font-code);
}

/* Header & Announcement Bar */
.top-bar {
  background: #FFFFFF;
  color: #64748B;
  font-size: 0.825rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid #E2E8F0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-info {
  display: flex;
  gap: 1.75rem;
}

.top-bar-info span {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: #475569;
  font-weight: 500;
}

.top-bar-info i {
  color: var(--blue-primary);
}

.top-bar-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-hotline {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.top-bar-hotline strong {
  color: var(--red-accent);
  font-weight: 800;
  font-size: 0.9rem;
}

.top-bar-actions select {
  background: transparent;
  color: #475569;
  font-size: 0.8rem;
  cursor: pointer;
}

/* Main Navbar */
.main-header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--white-border);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
  transition: var(--transition-normal);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem 0;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.35rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
  border: none;
}

.brand-logo-img {
  height: 50px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

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

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

.brand-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.brand-name span {
  color: var(--blue-primary);
}

.brand-tagline {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Search Box */
.header-search {
  flex: 1;
  max-width: 540px;
  position: relative;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--white-surface);
  border: 1.5px solid var(--white-border);
  border-radius: var(--radius-full);
  padding: 0.35rem 0.5rem 0.35rem 1.25rem;
  transition: var(--transition-fast);
}

.search-input-wrapper:focus-within {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.12);
  background: var(--white-bg);
}

.search-input-wrapper input {
  flex: 1;
  background: transparent;
  color: var(--navy-dark);
  font-weight: 500;
}

.search-btn {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: var(--white-bg);
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.search-btn:hover {
  background: var(--blue-dark);
  transform: scale(1.05);
}

/* Header Actions - Compact, Harmonious & Enterprise Level */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.65rem;
  border-radius: 9px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: var(--navy-dark);
  font-weight: 600;
  transition: var(--transition-fast);
  position: relative;
  height: 38px;
  box-sizing: border-box;
}

.action-btn:hover {
  background: var(--blue-ice-light);
  border-color: rgba(2, 132, 199, 0.35);
  color: var(--blue-primary);
}

.icon-badge-wrapper {
  position: relative;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-count {
  position: absolute;
  top: -7px;
  right: -8px;
  background: var(--blue-primary);
  color: var(--white-bg);
  font-size: 0.65rem;
  font-weight: 800;
  width: 17px;
  height: 17px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--white-bg);
  box-shadow: var(--shadow-sm);
}

.action-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}

.action-btn-sub {
  font-size: 0.65rem;
  color: #64748B;
  font-weight: 600;
}

.action-btn-main {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--navy-dark);
  white-space: nowrap;
}

/* Admin Button when logged in (Compact) */
.header-admin-wrapper {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.header-btn-admin.is-active {
  background: rgba(217, 56, 41, 0.08);
  border: 1px solid rgba(217, 56, 41, 0.35);
}

.header-btn-admin.is-active .icon-badge-wrapper i {
  color: var(--red-accent);
}

.header-btn-admin.is-active .action-btn-sub {
  color: var(--red-accent);
  font-weight: 700;
}

.header-btn-admin.is-active:hover {
  background: rgba(217, 56, 41, 0.14);
  border-color: var(--red-accent);
}

.btn-admin-logout {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #64748B;
  height: 38px;
  width: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.85rem;
}

.btn-admin-logout:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
}

.btn-hotline {
  background: var(--red-gradient);
  color: var(--white-bg);
  height: 38px;
  padding: 0 1rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.825rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  box-shadow: var(--shadow-cta);
  transition: var(--transition-fast);
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-hotline:hover {
  background: var(--red-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 56, 41, 0.35);
}

.btn-hotline i {
  font-size: 0.85rem;
}

/* Zalo button in header (reuses .btn-hotline sizing for consistency) */
.btn-zalo-header {
  background: linear-gradient(135deg, #0068FF 0%, #0044B3 100%);
}

.btn-zalo-header:hover {
  background: linear-gradient(135deg, #0052CC 0%, #003399 100%);
  box-shadow: 0 8px 20px rgba(0, 104, 255, 0.35);
}

/* Màn hình vừa/nhỏ: chỉ hiển thị icon Zalo để header không bị chật */
@media (max-width: 1200px) {
  .btn-zalo-header span {
    display: none;
  }

  .btn-zalo-header {
    padding: 0 0.85rem;
  }
}

/* Category Nav Bar */
.category-nav {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  border-top: 1px solid #F1F5F9;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.category-nav-list {
  display: flex;
  align-items: center;
  list-style: none;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-nav-list::-webkit-scrollbar {
  display: none;
}

.category-nav-item a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: var(--transition-fast);
}

.category-nav-item a:hover {
  color: var(--blue-primary);
  background: var(--blue-ice-light);
}

.category-nav-item.active a {
  color: #FFFFFF;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  border-bottom: none;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
}

/* ==========================================================================
   HERO SECTION & EQUIPMENT FINDER - MATCHING REFERENCE IMAGE
   Theme: Ice Blue Atmosphere, High-Impact Red CTA, Clean Corporate Pillars
   ========================================================================== */
.hero-section {
  background: linear-gradient(135deg, #EBF5FB 0%, #F0F8FF 45%, #FFFFFF 100%);
  color: var(--navy-dark);
  padding: 3.5rem 0 4.5rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid #E2E8F0;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
}

.hero-grid {
  display: block;
  max-width: 960px;
}

.hero-content h1 {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  letter-spacing: -0.75px;
  color: var(--navy-dark);
}

.hero-content h1 span {
  color: var(--blue-primary);
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-content p {
  color: #475569;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 820px;
  line-height: 1.7;
}

/* Brand slogan displayed in the hero section */
.hero-slogan {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  color: var(--blue-dark);
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius-md);
  padding: 0.7rem 1.15rem;
  margin-bottom: 1.5rem;
}

.hero-slogan i {
  color: var(--blue-primary);
  font-size: 0.85rem;
}

.hero-actions-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.btn-hero-quote {
  background: var(--red-gradient);
  color: #FFFFFF;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-cta);
  transition: var(--transition-fast);
}

.btn-hero-quote:hover {
  background: var(--red-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(217, 56, 41, 0.4);
}

.btn-hero-call {
  background: #FFFFFF;
  color: var(--navy-dark);
  padding: 0.85rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1.5px solid #CBD5E1;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-fast);
}

.btn-hero-call i {
  color: var(--blue-primary);
  font-size: 1.1rem;
}

.btn-hero-call:hover {
  border-color: var(--blue-primary);
  color: var(--blue-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-features-list {
  display: flex;
  gap: 1.75rem;
  margin-bottom: 2rem;
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-dark);
}

.hero-feature-item i {
  color: var(--blue-primary);
  font-size: 1.1rem;
}

/* Google Rating Widget */
.hero-google-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  background: #FFFFFF;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.google-icon-badge {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  font-weight: 800;
  color: #4285F4;
}

.rating-stars {
  color: #F59E0B;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.rating-text {
  font-size: 0.8rem;
  color: #64748B;
  font-weight: 600;
}

.rating-score {
  font-weight: 800;
  color: var(--navy-dark);
}

/* Equipment / Vehicle Finder Card */
.vehicle-finder-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  box-shadow: var(--shadow-card);
}

.finder-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #F1F5F9;
}

.finder-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
}

.finder-header h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-dark);
}

.finder-header p {
  font-size: 0.825rem;
  color: #64748B;
}

.finder-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.form-group-custom label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #475569;
  margin-bottom: 0.4rem;
}

.custom-select-wrapper select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  color: var(--navy-dark);
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.custom-select-wrapper select:focus {
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
  background: #FFFFFF;
}

.btn-finder-search {
  background: var(--red-gradient);
  color: #FFFFFF;
  padding: 0.85rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 0.5rem;
  box-shadow: var(--shadow-cta);
  transition: var(--transition-fast);
}

.btn-finder-search:hover {
  background: var(--red-accent-hover);
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ==========================================================================
   TRUST PILLARS BAR - 6 VALUE PROPS MATCHING REFERENCE IMAGE
   Clean white cards with ice-blue accents & checkmarks
   ========================================================================== */
.trust-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 2.5rem 0;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.trust-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: rgba(2, 132, 199, 0.25);
}

.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-ice);
  border: 1px solid rgba(2, 132, 199, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.trust-text h4 {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

.trust-text p {
  font-size: 0.8rem;
  color: #64748B;
  line-height: 1.5;
}

/* MAIN SECTION: PRODUCT CATALOG */
.catalog-section {
  padding: 3.5rem 0 5rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 2px solid var(--white-border);
}

.section-title h2 {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--navy-dark);
  letter-spacing: -0.5px;
}

.section-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.catalog-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.25rem;
  align-items: start;
}

/* Filter Sidebar */
.filter-sidebar {
  background: var(--white-bg);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 90px;
}

.filter-sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--white-border);
}

.filter-sidebar-header h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-reset-filter {
  font-size: 0.8rem;
  color: var(--navy-accent);
  font-weight: 600;
  background: none;
}

.btn-reset-filter:hover {
  text-decoration: underline;
}

.filter-group {
  margin-bottom: 1.75rem;
}

.filter-title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy-primary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.85rem;
}

.filter-options-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.filter-checkbox-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-dark);
  cursor: pointer;
  user-select: none;
}

.filter-checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--navy-dark);
  cursor: pointer;
}

.filter-checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.filter-count {
  font-size: 0.75rem;
  color: var(--text-muted);
  background: var(--white-muted);
  padding: 0.1rem 0.4rem;
  border-radius: var(--radius-sm);
}

/* Price Range Slider */
.price-range-inputs {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 0.75rem;
}

.price-range-inputs input {
  width: 100%;
  padding: 0.45rem 0.6rem;
  border: 1px solid var(--white-border);
  border-radius: var(--radius-sm);
  font-size: 0.825rem;
}

/* Catalog Toolbar */
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white-bg);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.25rem;
  margin-bottom: 1.75rem;
}

.results-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.results-count span {
  color: var(--navy-dark);
  font-weight: 800;
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
}

.sort-wrapper select {
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--white-border);
  border-radius: var(--radius-md);
  background: var(--white-surface);
  color: var(--navy-dark);
  font-weight: 600;
  cursor: pointer;
}

/* PRODUCT CARDS GRID */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.product-card {
  background: var(--white-bg);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(2, 132, 199, 0.35);
}

.product-image-box {
  position: relative;
  width: 100%;
  height: 220px;
  background: #F8FAFC;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-image-box img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: var(--transition-normal);
}

.product-card:hover .product-image-box img {
  transform: scale(1.06);
}

.product-badge-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  z-index: 2;
}

.btn-quick-view {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: var(--white-bg);
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
  transition: var(--transition-fast);
  opacity: 0;
  z-index: 3;
}

.product-card:hover .btn-quick-view {
  bottom: 12px;
  opacity: 1;
}

.btn-quick-view:hover {
  background: var(--blue-dark);
}

.product-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-oem {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-code);
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.35;
  margin-bottom: 0.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 2.7rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  color: #F59E0B;
  margin-bottom: 0.75rem;
}

.product-rating span {
  color: var(--text-muted);
  font-weight: 500;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--white-muted);
}

.price-wrapper {
  display: flex;
  flex-direction: column;
}

.price-current {
  font-size: 1.15rem;
  font-weight: 800;
  color: #DC2626;
}

.price-old {
  font-size: 0.8rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.btn-add-cart {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: var(--white-bg);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.28);
  transition: var(--transition-fast);
}

.btn-add-cart:hover {
  background: var(--red-gradient);
  transform: scale(1.08);
  box-shadow: var(--shadow-cta);
}

/* Empty Catalog State */
.empty-catalog {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 2rem;
  background: var(--white-bg);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-lg);
}

.empty-catalog i {
  font-size: 3.5rem;
  color: var(--text-light);
  margin-bottom: 1rem;
}

.empty-catalog h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

/* CATALOG PAGINATION SYSTEM */
/* CATALOG PAGINATION SYSTEM */
.catalog-pagination-wrapper {
  margin-top: 2rem;
  width: 100%;
}

.catalog-pagination-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.85rem 1.25rem;
  background: var(--white-bg);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.pagination-main {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.pagination-btn {
  border: 1px solid transparent;
  outline: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  font-family: var(--font-main);
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.pagination-btn.btn-prev,
.pagination-btn.btn-next {
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 10px;
  background: #F1F5F9;
  color: #334155;
  border: 1px solid #E2E8F0;
  font-size: 0.85rem;
}

.pagination-btn.btn-prev:hover:not(:disabled),
.pagination-btn.btn-next:hover:not(:disabled) {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.2);
}

.pagination-btn:disabled,
.pagination-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background: #F8FAFC !important;
  color: #94A3B8 !important;
  border-color: #E2E8F0 !important;
  box-shadow: none !important;
  pointer-events: none;
}

.pagination-btn.btn-page {
  width: 38px;
  height: 38px;
  min-width: 38px;
  border-radius: 10px;
  background: #F8FAFC;
  color: #334155;
  border: 1px solid #E2E8F0;
  font-size: 0.9rem;
  font-weight: 700;
}

.pagination-btn.btn-page:hover:not(.active) {
  background: #EFF6FF;
  color: #2563EB;
  border-color: #BFDBFE;
}

.pagination-btn.btn-page.active {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.pagination-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 38px;
  color: #94A3B8;
  font-weight: 700;
  font-size: 1rem;
}

.pagination-page-size {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.85rem;
}

.page-size-select {
  padding: 0.25rem 0.6rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #FFFFFF;
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}

.page-size-select:hover,
.page-size-select:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.15);
}

@media (max-width: 768px) {
  .catalog-pagination-container {
    flex-direction: column-reverse;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.85rem;
  }

  .pagination-main {
    width: 100%;
    justify-content: center;
  }

  .pagination-btn.btn-prev,
  .pagination-btn.btn-next {
    padding: 0 0.75rem;
    height: 36px;
    font-size: 0.8rem;
  }

  .pagination-btn.btn-page {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.85rem;
  }

  .pagination-page-size {
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .pagination-btn.btn-prev .btn-text,
  .pagination-btn.btn-next .btn-text {
    display: none;
  }

  .pagination-btn.btn-prev,
  .pagination-btn.btn-next {
    width: 36px;
    padding: 0;
    justify-content: center;
  }
}

/* SHOPPING CART DRAWER */
.cart-drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.65);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.cart-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 460px;
  background: var(--white-bg);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-navy);
  transform: translateX(100%);
  transition: var(--transition-normal);
}

.cart-drawer-overlay.active .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  color: #0A192F;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid #E2E8F0;
  border-top: 4px solid #2563EB;
}

.cart-drawer-header h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0A192F;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.cart-drawer-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-close-drawer {
  background: transparent;
  color: var(--text-light);
  font-size: 1.25rem;
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.btn-close-drawer:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--white-bg);
}

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--white-border);
}

.cart-item-img {
  width: 76px;
  height: 76px;
  background: var(--white-surface);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cart-item-img img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-dark);
  line-height: 1.3;
}

.cart-item-oem {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-family: var(--font-code);
}

.cart-item-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--white-border);
  border-radius: var(--radius-sm);
  background: var(--white-surface);
}

.qty-btn {
  width: 26px;
  height: 26px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--navy-dark);
}

.qty-btn:hover {
  background: var(--white-border);
}

.qty-val {
  width: 32px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: #DC2626;
}

.btn-remove-item {
  color: var(--danger);
  background: none;
  font-size: 0.9rem;
  padding: 0.2rem;
  transition: var(--transition-fast);
}

.btn-remove-item:hover {
  opacity: 0.7;
}

.cart-drawer-footer {
  background: var(--white-surface);
  border-top: 1px solid var(--white-border);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.cart-summary-row.total {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy-dark);
  padding-top: 0.75rem;
  border-top: 1px dashed var(--white-border);
}

.coupon-box {
  display: flex;
  gap: 0.5rem;
}

.coupon-box input {
  flex: 1;
  padding: 0.5rem 0.85rem;
  border: 1px solid var(--white-border);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
}

.btn-apply-coupon {
  background: var(--navy-surface);
  color: var(--white-bg);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
}

.btn-checkout {
  background: var(--red-gradient);
  color: #FFFFFF;
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: var(--shadow-cta);
  transition: var(--transition-fast);
}

.btn-checkout:hover {
  transform: translateY(-2px);
  background: var(--red-accent-hover);
  box-shadow: 0 10px 26px rgba(217, 56, 41, 0.4);
}

/* MODAL QUICK VIEW & CHECKOUT */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.7);
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

#product-form-modal-backdrop {
  z-index: 1200;
}

.modal-container {
  background: var(--white-bg);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 840px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-navy);
  position: relative;
  transform: translateY(20px) scale(0.96);
  transition: var(--transition-normal);
}

.modal-backdrop.active .modal-container {
  transform: translateY(0) scale(1);
}

.btn-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 36px;
  height: 36px;
  background: #F1F5F9;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #475569;
  z-index: 10;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.btn-modal-close:hover {
  background: #0A192F;
  color: #FFFFFF;
  border-color: #0A192F;
  transform: rotate(90deg);
}

/* Quick View Layout */
.quickview-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  padding: 2.5rem;
}

.quickview-img {
  background: var(--white-surface);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview-img img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

.quickview-details h2 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.quickview-specs-table {
  width: 100%;
  margin: 1.25rem 0;
  border-collapse: collapse;
  font-size: 0.875rem;
}

.quickview-specs-table td {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--white-muted);
}

.quickview-specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  width: 40%;
}

.quickview-specs-table td:last-child {
  color: var(--navy-dark);
  font-weight: 700;
}

/* Quick View Actions - Compact & Corporate Blue Detail Button */
.quickview-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-qv-cart {
  background: var(--red-gradient);
  color: #FFFFFF;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(217, 56, 41, 0.28);
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  height: 40px;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-qv-cart:hover {
  background: var(--red-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 56, 41, 0.38);
}

.btn-qv-detail {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF !important;
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
  transition: var(--transition-fast);
  text-decoration: none;
  border: none;
  cursor: pointer;
  height: 40px;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-qv-detail:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.38);
}

/* Checkout Form Layout */
.checkout-header {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%);
  color: #0A192F;
  padding: 1.75rem 2.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-bottom: 2px solid #E2E8F0;
  border-top: 4px solid #2563EB;
}

.checkout-header h2 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0A192F;
}

.checkout-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
}

.checkout-body {
  padding: 2.5rem;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* ADMIN ARTICLE FORM STYLES */
.article-form-body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.article-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.article-content-textarea {
  resize: vertical;
  min-height: 180px;
  font-family: var(--font-code), monospace;
  font-size: 0.85rem !important;
  line-height: 1.6;
}

.article-featured-check {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 1rem;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
  cursor: pointer;
}

.article-featured-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #2563EB;
  cursor: pointer;
  flex-shrink: 0;
}

.article-featured-check label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--navy-dark);
  cursor: pointer;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.article-featured-check label i {
  color: #F59E0B;
}

.article-form-actions {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.article-form-actions .btn-checkout {
  flex: 1;
}

.btn-article-cancel {
  padding: 0.9rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
  white-space: nowrap;
}

.btn-article-cancel:hover {
  background: #FEE2E2;
  border-color: #FCA5A5;
  color: #DC2626;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.form-hint i {
  color: #2563EB;
  font-size: 0.7rem;
}

@media (max-width: 768px) {
  .article-form-body {
    padding: 1rem;
  }

  .article-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-content-textarea {
    min-height: 220px;
    font-size: 0.82rem !important;
  }

  .article-form-actions {
    flex-direction: column-reverse;
    gap: 0.6rem;
  }

  .article-form-actions .btn-checkout,
  .btn-article-cancel {
    width: 100%;
    justify-content: center;
  }
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-field label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-primary);
}

.form-field input, .form-field select, .form-field textarea {
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--white-border);
  border-radius: var(--radius-md);
  background: var(--white-surface);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  border-color: var(--navy-accent);
  background: var(--white-bg);
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.1);
}

.payment-methods {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.payment-option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid var(--white-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: var(--transition-fast);
}

.payment-option:hover, .payment-option.selected {
  border-color: var(--navy-accent);
  background: rgba(29, 78, 216, 0.04);
}

.payment-option input {
  accent-color: var(--navy-accent);
}

.checkout-summary-box {
  background: var(--white-surface);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.toast {
  background: #FFFFFF;
  color: #0A192F;
  padding: 1rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.12);
  border: 1px solid #E2E8F0;
  border-left: 4px solid #D97706;
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.9rem;
  font-weight: 700;
  animation: slideInRight 0.3s ease forwards;
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* FOOTER */
.site-footer {
  background: #FFFFFF;
  color: #475569;
  padding: 4.5rem 0 2rem;
  border-top: 1px solid #E2E8F0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand p {
  margin: 1.25rem 0 1.5rem;
  font-size: 0.9rem;
  line-height: 1.6;
  color: #64748B;
}

.footer-col h4 {
  color: var(--navy-dark);
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 1.35rem;
  position: relative;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--blue-primary);
  border-radius: var(--radius-full);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: #475569;
  transition: var(--transition-fast);
  font-weight: 500;
}

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  color: #64748B;
}

/* ========================
   ACTION BTN TEXT CLASSES
   ======================== */
.action-btn-text {
  display: flex;
  flex-direction: column;
  text-align: left;
  line-height: 1.15;
}
.action-btn-sub {
  font-size: 0.65rem;
  color: #64748B;
  font-weight: 600;
}
.action-btn-main {
  font-weight: 700;
  font-size: 0.78rem;
  color: var(--navy-dark);
}

/* ========================
   CATALOG TOOLBAR LAYOUT
   ======================== */
.catalog-toolbar-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Mobile Filter Trigger Button - hidden on desktop */
.btn-mobile-filter-trigger {
  display: none;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: var(--white-bg);
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  font-weight: 700;
  position: relative;
  transition: var(--transition-fast);
}
.btn-mobile-filter-trigger:hover {
  background: var(--navy-accent);
}
.mobile-filter-badge {
  background: var(--gold-primary);
  color: var(--white-bg);
  font-size: 0.65rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-filter-badge[data-count="0"] {
  display: none;
}

/* ========================
   MOBILE FILTER DRAWER
   ======================== */
.mobile-filter-overlay {
  position: fixed;
  inset: 0;
  background: rgba(11, 19, 43, 0.65);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.mobile-filter-overlay.active {
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}

.mobile-filter-drawer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white-bg);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  transform: translateY(100%);
  transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}
.mobile-filter-overlay.active .mobile-filter-drawer {
  transform: translateY(0);
}

.mobile-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem 1rem;
  border-bottom: 1px solid var(--white-border);
  flex-shrink: 0;
}
.mobile-filter-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-dark);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.mobile-filter-title i { color: var(--gold-primary); }

.btn-close-filter {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  background: var(--white-muted);
  color: var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: var(--transition-fast);
}
.btn-close-filter:hover { background: var(--white-border); }

.mobile-filter-content {
  flex: 1;
  overflow-y: auto;
  padding: 1.25rem 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.mobile-filter-footer {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  border-top: 1px solid var(--white-border);
  flex-shrink: 0;
  padding-bottom: calc(1rem + env(safe-area-inset-bottom));
}
.btn-reset-filter-mobile {
  flex: 1;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--white-border);
  background: var(--white-bg);
  color: var(--text-dark);
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}
.btn-reset-filter-mobile:hover { background: var(--white-muted); }
.btn-apply-filter-mobile {
  flex: 2;
  padding: 0.75rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: var(--white-bg);
  font-weight: 800;
  font-size: 0.95rem;
  transition: var(--transition-fast);
}
.btn-apply-filter-mobile:hover { background: var(--navy-accent); }

/* ========================
   MOBILE BOTTOM NAVIGATION
   ======================== */
.mobile-bottom-nav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--white-border);
  box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.1);
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
  grid-template-columns: repeat(5, 1fr);
}
.mobile-nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  padding: 0.35rem 0.25rem;
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition-fast);
  min-width: 0;
}
.mobile-nav-item i {
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.1rem;
}
.mobile-nav-item.active,
.mobile-nav-item:hover {
  color: var(--navy-dark);
}
.mobile-nav-item.active i { color: var(--gold-primary); }

/* ========================
   RESPONSIVE: TABLET (≤ 1024px)
   ======================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }
  .filter-sidebar {
    position: static;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ========================
   RESPONSIVE: MOBILE (≤ 768px)
   ======================== */
@media (max-width: 768px) {
  /* Performance: Disable heavy blur on mobile */
  .main-header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.99);
  }
  .vehicle-finder-card {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: #FFFFFF;
    padding: 1.35rem 1.15rem;
    box-shadow: 0 10px 25px rgba(10, 25, 47, 0.08);
  }
  .modal-container {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  /* Top Bar: compact on mobile */
  .top-bar-item-secondary {
    display: none;
  }
  .top-bar .container {
    justify-content: center;
    gap: 0;
  }
  .top-bar-info {
    gap: 0;
    justify-content: center;
  }
  .top-bar-actions {
    display: none;
  }
  .top-bar-hotline {
    font-size: 0.78rem;
  }

  /* Header: 2 rows on mobile */
  .header-wrapper {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem 0;
  }
  .brand-logo {
    flex: 1;
  }
  .brand-tagline {
    display: none;
  }
  .header-search {
    order: 3;
    max-width: 100%;
    width: 100%;
    flex: 0 0 100%;
  }
  .header-actions {
    gap: 0.4rem;
  }

  /* Hide text labels on action buttons, show only icons */
  .action-btn-text {
    display: none;
  }
  .action-btn {
    padding: 0.5rem;
    min-width: 40px;
    justify-content: center;
  }
  .header-btn-hotline span {
    display: none;
  }
  .btn-hotline.header-btn-hotline {
    padding: 0.5rem 0.7rem;
    font-size: 0;
    gap: 0;
  }
  .btn-hotline.header-btn-hotline i {
    font-size: 1.1rem;
    margin: 0;
  }

  /* Hide sidebar filter – replaced by mobile filter drawer */
  .filter-sidebar {
    display: none;
  }
  .catalog-layout {
    grid-template-columns: 1fr;
  }

  /* Show mobile filter trigger */
  .btn-mobile-filter-trigger {
    display: flex;
  }

  /* Show mobile bottom nav */
  .mobile-bottom-nav {
    display: grid;
  }

  /* Add bottom padding so content isn't hidden under bottom nav */
  body {
    padding-bottom: 72px;
  }

  /* Hero */
  .hero-section {
    padding: 2rem 0 2.5rem;
  }
  .hero-content h1 {
    font-size: 1.85rem;
    letter-spacing: -0.5px;
  }
  .hero-content p {
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
  }
  .hero-features-list {
    gap: 0.85rem;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
  }
  .hero-feature-item {
    font-size: 0.8rem;
  }

  /* Trust bar */
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .trust-text h4 { font-size: 0.85rem; }
  .trust-text p { font-size: 0.75rem; }

  /* Section header */
  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .section-title h2 { font-size: 1.4rem; }

  /* Catalog toolbar on mobile */
  .catalog-toolbar {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 0.65rem 0.85rem;
    align-items: center;
  }
  .catalog-toolbar-left {
    flex: 1;
  }
  .sort-wrapper {
    font-size: 0.8rem;
    gap: 0.4rem;
    flex-shrink: 0;
  }
  .sort-wrapper label {
    display: none; /* hide label on tiny screens, keep select */
  }
  .sort-wrapper select {
    font-size: 0.8rem;
    padding: 0.4rem 0.6rem;
    max-width: 140px;
  }
  .results-count {
    font-size: 0.8rem;
  }

  /* Products: 2-column grid */
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  /* Product card: smaller image on mobile */
  .product-image-box {
    height: 150px;
    padding: 0.5rem;
  }
  .product-body {
    padding: 0.85rem;
  }
  .product-title {
    font-size: 0.85rem;
    height: 2.4rem;
  }
  .product-oem { font-size: 0.7rem; }
  .product-rating { font-size: 0.75rem; }
  .price-current { font-size: 1rem; }
  .price-old { font-size: 0.75rem; }

  /* Cart Drawer: full width on mobile */
  .cart-drawer {
    width: 100%;
    max-width: 100%;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    top: auto;
    max-height: 90vh;
  }
  .cart-drawer-overlay {
    align-items: flex-end;
  }

  /* Modals: full screen on mobile */
  .modal-backdrop {
    align-items: flex-end;
    padding: 0;
  }
  .modal-container {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    max-height: 92vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0;
  }
  .btn-modal-close {
    top: 0.85rem;
    right: 0.85rem;
  }

  /* Checkout modal */
  .checkout-body {
    grid-template-columns: 1fr;
  }
  .checkout-header {
    padding: 1.25rem 1.25rem 1rem;
  }
  .checkout-header h2 { font-size: 1.15rem; }

  /* Form rows */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Quick view */
  .quickview-grid {
    grid-template-columns: 1fr;
  }

  /* Orders modal */
  #my-orders-list-container,
  #admin-orders-list-container {
    padding: 1rem;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-col {
    display: block;
  }
  .footer-col h4 {
    margin-bottom: 0.85rem;
  }
  .footer-links {
    gap: 0.6rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.78rem;
  }
}

/* ========================
   RESPONSIVE: SMALL MOBILE (≤ 480px)
   ======================== */
@media (max-width: 480px) {
  .container {
    padding: 0 0.85rem;
  }
  .brand-name { font-size: 1.1rem; }
  .hero-content h1 { font-size: 1.55rem; }
  .hero-features-list { display: none; }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.65rem;
  }
  .trust-item {
    padding: 0.75rem 0.6rem;
    gap: 0.5rem;
  }
  .trust-text h4 { font-size: 0.78rem; line-height: 1.25; }
  .trust-text p { font-size: 0.68rem; line-height: 1.25; }
  .trust-icon {
    width: 34px;
    height: 34px;
    font-size: 0.95rem;
    flex-shrink: 0;
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
  .product-image-box { height: 130px; }
  .product-body { padding: 0.65rem; }
  .product-title { font-size: 0.78rem; }
  .btn-add-cart {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }
}

/* ========================
   RESPONSIVE: EXTRA SMALL (≤ 360px)
   ======================== */
@media (max-width: 360px) {
  .products-grid {
    grid-template-columns: 1fr;
  }
  .product-image-box { height: 220px; }
}



/* ADMIN SYSTEM & CRUD STYLES */
.admin-bar-btn {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-light);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: var(--transition-fast);
}

.admin-bar-btn:hover {
  background: var(--gold-primary);
  color: var(--white-bg);
}

/* Mobile Dedicated Admin Strip */
.mobile-admin-strip {
  background: #EFF6FF;
  color: #1E40AF;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow-x: auto;
  border-bottom: 2px solid #2563EB;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.08);
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.mobile-admin-strip::-webkit-scrollbar {
  display: none;
}
.admin-strip-title {
  font-size: 0.75rem;
  color: #1E40AF;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.35rem;
  flex-shrink: 0;
}
.admin-strip-btn {
  background: #FFFFFF;
  color: #1E293B;
  border: 1px solid #CBD5E1;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
  transition: var(--transition-fast);
}
.admin-strip-btn:hover {
  background: #2563EB;
  color: #FFFFFF;
}
.admin-strip-btn.btn-add-prod {
  background: var(--gold-metallic);
  border-color: transparent;
  color: #FFFFFF;
}
.admin-strip-btn.btn-logout {
  background: rgba(239, 68, 68, 0.2);
  color: #F87171;
  border-color: rgba(239, 68, 68, 0.3);
  padding: 0.4rem 0.6rem;
}

.admin-card-actions {
  position: absolute;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 0.35rem;
  z-index: 5;
}

.btn-card-edit, .btn-card-delete {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition-fast);
}

.btn-card-edit {
  background: #2563EB;
  color: #FFFFFF;
}

.btn-card-edit:hover {
  background: var(--navy-accent);
  color: var(--white-bg);
}

.btn-card-delete {
  background: #FEE2E2;
  color: var(--danger);
  border: 1px solid #FCA5A5;
}

.btn-card-delete:hover {
  background: var(--danger);
  color: var(--white-bg);
}

/* Admin Management Modal & Table */
.admin-table-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-table-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.admin-table-search {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 1;
  max-width: 480px;
  min-height: 42px;
  padding: 0 0.85rem;
  color: var(--text-muted);
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-md);
}

.admin-table-search:focus-within {
  border-color: var(--navy-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.admin-table-search input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--navy-dark);
  background: transparent;
  font: inherit;
}

.admin-pagination {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 1rem;
}

.admin-page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 0.6rem;
  border: 1px solid #CBD5E1;
  border-radius: var(--radius-sm);
  background: #FFFFFF;
  color: var(--navy-dark);
  font-weight: 700;
  cursor: pointer;
}

.admin-page-btn:hover:not(:disabled),
.admin-page-btn.active {
  border-color: var(--navy-accent);
  background: var(--navy-accent);
  color: #FFFFFF;
}

.admin-page-btn:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.admin-empty-row {
  padding: 2rem !important;
  text-align: center;
  color: var(--text-muted) !important;
}

.btn-checkout.is-loading {
  cursor: wait;
  opacity: 0.78;
}

.btn-checkout.is-loading .fa-rotate {
  animation: admin-refresh-spin 0.8s linear infinite;
}

@keyframes admin-refresh-spin {
  to { transform: rotate(360deg); }
}

.admin-table-container {
  width: 100%;
  overflow-x: auto;
  margin-top: 1rem;
}

.admin-table {
  width: 100%;
  min-width: 650px;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.875rem;
  text-align: left;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.admin-table th {
  background: #F1F5F9 !important;
  color: #0A192F !important;
  padding: 0.95rem 1.15rem;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  border-bottom: 2px solid #CBD5E1;
  border-top: none;
}

.admin-table td {
  padding: 0.9rem 1.15rem;
  border-bottom: 1px solid #E2E8F0;
  color: #1E293B;
  vertical-align: middle;
  font-weight: 500;
  background: #FFFFFF;
}

.admin-table tr:hover td {
  background: #F8FAFC;
}

.admin-table tr:last-child td {
  border-bottom: none;
}

.admin-table-img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background: var(--white-surface);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-sm);
  padding: 0.2rem;
}

.admin-action-btns {
  display: flex;
  gap: 0.5rem;
}

.btn-admin-sm {
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.btn-admin-edit {
  background: linear-gradient(135deg, #D97706 0%, #B45309 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 2px 6px rgba(217, 119, 6, 0.25);
  transition: all 0.2s ease;
}

.btn-admin-edit:hover {
  background: linear-gradient(135deg, #B45309 0%, #92400E 100%);
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.35);
}

.btn-admin-del {
  background: #FEE2E2;
  color: var(--danger);
}

.btn-admin-del:hover {
  background: var(--danger);
  color: var(--white-bg);
}

/* ORDER MANAGEMENT & CUSTOMER ORDERS STYLES */
.order-card {
  background: var(--white-bg);
  border: 1px solid #E2E8F0;
  border-left: 4px solid #2563EB;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  transition: var(--transition-fast);
}

.order-card:hover {
  border-color: #2563EB;
  border-left-color: #1D4ED8;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.12);
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--white-border);
}

.order-id {
  font-family: var(--font-code);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--navy-dark);
}

.order-date {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.order-status-badge {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.status-processing {
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-primary);
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-confirmed {
  background: rgba(29, 78, 216, 0.12);
  color: var(--navy-accent);
  border: 1px solid rgba(29, 78, 216, 0.3);
}

.status-shipping {
  background: rgba(6, 182, 212, 0.12);
  color: var(--info);
  border: 1px solid rgba(6, 182, 212, 0.3);
}

.status-completed {
  background: rgba(16, 185, 129, 0.12);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.order-customer-info {
  background: var(--white-surface);
  border-radius: var(--radius-md);
  padding: 0.85rem 1.15rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.order-items-mini {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.order-item-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
}

.order-item-left {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.order-item-thumb {
  width: 40px;
  height: 40px;
  object-fit: contain;
  background: var(--white-bg);
  border: 1px solid var(--white-border);
  border-radius: var(--radius-sm);
  padding: 0.15rem;
}

.order-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--white-border);
  font-size: 0.9rem;
}

.admin-order-status-select {
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--white-border);
  background: var(--white-bg);
  font-weight: 700;
  font-size: 0.8rem;
  cursor: pointer;
}

@media (max-width: 640px) {
  /* Legacy compat - main responsive rules are above */
}

/* ==========================================================================
   PRIMARY SITE NAVIGATION (HEADER 5 TAB MENU)
   ========================================================================== */
.main-nav-bar {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  border-top: 1px solid #F1F5F9;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 0;
  z-index: 100;
}

.main-nav-list {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0.35rem 0;
  overflow-x: auto;
  white-space: nowrap;
  scrollbar-width: none;
}
.main-nav-list::-webkit-scrollbar {
  display: none;
}

.main-nav-item {
  flex-shrink: 0;
}

.main-nav-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.25rem;
  color: #475569;
  font-weight: 600;
  font-size: 0.925rem;
  text-decoration: none;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.main-nav-link i {
  font-size: 1.05rem;
  color: #2563EB;
  transition: transform 0.2s ease;
}

.main-nav-link:hover {
  color: #2563EB;
  background: #EFF6FF;
}

.main-nav-link:hover i {
  transform: translateY(-2px);
}

.main-nav-link.active {
  color: #FFFFFF;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
  border-bottom: none;
}

.main-nav-link.active i {
  color: #FFFFFF;
}

/* ==========================================================================
   HOME PAGE ARTICLES SHOWCASE SECTION (MATCHING USER SCREENSHOT)
   ========================================================================== */
.articles-section {
  padding: 4rem 0;
  background: var(--gray-light);
  border-bottom: 1px solid var(--white-border);
}

.section-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.section-title-wrapper h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--navy-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-title-wrapper p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 0.25rem;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

.article-card {
  background: var(--white-bg);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.article-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  border-color: rgba(239, 68, 68, 0.3);
}

.article-img-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  overflow: hidden;
  background: var(--navy-dark);
}

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

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

.article-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--red-accent);
  color: var(--white-bg);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4);
}

.article-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.article-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.article-card:hover .article-title {
  color: var(--red-accent);
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1;
}

.article-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  border-top: 1px solid var(--white-border);
}

.btn-read-more {
  color: var(--red-accent);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

/* ==========================================================================
   ARTICLE DETAIL MODAL
   ========================================================================== */
.article-detail-header-cover {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.article-detail-content {
  padding: 2rem;
  color: var(--navy-dark);
  line-height: 1.7;
}

.article-detail-content h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy-primary);
  margin-bottom: 1rem;
}

.article-detail-meta {
  display: flex;
  gap: 1.25rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--white-border);
}

.article-cta-box {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.article-cta-box h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 0.3rem;
  color: #FFFFFF;
}

/* ==========================================================================
   SERVICES, ABOUT US & CONTACT SECTIONS
   ========================================================================== */
.page-section {
  padding: 4rem 0;
  display: block;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 2rem;
}

.service-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2.25rem 1.75rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #0284C7 0%, #38BDF8 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.12);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--blue-ice);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.35rem;
  transition: all 0.3s ease;
  border: 1px solid rgba(2, 132, 199, 0.2);
}

.service-card:hover .service-icon-wrapper {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.3);
}

.btn-navy {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF !important;
  border-radius: var(--radius-full);
  padding: 0.65rem 1.25rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
}

.btn-navy:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.35);
}

/* ==========================================================================
   ENERGY EFFICIENCY & CORPORATE STATS SECTION (MATCHING REFERENCE IMAGE)
   ========================================================================== */
.energy-stats-section {
  background: #FFFFFF;
  padding: 4.5rem 0;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
  overflow: hidden;
}

.energy-stats-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  align-items: center;
}

.energy-stats-heading {
  font-size: 2.3rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.energy-stats-lead {
  color: #475569;
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.energy-stats-grid-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

.energy-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.energy-stat-card {
  background: #EBF5FB;
  border: 1px solid rgba(2, 132, 199, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: var(--transition-normal);
}

.energy-stat-card:hover {
  transform: translateY(-4px);
  background: #E0F2FE;
  box-shadow: 0 12px 28px rgba(2, 132, 199, 0.12);
  border-color: rgba(2, 132, 199, 0.3);
}

.energy-stat-number {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--blue-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -1px;
}

.energy-stat-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

.energy-stat-sub {
  font-size: 0.8rem;
  color: #64748B;
}

/* HIGH-IMPACT CORPORATE CTA BANNER (MATCHING REFERENCE IMAGE) */
.hvac-corporate-banner {
  background: linear-gradient(135deg, #0369A1 0%, #0284C7 50%, #0C4A6E 100%);
  border-radius: var(--radius-xl);
  padding: 3rem 3.5rem;
  color: #FFFFFF;
  margin: 3.5rem 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: 0 20px 45px rgba(2, 132, 199, 0.25);
  position: relative;
  overflow: hidden;
}

.hvac-corporate-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hvac-banner-content h3 {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 0.65rem;
  letter-spacing: -0.5px;
}

.hvac-banner-content p {
  font-size: 1rem;
  opacity: 0.92;
  max-width: 600px;
  line-height: 1.6;
}

.hvac-banner-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-shrink: 0;
}

.btn-banner-quote {
  background: var(--red-gradient);
  color: #FFFFFF;
  padding: 0.9rem 1.85rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: var(--transition-fast);
}

.btn-banner-quote:hover {
  background: var(--red-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

.btn-banner-call {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  padding: 0.9rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  transition: var(--transition-fast);
}

.btn-banner-call:hover {
  background: #FFFFFF;
  color: var(--blue-dark);
}

/* RESPONSIVE DESIGN FOR ENERGY STATS & HVAC BANNER */
@media (max-width: 992px) {
  .energy-stats-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .energy-stats-heading {
    font-size: 1.9rem;
  }

  .hvac-corporate-banner {
    flex-direction: column;
    padding: 2.5rem 2rem;
    text-align: center;
    gap: 1.75rem;
  }

  .hvac-banner-actions {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .energy-stats-section {
    padding: 2.5rem 0;
  }

  .energy-stats-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .energy-stats-heading {
    font-size: 1.45rem;
    line-height: 1.35;
    margin-bottom: 0.75rem;
  }

  .energy-stats-lead {
    font-size: 0.92rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
  }

  .energy-stats-grid-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .energy-stat-card {
    padding: 1.25rem 0.65rem;
    border-radius: var(--radius-lg);
  }

  .energy-stat-number {
    font-size: 1.95rem;
    margin-bottom: 0.25rem;
  }

  .energy-stat-label {
    font-size: 0.85rem;
    line-height: 1.3;
  }

  .energy-stat-sub {
    font-size: 0.72rem;
    line-height: 1.3;
    margin-top: 0.2rem;
  }

  .hvac-corporate-banner {
    padding: 2rem 1.25rem;
    margin: 2.25rem 0 1rem;
    border-radius: var(--radius-lg);
    text-align: center;
  }

  .hvac-banner-content h3 {
    font-size: 1.3rem;
    line-height: 1.35;
  }

  .hvac-banner-content p {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .hvac-banner-actions {
    width: 100%;
    flex-direction: column;
    gap: 0.75rem;
  }

  .btn-banner-quote,
  .btn-banner-call {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.25rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 380px) {
  .energy-stats-grid-cards {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* Admin Tabs Styling */
.admin-tabs-nav {
  display: flex;
  gap: 0.5rem;
  border-bottom: 2px solid var(--white-border);
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.admin-tab-btn {
  padding: 0.75rem 1.25rem;
  border: none;
  background: none;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.admin-tab-btn.active {
  color: var(--navy-dark);
  border-bottom-color: var(--red-accent);
}

@media (max-width: 640px) {
  .admin-table-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-table-toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .admin-table-search {
    max-width: none;
  }
}

/* ==========================================================================
   EMPTY CATALOG & RESET FILTER BUTTON STYLES
   ========================================================================== */
.empty-catalog {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
  background: var(--white-card);
  border: 1px dashed rgba(148, 163, 184, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(11, 19, 43, 0.03);
  text-align: center;
  margin: 1rem 0;
  transition: all 0.3s ease;
}

.empty-catalog-icon-wrapper {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.12) 0%, rgba(11, 19, 43, 0.06) 100%);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.12);
}

.empty-catalog h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
}

.empty-catalog p {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 420px;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

/* SLEEK MODERN RESET FILTER BUTTON */
.btn-reset-catalog-filters {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.75rem 1.8rem;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #ffffff;
  border: none;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.btn-reset-catalog-filters i {
  font-size: 1.05rem;
  color: var(--gold-light);
  transition: transform 0.4s ease;
}

.btn-reset-catalog-filters:hover {
  background: linear-gradient(135deg, #1e293b 0%, var(--navy-dark) 100%);
  color: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(11, 19, 43, 0.3);
  border-color: rgba(245, 158, 11, 0.4);
}

.btn-reset-catalog-filters:hover i {
  transform: rotate(-180deg);
}

.btn-reset-catalog-filters:active {
  transform: translateY(0);
  box-shadow: 0 4px 12px rgba(11, 19, 43, 0.2);
}

/* SIDEBAR RESET BUTTON */
.btn-reset-filter {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--white-border);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset-filter:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
}

/* ==========================================================================
   ARTICLE & QUICKVIEW DETAIL MODAL STYLES (FULL IMAGE & SMOOTH SCROLL)
   ========================================================================== */
.article-cover-wrapper {
  width: 100%;
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 60%, #F1F5F9 100%);
  border-bottom: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
  min-height: 240px;
  max-height: 480px;
  border-top-left-radius: var(--radius-xl);
  border-top-right-radius: var(--radius-xl);
}

.article-detail-header-cover {
  width: 100%;
  max-height: 480px;
  object-fit: contain; /* Full size without cropping image */
  display: block;
}

.article-detail-content {
  padding: 2rem 2.25rem 2.5rem;
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--white-border);
}

.article-cta-box {
  margin-top: 2rem;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: 0 8px 24px rgba(37, 99, 235, 0.25);
}

.article-cta-box h4 {
  font-size: 1.1rem;
  color: #FFFFFF;
  font-weight: 800;
  margin-bottom: 0.3rem;
}

/* QUICK VIEW MODAL FULL IMAGE */
.quickview-img {
  background: var(--white-surface);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border: 1px solid var(--white-border);
  min-height: 300px;
}

.quickview-img img {
  width: 100%;
  height: 100%;
  max-height: 400px;
  object-fit: contain; /* Full size without cropping */
}

/* ==========================================================================
   VANGUARD LUXURY AUTOMOTIVE HERITAGE - MODAL & TABLE SYSTEM
   ========================================================================== */
.vanguard-modal-header {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 60%, #F1F5F9 100%);
  color: #0A192F;
  padding: 1.6rem 2.25rem;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  border-bottom: 2px solid #E2E8F0;
  border-top: 4px solid #2563EB;
  position: relative;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
}

.vanguard-modal-header h2,
.vanguard-modal-header h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0A192F;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: -0.3px;
  margin: 0;
}

.vanguard-modal-header p {
  font-size: 0.85rem;
  color: #64748B;
  margin-top: 0.35rem;
  margin-bottom: 0;
  line-height: 1.5;
}

.vanguard-modal-header i.header-icon {
  color: #2563EB;
  background: rgba(37, 99, 235, 0.08);
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

/* Order Lookup Input Field & Button inside Vanguard Modal Header */
.orders-search-box-vanguard {
  display: flex;
  gap: 0.65rem;
  max-width: 540px;
  align-items: center;
  margin-top: 1rem;
}

.orders-search-box-vanguard .input-wrapper {
  position: relative;
  flex: 1;
}

.orders-search-box-vanguard .input-wrapper i {
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  color: #2563EB;
  font-size: 0.95rem;
}

.vanguard-phone-input {
  width: 100%;
  padding: 0.7rem 1rem 0.7rem 2.75rem;
  border-radius: 30px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF !important;
  color: #0A192F !important;
  font-weight: 700;
  font-size: 0.92rem;
  outline: none;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.vanguard-phone-input:focus {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.vanguard-phone-input::placeholder {
  color: #94A3B8;
  font-weight: 500;
}

.btn-vanguard-lookup {
  background: linear-gradient(135deg, #2563EB 0%, #1D4ED8 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: 30px;
  padding: 0.7rem 1.5rem;
  font-weight: 800;
  font-size: 0.88rem;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
  transition: all 0.25s ease;
}

.btn-vanguard-lookup:hover {
  background: linear-gradient(135deg, #1D4ED8 0%, #1E40AF 100%);
  color: #FFFFFF !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.35);
}

.btn-vanguard-lookup i {
  color: #FFFFFF;
}

/* ==========================================================================
   PRODUCT IMAGE GALLERY (MULTI-IMAGE QUICKVIEW)
   ========================================================================== */
.quickview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  padding: 2rem;
}

.quickview-grid.has-gallery {
  grid-template-columns: 1fr 1fr;
}

/* Single image (no gallery) */
.quickview-img {
  background: var(--white-surface);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  border: 1px solid var(--white-border);
  min-height: 280px;
}

.quickview-img img {
  width: 100%;
  max-height: 380px;
  object-fit: contain;
}

/* Gallery container */
.qv-gallery {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

/* Main large image */
.qv-main-img-wrap {
  position: relative;
  background: var(--white-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--white-border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  padding: 1rem;
}

.qv-main-img-wrap img {
  width: 100%;
  max-height: 320px;
  object-fit: contain;
  transition: opacity 0.2s ease;
}

/* Prev / Next navigation arrows */
.qv-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid #E2E8F0;
  color: var(--navy-dark);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(10, 25, 47, 0.12);
  transition: all 0.2s ease;
  z-index: 4;
}

.qv-prev { left: 0.5rem; }
.qv-next { right: 0.5rem; }

.qv-nav:hover {
  background: #2563EB;
  color: #FFFFFF;
  border-color: #2563EB;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* Image counter badge */
.qv-img-count {
  position: absolute;
  bottom: 0.6rem;
  right: 0.75rem;
  background: rgba(10, 25, 47, 0.65);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(4px);
}

/* Thumbnail strip */
.qv-thumbnails {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.qv-thumb {
  width: 62px;
  height: 62px;
  border-radius: var(--radius-md);
  border: 2px solid #E2E8F0;
  background: var(--white-surface);
  overflow: hidden;
  padding: 0.25rem;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.qv-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.qv-thumb:hover {
  border-color: #94A3B8;
  box-shadow: 0 2px 8px rgba(10, 25, 47, 0.1);
}

.qv-thumb.active {
  border-color: #2563EB;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

/* Details panel */
.quickview-details h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.35;
  margin-bottom: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
  .quickview-grid,
  .quickview-grid.has-gallery {
    grid-template-columns: 1fr;
    padding: 1rem;
    gap: 1.25rem;
  }

  .qv-main-img-wrap {
    min-height: 220px;
  }

  .qv-main-img-wrap img {
    max-height: 230px;
  }

  .qv-thumb {
    width: 52px;
    height: 52px;
  }
}

/* ==========================================================================
   ADMIN PRODUCT LIVE MULTI-IMAGE THUMBNAILS GRID (MATCHING DEMO DESIGN)
   ========================================================================== */
.prod-images-thumbnails-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  min-height: 85px;
  align-items: center;
  padding: 0.5rem 0;
}

.prod-thumb-card {
  position: relative;
  width: 115px;
  height: 80px;
  border-radius: 10px;
  border: 1.5px solid #CBD5E1;
  background: #FFFFFF;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.prod-thumb-card:hover {
  transform: translateY(-2px);
  border-color: #6366F1;
}

.prod-thumb-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prod-thumb-num {
  position: absolute;
  bottom: 4px;
  right: 4px;
  background: rgba(15, 23, 42, 0.75);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 6px;
  backdrop-filter: blur(2px);
}

.prod-thumb-empty {
  color: #94A3B8;
  font-size: 0.85rem;
  font-style: italic;
  padding: 1rem;
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
  border-radius: 8px;
  width: 100%;
  text-align: center;
}

/* ==========================================================================
   TOP BAR & CONTACT SECTION SOCIAL LINKS (ZALO & FACEBOOK)
   ========================================================================== */
.top-bar-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--white-surface);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  padding: 0.2rem 0.55rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  transition: all 0.2s ease;
}

.top-bar-social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  transform: translateY(-1px);
}

.zalo-badge-sm {
  background: #0068FF;
  color: #FFFFFF;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 1px 5px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.top-bar-fb i {
  color: #1877F2;
  font-size: 0.95rem;
}

/* Contact Section Social Buttons */
.contact-btn-social {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 1.25rem;
  border-radius: 30px;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.btn-zalo-contact {
  background: #0068FF;
  color: #FFFFFF;
}

.btn-zalo-contact:hover {
  background: #0052CC;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.35);
  transform: translateY(-2px);
}

.btn-fb-contact {
  background: #1877F2;
  color: #FFFFFF;
}

.btn-fb-contact:hover {
  background: #0C63D4;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(24, 119, 242, 0.35);
  transform: translateY(-2px);
}

.zalo-badge-icon {
  background: #FFFFFF;
  color: #0068FF;
  font-size: 0.7rem;
  font-weight: 900;
  padding: 2px 6px;
  border-radius: 6px;
}

/* ==========================================================================
   FLOATING QUICK CONTACT BAR (ZALO, FACEBOOK, CALL HOTLINE)
   ========================================================================== */
.floating-contact-bar {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: flex-end;
}

.float-contact-btn {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.9rem 0.6rem 0.75rem;
  border-radius: 50px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

.float-contact-btn:hover {
  transform: translateX(-4px) scale(1.04);
  color: #FFFFFF;
}

.float-contact-btn i {
  font-size: 1.05rem;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  flex-shrink: 0;
}

/* Zalo Floating */
.float-zalo {
  background: linear-gradient(135deg, #0068FF 0%, #0044B3 100%);
}

/* Email Floating */
.float-fb {
  background: linear-gradient(135deg, #1877F2 0%, #0B50B3 100%);
}

/* Phone Call Floating */
.float-call {
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
}

/* Mobile Responsiveness for Floating Contact Bar */
@media (max-width: 768px) {
  .floating-contact-bar {
    bottom: 4.8rem; /* Above mobile bottom navigation bar */
    right: 0.85rem;
    gap: 0.65rem;
    align-items: center;
  }

  .float-contact-btn {
    width: 48px;
    height: 48px;
    padding: 0;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  }

  .float-contact-label {
    display: none; /* Icon-only on mobile to keep screen clean */
  }

  .float-contact-btn i {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
    background: rgba(255, 255, 255, 0.22);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* ==========================================================================
   DETAIL PAGES (Sản phẩm / Bài viết) – trang riêng cho SEO
   ========================================================================== */

.detail-header-wrapper {
  gap: 1rem;
}

.detail-nav {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex: 1;
  justify-content: center;
  flex-wrap: wrap;
}

.detail-nav a {
  color: var(--navy-dark);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.detail-nav a:hover {
  color: var(--blue-primary);
}

.detail-page {
  padding: 1.75rem 0 3.5rem;
  background: #F8FAFC;
  min-height: 60vh;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.breadcrumb a {
  color: var(--blue-primary);
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb-sep {
  color: #CBD5E1;
  font-size: 0.7rem;
}

.breadcrumb-current {
  color: #334155;
  font-weight: 700;
}

/* Product detail */
.detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: 2.5rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
}

.detail-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.detail-main-img {
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #FFFFFF;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
}

.detail-main-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-thumbs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.detail-thumb {
  width: 74px;
  height: 74px;
  padding: 0;
  border: 2px solid #E2E8F0;
  border-radius: 10px;
  background: #FFFFFF;
  cursor: pointer;
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.detail-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-thumb.active,
.detail-thumb:hover {
  border-color: var(--blue-primary);
  transform: translateY(-2px);
}

.detail-info {
  display: flex;
  flex-direction: column;
}

.detail-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.detail-title {
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy-dark);
  margin-bottom: 1rem;
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  color: #475569;
  margin-bottom: 1.25rem;
}

.detail-meta i {
  color: var(--blue-primary);
  margin-right: 0.3rem;
}

.detail-price {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, #FEF2F2 0%, #FFF7ED 100%);
  border: 1px solid #FECACA;
  border-radius: var(--radius-lg);
  margin-bottom: 1rem;
}

.detail-price-current {
  font-size: 1.85rem;
  font-weight: 800;
  color: #DC2626;
}

.detail-price-old {
  font-size: 1.05rem;
  color: #94A3B8;
  text-decoration: line-through;
}

.detail-note {
  font-size: 0.85rem;
  color: #64748B;
  margin-bottom: 1.5rem;
}

.detail-note i {
  color: var(--blue-primary);
  margin-right: 0.35rem;
}

/* Product Detail Action Grid - 2x2 Compact & Enterprise Layout */
.detail-actions {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.detail-actions a,
.detail-actions button {
  justify-content: center;
  text-decoration: none;
  font-family: inherit;
}

.btn-detail-cart {
  background: var(--red-gradient);
  color: #FFFFFF;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(217, 56, 41, 0.28);
  transition: var(--transition-fast);
  border: none;
  cursor: pointer;
  height: 42px;
  box-sizing: border-box;
  white-space: nowrap;
}

.btn-detail-cart:hover {
  background: var(--red-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 56, 41, 0.38);
}

.detail-btn-quote {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF !important;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.28);
  transition: var(--transition-fast);
  border: none;
  height: 42px;
  box-sizing: border-box;
  white-space: nowrap;
}

.detail-btn-quote:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.38);
}

.detail-btn-call {
  background: #FFFFFF;
  color: var(--navy-dark) !important;
  border: 1.5px solid #CBD5E1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  transition: var(--transition-fast);
  height: 42px;
  box-sizing: border-box;
  white-space: nowrap;
}

.detail-btn-call i {
  color: var(--red-accent);
}

.detail-btn-call:hover {
  border-color: var(--red-accent);
  color: var(--red-accent) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.detail-btn-zalo {
  background: linear-gradient(135deg, #0068FF 0%, #0044B3 100%);
  color: #FFFFFF !important;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 4px 12px rgba(0, 104, 255, 0.25);
  transition: var(--transition-fast);
  border: none;
  height: 42px;
  box-sizing: border-box;
  white-space: nowrap;
}

.detail-btn-zalo:hover {
  background: #0044B3;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 104, 255, 0.35);
}

@media (max-width: 520px) {
  .detail-actions {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

.detail-usp {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #475569;
}

.detail-usp i {
  color: #10B981;
  margin-right: 0.5rem;
}

/* Detail sections */
.detail-sections {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
}

.detail-block {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-sm);
}

.detail-block h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 1rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid #EFF6FF;
}

.detail-block p {
  color: #475569;
  line-height: 1.8;
  font-size: 0.95rem;
}

.detail-spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.detail-spec-table th,
.detail-spec-table td {
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid #F1F5F9;
  text-align: left;
  vertical-align: top;
}

.detail-spec-table th {
  width: 34%;
  color: #64748B;
  font-weight: 700;
  background: #F8FAFC;
}

.detail-spec-table td {
  color: #1E293B;
}

.detail-tag {
  display: inline-block;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
  border-radius: 20px;
  padding: 0.2rem 0.7rem;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 0 0.35rem 0.35rem 0;
}

.detail-cta-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #EFF6FF 0%, #E0F2FE 100%);
  border-color: #BFDBFE;
}

.detail-cta-block h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.25rem;
}

.detail-cta-block p {
  margin: 0;
  font-size: 0.9rem;
}

.detail-cta-block a {
  text-decoration: none;
  white-space: nowrap;
}

/* Related blocks */
.detail-related {
  margin-top: 2.5rem;
}

.detail-related h2 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 1.25rem;
}

/* Article detail */
.article-detail {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-sm);
}

.article-detail-header {
  margin-bottom: 1.5rem;
}

.article-detail-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy-dark);
  margin: 0.75rem 0 1rem;
}

.article-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.88rem;
  color: #64748B;
}

.article-detail-meta i {
  color: var(--blue-primary);
  margin-right: 0.3rem;
}

.article-detail-cover {
  margin: 0 0 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.article-detail-cover img {
  width: 100%;
  height: auto;
  display: block;
}

.article-detail-summary {
  font-size: 1.02rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.7;
  padding: 0.9rem 1.15rem;
  background: #F8FAFC;
  border-left: 4px solid var(--blue-primary);
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
}

.article-detail-content {
  font-size: 1rem;
  line-height: 1.85;
  color: #1E293B;
  margin-bottom: 2rem;
}

.article-detail-content h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin: 1.75rem 0 0.75rem;
}

.article-detail-content h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin: 1.35rem 0 0.6rem;
}

.article-detail-content p {
  margin-bottom: 1rem;
}

.article-detail-content ul,
.article-detail-content ol {
  margin: 0 0 1rem 1.35rem;
}

.article-detail-content li {
  margin-bottom: 0.5rem;
}

.article-detail-content img {
  max-width: 100%;
  height: auto;
  border-radius: var(--radius-md);
}

/* 404 page */
.not-found-box {
  max-width: 640px;
  margin: 2rem auto;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  padding: 3rem 2rem;
  box-shadow: var(--shadow-sm);
}

.not-found-icon {
  font-size: 3rem;
  color: var(--blue-primary);
  margin-bottom: 1rem;
  display: block;
}

.not-found-box h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.75rem;
}

.not-found-box p {
  color: #64748B;
  margin-bottom: 1.5rem;
}

.not-found-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.not-found-actions a {
  text-decoration: none;
}

.not-found-hotline {
  font-size: 0.9rem;
  margin: 0;
}

.not-found-hotline a {
  color: var(--blue-primary);
  font-weight: 700;
}

/* Detail pages responsive */
@media (max-width: 992px) {
  .detail-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
    padding: 1.5rem;
  }
}

@media (max-width: 768px) {
  .detail-nav {
    display: none;
  }

  .detail-title {
    font-size: 1.4rem;
  }

  .article-detail {
    padding: 1.5rem 1.25rem;
  }

  .article-detail-title {
    font-size: 1.45rem;
  }

  .detail-block {
    padding: 1.25rem;
  }

  .detail-price-current {
    font-size: 1.5rem;
  }

  .detail-cta-block {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Link tiêu đề trong card sản phẩm / bài viết (dẫn tới trang chi tiết) */
.product-title a,
.article-title a {
  color: inherit;
  text-decoration: none;
}

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

/* Card dạng thẻ <a> (trang chi tiết dùng) */
a.product-card,
a.article-card {
  color: inherit;
  text-decoration: none;
}

/* Danh sách địa chỉ (trụ sở + chi nhánh) trong khối Thông tin doanh nghiệp */
.contact-address-block {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-address-block > i {
  margin-top: 0.2rem;
  font-size: 1.05rem;
}

.contact-address-item {
  margin-bottom: 0.4rem;
  line-height: 1.6;
}

.contact-address-item:last-child {
  margin-bottom: 0;
}

/* Nút chọn địa điểm trên mini map */
.contact-map-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 1rem 1.75rem 0;
}

.map-location-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid #BFDBFE;
  border-radius: 30px;
  background: #FFFFFF;
  color: #0369A1;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.map-location-btn:hover {
  background: #EFF6FF;
  border-color: #60A5FA;
  transform: translateY(-1px);
}

.map-location-btn.active {
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  border-color: transparent;
  color: #FFFFFF;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.28);
}

@media (max-width: 768px) {
  .contact-map-locations {
    padding: 1rem 1.15rem 0;
  }

  .map-location-btn {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   MINI MAP - BẢN ĐỒ CHỈ ĐƯỜNG (khu vực Liên hệ)
   ========================================================================== */

.contact-map-wrapper {
  margin-top: 2.5rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.contact-map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid #E2E8F0;
  background: linear-gradient(135deg, #F8FAFC 0%, #EFF6FF 100%);
}

.contact-map-header h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 0.3rem;
}

.contact-map-header h3 i {
  color: var(--blue-primary);
  margin-right: 0.35rem;
}

.contact-map-header p {
  font-size: 0.88rem;
  color: #475569;
  margin: 0;
}

.contact-map-header p i {
  color: var(--blue-primary);
  margin-right: 0.35rem;
}

.contact-map-directions {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.65rem 1.35rem;
  border-radius: 30px;
  background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%);
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.3);
  transition: all 0.22s ease;
}

.contact-map-directions:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.42);
}

.contact-map-frame {
  position: relative;
  width: 100%;
  height: 360px;
  background: #E2E8F0;
}

.contact-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: saturate(1.05);
}

@media (max-width: 768px) {
  .contact-map-header {
    padding: 1rem 1.15rem;
  }

  .contact-map-directions {
    width: 100%;
    justify-content: center;
  }

  .contact-map-frame {
    height: 280px;
  }
}

