/* ==========================================================================
   Cadbird Overseas — Corporate Website Stylesheet
   Design Language: Balanced · Modern · Light Theme (4px Grid Rhythm · Flat Elevation)
   Brand Identity: Navy #0E2245 | Red #9A2B35 | Elevated Surface #F2F3F4 | Accent #4CAF50
   ========================================================================== */

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

:root {
  /* Brand Identity Palette */
  --color-navy: #0E2245;
  --color-navy-dark: #071328;
  --color-navy-light: #18335F;
  --color-red: #9A2B35;
  --color-red-hover: #832029;
  --color-burgundy: #580E0E;
  
  /* CP Plus Inspired Design System Tokens */
  --color-accent-green: #4CAF50;
  --color-accent-green-hover: #43A047;
  --color-surface: #FFFFFF;
  --color-elevated: #F2F3F4;
  --color-charcoal: #333333;
  --color-text: #333333;
  --color-muted: #4D4D4D;
  --color-border: #DEE2E6;
  --color-border-light: #E9ECEF;
  --color-white: #FFFFFF;
  --color-light-gray: #F2F3F4;
  --color-card-bg: #FFFFFF;
  
  /* Typography: Open Sans (600-700 Headings / 400 Body) */
  --font-sans: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* 4px Rhythm Radius Vocabulary (Card -> 4px, Input -> 4px) */
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-xl: 6px;
  
  /* 4px Spacing Scale (4, 8, 12, 16, 20, 32, 44, 96) */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 32px;
  --space-7: 44px;
  --space-8: 96px;
  
  /* Flat Design Rhythm (Crisp 1px borders, subtle elevation) */
  --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 2px 5px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 4px 12px rgba(14, 34, 69, 0.08);
  --shadow-hover: 0 4px 14px rgba(14, 34, 69, 0.10);
  
  --container-max: 1440px;
  --transition: all 0.2s ease-in-out;
}

/* Reset & Base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--color-white);
  color: var(--color-charcoal);
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100%;
}

a {
  color: var(--color-navy);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-red);
}

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

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

/* Layout Utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-sm {
  padding: 3rem 0;
}

.bg-soft {
  background-color: var(--color-light-gray);
}

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

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

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-navy);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.h1, h1 {
  font-size: clamp(2.1rem, 3.8vw, 3.4rem);
  letter-spacing: -0.025em;
}

.h2, h2 {
  font-size: clamp(1.7rem, 2.8vw, 2.4rem);
  letter-spacing: -0.02em;
}

.h3, h3 {
  font-size: 1.35rem;
}

.h4, h4 {
  font-size: 1.15rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--color-muted);
  line-height: 1.65;
}

.text-muted {
  color: var(--color-muted);
}

.text-red {
  color: var(--color-red);
}

.text-white {
  color: var(--color-white) !important;
}

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

.section-header {
  margin-bottom: 3.5rem;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-red);
  background-color: rgba(154, 43, 53, 0.08);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 0.85rem;
}

/* Buttons & Interactive Components (Specs: 10px 20px, 4px radius, flat rhythm) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.875rem;
  letter-spacing: 0.25px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  line-height: 1.4;
}

.btn-primary {
  background-color: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-primary:hover {
  background-color: var(--color-navy-light);
  color: var(--color-white);
  border-color: var(--color-navy-light);
  box-shadow: var(--shadow-sm);
}

.btn-accent {
  background-color: var(--color-red);
  color: var(--color-white);
  border-color: var(--color-red);
}

.btn-accent:hover {
  background-color: var(--color-red-hover);
  color: var(--color-white);
  border-color: var(--color-red-hover);
  box-shadow: var(--shadow-sm);
}

.btn-green, .btn-success {
  background-color: var(--color-accent-green);
  color: #FFFFFF;
  border-color: var(--color-accent-green);
}

.btn-green:hover, .btn-success:hover {
  background-color: var(--color-accent-green-hover);
  color: #FFFFFF;
  border-color: var(--color-accent-green-hover);
  box-shadow: var(--shadow-sm);
}

.btn-outline {
  background-color: #FFFFFF;
  color: var(--color-charcoal);
  border-color: var(--color-border);
}

.btn-outline:hover {
  background-color: var(--color-elevated);
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--color-white);
  color: var(--color-navy);
  border-color: var(--color-white);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 0.8125rem;
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 12px 28px;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

/* Form Controls & Inputs (Specs: #FFFFFF bg, 1.5px solid #CED4DA, 4px radius, 8px 12px padding) */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: 0.4rem;
}

.form-control, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="url"], input[type="number"], select, textarea {
  width: 100%;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-charcoal);
  background-color: #FFFFFF;
  border: 1.5px solid #CED4DA;
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.form-control:focus, input:focus, select:focus, textarea:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 2px rgba(14, 34, 69, 0.1);
}

