/* Nova Casa theme overrides for Bootstrap 5 */
:root {
  /* Brand palette */
  --nc-primary: #e31e24;
  --nc-primary-dark: #c71b20;
  --nc-secondary: #1f2937;
  --nc-secondary-light: #2d3748;
  --nc-dark: #0b1320;
  --nc-light: #f8f9fa;
  --nc-gray-100: #f8f9fa;
  --nc-gray-200: #e9ecef;
  --nc-gray-300: #dee2e6;
  --nc-gray-500: #6c757d;
  --nc-gray-800: #343a40;
  --nc-accent: #f59e0b;
  --nc-accent-light: #fbbf24;
  --nc-success: #10b981;
  --nc-success-light: #8ed7b2;
  --nc-info: #3b82f6;
  --nc-info-light: #7aa9e7;
  --nc-warning: #f97316;
  --nc-warning-light: #efb263;
  --nc-danger-light: #cd6969;
  --nc-cream: #fdf6ec;
  --nc-sand: #f5f0e8;
  --nc-slate: #475569;
  --nc-slate-light: #f1f5f9;
  --nc-charcoal: #1e293b;
  
  /* Extended accent colors */
  --nc-teal: #0d9488;
  --nc-teal-light: #66f4d5;
  --nc-indigo: #6366f1;
  --nc-indigo-light: #88a2f9;
  --nc-pink: #db2777;
  --nc-pink-light: #f89acf;
  --nc-purple: #9333ea;
  --nc-purple-light: #c694fb;

  --nc-box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --nc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Typography */
  --nc-font-sans: 'Montserrat', 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji';

  /* Bootstrap variable overrides */
  --bs-body-font-family: var(--nc-font-sans);
  --bs-body-bg: #ffffff;
  --bs-primary: var(--nc-primary);
  --bs-primary-rgb: 227, 30, 36;
  --bs-secondary: var(--nc-secondary);
  --bs-dark: var(--nc-dark);
  --bs-light: var(--nc-light);
  --bs-link-color: var(--nc-primary);
  --bs-link-hover-color: var(--nc-primary-dark);
  --bs-border-radius: 0.5rem;
  --bs-border-radius-lg: 0.75rem;
  --bs-box-shadow: var(--nc-box-shadow);
  --bs-box-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

/* Authenticated Navbar */
.navbar.navbar-dark.bg-dark {
  background-color: var(--bs-dark) !important;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.navbar.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

/* Video Hero */
.video-hero {
  margin-top: 0;
  position: relative;
  background-color: #000;
}

.video-hero .ratio {
  position: relative;
  z-index: 1;
}

.video-hero .ratio video {
  object-fit: cover;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 50%, transparent 100%);
  padding: 2rem 0;
}

body {
  padding-top: 0 !important;
}
.navbar.navbar-dark.bg-dark .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}
.navbar.navbar-dark.bg-dark .nav-link:hover {
  color: #fff !important;
}

/* Base styles */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bs-body-bg);
  color: var(--nc-secondary);
  line-height: 1.6;
}

body.home.index {
  background: var(--bs-body-bg);
}

body.home.index section.mb-5 {
  margin: 3rem 0 !important;
  padding: 3rem 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

body.home.index section.mb-5 .container {
  position: relative;
  z-index: 2;
}

body.home.index section.mb-5 h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--nc-secondary);
  line-height: 1.3;
  letter-spacing: -0.3px;
}

body.home.index section.mb-5 .lead {
  font-size: 1.05rem;
  color: var(--nc-gray-500);
  margin-bottom: 1.5rem;
  max-width: 90%;
  line-height: 1.6;
}

body.home.index section.mb-5 .btn-primary {
  padding: 0.6rem 1.75rem;
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  background: var(--nc-primary);
  border: 1px solid var(--nc-primary);
  transition: all 0.25s ease;
  border-radius: 4px;
}

body.home.index section.mb-5 .btn-primary:hover {
  background: var(--nc-primary-dark);
  border-color: var(--nc-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.15);
}

body.home.index section.mb-5 .social-links {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
}

body.home.index section.mb-5 .social-btn {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  border: 1px solid var(--nc-gray-300);
  color: var(--nc-gray-600);
  background: transparent;
}

body.home.index section.mb-5 .social-btn:hover {
  background: var(--nc-primary);
  border-color: var(--nc-primary);
  color: white;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

body.home.index section.mb-5 .social-btn i {
  font-size: 1rem;
}

body.home.index .hero {
  padding: 4.5rem 2.5rem;
  margin-bottom: 3.5rem;
}

body.home.index .hero .display-5 {
  font-size: clamp(2.1rem, 4vw, 2.85rem);
}

body.home.index .hero .lead {
  font-size: 1.15rem;
  max-width: 560px;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--nc-secondary);
}

/* Navbar */
.navbar {
  --bs-navbar-padding-y: 1rem;
  background-color: white !important;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: var(--nc-transition);
}

.navbar.scrolled {
  --bs-navbar-padding-y: 0.5rem;
  box-shadow: var(--nc-box-shadow);
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.navbar-brand img {
  height: 40px;
  width: auto;
  transition: var(--nc-transition);
}

.navbar-nav .nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: var(--bs-border-radius);
  transition: var(--nc-transition);
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: var(--nc-primary);
  background-color: rgba(227, 30, 36, 0.1);
}

/* Location item wrapper and maps button */
.nc-location-maps-btn {
  font-size: 0.7rem !important;
  padding: 0.25rem 0.5rem !important;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: auto;
  margin-left: 0.5rem;
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
  .nc-location-maps-btn {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.35rem !important;
    margin-left: 0.35rem;
  }
  
  .nc-location-maps-btn i {
    font-size: 0.75em !important;
  }
}

.nc-location-maps-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(227, 30, 36, 0.2);
}

.nc-location-maps-btn i {
  font-size: 0.8em !important;
}

/* Navbar Flex Layout */
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  flex-shrink: 0;
}

.nc-location-pill {
  background: var(--nc-secondary);
  border-radius: 50px;
  padding: 0.4rem 1.1rem 0.45rem;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.3;
  cursor: pointer;
  transition: var(--nc-transition);
  max-width: 100%;
}

.nc-location-pill:hover {
  background: var(--nc-secondary-light);
}

.nc-location-label {
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  letter-spacing: 0.2px;
}

.nc-location-value {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  font-weight: 700;
  font-size: 0.8rem;
}

.nc-location-value .bi-geo-alt-fill {
  color: var(--nc-primary);
  font-size: 0.85rem;
}

.nc-location-arrow {
  font-size: 0.6rem;
  margin-left: 0.15rem;
  opacity: 0.7;
  transition: transform 0.2s ease;
}

.nc-location-menu--open ~ .nc-location-pill .nc-location-arrow,
.nc-location-badge:has(.nc-location-menu--open) .nc-location-arrow {
  transform: rotate(180deg);
}

.nc-location-badge {
  position: relative;
}

.nc-location-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  min-width: 260px;
  max-height: 360px;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 9999;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--nc-gray-300) transparent;
}

.nc-location-menu--open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nc-location-menu--open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
  display: block !important;
}

.nc-location-menu-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: var(--nc-secondary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
}

.nc-location-menu-header .bi-geo-alt-fill {
  color: var(--nc-primary);
}

.nc-location-group {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--nc-gray-200);
}

.nc-location-group:last-child {
  border-bottom: none;
}

.nc-location-group-title {
  padding: 0.25rem 1rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--nc-gray-500);
}

.nc-location-option {
  display: flex;
  align-items: center;
  padding: 0.4rem 1rem 0.4rem 1.75rem;
  font-size: 0.82rem;
  color: var(--nc-secondary);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0; /* Allow flex item to shrink below content size */
}

.nc-location-option:hover {
  background: rgba(227, 30, 36, 0.06);
  color: var(--nc-primary);
}

.nc-location-option.active {
  color: var(--nc-primary);
  font-weight: 700;
}

.nc-location-option.active::before {
  content: '\f287';
  font-family: 'bootstrap-icons';
  margin-right: 0.35rem;
  font-size: 0.7rem;
}

/* Mobile Location Picker */
.nc-location-badge--mobile .nc-location-pill {
  padding: 0.3rem 0.75rem;
  max-width: 100px;
}

.nc-location-badge--mobile .nc-location-value {
  font-size: 0.65rem;
  gap: 0.2rem;
}