textarea.form-control {
  min-height: 100px;
  resize: vertical;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top Announcement & Social Topbar Strip */
.site-topbar,
.top-announcement {
  background: linear-gradient(90deg, #071328 0%, #0E2245 100%);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.8125rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
}

.site-topbar .container,
.top-announcement .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Social Media Icons (Left) */
.topbar-social {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.topbar-social a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  line-height: 1;
}

.topbar-social a:hover {
  color: #ffffff;
  transform: translateY(-1px);
}

.topbar-social a.social-fb:hover { color: #1877F2; }
.topbar-social a.social-tw:hover { color: #ffffff; }
.topbar-social a.social-li:hover { color: #0A66C2; }
.topbar-social a.social-yt:hover { color: #FF0000; }
.topbar-social a.social-ig:hover { color: #E4405F; }

/* Right Navigation & Contact */
.topbar-right,
.top-contact-links {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
}

.topbar-link,
.top-contact-links a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.8125rem;
  font-weight: 400;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  text-decoration: none;
  transition: color 0.2s ease;
}

.topbar-link:hover,
.top-contact-links a:hover {
  color: #ffffff;
}

.topbar-link i,
.top-contact-links a i {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}

.topbar-link:hover i,
.top-contact-links a:hover i {
  color: #ffffff;
}

.topbar-sep {
  color: rgba(255, 255, 255, 0.22);
  font-size: 0.75rem;
  user-select: none;
}

.announcement-text {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.announcement-badge {
  background-color: var(--color-red);
  color: #fff;
  font-weight: 400;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  font-size: 0.7rem;
  text-transform: uppercase;
}

/* Main Navbar */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--color-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  padding: 0.4rem 0;
}

.brand-logo-wrap {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 75px;
  width: auto;
  max-height: 75px;
  object-fit: contain;
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.75rem 0.95rem;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--color-navy);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.nav-link:hover, .nav-item.active .nav-link {
  color: var(--color-red);
  background-color: var(--color-light-gray);
  font-weight: 400;
}

.nav-link i.arrow-icon {
  font-size: 0.75rem;
  transition: transform 0.2s ease;
}

.nav-item:hover .nav-link i.arrow-icon {
  transform: rotate(180deg);
}

/* Standard Dropdown */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  list-style: none;
  z-index: 1010;
}

.nav-item:hover .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-item {
  position: relative;
}

.nav-dropdown-item > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--color-charcoal);
  transition: var(--transition);
}

.nav-dropdown-item > a:hover {
  background-color: var(--color-light-gray);
  color: var(--color-red);
  padding-left: 1.45rem;
}

.nav-dropdown-item.has-sub-dropdown > a .sub-arrow {
  font-size: 0.72rem;
  color: var(--color-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-dropdown-item.has-sub-dropdown:hover > a {
  background-color: var(--color-light-gray);
  color: var(--color-red);
}

.nav-dropdown-item.has-sub-dropdown:hover > a .sub-arrow {
  color: var(--color-red);
  transform: translateX(3px);
}

/* Level 3: Sub-Sub-Menu flyout on hover */
.nav-sub-dropdown {
  position: absolute;
  top: 0;
  left: 100%;
  min-width: 240px;
  background-color: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  list-style: none;
  z-index: 1030;
}

.nav-dropdown-item.has-sub-dropdown:hover > .nav-sub-dropdown,
.nav-dropdown-item.has-sub-dropdown:focus-within > .nav-sub-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.nav-sub-dropdown-item a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-charcoal);
  transition: var(--transition);
}

.nav-sub-dropdown-item a:hover {
  background-color: var(--color-light-gray);
  color: var(--color-red);
  padding-left: 1.45rem;
}

/* ==========================================================================
   Mega Menu for Products & Dynamic Navigation (Split Categories & Sub Categories Layout)
   ========================================================================== */
.site-header .container {
  position: relative;
}

.nav-item.has-mega-menu {
  position: static;
}

.mega-menu-container {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 92vw;
  max-width: 1040px;
  background: #FFFFFF;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
  border: 1px solid var(--color-border);
  padding: 1.75rem 2rem 2rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1020;
}

.nav-item.has-mega-menu:hover .mega-menu-container {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.mega-menu-layout {
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 2.25rem;
  min-height: 320px;
}

/* Headers */
.mega-column-header {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  font-weight: 400;
  color: #2D353C;
  margin-bottom: 1.15rem;
  padding-bottom: 0.25rem;
  letter-spacing: 0.15px;
}

/* Left Column: Product Categories */
.mega-menu-categories-col {
  display: flex;
  flex-direction: column;
}

.mega-category-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin: 0;
  padding: 0;
}

.mega-category-item {
  position: relative;
}

.mega-category-link {
  display: block;
  padding: 0.45rem 0.65rem;
  font-size: 0.925rem;
  color: #333333;
  font-weight: 400;
  border-radius: 3px;
  transition: color 0.15s ease, background 0.15s ease;
  line-height: 1.35;
}

.mega-category-item.active .mega-category-link,
.mega-category-item:hover .mega-category-link {
  color: var(--color-red) !important;
  font-weight: 400;
  background-color: rgba(154, 43, 53, 0.04);
}

/* Right Column: Sub Categories */
.mega-menu-subcategories-col {
  border-left: 1px solid var(--color-border);
  padding-left: 2.25rem;
  display: flex;
  flex-direction: column;
}

.mega-subcategory-panel {
  display: none;
  flex-direction: column;
  height: 100%;
}

.mega-subcategory-panel.active {
  display: flex;
}

.mega-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 2rem;
  row-gap: 0.95rem;
  margin-bottom: auto;
}

.mega-subcategory-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: #4D4D4D;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.15s ease;
  line-height: 1.35;
}

.mega-caret {
  font-weight: 400;
  font-size: 0.95rem;
  color: #6C757D;
  display: inline-block;
  line-height: 1;
  transition: transform 0.15s ease, color 0.15s ease;
}

.mega-subcategory-item:hover {
  color: var(--color-red);
}

.mega-subcategory-item:hover .mega-caret {
  color: var(--color-red);
  transform: translateX(2px);
}

.mega-panel-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--color-border);
}

.mega-view-all-link {
  font-size: 0.825rem;
  font-weight: 400;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.15s ease;
}

.mega-view-all-link:hover {
  color: var(--color-red);
}

/* Nav Actions (Search + CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.search-btn-trigger {
  background: none;
  border: none;
  font-size: 1.15rem;
  color: var(--color-navy);
  cursor: pointer;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.search-btn-trigger:hover {
  color: var(--color-red);
  background-color: var(--color-light-gray);
}

/* ==========================================================================
   Redesigned Live Search Modal Overlay (Theme Aligned)
   ========================================================================== */
.site-search-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  z-index: 9999999 !important;
  align-items: flex-start;
  justify-content: center;
  padding: 80px 16px 24px;
  box-sizing: border-box;
}

.site-search-overlay.active {
  display: flex !important;
}

.site-search-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 17, 40, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  z-index: 1;
  animation: fadeInSearch 0.2s ease;
}