.nc-location-badge--mobile .nc-location-value span {
  max-width: 80px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nc-location-badge--mobile .nc-location-value .bi-geo-alt-fill {
  font-size: 0.75rem;
}

.nc-location-badge--mobile .nc-location-arrow {
  font-size: 0.5rem;
}

.nc-location-badge--mobile .nc-location-menu {
  left: auto;
  right: 0;
  min-width: 240px;
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--bs-border-radius);
  transition: var(--nc-transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.btn i {
  font-size: 1.1em;
}

.btn-primary {
  --bs-btn-bg: var(--nc-primary);
  --bs-btn-border-color: var(--nc-primary);
  --bs-btn-hover-bg: var(--nc-primary-dark);
  --bs-btn-hover-border-color: var(--nc-primary-dark);
  --bs-btn-active-bg: var(--nc-primary-dark);
  --bs-btn-active-border-color: var(--nc-primary-dark);
  --bs-btn-disabled-bg: var(--nc-primary);
  --bs-btn-disabled-border-color: var(--nc-primary);
  box-shadow: 0 4px 9px -4px rgba(227, 30, 36, 0.5);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 15px -5px rgba(227, 30, 36, 0.4);
}

.btn-outline-primary {
  --bs-btn-color: var(--nc-primary);
  --bs-btn-border-color: var(--nc-primary);
  --bs-btn-hover-bg: var(--nc-primary);
  --bs-btn-hover-border-color: var(--nc-primary);
  --bs-btn-active-bg: var(--nc-primary);
  --bs-btn-active-border-color: var(--nc-primary);
  --bs-btn-disabled-color: var(--nc-primary);
  --bs-btn-disabled-border-color: var(--nc-primary);
}

.btn-outline-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 9px -4px rgba(227, 30, 36, 0.3);
}

/* Remove transform effect from admin buttons */
.admin .btn-outline-primary:hover,
[class*='admin-'] .btn-outline-primary:hover,
.btn-group .btn-outline-primary:hover {
  transform: none;
  box-shadow: none;
}

/* Cards */
.card {
  border: none;
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  transition: var(--nc-transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card.nc-filter-card {
  overflow: visible;
}

.card.nc-filter-card .card-body {
  overflow: visible;
}


.product-card-image {
  position: relative;
}

.product-card-image--primary,
.product-card-image--secondary {
  display: block;
}

.product-card-image--secondary {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.card.product-card.product-card--has-secondary:hover .product-card-image--secondary {
  opacity: 1;
}

.card.product-card.product-card--has-secondary:hover .product-card-image--primary {
  opacity: 0;
}

.card.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bs-box-shadow-lg) !important;
}

/* Products page container optimization */
.container-products {
  max-width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 576px) {
  .container-products {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
  }
}

@media (min-width: 768px) {
  .container-products {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container-products {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container-products {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container-products {
    max-width: 1280px;
  }
}

@media (min-width: 1600px) {
  .container-products {
    max-width: 1400px;
  }
}

@media (min-width: 1920px) {
  .container-products {
    max-width: 1520px;
  }
}

.card-img-top {
  border-top-left-radius: var(--bs-border-radius-lg);
  border-top-right-radius: var(--bs-border-radius-lg);
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: var(--nc-transition);
}

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

.card-title {
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--nc-secondary);
}

.card-text {
  color: var(--nc-gray-800);
  margin-bottom: 1rem;
  flex-grow: 1;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: var(--bs-border-radius-lg);
  padding: 4rem 2rem;
  position: relative;
  margin: 2rem 0;
  overflow: hidden;
  z-index: 1; /* Ensure content stays above pseudo-elements */
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29-22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-7c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23e31e24' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

body.home.index .hero::before {
  background: none;
  opacity: 0;
  z-index: -1; /* Ensure pseudo-element stays behind content */
}

body.home.index .hero::after {
  content: none;
}

body.home.index hr {
  border: 0;
  height: 1px;
  background: var(--nc-gray-200);
  margin: 2rem 0;
}

.hero .display-5 {
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  position: relative;
  color: var(--nc-secondary);
}

.hero .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  color: var(--nc-gray-800);
  max-width: 600px;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 2; /* Ensure buttons stay above other elements */
}

body.home.index .hero .badge {
  font-weight: 600;
  letter-spacing: 0.3px;
}

body.home.index .hero-image-wrap {
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  box-shadow: var(--nc-box-shadow);
  border: 1px solid var(--nc-gray-200);
  position: relative;
}

body.home.index .hero-image-wrap::after {
  content: none;
}

body.home.index .hero-image {
  width: 100%;
  height: 360px;
  object-fit: cover;
  transform: none;
  transition: var(--nc-transition);
}

body.home.index .hero:hover .hero-image {
  transform: none;
}

body.home.index .nc-section-header {
  gap: 1rem;
  flex-wrap: wrap;
}

body.home.index .nc-section-header h2 {
  position: relative;
  padding-bottom: 0.5rem;
}

body.home.index .nc-section-header h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 2px;
  background: var(--nc-primary);
  border-radius: 999px;
  opacity: 0.75;
}

body.home.index .nc-section-header a.small {
  color: var(--nc-gray-500);
  font-weight: 600;
  text-decoration: none;
}

body.home.index .nc-section-header a.small:hover {
  color: var(--nc-primary);
}

body.home.index .nc-categories {
  margin-top: 0.25rem;
}

body.home.index .nc-category-tile {
  display: block;
  width: 100%;
  text-decoration: none;
}

body.home.index .nc-category-tile--image {
  position: relative;
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  border: 1px solid var(--nc-gray-200);
  box-shadow: 0 14px 30px -28px rgba(11, 19, 32, 0.55);
  transition: var(--nc-transition);
}

body.home.index .nc-category-media {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--nc-gray-200);
}

body.home.index .nc-category-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--nc-transition);
}

body.home.index .nc-category-overlay {
  position: absolute;
  inset: 0;
  padding: 0.9rem;
  display: flex;
  align-items: flex-end;
  background: linear-gradient(180deg, rgba(11, 19, 32, 0) 0%, rgba(11, 19, 32, 0.55) 100%);
  color: #fff;
}

body.home.index .nc-category-label {
  font-weight: 700;
  line-height: 1.15;
}

body.home.index .nc-category-sub {
  color: rgba(255, 255, 255, 0.78);
}

body.home.index .nc-category-tile--image:hover {
  box-shadow: var(--nc-box-shadow);
  border-color: rgba(227, 30, 36, 0.18);
}

body.home.index .nc-category-tile--image:hover .nc-category-img {
  transform: scale(1.02);
}

body.home.index .social-links .social-btn {
  width: 44px;
  height: 44px;
  padding: 0;
  border-radius: 999px;
}

body.home.index .social-links .social-btn i {
  font-size: 1.15rem;
}

body.home.index .icon-wrapper i {
  transition: var(--nc-transition);
}

body.home.index .nc-newsletter {
  background: var(--nc-primary) !important;
  border-radius: var(--bs-border-radius-lg);
  box-shadow: var(--nc-box-shadow);
}

/* Service Cards */
.service-card {
  position: relative;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: none !important;
  transform: none !important;
}

/* Specific selector to override global card hover styles */
.service-card,
.service-card:hover,
body.home.index .service-card,
body.home.index .service-card:hover,
body.home.index .service-card.card:hover {
  box-shadow: none !important;
  transform: none !important;
}

.service-card .card-body {
  padding: 2rem 1.5rem;
  text-align: center;
}

.service-card .icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--nc-primary);
  font-size: 1.5rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--nc-secondary);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.service-card p {
  color: var(--nc-gray-600);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.service-card .btn {
  font-size: 0.85rem;
  padding: 0.4rem 1rem;
  border-radius: 2px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 500;
}

.service-card .btn-outline-primary {
  border-width: 1px;
  color: var(--nc-primary);
  border-color: var(--nc-primary);
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--nc-secondary);
  letter-spacing: 0.5px;
}

.section-header p {
  color: var(--nc-gray-600);
  font-size: 0.95rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

body.home.index .btn-primary:hover {
  transform: none;
  box-shadow: 0 10px 20px -18px rgba(227, 30, 36, 0.55);
}

body.home.index .btn-outline-light:hover {
  transform: none;
  background: var(--nc-primary);
  border-color: var(--nc-primary);
  color: white;
  box-shadow: 0 10px 20px -18px rgba(227, 30, 36, 0.25);
}

/* Refined Business Cards */
body.home.index .card.hover-lift {
  transition: all 0.2s ease-out;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.03) !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.01);
  border-radius: 6px !important;
  overflow: hidden;
  position: relative;
  will-change: transform, box-shadow;
}

body.home.index .card.hover-lift .card-body {
  padding: 2.5rem 2rem;
  text-align: center;
}

body.home.index .card.hover-lift .icon-wrapper {
  width: 60px;
  height: 60px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #444;
  position: relative;
}

body.home.index .card.hover-lift .bi {
  font-size: 1.5rem;
  transition: color 0.2s ease-out;
  opacity: 0.9;
}

body.home.index .card.hover-lift h3 {
  color: #1a1a1a;
  font-weight: 500;
  margin: 0 0 1rem 0;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  transition: color 0.2s ease-out;
}

body.home.index .card.hover-lift p {
  color: #666;
  line-height: 1.7;
  font-size: 0.9375rem;
  font-weight: 400;
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  max-width: 300px;
  margin: 0 auto;
  transition: color 0.2s ease-out;
}

body.home.index .card.hover-lift:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
  border-color: rgba(0, 0, 0, 0.04) !important;
}

body.home.index .card.hover-lift:hover .bi {
  color: var(--nc-primary);
  opacity: 1;
}

body.home.index .card.hover-lift:hover h3 {
  color: #000;
}

body.home.index .card.hover-lift:hover p {
  color: #555;
}

body.home.index .card:hover {
  transform: none;
  box-shadow: var(--nc-box-shadow) !important;
}

body.home.index .hover-lift:hover {
  transform: none;
  box-shadow: var(--nc-box-shadow) !important;
}

body.home.index section.bg-light.py-5.mb-5 {
  background-color: #ffffff !important;
  border: 1px solid var(--nc-gray-200);
  border-radius: var(--bs-border-radius-lg);
  box-shadow: var(--nc-box-shadow);
}

/* Section Headings */
.section-title {
  position: relative;
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
  text-align: center;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--nc-primary);
  border-radius: 2px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

/* Price Styling */
.price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--nc-primary);
  margin: 0.5rem 0;
}

.original-price {
  text-decoration: line-through;
  color: var(--nc-gray-500);
  font-size: 0.9em;
  margin-right: 0.5rem;
}

/* ===== Quote Cart ===== */
.nc-quote-cart {
  background: #fff;
}

/* Title & subtitle */
.nc-quote-title {
  font-family: var(--nc-font-heading, inherit);
  font-weight: 800;
  font-size: 1.75rem;
  color: var(--nc-secondary);
  letter-spacing: 0.5px;
  margin-bottom: 0.75rem;
}

.nc-quote-subtitle {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--nc-gray-600, #6c757d);
  margin-bottom: 0.25rem;
}

.nc-quote-notice {
  font-size: 0.85rem;
  color: var(--nc-primary);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

/* Product item — divider style */
.nc-quote-item {
  border-bottom: 1px solid var(--nc-gray-200, #e9ecef);
  padding: 1.5rem 0;
}

.nc-quote-item-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.nc-quote-item-image {
  flex: 0 0 80px;
  width: 80px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--nc-gray-100, #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nc-quote-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nc-quote-item-placeholder {
  color: var(--nc-gray-500, #adb5bd);
  font-size: 1.5rem;
}

.nc-quote-item-info {
  flex: 1;
  min-width: 0;
}

.nc-quote-item-category {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--nc-gray-500, #adb5bd);
  margin-bottom: 0.15rem;
}

.nc-quote-item-name {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--nc-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

/* Quantity control */
.nc-quote-item-qty {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nc-quote-item-qty-label {
  font-size: 0.75rem;
  color: var(--nc-gray-500, #adb5bd);
  font-weight: 500;
  white-space: nowrap;
}

.nc-quote-item-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--nc-gray-200, #e9ecef);
  border-radius: 4px;
  overflow: hidden;
}

.nc-quote-item-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--nc-gray-100, #f8f9fa);
  border: none;
  color: var(--nc-secondary);
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease;
}

.nc-quote-item-qty-btn:hover {
  background: var(--nc-gray-200, #e9ecef);
  color: var(--nc-secondary);
}

.nc-quote-item-qty-input {
  width: 36px;
  height: 28px;
  text-align: center;
  border: none;
  border-left: 1px solid var(--nc-gray-200, #e9ecef);
  border-right: 1px solid var(--nc-gray-200, #e9ecef);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--nc-secondary);
  -moz-appearance: textfield;
  appearance: textfield;
}

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

/* Remove button */
.nc-quote-item-remove {
  flex: 0 0 auto;
  margin-left: auto;
}

.nc-quote-item-remove-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: var(--nc-gray-500, #adb5bd);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nc-quote-item-remove-btn:hover {
  background: rgba(227, 30, 36, 0.08);
  color: var(--nc-primary);
}

/* SKU */
.nc-quote-item-sku {
  font-size: 0.75rem;
  color: var(--nc-gray-500, #adb5bd);
  margin-top: 0.5rem;
  padding-left: calc(80px + 1rem);
}

/* Pricing table */
.nc-quote-item-pricing {
  margin-top: 0.75rem;
  padding-left: calc(80px + 1rem);
}

.nc-quote-pricing-table {
  width: 100%;
  font-size: 0.78rem;
  border-collapse: collapse;
}

.nc-quote-pricing-table thead th {
  font-weight: 600;
  color: var(--nc-gray-500, #adb5bd);
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.3px;
  padding: 0.35rem 0.5rem;
  border-bottom: 1px solid var(--nc-gray-200, #e9ecef);
  white-space: nowrap;
}

.nc-quote-pricing-table tbody td {
  padding: 0.5rem 0.5rem;
  color: var(--nc-secondary);
  vertical-align: middle;
}

.nc-quote-original-price {
  text-decoration: line-through;
  color: var(--nc-gray-500, #adb5bd);
  font-size: 0.75rem;
  margin-right: 0.35rem;
}

.nc-quote-current-price {
  font-weight: 700;
  color: var(--nc-secondary);
}

/* Quote total row */
.nc-quote-total {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1.5rem;
  padding: 1.25rem 0;
  border-bottom: 2px solid var(--nc-secondary);
}

.nc-quote-total-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--nc-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.nc-quote-total-value {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--nc-secondary);
}

/* Back link */
.nc-quote-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--nc-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
  margin: 1.25rem 0 1rem;
  transition: color 0.2s ease;
}

.nc-quote-back-link:hover {
  color: var(--nc-primary);
}

/* Disclaimers */
.nc-quote-disclaimers {
  border-top: 1px solid var(--nc-gray-200, #e9ecef);
  padding-top: 1rem;
  margin-top: 0.5rem;
}

.nc-quote-disclaimers p {
  font-size: 0.78rem;
  color: var(--nc-gray-500, #adb5bd);
  margin-bottom: 0.15rem;
  line-height: 1.5;
}

/* ── Right column: form card ── */
.nc-quote-form-card {
  background: var(--nc-gray-100, #f8f9fa);
  border: 1px solid var(--nc-gray-200, #e9ecef);
  border-radius: var(--bs-border-radius-lg);
  position: sticky;
  top: 100px;
}

.nc-quote-form-inner {
  padding: 1.75rem 1.5rem;
}

.nc-quote-form-label {
  display: block;
  font-weight: 700;
  font-size: 0.72rem;
  color: var(--nc-secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.35rem;
}

.nc-quote-form-card .form-control {
  font-size: 0.88rem;
  border: 1px solid var(--nc-gray-200, #e9ecef);
  border-radius: 4px;
  padding: 0.55rem 0.75rem;
  background: #fff;
}

.nc-quote-form-card .form-control:focus {
  border-color: var(--nc-primary);
  box-shadow: 0 0 0 2px rgba(227, 30, 36, 0.1);
}

.nc-quote-submit-btn {
  display: inline-block;
  background: var(--nc-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.5px;
  padding: 0.7rem 2.5rem;
  border: 2px solid var(--nc-primary);
  border-radius: 4px;
  transition: all 0.2s ease;
  width: 100%;
}

.nc-quote-submit-btn:hover {
  background: transparent;
  color: var(--nc-primary);
}

/* ===== Quote Confirmation Page ===== */
.nc-quote-confirm {
  background: #fff;
}

.nc-quote-confirm-banner {
  text-align: center;
  padding: 2rem 1rem;
  background: var(--nc-gray-100, #f8f9fa);
  border-radius: var(--bs-border-radius-lg);
}

.nc-quote-confirm-icon {
  font-size: 2.5rem;
  color: #28a745;
  margin-bottom: 0.75rem;
}

.nc-quote-confirm-title {
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--nc-secondary);
  margin-bottom: 0.5rem;
}

.nc-quote-confirm-text {
  font-size: 0.92rem;
  color: var(--nc-gray-600, #6c757d);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.6;
}

.nc-quote-section-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--nc-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--nc-secondary);
}

/* Confirmation product items */
.nc-quote-confirm-item {
  border-bottom: 1px solid var(--nc-gray-200, #e9ecef);
  padding: 1.25rem 0;
}

.nc-quote-confirm-item-top {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.nc-quote-confirm-item-image {
  flex: 0 0 70px;
  width: 70px;
  aspect-ratio: 1 / 1;
  border-radius: 6px;
  overflow: hidden;
  background: var(--nc-gray-100, #f8f9fa);
  display: flex;
  align-items: center;
  justify-content: center;
}

.nc-quote-confirm-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nc-quote-confirm-item-info {
  flex: 1;
  min-width: 0;
}

.nc-quote-confirm-item-info .nc-quote-item-name a {
  color: var(--nc-secondary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nc-quote-confirm-item-info .nc-quote-item-name a:hover {
  color: var(--nc-primary);
}

.nc-quote-confirm-item-meta {
  display: flex;
  gap: 1.5rem;
  margin-top: 0.35rem;
}

.nc-quote-confirm-item-qty,
.nc-quote-confirm-item-price {
  font-size: 0.8rem;
  color: var(--nc-gray-500, #adb5bd);
}

.nc-quote-confirm-item-qty strong,
.nc-quote-confirm-item-price strong {
  color: var(--nc-secondary);
}

.nc-quote-confirm-item-subtotal {
  flex: 0 0 auto;
  text-align: right;
  margin-left: auto;
}

.nc-quote-confirm-subtotal-label {
  display: block;
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--nc-gray-500, #adb5bd);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.1rem;
}

.nc-quote-confirm-subtotal-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nc-secondary);
}

/* Right column: contact details card */
.nc-quote-confirm-details {
  background: var(--nc-gray-100, #f8f9fa);
  border: 1px solid var(--nc-gray-200, #e9ecef);
  border-radius: var(--bs-border-radius-lg);
  padding: 1.5rem;
  position: sticky;
  top: 100px;
}

.nc-quote-confirm-details .nc-quote-section-title {
  margin-top: 0;
}

.nc-quote-confirm-field {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--nc-gray-200, #e9ecef);
}

.nc-quote-confirm-field:last-child {
  border-bottom: none;
}

.nc-quote-confirm-field-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--nc-gray-500, #adb5bd);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 0.15rem;
}

.nc-quote-confirm-field-value {
  font-size: 0.9rem;
  color: var(--nc-secondary);
  font-weight: 500;
}

.nc-quote-confirm-field-value p {
  margin-bottom: 0;
}

/* Quote confirmation responsive */
@media (max-width: 991.98px) {
  .nc-quote-confirm-details {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .nc-quote-confirm-banner {
    padding: 1.5rem 1rem;
  }

  .nc-quote-confirm-title {
    font-size: 1.25rem;
  }

  .nc-quote-confirm-item-top {
    flex-wrap: wrap;
  }

  .nc-quote-confirm-item-image {
    flex: 0 0 55px;
    width: 55px;
    aspect-ratio: 1 / 1;
  }

  .nc-quote-confirm-item-subtotal {
    width: 100%;
    text-align: left;
    margin-top: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px dashed var(--nc-gray-200, #e9ecef);
  }

  .nc-quote-confirm-item-meta {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* Quote cart responsive */
@media (max-width: 991.98px) {
  .nc-quote-form-card {
    position: static;
    margin-top: 1rem;
  }

  .nc-quote-item-pricing {
    padding-left: 0;
    overflow-x: auto;
  }

  .nc-quote-item-sku {
    padding-left: 0;
  }
}

@media (max-width: 767.98px) {
  .nc-quote-title {
    font-size: 1.4rem;
  }

  .nc-quote-item-top {
    flex-wrap: wrap;
  }

  .nc-quote-item-image {
    flex: 0 0 60px;
    width: 60px;
    aspect-ratio: 1 / 1;
  }

  .nc-quote-item-pricing {
    padding-left: 0;
  }

  .nc-quote-item-sku {
    padding-left: 0;
  }

  .nc-quote-pricing-table {
    font-size: 0.72rem;
  }

  .nc-quote-form-inner {
    padding: 1.25rem 1rem;
  }
}

/* ===== Admin Quote Show ===== */
.nc-admin-quote-header-wrapper {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  border-radius: var(--bs-border-radius-lg);
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.nc-admin-quote-header h1 {
  font-size: 1.75rem;
  color: var(--nc-dark);
}

.nc-admin-quote-card {
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.2s ease;
}

.nc-admin-quote-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.nc-admin-quote-card .card-header {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  border-bottom: 2px solid var(--nc-primary);
  padding: 1rem 1.5rem;
}

.nc-admin-quote-card .card-header h5 {
  font-size: 1.1rem;
  color: var(--nc-dark);
}

.nc-admin-quote-card .card-header i {
  font-size: 1.25rem;
}

.nc-admin-quote-details {
  padding: 0;
  background: linear-gradient(to bottom, #ffffff, #fafbfc);
  border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg);
}

.nc-admin-quote-detail-item {
  display: flex;
  justify-content: space-between;
  align-items: start;
  padding: 1.25rem 1.75rem;
  border-bottom: 1px solid rgba(227, 30, 36, 0.08);
}

.nc-admin-quote-detail-item:last-child {
  border-bottom: none;
}

.nc-admin-quote-detail-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--nc-gray-600);
  display: flex;
  align-items: center;
  min-width: 160px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nc-admin-quote-detail-label i {
  color: var(--nc-primary);
  font-size: 1.1rem;
  margin-right: 0.75rem;
  background: var(--nc-gray-200);
  padding: 0.5rem;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nc-admin-quote-detail-value {
  font-size: 0.95rem;
  color: var(--nc-dark);
  font-weight: 500;
  text-align: right;
  flex: 1;
  padding: 0.5rem 1rem;
  background: white;
  border-radius: var(--bs-border-radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.nc-admin-quote-detail-value a {
  color: var(--nc-primary);
  text-decoration: none;
  font-weight: 600;
}

.nc-admin-quote-detail-value a:hover {
  color: #c41e3a;
  text-decoration: underline;
}

.nc-admin-quote-detail-message {
  padding: 1.75rem 2rem;
  background: #fff;
  border-radius: var(--bs-border-radius-lg);
  position: relative;
  margin-top: 1.5rem;
  border: 1px solid var(--nc-gray-100);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
}

.nc-admin-quote-detail-message::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nc-primary);
  border-radius: 3px 3px 0 0;
}


.nc-admin-quote-detail-message .nc-admin-quote-detail-label {
  margin: 0 0 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--nc-gray-700);
  display: flex;
  align-items: center;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--nc-gray-100);
}

.nc-admin-quote-detail-message .nc-admin-quote-detail-label i {
  margin-right: 0.75rem;
  color: var(--nc-primary);
  background: var(--nc-gray-100);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.nc-admin-quote-message {
  color: var(--nc-gray-800);
  line-height: 1.7;
  font-size: 1rem;
  background: #f9fafb;
  border-radius: var(--bs-border-radius);
  padding: 1.5rem;
  margin-top: 1rem;
  border-left: 3px solid var(--nc-primary);
}


.nc-admin-quote-message p {
  margin: 0 0 1rem 0;
  color: var(--nc-gray-800);
  font-weight: 400;
  line-height: 1.7;
}

.nc-admin-quote-message p:first-child {
  font-weight: 500;
  color: var(--nc-gray-900);
}

.nc-admin-quote-message p:last-child {
  margin-bottom: 0;
}

.nc-admin-quote-thumb {
  flex: 0 0 56px;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--nc-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.nc-admin-quote-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nc-admin-quote-thumb-placeholder {
  color: var(--nc-gray-500);
  font-size: 1.5rem;
}

.nc-admin-quote-product-info {
  min-width: 0;
  flex: 1;
}

.nc-admin-quote-product-info .fw-semibold a {
  transition: color 0.2s ease;
}

.nc-admin-quote-product-info .fw-semibold a:hover {
  color: var(--nc-primary) !important;
}

.nc-admin-quote-total-row {
  background: linear-gradient(to right, #f8f9fa, #ffffff);
  border-top: 2px solid var(--nc-primary) !important;
}

.nc-admin-quote-total-row td {
  padding: 1.25rem 0.75rem !important;
  font-size: 1rem;
}

.nc-admin-quote-total-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--nc-primary);
}

/* Badges */
.badge {
  font-weight: 600;
  padding: 0.35em 0.65em;
  border-radius: 0.25rem;
}

.badge-sale {
  background-color: var(--nc-primary);
  color: white;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 2;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

/* Forms */
.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: var(--bs-border-radius);
  border: 1px solid var(--nc-gray-300);
  transition: var(--nc-transition);
}

.form-control:focus, .form-select:focus {
  border-color: var(--nc-primary);
  box-shadow: 0 0 0 0.25rem rgba(227, 30, 36, 0.15);
}

/* Footer */
footer {
  background-color: var(--nc-secondary);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: auto;
}

footer h5 {
  color: white;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--nc-primary);
}

footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: var(--nc-transition);
  display: inline-block;
  margin-bottom: 0.5rem;
}

footer a:hover {
  color: white;
  transform: translateX(5px);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  margin-top: 3rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero {
    padding: 3rem 1.5rem;
    text-align: center;
  }

  body.home.index section.mb-5 {
    margin-bottom: 3rem !important;
  }

  body.home.index .hero {
    padding: 3.25rem 1.5rem;
  }

  body.home.index .hero-image {
    height: 280px;
  }
  
  .hero .lead {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    padding: 2rem 1rem;
  }
  
  .hero .display-5 {
    font-size: 2rem;
  }
  
  .hero .lead {
    font-size: 1.1rem;
  }

  body.home.index .hero-image {
    height: 240px;
  }

  body.home.index .video-overlay {
    position: static;
    display: block !important;
    padding: 1.5rem 1.25rem 2rem;
    background: rgba(255, 255, 255, 0.96);
    text-align: left;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
  }

  body.home.index .video-overlay .container {
    max-width: 100%;
  }

  body.home.index .video-overlay .display-5 {
    font-size: 1.7rem;
    color: var(--nc-secondary) !important;
  }

  body.home.index .video-overlay .lead {
    font-size: 0.98rem;
    max-width: 100%;
    color: var(--nc-secondary) !important;
  }

  body.home.index .video-overlay .badge {
    background-color: rgba(227, 30, 36, 0.06);
    color: var(--nc-secondary) !important;
    border-color: var(--nc-gray-200);
  }
  
  body.home.index .hero-buttons {
    justify-content: flex-start;
    flex-direction: column;
    gap: 0.75rem;
  }

  body.home.index .hero-buttons .btn {
    width: 100%;
    background-color: var(--nc-primary) !important;
    border-color: var(--nc-primary) !important;
    color: #fff !important;
  }
  
  .btn {
    padding: 0.5rem 1rem;
  }

  body.home.index #categoriesCarousel .carousel-inner,
  body.home.index #offersCarousel .carousel-inner,
  body.home.index #newProductsCarousel .carousel-inner {
    padding: 0.7rem 0.85rem 0.9rem;
  }

  body.home.index .nc-carousel-control--prev {
    left: -1.1rem;
  }

  body.home.index .nc-carousel-control--next {
    right: -1.1rem;
  }
}

/* Product Description */
.product-description {
  font-size: 0.7rem !important;
  line-height: 1.3;
  opacity: 0.8;
}

/* Utility Classes */
.rounded-lg {
  border-radius: var(--bs-border-radius-lg) !important;
}

.shadow-hover {
  transition: var(--nc-transition);
}

.shadow-hover:hover {
  box-shadow: var(--bs-box-shadow-lg) !important;
}

/* Carousel Styles */
.carousel {
  margin-bottom: 2rem;
}

body.home.index #categoriesCarousel .carousel-inner,
body.home.index #offersCarousel .carousel-inner,
body.home.index #newProductsCarousel .carousel-inner {
  --nc-snap-gap: 1rem;
  padding: 1rem var(--nc-snap-gap) 1.2rem;
  display: flex;
  gap: var(--nc-snap-gap);
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: var(--nc-snap-gap);
  scroll-padding-right: var(--nc-snap-gap);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

body.home.index #categoriesCarousel .carousel-inner::-webkit-scrollbar,
body.home.index #offersCarousel .carousel-inner::-webkit-scrollbar,
body.home.index #newProductsCarousel .carousel-inner::-webkit-scrollbar {
  display: none;
}

body.home.index #categoriesCarousel .nc-snap-item,
body.home.index #offersCarousel .nc-snap-item,
body.home.index #newProductsCarousel .nc-snap-item {
  padding: 0.25rem 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex: 0 0 auto;
}

body.home.index #categoriesCarousel,
body.home.index #offersCarousel,
body.home.index #newProductsCarousel {
  position: relative;
  touch-action: pan-x pan-y;
}

body.home.index #categoriesCarousel .carousel-inner.is-dragging,
body.home.index #categoriesCarousel .carousel-inner.is-animating,
body.home.index #offersCarousel .carousel-inner.is-dragging,
body.home.index #offersCarousel .carousel-inner.is-animating,
body.home.index #newProductsCarousel .carousel-inner.is-dragging,
body.home.index #newProductsCarousel .carousel-inner.is-animating {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

body.home.index #categoriesCarousel .nc-snap-item--cat {
  flex-basis: calc((100% - (var(--nc-snap-gap) * 3)) / 4);
}

body.home.index #offersCarousel .nc-snap-item--product,
body.home.index #newProductsCarousel .nc-snap-item--product {
  flex-basis: calc((100% - (var(--nc-snap-gap) * 3)) / 4);
}

/* Brand Logo Marquee */
.nc-brands-section {
  background: var(--nc-gray-100);
  padding: 2.5rem 0 1.5rem;
  width: 100%;
  overflow: hidden;
  position: relative;
}

.nc-brands-arrow {
  position: absolute;
  bottom: 1.5rem;
  z-index: 2;
  width: 48px;
  height: 60px;
  border: none;
  background: linear-gradient(to right, #fff 60%, transparent);
  color: #555;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
}

.nc-brands-arrow:hover {
  color: #111;
}

.nc-brands-arrow--prev {
  left: 0;
}

.nc-brands-arrow--next {
  right: 0;
  background: linear-gradient(to left, #fff 60%, transparent);
}

.nc-brands-section,
.nc-brands-section * {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.nc-brands-marquee {
  position: relative;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: auto;
  -webkit-overflow-scrolling: touch;
}

.nc-brands-marquee::-webkit-scrollbar {
  display: none;
}

.nc-brands-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  padding: 0 1.5rem;
}

.nc-brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  height: 60px;
}

.nc-brand-item img {
  max-height: 50px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s ease;
}

.nc-brand-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}


/* Product Cards */
body.home.index .nc-snap-item--product .card {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
  position: relative;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

body.home.index .nc-snap-item--product .card-img-top {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.5s ease;
  background: #f8f9fa;
  padding: 0;
  border-radius: 8px 8px 0 0;
}

body.home.index .nc-snap-item--product .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.home.index .nc-snap-item--product .card-title {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--nc-secondary);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

body.home.index .nc-snap-item--product .card-text {
  font-size: 0.85rem;
  color: var(--nc-gray-500);
  margin-bottom: 0.75rem;
  flex-grow: 1;
}

body.home.index .nc-snap-item--product .price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--nc-primary);
  margin-bottom: 1rem;
}

body.home.index .nc-snap-item--product .original-price {
  font-size: 0.85rem;
  color: var(--nc-gray-400);
  text-decoration: line-through;
  margin-right: 0.5rem;
}

body.home.index .nc-snap-item--product .badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

body.home.index .nc-snap-item--product .badge.bg-danger {
  background-color: var(--nc-primary) !important;
}

body.home.index .nc-snap-item--product .card-footer {
  background: transparent;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  padding: 0.75rem 1.25rem;
}

body.home.index .nc-snap-item--product .btn-outline-primary {
  width: 100%;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  padding: 0.4rem 0.75rem;
  transition: all 0.25s ease;
  border-width: 1px;
}

/* Hover Effects */
body.home.index .nc-snap-item--product .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
  border-color: rgba(227, 30, 36, 0.15);
}

body.home.index .nc-snap-item--product .card:hover .card-img-top {
  transform: scale(1.03);
}

body.home.index .nc-snap-item--product .btn-outline-primary:hover {
  background: var(--nc-primary);
  border-color: var(--nc-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.15);
}

/* Category Label */
body.home.index .nc-snap-item--product .category-label {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.9);
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--nc-gray-700);
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  body.home.index #offersCarousel .nc-snap-item--product,
  body.home.index #newProductsCarousel .nc-snap-item--product {
    flex-basis: calc((100% - (var(--nc-snap-gap) * 2)) / 3);
  }
}

@media (max-width: 767.98px) {
  body.home.index .nc-snap-item--product .card-body {
    padding: 1rem;
  }
  
  body.home.index .nc-snap-item--product .card-title {
    font-size: 0.9rem;
  }
  
  body.home.index #offersCarousel .nc-snap-item--product,
  body.home.index #newProductsCarousel .nc-snap-item--product {
    flex-basis: calc((100% - var(--nc-snap-gap)) / 2);
  }
}

@media (max-width: 575.98px) {
  body.home.index #offersCarousel .nc-snap-item--product,
  body.home.index #newProductsCarousel .nc-snap-item--product {
    flex-basis: 100%;
  }
}

body.home.index .nc-carousel-control {
  width: auto;
  height: auto;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
  opacity: 0;
  transition: var(--nc-transition);
  z-index: 5;
}

body.home.index .nc-carousel-control--prev {
  left: -2rem;
}

body.home.index .nc-carousel-control--next {
  right: -2rem;
}

body.home.index .nc-carousel-control-inner {
  width: 38px;
  height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: transparent;
  backdrop-filter: none;
  border: 1px solid transparent;
  box-shadow: none;
  color: var(--nc-gray-500);
  opacity: 0.65;
}

body.home.index .nc-carousel-control-inner i {
  font-size: 1.05rem;
}

body.home.index #categoriesCarousel:hover .nc-carousel-control,
body.home.index #offersCarousel:hover .nc-carousel-control,
body.home.index #newProductsCarousel:hover .nc-carousel-control,
body.home.index #categoriesCarousel:focus-within .nc-carousel-control,
body.home.index #offersCarousel:focus-within .nc-carousel-control,
body.home.index #newProductsCarousel:focus-within .nc-carousel-control {
  opacity: 1;
}

body.home.index .nc-carousel-control:hover .nc-carousel-control-inner,
body.home.index .nc-carousel-control:focus .nc-carousel-control-inner {
  background: transparent;
  backdrop-filter: none;
  border-color: transparent;
  box-shadow: none;
  color: var(--nc-secondary);
  opacity: 1;
}

body.home.index .nc-carousel-control:focus-visible .nc-carousel-control-inner {
  outline: none;
  opacity: 1;
  outline: 2px solid rgba(31, 41, 55, 0.22);
  outline-offset: 4px;
}

@media (hover: none) {
  body.home.index .nc-carousel-control {
    opacity: 1;
  }
}

@media (max-width: 767.98px) {
  body.home.index #categoriesCarousel .nc-snap-item--cat {
    flex-basis: calc((100% - var(--nc-snap-gap)) / 2);
  }

  body.home.index #offersCarousel .nc-snap-item--product,
  body.home.index #newProductsCarousel .nc-snap-item--product {
    flex-basis: calc((100% - var(--nc-snap-gap)) / 2);
  }
}

@media (max-width: 575.98px) {
  body.home.index #offersCarousel .nc-snap-item--product,
  body.home.index #newProductsCarousel .nc-snap-item--product {
    flex-basis: 100%;
  }
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--nc-primary);
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

.carousel-btn-prev,
.carousel-btn-next {
  border-radius: 50%;
  width: 40px;
  height: 40px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-color: var(--nc-gray-300);
  transition: var(--nc-transition);
}

.carousel-btn-prev:hover,
.carousel-btn-next:hover {
  background-color: var(--nc-primary);
  border-color: var(--nc-primary);
  color: white;
}

/* Business Cards Enhancements */
.hover-lift {
  transition: var(--nc-transition);
}

.hover-lift:hover {
  transform: none;
}

.icon-wrapper {
  display: inline-block;
  padding: 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  transition: var(--nc-transition);
}

.hover-lift:hover .icon-wrapper {
  background: linear-gradient(135deg, var(--nc-primary) 0%, var(--nc-primary-dark) 100%);
}

.hover-lift:hover .icon-wrapper i {
  color: white !important;
  transform: scale(1.1);
}

.hover-lift:hover h3 {
  color: var(--nc-primary);
}

/* Ensure no horizontal scroll */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

/* keep default container widths from Bootstrap */

/* Responsive adjustments */
@media (max-width: 767.98px) {
  .carousel-btn-prev,
  .carousel-btn-next {
    width: 35px;
    height: 35px;
  }
  
  .icon-wrapper {
    padding: 15px;
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--nc-gray-200);
}

::-webkit-scrollbar-thumb {
  background: var(--nc-primary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--nc-primary-dark);
}
/* Override: no hover shadow for service cards */
body.home.index .service-card.card:hover,
body.home.index .service-card:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* Newsletter Modal - Elegant Styling */
#newsletterModal .modal-dialog {
  max-width: 500px;
  margin: 1.75rem auto;
}

#newsletterModal .modal-content {
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

#newsletterModal .modal-header {
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  padding: 1.75rem 2rem 1.25rem;
  position: relative;
}

#newsletterModal .modal-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--nc-secondary);
  letter-spacing: -0.2px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
}

#newsletterModal .modal-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--nc-primary);
  border-radius: 3px;
}

#newsletterModal .btn-close {
  position: absolute;
  right: 1.5rem;
  top: 1.5rem;
  opacity: 0.5;
  transition: all 0.2s ease;
  background: none;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.5rem;
  margin: 0;
  color: var(--nc-secondary);
}