.site-search-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 740px;
  animation: slideDownSearch 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInSearch {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideDownSearch {
  from { transform: translateY(-24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.site-search-box {
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  border: 1.5px solid rgba(2, 132, 199, 0.25);
}

.site-search-form {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  background: #ffffff;
  border-bottom: 1px solid #f1f5f9;
}

.site-search-input-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  position: relative;
}

.site-search-icon {
  font-size: 1.35rem;
  color: var(--color-navy, #0A1128);
  flex-shrink: 0;
}

.site-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 1.08rem;
  color: #0A1128;
  font-weight: 600;
  background: transparent;
  padding: 8px 0;
}

.site-search-input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}

.site-search-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-red, #dc2626);
  font-size: 1.15rem;
}

.site-search-spinner i.spin {
  animation: spinSearch 0.8s linear infinite;
  display: inline-block;
}

@keyframes spinSearch {
  100% { transform: rotate(360deg); }
}

.site-search-clear-btn {
  background: #f1f5f9;
  border: none;
  color: #64748b;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.18s ease;
}

.site-search-clear-btn:hover {
  background: #fee2e2;
  color: #dc2626;
}

.site-search-submit-btn {
  background: var(--color-navy, #0A1128);
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.site-search-submit-btn:hover {
  background: var(--color-red, #dc2626);
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.3);
}

.site-search-close-btn {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #64748b;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
}

.site-search-close-btn:hover {
  background: #0A1128;
  color: #fff;
  border-color: #0A1128;
}

/* Quick Search Tags */
.site-search-quick-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  flex-wrap: wrap;
}

.quick-tags-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.search-tag-chip {
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 20px;
  padding: 3px 11px;
  font-size: 0.8rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.18s ease;
}

.search-tag-chip:hover {
  background: #fef2f2;
  border-color: var(--color-red, #dc2626);
  color: var(--color-red, #dc2626);
}

/* Live AJAX Results Panel */
.site-search-results-panel {
  max-height: 440px;
  overflow-y: auto;
  background: #ffffff;
}

.search-results-header {
  padding: 10px 18px;
  background: #f8fafc;
  border-bottom: 1px solid #f1f5f9;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.search-results-count {
  background: #e2e8f0;
  color: #334155;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 0.72rem;
  font-weight: 700;
}

.search-results-list {
  display: flex;
  flex-direction: column;
}

.search-result-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  text-decoration: none;
  border-bottom: 1px solid #f8fafc;
  transition: all 0.18s ease;
}

.search-result-item:hover,
.search-result-item.is-selected {
  background: #f0f9ff;
  border-left: 4px solid #0284c7;
  padding-left: 14px;
}

.search-result-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 0;
}

.search-result-thumb {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
}

.search-result-thumb img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.search-result-details {
  flex: 1;
  min-width: 0;
}

.search-result-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #0A1128;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px;
}

.search-result-meta {
  font-size: 0.78rem;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.search-result-meta .sku-tag {
  font-family: monospace;
  font-weight: 700;
  color: var(--color-red, #dc2626);
}

.search-result-meta .brand-pill {
  background: #f1f5f9;
  color: #475569;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
}

.search-result-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
  gap: 2px;
}

.search-result-price {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--color-navy, #0A1128);
}

.search-result-mrp {
  font-size: 0.75rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.search-result-discount {
  background: #ecfdf5;
  color: #059669;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 1px 5px;
  border-radius: 4px;
}

.search-result-rfq {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy, #0A1128);
  background: #f1f5f9;
  padding: 3px 8px;
  border-radius: 4px;
}

.search-results-footer {
  padding: 11px 18px;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  text-align: center;
}

.search-view-all-btn {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-navy, #0A1128);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: color 0.18s ease;
}

.search-view-all-btn:hover {
  color: var(--color-red, #dc2626);
}

.search-empty-state {
  padding: 36px 20px;
  text-align: center;
  color: #64748b;
}

.search-empty-state i {
  font-size: 2.2rem;
  color: #cbd5e1;
  display: block;
  margin-bottom: 8px;
}

@media (max-width: 768px) {
  .site-search-overlay {
    padding-top: max(20px, env(safe-area-inset-top, 20px));
    padding-left: 10px;
    padding-right: 10px;
    padding-bottom: 20px;
    z-index: 9999999 !important;
  }
  .site-search-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
  .site-search-box {
    border-radius: 14px;
    max-height: calc(100vh - 40px);
    display: flex;
    flex-direction: column;
  }
  .site-search-form {
    padding: 10px 12px;
    gap: 8px;
  }
  .site-search-input {
    font-size: 0.95rem;
    padding: 6px 0;
  }
  .site-search-submit-btn span {
    display: none;
  }
  .site-search-submit-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
  }
  .site-search-close-btn {
    width: 34px;
    height: 34px;
    font-size: 0.85rem;
  }
  .site-search-quick-tags {
    padding: 8px 12px;
    gap: 6px;
  }
  .search-tag-chip {
    padding: 2px 9px;
    font-size: 0.75rem;
  }
  .site-search-results-panel {
    max-height: calc(100vh - 180px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
}

/* Mobile Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.65rem;
  color: var(--color-navy);
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 85%;
  max-width: 380px;
  height: 100vh;
  background-color: var(--color-white);
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
  z-index: 2000;
  transition: right 0.3s ease;
  overflow-y: auto;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.mobile-drawer.active {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 1.5rem;
}

.mobile-close-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-navy);
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-item {
  border-bottom: 1px solid var(--color-border-light);
  padding-bottom: 0.5rem;
}

.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 400;
  color: var(--color-navy);
  padding: 0.5rem 0;
  font-size: 1.05rem;
}

.mobile-sub-menu {
  display: none;
  padding-left: 1rem;
  list-style: none;
  margin-top: 0.5rem;
}

.mobile-sub-menu.active {
  display: block;
}

.mobile-sub-menu li a {
  display: block;
  padding: 0.4rem 0;
  color: var(--color-muted);
  font-size: 0.9rem;
  font-weight: 400;
  transition: var(--transition);
}

.mobile-sub-menu li a:hover {
  color: var(--color-red);
}

/* Mobile Level 3 Sub-Sub-Menu Accordion */
.mobile-sub-nav-item {
  position: relative;
  border-top: 1px dashed var(--color-border-light);
  margin-top: 0.35rem;
  padding-top: 0.35rem;
}

.mobile-sub-accordion-toggle {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 0.45rem 0.5rem !important;
  font-weight: 400 !important;
  color: var(--color-navy) !important;
  font-size: 0.9rem !important;
  background-color: rgba(14, 34, 69, 0.03);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.mobile-sub-accordion-toggle i {
  font-size: 0.75rem;
  transition: transform 0.25s ease;
}

.mobile-sub-accordion-toggle.active i {
  transform: rotate(180deg);
}

.mobile-sub-sub-menu {
  display: none;
  list-style: none;
  padding: 0.35rem 0 0.35rem 1rem;
  border-left: 2px solid var(--color-red);
  margin: 0.35rem 0 0.35rem 0.5rem;
}

.mobile-sub-sub-menu.active {
  display: block;
}

.mobile-sub-sub-menu li a {
  padding: 0.3rem 0;
  font-size: 0.85rem;
  color: #555;
}

/* ==========================================================================
   Support Resources & Brand Support Hub
   ========================================================================== */
.support-filter-wrap {
  max-width: 680px;
  margin: 1.5rem auto 0;
  position: relative;
}

.support-filter-wrap input {
  width: 100%;
  padding: 0.85rem 1.25rem 0.85rem 2.85rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  background-color: #fff;
  box-shadow: var(--shadow-sm);
  outline: none;
  transition: var(--transition);
}

.support-filter-wrap input:focus {
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(14, 34, 69, 0.12);
}

.support-filter-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-muted);
  font-size: 1.1rem;
}

.support-group-box {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-subtle);
  transition: var(--transition);
}

.support-group-box.featured-brand-group {
  border-color: rgba(14, 34, 69, 0.2);
  background: linear-gradient(180deg, #FFFFFF 0%, #F9FAFB 100%);
  box-shadow: var(--shadow-md);
}

.support-group-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border-light);
}

.support-group-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(14, 34, 69, 0.08) 0%, rgba(154, 43, 53, 0.12) 100%);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}

/* Brand Portals Grid */
.brand-support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}

.brand-support-card {
  background: #ffffff;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.brand-support-card:hover {
  border-color: var(--color-red);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.brand-support-card-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.brand-support-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-light-gray);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
  border: 1px solid var(--color-border);
  overflow: hidden;
}

.brand-support-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 4px;
}

.brand-support-card h4 {
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--color-navy);
  line-height: 1.35;
}

.brand-support-card p {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin: 0;
}

.brand-support-card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.25rem;
  padding-top: 0.85rem;
  border-top: 1px dashed var(--color-border);
  font-size: 0.8rem;
}

.brand-support-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background-color: rgba(14, 34, 69, 0.06);
  color: var(--color-navy);
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.brand-support-action {
  font-weight: 700;
  color: var(--color-red);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.brand-support-card:hover .brand-support-action {
  text-decoration: underline;
}

/* Standard Support Download Links Grid */
.support-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 1.25rem;
}

.support-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.15rem 1.25rem;
  background: var(--color-light-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: var(--transition);
  text-decoration: none;
}