#newsletterModal .btn-close:hover {
  opacity: 1;
  transform: rotate(90deg);
  color: var(--nc-primary);
}

#newsletterModal .modal-body {
  padding: 2rem 2.5rem 2.5rem;
  background: #fff;
}

#newsletterModal .lead {
  color: var(--nc-gray-700);
  font-size: 1rem;
  line-height: 1.7;
  margin: 0 0 2rem;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.01em;
}

#newsletterModal .form-control {
  height: 3.25rem;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 0.65rem 1.25rem;
  font-size: 0.95rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: #fafafa;
  color: var(--nc-gray-800);
  box-shadow: none;
}

#newsletterModal .form-control:focus {
  border-color: var(--nc-primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(227, 30, 36, 0.1);
}

#newsletterModal .form-control::placeholder {
  color: var(--nc-gray-500);
  opacity: 1;
  font-weight: 400;
}

#newsletterModal .btn-primary {
  height: 3.25rem;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 6px;
  letter-spacing: 0.05em;
  text-transform: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: var(--nc-primary);
  border: 1px solid var(--nc-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  box-shadow: 0 4px 12px rgba(227, 30, 36, 0.15);
}

#newsletterModal .btn-primary:hover {
  background: var(--nc-primary-dark);
  border-color: var(--nc-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(227, 30, 36, 0.2);
}