.support-link-card:hover {
  background: #ffffff;
  border-color: var(--color-red);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.support-link-icon {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-red);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.support-link-info h4 {
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.2rem;
  line-height: 1.35;
}

.support-link-info p {
  font-size: 0.78rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.4;
}


/* ==========================================================================
   Hero Slider — Full-Width Classic Slider
   ========================================================================== */

/* --- Slider Wrapper --- */
.hero-slider {
  position: relative;
  width: 100%;
  min-height: 600px;
  overflow: hidden;
  background: #071328;
  user-select: none;
}

@media (min-width: 992px) {
  .hero-slider {
    min-height: 660px;
  }
}

/* --- Each Slide --- */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease, visibility 0.75s ease;
  pointer-events: none;
  display: flex;
  align-items: center;
  z-index: 1;
}

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

/* --- Background Image Layer with Ken-Burns Zoom --- */
.hero-slide-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  transform: scale(1.05);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
  z-index: 0;
}

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

/* --- Gradient Overlay: Rich Dark Left, Clear Product Right --- */
.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(7, 19, 40, 0.96) 0%,
    rgba(7, 19, 40, 0.90) 38%,
    rgba(7, 19, 40, 0.55) 70%,
    rgba(7, 19, 40, 0.20) 100%
  );
  z-index: 1;
}

/* --- Grid Pattern Overlay --- */
.hero-slide-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 44px 44px;
  z-index: 2;
  pointer-events: none;
}

/* --- Content Layer --- */
.hero-slide-content {
  position: relative;
  z-index: 3;
  width: 100%;
  padding: 6.5rem 0 7.5rem;
  display: flex;
  align-items: center;
}

/* --- Text Transitions (Prevents ghosting/overlap between slides) --- */
.hero-slide-inner {
  max-width: 760px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.hero-slide.active .hero-slide-inner {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.45s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
}

/* --- Badge --- */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.8125rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  margin-bottom: 1.25rem;
  letter-spacing: 0.03em;
}

.hero-badge i { color: #FF5A65; }

/* --- Heading & Text --- */
.hero-title {
  color: #ffffff !important;
  font-size: clamp(2.1rem, 3.8vw, 3.3rem);
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6);
}

.hero-title span {
  color: #FF5A65;
}

.hero-description {
  font-size: 1.125rem;
  color: #f1f5f9 !important;
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 650px;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hero-ctas {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* --- Accent bar under title --- */
.hero-title-bar {
  width: 60px;
  height: 4px;
  background: var(--color-red, #9A2B35);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

/* ── Arrow Navigation ── */
.hero-arrow {
  position: absolute;
  top: calc(50% - 1.5rem);
  transform: translateY(-50%);
  z-index: 25;
  background: rgba(7, 19, 40, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: background 0.25s, transform 0.25s, border-color 0.25s;
}

.hero-arrow:hover {
  background: var(--color-red, #9A2B35);
  border-color: var(--color-red, #9A2B35);
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

/* ── Dot Indicators ── */
.hero-dots {
  position: absolute;
  bottom: 4.5rem; /* Sits elegantly above stats strip with clearance */
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
  z-index: 25;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0;
  transition: background 0.3s, width 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s;
}

.hero-dot.active {
  background: var(--color-red, #9A2B35);
  border-color: var(--color-red, #9A2B35);
  width: 32px;
}

/* ── Progress Bar (Sleek Top Bar) ── */
.hero-progress {
  position: absolute;
  top: 0;
  left: 0;
  height: 3px;
  background: var(--color-red, #9A2B35);
  z-index: 30;
  transform-origin: left;
  box-shadow: 0 0 10px rgba(154, 43, 53, 0.6);
}

@keyframes heroProgress {
  from { width: 0%; }
  to   { width: 100%; }
}

/* --- Trust Badges Strip inside Hero --- */
.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 1.75rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 12px;
  border-radius: 50px;
}

.hero-trust-item i {
  color: #10B981;
  font-size: 0.92rem;
}

@media (max-width: 768px) {
  .hero-arrow {
    display: none;
  }
  .hero-dots {
    bottom: 3.5rem;
  }
  .hero-slider {
    min-height: 520px;
  }
  .hero-slide-bg {
    background-position: center right;
  }
  .hero-slide-overlay {
    background: linear-gradient(
      180deg,
      rgba(7, 19, 40, 0.92) 0%,
      rgba(7, 19, 40, 0.86) 55%,
      rgba(7, 19, 40, 0.96) 100%
    );
  }
  .hero-slide-content {
    padding: 3.5rem 0 5rem;
  }
  .hero-title {
    font-size: 1.55rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }
  .hero-description {
    font-size: 0.88rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
    color: rgba(255, 255, 255, 0.92) !important;
  }
  .hero-ctas {
    gap: 0.65rem;
  }
  .hero-ctas .btn {
    font-size: 0.84rem;
    padding: 8px 16px;
  }
  .hero-trust-badges {
    margin-top: 1.25rem;
    gap: 0.5rem;
  }
  .hero-trust-item {
    font-size: 0.74rem;
    padding: 3px 8px;
  }
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr) !important;
    padding: 1rem 0.85rem !important;
    gap: 0.75rem !important;
    margin-top: -20px !important;
  }
  .hero-stat-item {
    gap: 0.5rem !important;
  }
  .hero-stat-icon {
    width: 38px !important;
    height: 38px !important;
    font-size: 1.1rem !important;
    flex-shrink: 0;
  }
  .hero-stat-info h3 {
    font-size: 0.88rem !important;
    line-height: 1.2;
    margin-bottom: 2px !important;
  }
  .hero-stat-info p {
    font-size: 0.72rem !important;
    line-height: 1.2;
  }
}

/* ── Stats Strip — unchanged but kept below slider ── */
.hero-stats-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  box-shadow: var(--shadow-lg);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border: 1px solid var(--color-border);
}

.hero-stat-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-light-gray);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.hero-stat-info h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-navy);
  margin-bottom: 0.1rem;
}

.hero-stat-info p {
  font-size: 0.8125rem;
  color: var(--color-muted);
  font-weight: 500;
  margin: 0;
}


/* ==========================================================================
   Product Category Cards
   ========================================================================== */
.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(14, 34, 69, 0.2);
}

.category-card-img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  margin-bottom: 1.25rem;
  background-color: var(--color-light-gray);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.category-card-body h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.category-card-body p {
  font-size: 0.875rem;
  color: var(--color-muted);
  margin-bottom: 1rem;
}

.category-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-red);
}

/* ==========================================================================
   Product Cards
   ========================================================================== */
.product-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.product-card:hover {
  box-shadow: 0 10px 25px -5px rgba(14, 34, 69, 0.1);
  transform: translateY(-3px);
  border-color: #cbd5e1;
}

.product-card-thumb {
  position: relative;
  background: #F8F9FA;
  padding: 1.75rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid var(--color-border-light);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-card-thumb a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.product-card-thumb img {
  max-height: 175px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  transition: transform 0.35s ease;
  mix-blend-mode: multiply;
  display: block;
}

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

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 5;
  background: var(--color-navy);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  pointer-events: none;
}

.product-badge.featured {
  background: var(--color-red);
  box-shadow: 0 2px 6px rgba(154, 43, 53, 0.3);
}

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

.product-model {
  font-size: 0.75rem;
  color: #64748B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.45rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  line-height: 1.3;
}

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

.product-title a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.product-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3em;
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border-light);
}