#newsletterModal .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.2);
}

/* Subtle background pattern */
#newsletterModal .modal-content::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--nc-primary) 0%, var(--nc-secondary) 100%);
  opacity: 0.9;
}

/* Elegant animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translate3d(0, 20px, 0) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

#newsletterModal .modal-dialog {
  animation: fadeInUp 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  #newsletterModal .modal-dialog {
    margin: 0.75rem;
  }
  
  #newsletterModal .modal-body {
    padding: 1.75rem 1.5rem 2rem;
  }
  
  #newsletterModal .modal-header {
    padding: 1.5rem 1.5rem 1.25rem;
  }
  
  #newsletterModal .btn-close {
    right: 1rem;
    top: 1.25rem;
  }
  
  #newsletterModal .btn-primary,
  #newsletterModal .form-control {
    height: 3rem;
    font-size: 0.9rem;
  }
  
  #newsletterModal .lead {
    font-size: 0.95rem;
    margin-bottom: 1.75rem;
  }
}

.nc-chatbot-widget {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 1080;
}

.nc-chatbot-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
}

.nc-chatbot-panel {
  position: absolute;
  right: 0;
  bottom: 3.75rem;
  width: 320px;
  max-height: 440px;
  background-color: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(110%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nc-chatbot-panel.is-open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.nc-chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 0.9rem;
  background-color: var(--nc-primary);
  color: #ffffff;
}

.nc-chatbot-title {
  font-size: 0.9rem;
  font-weight: 600;
}

.nc-chatbot-body {
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  padding: 0.6rem 0.75rem 0.75rem;
  gap: 0.4rem;
}

.nc-chatbot-messages {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding-right: 0.2rem;
  margin-bottom: 0.35rem;
}

.nc-chatbot-message {
  max-width: 85%;
  border-radius: 1rem;
  padding: 0.4rem 0.65rem;
  font-size: 0.82rem;
  line-height: 1.4;
  margin-bottom: 0.3rem;
}

.nc-chatbot-message--bot {
  background-color: #f3f3f3;
  color: var(--nc-secondary);
}

.nc-chatbot-message--user {
  margin-left: auto;
  background-color: var(--nc-primary);
  color: #ffffff;
}

.nc-chatbot-message .chat-message-content {
  display: flex;
  flex-direction: column;
}

.nc-chatbot-message .location-cards {
  margin-top: 0.35rem;
}

.nc-chatbot-message .location-cards .card {
  border-radius: 0.6rem;
  border: 1px solid var(--nc-gray-200);
  box-shadow: none;
  background-color: #ffffff;
  margin-bottom: 0.4rem;
}

.nc-chatbot-message .location-cards .card,
.nc-chatbot-message .location-cards .card:hover {
  transform: none;
  box-shadow: none !important;
}

.nc-chatbot-message .location-cards .card-body {
  padding: 0.6rem 0.7rem;
}

.nc-chatbot-message .location-cards .card-title {
  font-size: 0.82rem;
  margin-bottom: 0.25rem;
}

.nc-chatbot-message .location-cards .card-text {
  font-size: 0.78rem;
  margin-bottom: 0.25rem;
}

.nc-chatbot-message .location-cards .text-muted.small {
  font-size: 0.72rem;
}

.nc-chatbot-message .location-cards .btn {
  font-size: 0.72rem;
  padding: 0.15rem 0.5rem;
}

.nc-chatbot-input .form-control {
  font-size: 0.84rem;
}

.nc-chatbot-input .btn {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
}

.nc-chatbot-quick-actions .btn {
  font-size: 0.75rem;
  padding: 0.18rem 0.5rem;
}

@media (max-width: 576px) {
  .nc-chatbot-widget {
    right: 0.9rem;
    bottom: 0.9rem;
  }

  .nc-chatbot-panel {
    width: calc(100vw - 2.4rem);
    right: 0;
  }
}

/* WhatsApp Widget */