.product-card-footer .btn {
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.825rem;
  font-weight: 600;
  padding: 0 1rem;
  border-radius: var(--radius-sm);
}

.product-card-footer .btn-primary {
  background-color: var(--color-navy);
  border-color: var(--color-navy);
  color: #fff;
  flex: 1;
}

.product-card-footer .btn-primary:hover {
  background-color: var(--color-red);
  border-color: var(--color-red);
}

.product-card-footer .btn-outline {
  border-color: var(--color-border);
  color: var(--color-navy);
  background: transparent;
  display: inline-flex;
  gap: 0.35rem;
}

.product-card-footer .btn-outline:hover {
  border-color: var(--color-red);
  color: var(--color-red);
  background-color: rgba(154, 43, 53, 0.04);
}

/* ==========================================================================
   Solutions & Projects Cards
   ========================================================================== */
.solution-card, .project-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.solution-card:hover, .project-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(14, 34, 69, 0.08);
  border-color: var(--color-navy);
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  height: 220px;
  width: 100%;
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}

.solution-card:hover .card-img-wrap img, .project-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  box-sizing: border-box;
}

.card-sector-tag {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-red);
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.card-title {
  font-size: 1.25rem;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
  line-height: 1.35;
  word-break: break-word;
  overflow-wrap: break-word;
}

.card-summary {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin-bottom: 1.25rem;
  line-height: 1.6;
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Projects & Case Studies Grid System */
.projects-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 420px), 1fr));
  gap: 2rem;
  width: 100%;
  box-sizing: border-box;
}

.project-card .card-img-wrap {
  height: 260px;
}

@media (max-width: 860px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 600px) {
  .projects-header {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1.75rem;
    gap: 1rem;
  }
  .projects-header .btn {
    width: 100%;
    justify-content: center;
  }
  .project-card .card-img-wrap {
    height: 200px;
  }
  .project-card .card-content {
    padding: 1.25rem;
  }
  .project-card .card-title {
    font-size: 1.15rem;
  }
  .project-card .card-summary {
    font-size: 0.85rem;
    margin-bottom: 1rem;
  }
}

/* Single Project Detail Layout */
.project-detail-layout {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3.5rem;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.project-detail-main,
.project-detail-sidebar {
  min-width: 0;
  width: 100%;
}

.project-hero-media {
  margin-bottom: 3rem;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
}

.project-hero-media img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

.project-scope-box {
  font-size: 1rem;
  line-height: 1.75;
  color: #4b5563;
  margin-bottom: 2.5rem;
  background: var(--color-light-gray);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  word-break: break-word;
  overflow-wrap: break-word;
}

.project-sidebar-card {
  background: var(--color-light-gray);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
  box-sizing: border-box;
}

.project-cta-card {
  background: var(--color-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  box-sizing: border-box;
}

@media (max-width: 991px) {
  .project-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .project-hero-media {
    margin-bottom: 2rem;
  }
  .project-hero-media img {
    max-height: 320px;
  }
}

@media (max-width: 600px) {
  .project-detail-layout {
    gap: 1.75rem;
  }
  .project-hero-media img {
    max-height: 220px;
  }
  .project-scope-box {
    padding: 1.25rem;
    margin-bottom: 1.75rem;
  }
  .project-sidebar-card {
    padding: 1.25rem;
    margin-bottom: 1.25rem;
  }
  .project-cta-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   Why Cadbird / Value Pillars
   ========================================================================== */
.pillar-card {
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  transition: var(--transition);
}

.pillar-card:hover {
  border-color: var(--color-navy);
  box-shadow: var(--shadow-md);
}

.pillar-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(14, 34, 69, 0.06);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.pillar-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.65rem;
}

.pillar-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ==========================================================================
   Support Hub Section
   ========================================================================== */
.support-group-box {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin-bottom: 2rem;
}

.support-group-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-border-light);
}

.support-group-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(154, 43, 53, 0.08);
  color: var(--color-red);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

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

.support-link-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: var(--color-light-gray);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-light);
  transition: var(--transition);
}

.support-link-card:hover {
  background: #fff;
  border-color: var(--color-navy);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.support-link-icon {
  font-size: 1.4rem;
  color: var(--color-navy);
}

.support-link-info h4 {
  font-size: 0.95rem;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.support-link-info p {
  font-size: 0.8125rem;
  color: var(--color-muted);
  margin: 0;
}

/* ==========================================================================
   Product Detail Page Styles
   ========================================================================== */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--color-muted);
}

.breadcrumb a:hover {
  color: var(--color-navy);
}

.breadcrumb-separator {
  color: #adb5bd;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.product-gallery-main {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.product-gallery-main img {
  max-height: 380px;
  margin: 0 auto;
  object-fit: contain;
}

.product-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.product-spec-table th, .product-spec-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-border);
  font-size: 0.875rem;
}

.product-spec-table th {
  background: var(--color-light-gray);
  color: var(--color-navy);
  font-weight: 600;
  width: 35%;
}

/* ==========================================================================
   Forms & Contact Us
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 3.5rem;
}

.contact-info-panel {
  background: var(--color-navy);
  color: #fff;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info-panel h2 {
  color: #fff;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #FF5A65;
  flex-shrink: 0;
}

.contact-info-text h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-info-text p, .contact-info-text a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-charcoal);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-navy);
  box-shadow: 0 0 0 3px rgba(14, 34, 69, 0.1);
}

textarea.form-control {
  min-height: 120px;
  resize: vertical;
}

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: var(--color-muted);
}

.form-check input {
  margin-top: 0.2rem;
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.alert-success {
  background-color: #E8F5E9;
  border: 1px solid #A5D6A7;
  color: #1B5E20;
}

.alert-danger {
  background-color: #FFEBEE;
  border: 1px solid #FFCDD2;
  color: #B71C1C;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 5rem 0 2rem;
  border-top: 3px solid var(--color-red);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-brand-logo-container {
  display: inline-block;
  background-color: #ffffff;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.25rem;
}

.footer-brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-col-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 400;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--color-red);
}

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

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.875rem;
  font-weight: 400;
  transition: var(--transition);
}

.footer-links a:hover {
  color: #fff;
  padding-left: 0.35rem;
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  font-size: 0.875rem;
  font-weight: 400;
}

.footer-contact-list li {
  display: flex;
  gap: 0.65rem;
}

.footer-contact-list i {
  color: #FF5A65;
  font-size: 1rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  font-weight: 400;
}

.footer-bottom strong {
  font-weight: 400;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
}

.footer-bottom-links a:hover {
  color: #fff;
}

.footer-copy-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
}

.footer-dev-divider {
  color: rgba(255, 255, 255, 0.3);
  user-select: none;
}

.footer-developer {
  color: rgba(255, 255, 255, 0.8);
}

.footer-developer a {
  color: #fff;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.footer-developer a:hover {
  color: #FF5A65;
  text-decoration-color: #FF5A65;
}

/* ==========================================================================
   Responsive Media Queries
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-visual-card img {
    height: 320px;
  }
  .mega-menu-layout {
    grid-template-columns: 220px 1fr;
    gap: 1.5rem;
  }
  .mega-subcategory-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 1.25rem;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .nav-menu, .nav-actions .btn-accent {
    display: none;
  }
  .mobile-nav-toggle {
    display: block;
  }
  .hero-stats-strip {
    grid-template-columns: repeat(2, 1fr);
  }
  .product-detail-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-topbar .container {
    justify-content: center;
    gap: 0.35rem 0.75rem;
  }
  .topbar-social {
    gap: 0.75rem;
  }
  .topbar-right {
    gap: 0.65rem;
    justify-content: center;
  }
  .topbar-email-item,
  .topbar-sep-email {
    display: none;
  }
  .hero-stats-strip {
    grid-template-columns: 1fr;
    margin-top: -2rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .section {
    padding: 3.5rem 0;
  }
}

/* ==========================================================================
   Gallery Page Component Styles
   ========================================================================== */
.gallery-nav-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.gallery-nav-btn {
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  border: 1px solid var(--color-border);
  background: var(--color-white);
  color: var(--color-dark);
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.gallery-nav-btn:hover {
  background: var(--color-light-gray);
  border-color: #cbd5e1;
  color: var(--color-navy);
}

.gallery-nav-btn.active {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(14, 34, 69, 0.2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 2rem;
}

.gallery-item {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.gallery-item-thumb {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #111827;
  cursor: pointer;
}

.gallery-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  display: block;
}

.gallery-item-thumb:hover img {
  transform: scale(1.06);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(14, 34, 69, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.gallery-item-thumb:hover .gallery-item-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  transform: scale(0.85);
  transition: transform 0.2s ease;
}

.gallery-item-thumb:hover .gallery-zoom-icon {
  transform: scale(1);
}

.gallery-item-body {
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.gallery-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.gallery-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.gallery-item-desc {
  font-size: 0.85rem;
  color: var(--color-muted);
  line-height: 1.55;
  margin: 0;
}

/* Lightbox Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 15, 29, 0.9);
  backdrop-filter: blur(5px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.gallery-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-dialog {
  max-width: 960px;
  width: 100%;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: modalScaleUp 0.25s ease;
}

@keyframes modalScaleUp {
  from { transform: scale(0.96); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.gallery-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gallery-modal-close:hover {
  background: rgba(0, 0, 0, 0.85);
}

.gallery-modal-img-container {
  width: 100%;
  max-height: 580px;
  background: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.gallery-modal-img-container img {
  max-width: 100%;
  max-height: 580px;
  object-fit: contain;
  display: block;
}

.gallery-modal-footer {
  padding: 1.25rem 1.75rem;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
}

.gallery-modal-footer h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.gallery-modal-footer p {
  font-size: 0.9rem;
  color: var(--color-muted);
  margin: 0;
  line-height: 1.5;
}

/* ==========================================================================
   About Page Component Styles
   ========================================================================== */
.about-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3.5rem;
  align-items: center;
}

.about-hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.about-hero-image-wrap img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.about-badge-float {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--color-navy);
  color: #fff;
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  border-left: 4px solid var(--color-accent);
}

.about-badge-float strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.about-badge-float span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.about-values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.about-value-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.about-value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: #cbd5e1;
}

.about-value-icon {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: var(--color-light-gray);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1.25rem;
}

.about-value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.6rem;
}

.about-value-card p {
  font-size: 0.875rem;
  color: var(--color-muted);
  line-height: 1.6;
  margin: 0;
}

.cert-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease;
}

.cert-card:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
}

.cert-card-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(76, 175, 80, 0.1);
  color: var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 0.75rem;
}

.cert-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.35rem;
}

.cert-card p {
  font-size: 0.8rem;
  color: var(--color-muted);
  margin: 0;
}

@media (max-width: 900px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  }
}

/* ==========================================================================
   Solutions Showcase Carousel (Homepage)
   ========================================================================== */
.solutions-carousel-section {
  position: relative;
  background: #f8fafc;
  overflow: hidden;
}

.solutions-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.solutions-carousel-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.solutions-carousel-counter {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-muted);
  background: #ffffff;
  padding: 0.4rem 0.85rem;
  border-radius: 100px;
  border: 1px solid var(--color-border);
  letter-spacing: 0.5px;
}

.solutions-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #ffffff;
  color: var(--color-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.15rem;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.solutions-nav-btn:hover:not(:disabled) {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
}

.solutions-nav-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.solutions-carousel-viewport {
  position: relative;
  overflow: hidden;
  margin: 0 -0.5rem;
  padding: 0.5rem;
}

.solutions-carousel-track {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.75rem;
  cursor: grab;
}

.solutions-carousel-track::-webkit-scrollbar {
  display: none;
}

.solutions-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
  scroll-snap-type: none;
}

.solutions-carousel-slide {
  flex: 0 0 calc((100% - 3rem) / 3);
  min-width: 320px;
  max-width: 420px;
  scroll-snap-align: start;
  display: flex;
}

.solutions-carousel-slide .solution-card {
  width: 100%;
}

@media (max-width: 1024px) {
  .solutions-carousel-slide {
    flex: 0 0 calc((100% - 1.5rem) / 2);
    min-width: 290px;
  }
}

@media (max-width: 640px) {
  .solutions-carousel-slide {
    flex: 0 0 88%;
    min-width: 260px;
  }
  .solutions-carousel-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.solutions-carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.solutions-carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: #cbd5e1;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.solutions-carousel-dot.active {
  width: 26px;
  background: var(--color-red);
}

/* ==========================================================================
   Homepage About Section with Team Showcase
   ========================================================================== */
.home-about-section {
  padding: 5rem 0;
  background: #ffffff;
  position: relative;
  overflow: hidden;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

.home-about-content {
  display: flex;
  flex-direction: column;
}

.home-about-lead {
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.home-about-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 1.25rem 0 1.75rem;
}

.home-about-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1rem 1.15rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-about-feat-item:hover {
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.home-about-feat-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #eef4ff;
  color: #1b6cf2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.home-about-feat-info h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 2px;
  line-height: 1.3;
}

.home-about-feat-info p {
  font-size: 0.78rem;
  color: #64748b;
  margin: 0;
  line-height: 1.45;
}

.home-about-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
  margin-bottom: 1.75rem;
}

.home-about-stat-box {
  text-align: left;
}

.home-about-stat-num {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  font-family: var(--font-sans);
}

.home-about-stat-lbl {
  font-size: 0.78rem;
  font-weight: 600;
  color: #64748b;
  margin-top: 4px;
}

.home-about-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* Image Visual Showcase */
.home-about-visual {
  position: relative;
}

.home-about-img-frame {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(11, 31, 58, 0.12);
  border: 1px solid #e2e8f0;
  background: #0B1F3A;
}

.home-about-img-frame img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.home-about-img-frame:hover img {
  transform: scale(1.02);
}