.nc-whatsapp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background-color: #25D366;
  color: white;
  border: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  text-decoration: none;
  font-size: 0.9rem;
}

.nc-whatsapp-button:hover {
  background-color: rgb(36, 203, 98);
  color: white;
  transform: translateY(-1px);
  text-decoration: none;
}

.nc-whatsapp-button:focus {
  outline: none;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.3), 0 0 0 3px rgba(37, 211, 102, 0.1);
}

/* Logo Hover Effect */
.logo-hover-effect:hover img {
  transform: translateY(-3px) scale(1.05);
  transition: transform 0.3s ease;
}

/* Social Networks Section */
.nc-social-section {
  padding: 3rem 0;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nc-social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: 1px solid var(--nc-gray-200);
  background: #fff;
  color: var(--nc-gray-500);
}

.nc-social-link i {
  font-size: 1.1rem;
}

.nc-social-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.nc-social-link--facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #fff;
}

.nc-social-link--youtube:hover {
  background: #FF0000;
  border-color: #FF0000;
  color: #fff;
}

.nc-social-link--instagram:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  border-color: #dc2743;
  color: #fff;
}

.nc-social-link--tiktok:hover {
  background: #000;
  border-color: #000;
  color: #fff;
}

/* Locations Map Section */
.nc-locations-wrapper {
  background: #fff;
  border-radius: var(--bs-border-radius-lg);
  border: 1px solid var(--nc-gray-200);
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.nc-locations-wrapper > .row {
  --bs-gutter-x: 0;
}

.nc-locations-list {
  padding: 1rem 1.25rem 1.25rem;
  max-height: 460px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--nc-gray-300) transparent;
}

.nc-locations-list::-webkit-scrollbar {
  width: 4px;
}

.nc-locations-list::-webkit-scrollbar-thumb {
  background: var(--nc-gray-300);
  border-radius: 4px;
}

.nc-locations-group {
  border-bottom: 1px solid var(--nc-gray-200);
  padding-bottom: 0.5rem;
}

.nc-locations-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.nc-locations-group-title {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--nc-secondary);
  padding: 0.6rem 0.5rem 0.35rem;
  display: flex;
  align-items: center;
}

.nc-locations-group-title .bi-geo-alt-fill {
  font-size: 0.8rem;
}