/* Floating Award Badge */
.home-about-badge-float {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);
  max-width: calc(100% - 40px);
  animation: floatSubtle 3s ease-in-out infinite alternate;
}

.home-about-badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: #fffbeb;
  color: #d97706;
  border: 1px solid #fef3c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.home-about-badge-text strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.2;
}

.home-about-badge-text span {
  font-size: 0.76rem;
  color: #64748b;
  font-weight: 500;
  display: block;
  margin-top: 2px;
}

/* Floating Top Experience Pill */
.home-about-pill-top {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(11, 31, 58, 0.92);
  color: #ffffff;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  border: 1px solid rgba(255,255,255,0.15);
}

.home-about-pill-top i {
  color: #eab308;
}

@keyframes floatSubtle {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-6px); }
}

@media (max-width: 992px) {
  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .home-about-visual {
    order: -1;
  }
}

@media (max-width: 640px) {
  .home-about-section {
    padding: 3.5rem 0;
  }
  .home-about-features {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .home-about-stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
  }
  .home-about-stat-num {
    font-size: 1.45rem;
  }
  .home-about-stat-lbl {
    font-size: 0.7rem;
  }
  .home-about-badge-float {
    bottom: 12px;
    left: 12px;
    padding: 10px 14px;
  }
  .home-about-badge-icon {
    width: 36px;
    height: 36px;
    font-size: 1.15rem;
  }
  .home-about-badge-text strong {
    font-size: 0.85rem;
  }
  .home-about-badge-text span {
    font-size: 0.7rem;
  }
}

/* ==========================================================================
   Cadbird Signature Brand Preloader
   ========================================================================== */
.cadbird-preloader {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999999;
  background: radial-gradient(circle at center, #0B1C38 0%, #050D1C 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.5s ease;
  overflow: hidden;
  user-select: none;
}

.cadbird-preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-backdrop-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
}

.preloader-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem;
}

/* Animated Typographic Brand Wordmark */
.preloader-brand-title {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Open Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin-bottom: 1.1rem;
  user-select: none;
}

.preloader-brand-title .char {
  display: inline-block;
  animation: preloaderCharWave 1.4s ease-in-out infinite;
  animation-delay: calc(0.09s * var(--i));
  transition: transform 0.2s ease, text-shadow 0.2s ease;
}

.preloader-brand-title .char.cad {
  color: #E51A24;
  text-shadow: 0 0 16px rgba(229, 26, 36, 0.55);
}

.preloader-brand-title .char.bird {
  color: #FFFFFF;
  text-shadow: 0 0 16px rgba(255, 255, 255, 0.45);
}

@keyframes preloaderCharWave {
  0%, 100% {
    transform: translateY(0) scale(1);
    filter: brightness(0.92);
  }
  50% {
    transform: translateY(-8px) scale(1.1);
    filter: brightness(1.35);
    text-shadow: 0 0 24px rgba(229, 26, 36, 0.85), 0 0 40px rgba(229, 26, 36, 0.4);
  }
}

@media (max-width: 600px) {
  .preloader-brand-title {
    font-size: 2.15rem;
    letter-spacing: 0.12em;
  }
}

/* Slogan / Subtitle */
.preloader-tagline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.preloader-line {
  display: inline-block;
  width: 24px;
  height: 1.5px;
  background: #E51A24;
}

.preloader-tagline-text {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: #ffffff;
  text-transform: uppercase;
}

/* Progress Bar */
.preloader-progress-track {
  width: 200px;
  height: 3px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  position: relative;
  margin-bottom: 0.85rem;
}

.preloader-progress-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #E51A24 0%, #FF6B75 50%, #E51A24 100%);
  box-shadow: 0 0 10px rgba(229, 26, 36, 0.8);
  border-radius: 4px;
  animation: preloaderFill 1.1s cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

@keyframes preloaderFill {
  0% { width: 0%; }
  35% { width: 45%; }
  75% { width: 85%; }
  100% { width: 100%; }
}

/* Status text */
.preloader-status-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.preloader-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #10B981;
  box-shadow: 0 0 8px #10B981;
  animation: preloaderBlink 1.2s infinite;
}

@keyframes preloaderBlink {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

/* ==========================================================================
   QUOTE BASKET & BoQ WORKFLOW STYLES
   ========================================================================== */
.quote-qty-stepper {
  display: inline-flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 8px !important;
  background: #ffffff !important;
  overflow: hidden !important;
  height: 38px !important;
  width: 122px !important;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04) !important;
  vertical-align: middle !important;
  margin: 0 auto !important;
}

.quote-qty-btn {
  flex: 0 0 36px !important;
  width: 36px !important;
  height: 38px !important;
  border: none !important;
  background: #f8fafc !important;
  color: #334155 !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  user-select: none !important;
}

.quote-qty-btn:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.quote-qty-btn:active {
  background: #cbd5e1 !important;
}

.quote-qty-input {
  flex: 1 1 50px !important;
  width: 50px !important;
  height: 38px !important;
  border: none !important;
  border-left: 1px solid #e2e8f0 !important;
  border-right: 1px solid #e2e8f0 !important;
  text-align: center !important;
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  color: #0f172a !important;
  background: #ffffff !important;
  padding: 0 !important;
  margin: 0 !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.quote-qty-input::-webkit-outer-spin-button,
.quote-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none !important;
  margin: 0 !important;
}

.quote-qty-input:focus {
  outline: none !important;
  background: #f8fafc !important;
}

.quote-remove-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid #fee2e2;
  background: #fef2f2;
  color: #dc2626;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  padding: 0;
}

.quote-remove-btn:hover {
  background: #dc2626;
  color: #ffffff;
  border-color: #dc2626;
  transform: scale(1.05);
  box-shadow: 0 4px 10px rgba(220, 38, 38, 0.25);
}

/* Header Enquiry Zone Button */
.header-enquiry-zone-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border);
  padding: 7px 15px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-enquiry-zone-btn:hover {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
  box-shadow: 0 4px 12px rgba(10, 17, 40, 0.15);
}

.header-enquiry-zone-btn:hover .enquiry-zone-count {
  background: var(--color-red);
  color: #ffffff;
}

.header-enquiry-zone-btn i {
  font-size: 1rem;
  color: var(--color-navy);
  transition: color 0.2s ease;
}

.header-enquiry-zone-btn:hover i {
  color: #ffffff;
}

.header-enquiry-zone-btn .enquiry-zone-count {
  background: var(--color-red);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
  transition: all 0.2s ease;
}

@media (max-width: 1100px) {
  .header-enquiry-zone-btn .enquiry-zone-label {
    display: none;
  }
  .header-enquiry-zone-btn {
    padding: 7px 11px;
  }
}

/* ==========================================================================
   Store Products Responsive Grid & Mobile 2-Column System
   ========================================================================== */
.store-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 1.5rem;
}

.store-product-card {
  background: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
}

.store-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(14, 34, 69, 0.08);
}