.nc-locations-group-items {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.nc-location-item {
  display: flex;
  align-items: center;
  padding: 0.5rem 0.75rem 0.5rem 1.25rem;
  font-size: 0.84rem;
  color: var(--nc-gray-800);
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 6px;
  font-weight: 500;
  cursor: pointer;
  border-left: 3px solid transparent;
  position: relative;
}

.nc-location-item:hover {
  background: rgba(227, 30, 36, 0.05);
  color: var(--nc-primary);
  border-left-color: var(--nc-primary);
  padding-left: 1.4rem;
}

.nc-location-item.nc-location-active {
  background: var(--nc-primary);
  color: #fff;
  font-weight: 600;
  border-left-color: var(--nc-primary-dark);
  box-shadow: 0 2px 8px rgba(227, 30, 36, 0.25);
}

.nc-location-item .bi-geo-alt {
  font-size: 0.7rem;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.nc-location-item:hover .bi-geo-alt,
.nc-location-item:hover .bi-geo-alt-fill {
  opacity: 1;
  color: var(--nc-primary);
}

.nc-location-item.nc-location-active .bi-geo-alt,
.nc-location-item.nc-location-active .bi-geo-alt-fill {
  opacity: 1;
  color: #fff;
}

.nc-map-container {
  height: 100%;
  min-height: 460px;
  background: var(--nc-gray-100);
  border-left: 1px solid var(--nc-gray-200);
  position: relative;
}

.nc-map-iframe {
  width: 100%;
  height: 100%;
  display: block;
  min-height: 460px;
}

@media (max-width: 991.98px) {
  .nc-locations-wrapper {
    flex-direction: column;
    border-radius: var(--bs-border-radius-lg);
  }

  .nc-locations-list {
    max-height: 200px;
    padding: 0.75rem 1rem;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 75%, transparent 100%);
  }

  .nc-locations-list.nc-no-fade {
    -webkit-mask-image: none;
    mask-image: none;
  }

  .nc-locations-group-items {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
  }

  .nc-map-container {
    min-height: 280px;
    border-left: none;
  }

  .nc-map-iframe {
    min-height: 280px;
  }
}

@media (max-width: 575.98px) {
  .nc-locations-group-items {
    grid-template-columns: 1fr;
  }
}

/* ===== About Us Page ===== */

/* Hero with background image */
.nc-about-hero {
  padding: 6rem 0 5rem;
  position: relative;
  background: var(--nc-secondary);
  overflow: hidden;
}

.nc-about-hero-bg {
  position: absolute;
  inset: 0;
  background: url("/about/cover-1.webp") center / cover no-repeat;
  opacity: 0.18;
  z-index: 1;
}

.nc-about-hero-overlay {
  position: relative;
  z-index: 2;
}

.nc-about-hero .display-5 {
  color: #fff;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.nc-about-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 500px;
  margin-bottom: 1.5rem;
}

.nc-about-hero .btn-outline-light {
  padding: 0.6rem 1.5rem;
  font-weight: 500;
}

.nc-about-hero-image {
  position: relative;
  height: 100%;
  min-height: 300px;
  background: var(--nc-gray-100);
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.nc-about-hero-image::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
  z-index: 1;
}

/* Values list (inside service-card) */
.nc-values-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: left;
  max-width: 200px;
  margin: 0 auto;
}

.nc-value-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--nc-secondary);
  font-size: 0.95rem;
}

.nc-value-item .bi {
  font-size: 0.9rem;
}

/* Timeline Carousel */
.nc-timeline-carousel {
  position: relative;
  touch-action: pan-x pan-y;
}

.nc-timeline-carousel .carousel-inner {
  --nc-snap-gap: 1rem;
  padding: 1rem var(--nc-snap-gap) 1.2rem;
  display: flex;
  gap: var(--nc-snap-gap);
  overflow-x: auto;
  overflow-y: visible;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scroll-padding-left: var(--nc-snap-gap);
  scroll-padding-right: var(--nc-snap-gap);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.nc-timeline-carousel .carousel-inner::-webkit-scrollbar {
  display: none;
}

.nc-timeline-carousel .carousel-inner.is-dragging,
.nc-timeline-carousel .carousel-inner.is-animating {
  scroll-snap-type: none;
  scroll-behavior: auto;
}

.nc-snap-item--timeline {
  padding: 0.25rem 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  flex: 0 0 auto;
  flex-basis: 240px;
  min-width: 220px;
  max-width: 280px;
}

.nc-timeline-card {
  background: #fff;
  border-radius: var(--bs-border-radius-lg);
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  transition: var(--nc-transition);
  position: relative;
}

.nc-timeline-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--nc-primary);
  border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nc-timeline-card:hover {
  border-color: rgba(227, 30, 36, 0.15);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.nc-timeline-card:hover::before {
  opacity: 1;
}

.nc-timeline-year {
  display: inline-block;
  background: var(--nc-primary);
  color: #fff;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.15rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.4rem;
}

.nc-timeline-card-img {
  overflow: hidden;
  border-radius: var(--bs-border-radius-lg) var(--bs-border-radius-lg) 0 0;
  line-height: 0;
}

.nc-timeline-card-img img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.nc-timeline-card:hover .nc-timeline-card-img img {
  transform: scale(1.05);
}

.nc-timeline-card--has-img {
  padding: 0;
}

.nc-timeline-card--has-img .nc-timeline-card-body {
  padding: 0.85rem 1.1rem 0.85rem;
}

.nc-timeline-card--has-img::before {
  display: none;
}

.nc-timeline-card-body {
  padding: 0;
}

.nc-timeline-card h4 {
  color: var(--nc-secondary);
  margin-bottom: 0.2rem;
}

.nc-timeline-card p {
  color: var(--nc-gray-600, #6c757d);
  font-size: 0.85rem;
  line-height: 1.5;
  margin-bottom: 0;
}

/* Team Gallery */
.nc-team-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.nc-team-gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--bs-border-radius-lg);
  line-height: 0;
  height: 400px;
}

.nc-team-gallery-item--wide {
  grid-column: span 2;
  height: 400px;
}

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

.nc-team-gallery-item:hover img {
  transform: scale(1.05);
}

.nc-team-gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 0.75rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.nc-team-gallery-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* History Image Gallery */
.nc-history-image-wrapper {
  overflow: hidden;
  border-radius: var(--bs-border-radius-lg);
}

.nc-history-image-wrapper img {
  transition: transform 0.4s ease;
}

.nc-history-image-wrapper:hover img {
  transform: scale(1.05);
}

.nc-history-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  padding: 1rem;
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: flex-end;
  border-radius: 0 0 var(--bs-border-radius-lg) var(--bs-border-radius-lg);
}

.nc-history-image-wrapper:hover .nc-history-overlay {
  opacity: 1;
}

.nc-history-overlay span {
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.3px;
}

/* Careers / Send CV — split card */
.nc-about-careers {
  background: var(--nc-gray-100);
}

.nc-careers-form-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.05);
  border-radius: var(--bs-border-radius-lg);
  overflow: hidden;
}

.nc-careers-sidebar {
  background: var(--nc-secondary);
  display: flex;
  align-items: center;
}

.nc-careers-sidebar-content {
  padding: 2rem 1.5rem;
}

.nc-careers-sidebar-icon {
  font-size: 2rem;
  color: var(--nc-primary);
  margin-bottom: 0.75rem;
  display: block;
}

.nc-careers-sidebar-perks {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.nc-careers-sidebar-perks .nc-perk-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 400;
}

.nc-careers-sidebar-perks .nc-perk-item .bi {
  color: var(--nc-primary);
  font-size: 0.8rem;
}

.nc-careers-form {
  padding: 1.75rem 1.5rem;
}

.nc-careers-form .form-label {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--nc-secondary);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.nc-careers-form .form-control {
  font-size: 0.9rem;
}

.nc-careers-form .form-text {
  font-size: 0.78rem;
}

.nc-careers-form .btn-primary {
  margin-top: 0.5rem;
}

/* About page responsive */
@media (max-width: 991.98px) {
  .nc-about-hero {
    padding: 4.5rem 0 3.5rem;
  }
  
  .nc-about-hero .display-5 {
    font-size: 2rem;
  }
  
  .nc-about-hero .lead {
    font-size: 1.05rem;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .nc-about-hero {
    padding: 3.5rem 0 2.5rem;
    text-align: center;
  }
  
  .nc-about-hero .display-5 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
  }
  
  .nc-about-hero .lead {
    font-size: 1rem;
    margin-bottom: 1.25rem;
  }
  
  .nc-about-hero .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  .nc-snap-item--timeline {
    flex-basis: 200px;
    min-width: 180px;
  }

  .nc-team-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .nc-team-gallery-item--wide {
    grid-column: span 2;
  }

  .nc-team-gallery-item,
  .nc-team-gallery-item--wide {
    height: 170px;
  }
}

@media (max-width: 479.98px) {
  .nc-team-gallery {
    grid-template-columns: 1fr;
  }

  .nc-team-gallery-item--wide {
    grid-column: span 1;
  }
}

/* ── Multi-select checkbox dropdown ── */
.multi-select-wrapper {
  position: relative;
}

.multi-select-toggle {
  cursor: pointer;
  min-height: 42px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px;
  padding: 0.3rem 0.5rem;
  background: #fff;
  line-height: 1.4;
}

.multi-select-toggle:focus {
  border-color: var(--nc-primary);
  box-shadow: 0 0 0 0.2rem rgba(227, 30, 36, 0.15);
}

.multi-select-dropdown {
  position: absolute;
  z-index: 1050;
  top: 100%;
  left: 0;
  right: 0;
  background: #fff;
  border: 1px solid var(--nc-gray-300);
  border-top: none;
  border-radius: 0 0 0.5rem 0.5rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  max-height: 320px;
  display: flex;
  flex-direction: column;
}