.store-product-thumb {
  position: relative;
  height: 210px;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.store-product-thumb img {
  max-height: 170px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.store-product-card:hover .store-product-thumb img {
  transform: scale(1.04);
}

.store-product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  background: var(--color-navy);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-brand-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  padding: 3px 7px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
}

.store-brand-badge img {
  max-height: 18px;
  max-width: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}

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

.store-product-meta {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.store-product-title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.45rem;
  line-height: 1.35;
}

.store-product-title a {
  color: var(--color-charcoal);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

.store-product-desc {
  font-size: 0.84rem;
  color: var(--color-muted);
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.store-product-footer {
  display: flex;
  gap: 6px;
  align-items: center;
  border-top: 1px solid #f1f5f9;
  padding-top: 0.85rem;
  margin-top: auto;
}

/* ==========================================================================
   Mobile 2-Column Layout & Load More System (max-width: 767px)
   ========================================================================== */
@media (max-width: 767px) {
  .store-products-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  .store-product-thumb {
    height: 135px !important;
    padding: 0.5rem !important;
  }

  .store-product-thumb img {
    max-height: 105px !important;
  }

  .store-product-badge {
    font-size: 0.62rem !important;
    padding: 2px 5px !important;
    top: 6px !important;
    left: 6px !important;
  }

  .store-brand-badge {
    top: 6px !important;
    right: 6px !important;
    padding: 2px 5px !important;
  }

  .store-brand-badge img {
    max-height: 13px !important;
    max-width: 44px !important;
  }

  .store-product-body {
    padding: 0.65rem 0.65rem 0.75rem !important;
  }

  .store-product-meta {
    font-size: 0.68rem !important;
    margin-bottom: 0.2rem !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
  }

  .store-product-title {
    font-size: 0.82rem !important;
    line-height: 1.25 !important;
    margin-bottom: 0.35rem !important;
    height: 2.5em !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  .store-product-desc {
    display: none !important; /* Hide description on mobile to keep equal height cards */
  }

  .store-product-footer {
    padding-top: 0.5rem !important;
    gap: 4px !important;
  }

  .store-product-footer .btn-specs {
    font-size: 0.72rem !important;
    padding: 5px 4px !important;
    font-weight: 600 !important;
  }

  .store-product-footer .btn-icon-action {
    padding: 5px 6px !important;
    font-size: 0.75rem !important;
  }

  /* Load More: Hide products after item 6 on mobile by default */
  .mobile-product-item.mobile-hidden-card {
    display: none !important;
  }

  .mobile-product-item.mobile-hidden-card.is-visible {
    display: flex !important;
    animation: productCardFade 0.35s ease forwards;
  }

  .mobile-load-more-container {
    display: flex !important;
    justify-content: center !important;
    margin-top: 1.5rem !important;
  }
}

@media (min-width: 768px) {
  .mobile-product-item.mobile-hidden-card {
    display: flex !important;
  }
  .mobile-load-more-container {
    display: none !important;
  }
}

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

/* ==========================================================================
   Product Comparison System & Floating Dock Styles
   ========================================================================== */

/* Header Compare Button */
.header-compare-zone-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: #ffffff;
  color: var(--color-navy);
  border: 1.5px solid var(--color-border);
  padding: 7px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.header-compare-zone-btn:hover {
  background: var(--color-navy);
  color: #ffffff;
  border-color: var(--color-navy);
  box-shadow: 0 4px 12px rgba(10, 17, 40, 0.15);
}

.header-compare-zone-btn i {
  font-size: 0.95rem;
  color: #0284c7;
  transition: color 0.2s ease;
}

.header-compare-zone-btn:hover i {
  color: #38bdf8;
}

.header-compare-zone-btn .compare-zone-count {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 20px;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
  transition: all 0.2s ease;
}

@media (max-width: 1100px) {
  .header-compare-zone-btn .compare-zone-label {
    display: none;
  }
  .header-compare-zone-btn {
    padding: 7px 11px;
  }
}

/* Compare Toggle Button Active State */
.btn-compare-toggle.active {
  background: #0284c7 !important;
  color: #ffffff !important;
  border-color: #0284c7 !important;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.btn-compare-toggle.active i {
  color: #ffffff !important;
}

/* Floating Product Comparison Dock */
.floating-compare-dock {
  position: fixed;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 998;
  pointer-events: none;
  animation: slideUpCompare 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.compare-dock-wrap {
  display: flex;
  justify-content: center;
}

.compare-dock-card {
  pointer-events: auto;
  background: rgba(10, 17, 40, 0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  padding: 10px 18px;
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 900px;
  width: 100%;
}

.compare-dock-meta {
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}

.compare-dock-badge {
  color: #fff;
  font-weight: 800;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.compare-dock-badge i {
  color: #38bdf8;
}

.compare-dock-count-sub {
  font-size: 0.72rem;
  color: #94a3b8;
}

.compare-dock-items {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  overflow-x: auto;
  padding: 4px 0;
}

.compare-dock-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 30px;
  padding: 4px 10px 4px 4px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.compare-dock-chip img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 50%;
  background: #fff;
  padding: 2px;
}

.compare-dock-chip .chip-text {
  max-width: 120px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.compare-dock-chip .chip-remove {
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #cbd5e1;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.compare-dock-chip .chip-remove:hover {
  background: #ef4444;
  color: #fff;
}

.compare-dock-ctas {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.compare-clear-btn {
  color: #94a3b8 !important;
  border-color: rgba(255, 255, 255, 0.2) !important;
  font-size: 0.8rem !important;
  padding: 6px 12px !important;
}

.compare-clear-btn:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.1) !important;
}

.compare-now-btn {
  background: #0284c7 !important;
  border-color: #0284c7 !important;
  color: #fff !important;
  font-size: 0.84rem !important;
  font-weight: 700 !important;
  padding: 7px 16px !important;
  border-radius: 30px !important;
}

.compare-now-btn:hover {
  background: #0369a1 !important;
}

@media (max-width: 768px) {
  .compare-dock-card {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
  }
  .compare-dock-meta {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .compare-dock-ctas {
    justify-content: flex-end;
  }
}

/* Comparison Matrix Page (compare.php) Styles */
.compare-container {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 720px;
}

.compare-table th,
.compare-table td {
  padding: 14px 18px;
  border: 1px solid #f1f5f9;
  vertical-align: top;
  font-size: 0.9rem;
}

.compare-label-col {
  width: 220px;
  background: #f8fafc;
  font-weight: 700;
  color: var(--color-navy);
  position: sticky;
  left: 0;
  z-index: 2;
}

.compare-section-header td {
  background: #0A1128;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 10px 18px;
}

.compare-product-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  padding: 10px 0;
}

.compare-remove-btn {
  position: absolute;
  top: 0;
  right: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #e2e8f0;
  background: #fff;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.75rem;
}

.compare-remove-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fecaca;
}

.compare-img-box {
  width: 140px;
  height: 140px;
  background: #f8fafc;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  margin-bottom: 12px;
  border: 1px solid #e2e8f0;
}

.compare-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.compare-prod-title {
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-charcoal);
  margin-bottom: 4px;
  line-height: 1.3;
}

.compare-prod-title a {
  color: inherit;
  text-decoration: none;
}

.compare-prod-title a:hover {
  color: var(--color-red);
}

.compare-prod-model {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-red);
  margin-bottom: 8px;
}