.multi-select-search-wrap {
  padding: 0.5rem;
  border-bottom: 1px solid var(--nc-gray-200);
}

.multi-select-list {
  overflow-y: auto;
  flex: 1 1 auto;
  max-height: 220px;
  padding: 0.25rem 0;
}

.multi-select-list .ms-option {
  padding: 0;
}

.multi-select-list .ms-option-label {
  display: flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  margin: 0;
  cursor: pointer;
  font-size: 0.875rem;
  transition: background 0.1s;
  user-select: none;
}

.multi-select-list .ms-option-label:hover {
  background: var(--nc-gray-100);
}

.multi-select-list .ms-option-label .form-check-input {
  flex-shrink: 0;
  margin-top: 0;
}

.multi-select-list .ms-option-label .form-check-input:checked {
  background-color: var(--nc-primary);
  border-color: var(--nc-primary);
}

.multi-select-footer {
  padding: 0.4rem 0.75rem;
  border-top: 1px solid var(--nc-gray-200);
  text-align: right;
}

/* ── Environment "Shop the Look" section ── */
.environment-section {
  scroll-margin-top: 2rem;
}

.environment-gallery img {
  transition: transform 0.3s ease;
}

.environment-gallery img:hover {
  transform: scale(1.01);
}

.environment-products {
  scrollbar-width: thin;
  scrollbar-color: var(--nc-gray-300) transparent;
}

.environment-products::-webkit-scrollbar {
  height: 6px;
}

.environment-products::-webkit-scrollbar-thumb {
  background: var(--nc-gray-300);
  border-radius: 3px;
}

.environment-product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border-radius: 0.5rem;
  padding: 0.5rem;
}

.environment-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  background: #fff;
}

.environment-product-price {
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--nc-gray-500);
}

.environment-product-price .text-decoration-line-through {
  display: block;
  font-size: 0.75rem;
}

.environment-product-price .text-danger {
  font-size: 0.85rem;
}

/* ── Background color utilities ── */
.bg-nc-primary       { background-color: var(--nc-primary) !important; }
.bg-nc-primary-dark  { background-color: var(--nc-primary-dark) !important; }
.bg-nc-secondary     { background-color: var(--nc-secondary) !important; }
.bg-nc-secondary-light { background-color: var(--nc-secondary-light) !important; }
.bg-nc-dark          { background-color: var(--nc-dark) !important; }
.bg-nc-light         { background-color: var(--nc-light) !important; }
.bg-nc-accent        { background-color: var(--nc-accent) !important; }
.bg-nc-accent-light  { background-color: var(--nc-accent-light) !important; }
.bg-nc-success       { background-color: var(--nc-success) !important; }
.bg-nc-success-light { background-color: var(--nc-success-light) !important; }
.bg-nc-info          { background-color: var(--nc-info) !important; }
.bg-nc-info-light    { background-color: var(--nc-info-light) !important; }
.bg-nc-warning       { background-color: var(--nc-warning) !important; }
.bg-nc-warning-light { background-color: var(--nc-warning-light) !important; }
.bg-nc-danger-light  { background-color: var(--nc-danger-light) !important; }
.bg-nc-cream         { background-color: var(--nc-cream) !important; }
.bg-nc-sand          { background-color: var(--nc-sand) !important; }
.bg-nc-slate         { background-color: var(--nc-slate) !important; }
.bg-nc-slate-light   { background-color: var(--nc-slate-light) !important; }
.bg-nc-charcoal      { background-color: var(--nc-charcoal) !important; }
.bg-nc-gray-100      { background-color: var(--nc-gray-100) !important; }
.bg-nc-gray-200      { background-color: var(--nc-gray-200) !important; }
.bg-nc-gray-300      { background-color: var(--nc-gray-300) !important; }
.bg-nc-gray-500      { background-color: var(--nc-gray-500) !important; }
.bg-nc-gray-800      { background-color: var(--nc-gray-800) !important; }

/* ── Extended background color utilities ── */
.bg-nc-teal          { background-color: var(--nc-teal) !important; }
.bg-nc-teal-light    { background-color: var(--nc-teal-light) !important; }
.bg-nc-indigo        { background-color: var(--nc-indigo) !important; }
.bg-nc-indigo-light  { background-color: var(--nc-indigo-light) !important; }
.bg-nc-pink          { background-color: var(--nc-pink) !important; }
.bg-nc-pink-light    { background-color: var(--nc-pink-light) !important; }
.bg-nc-purple        { background-color: var(--nc-purple) !important; }
.bg-nc-purple-light  { background-color: var(--nc-purple-light) !important; }
.bg-nc-amber         { background-color: var(--nc-amber) !important; }
.bg-nc-amber-light   { background-color: var(--nc-amber-light) !important; }

/* ── Stone neutral utilities ── */
.bg-nc-stone-50      { background-color: var(--nc-stone-50) !important; }
.bg-nc-stone-100     { background-color: var(--nc-stone-100) !important; }
.bg-nc-stone-200     { background-color: var(--nc-stone-200) !important; }
.bg-nc-stone-300     { background-color: var(--nc-stone-300) !important; }
.bg-nc-stone-400     { background-color: var(--nc-stone-400) !important; }
.bg-nc-stone-500     { background-color: var(--nc-stone-500) !important; }
.bg-nc-stone-600     { background-color: var(--nc-stone-600) !important; }
.bg-nc-stone-700     { background-color: var(--nc-stone-700) !important; }
.bg-nc-stone-800     { background-color: var(--nc-stone-800) !important; }
.bg-nc-stone-900     { background-color: var(--nc-stone-900) !important; }

/* ── Category Dropdown Component ── */
.nc-category-dropdown {
  position: relative;
  width: 100%;
}

.nc-category-pill {
  background: #fff;
  border: 1px solid var(--nc-gray-300);
  border-radius: 0.375rem;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  transition: var(--nc-transition);
  height: 52px;
  width: 100%;
  color: var(--nc-secondary);
  font-weight: 500;
  font-size: 0.95rem;
}

.nc-category-pill:hover {
  border-color: var(--nc-primary);
  box-shadow: 0 0 0 0.15rem rgba(227, 30, 36, 0.1);
}

.nc-category-pill .bi-chevron-down {
  font-size: 0.7rem;
  color: var(--nc-gray-500);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.nc-category-menu--open ~ .nc-category-pill .bi-chevron-down {
  transform: rotate(180deg);
}

.nc-category-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 0;
  right: 0;
  max-height: 420px;
  background: #fff;
  border-radius: 0.75rem;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 0 0 1px rgba(0, 0, 0, 0.04);
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 9999;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.nc-category-menu--open {
  opacity: 1 !important;
  visibility: visible !important;
  transform: translateY(0) !important;
}

.nc-category-menu-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  background: var(--nc-secondary);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  flex-shrink: 0;
}

.nc-category-menu-header .bi-funnel-fill {
  color: var(--nc-primary);
  font-size: 0.9rem;
}

.nc-category-menu-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--nc-gray-300) transparent;
  max-height: 350px;
}

.nc-category-option {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: var(--nc-secondary);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
  font-weight: 500;
  border-bottom: 1px solid var(--nc-gray-100);
}

.nc-category-option:last-child {
  border-bottom: none;
}

.nc-category-option:hover {
  background: rgba(227, 30, 36, 0.06);
  color: var(--nc-primary);
}

.nc-category-option.active {
  background: rgba(227, 30, 36, 0.08);
  color: var(--nc-primary);
  font-weight: 700;
}

.nc-category-option .bi-check2 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--nc-primary);
  flex-shrink: 0;
}

/* Hierarchical category parent/child */
.nc-category-parent {
  position: relative;
}

.nc-category-option--parent {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-weight: 600;
}

.nc-category-option--parent:hover {
  background: rgba(227, 30, 36, 0.06);
  color: var(--nc-primary);
}

.nc-submenu-arrow {
  font-size: 0.7rem;
  color: var(--nc-gray-500);
  transition: transform 0.2s ease;
  flex-shrink: 0;
  margin-left: auto;
}

.nc-category-parent.expanded .nc-submenu-arrow {
  transform: rotate(90deg);
}

.nc-category-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0, 0, 0, 0.02);
}

.nc-category-parent.expanded .nc-category-submenu {
  max-height: 500px;
}

.nc-category-option--child {
  padding-left: 2.5rem;
  font-size: 0.8rem;
  background: rgba(0, 0, 0, 0.02);
}

.nc-category-option--child:hover {
  background: rgba(227, 30, 36, 0.08);
  color: var(--nc-primary);
}

.nc-category-option--child.active {
  background: rgba(227, 30, 36, 0.12);
}

/* Mobile responsive adjustments */
@media (max-width: 767.98px) {
  .nc-category-menu {
    left: 50%;
    right: auto;
    transform: translateX(-50%) translateY(-8px);
    min-width: 280px;
    max-width: 90vw;
  }
  
  .nc-category-menu--open {
    transform: translateX(-50%) translateY(0) !important;
  }
  
  .nc-category-pill {
    font-size: 0.9rem;
  }
  
  .nc-category-option {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
  }
  
  .nc-category-option--child {
    padding-left: 2rem;
    font-size: 0.85rem;
  }
}
