:root {
  --primary-color: #22c55e;
  --secondary-color: #2c3e50;
  --accent-color: #16a34a;
  --bg-dark: #ffffff;
  --bg-card: #f9f9f9;
  --text-main: #1a1a1a;
  --text-muted: #666666;
  --glass-bg: rgba(0, 0, 0, 0.02);
  --glass-border: rgba(0, 0, 0, 0.08);
  --transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-heading);
  text-transform: uppercase;
  letter-spacing: 2px;
}

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

ul {
  list-style: none;
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slowGlow {

  0%,
  100% {
    text-shadow: 0 0 10px rgba(34, 197, 94, 0.2);
  }

  50% {
    text-shadow: 0 0 25px rgba(34, 197, 94, 0.5);
  }
}

.reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Layout Containers */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 15px;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  display: flex;
  align-items: center;
  z-index: 1000;
  background: #ffffff;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

nav.scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 30px;
}

.logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--primary-color);
  animation: slowGlow 3s infinite;
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.1;
}

.logo-title {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.logo-subtitle {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 30px;
  align-items: center;
  margin-right: auto;
  margin-left: 40px;
}

.menu-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--primary-color);
  cursor: pointer;
}

.nav-links a:not(.btn-primary) {
  position: relative;
  padding-bottom: 5px;
}

.nav-links a:not(.btn-primary)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: var(--transition);
}

.nav-links a:not(.btn-primary):hover::after,
.nav-links a.active:not(.btn-primary)::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

/* Dropdown Styles */
.dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(15px);
  background: var(--bg-card);
  min-width: 200px;
  border-radius: 12px;
  padding: 15px 0;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--glass-border);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 1001;
  margin-top: 10px;
}

.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 12px;
  height: 12px;
  background: var(--bg-card);
  border-top: 1px solid var(--glass-border);
  border-left: 1px solid var(--glass-border);
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li {
  width: 100%;
}

.dropdown-menu li a {
  display: flex;
  align-items: center;
  padding: 12px 25px;
  color: var(--text-main) !important;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  text-transform: none;
  letter-spacing: normal;
}

.dropdown-menu li a:hover {
  background: var(--glass-bg);
  color: var(--primary-color) !important;
  padding-left: 30px;
}

.dropdown-toggle i {
  font-size: 0.7rem;
  margin-left: 8px;
  transition: var(--transition);
}

.dropdown:hover .dropdown-toggle i {
  transform: rotate(180deg);
}

/* Hero Section */
.hero {
  height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.3)), url('assets/hero.png');
  background-size: cover;
  background-position: center;
  z-index: -1;
  transform: scale(1.1);
  transition: transform 10s ease-out;
}

.hero:hover .hero-bg {
  transform: scale(1);
}

.hero-content {
  max-width: 700px;
  animation: fadeInUp 1s ease-out forwards;
}

.hero-content h1 {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.btn-primary {
  display: inline-block;
  padding: 18px 35px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  border-radius: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: none;
  border: none;
  outline: none;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary:hover {
  background: var(--accent-color);
  transform: scale(1.02);
  box-shadow: none;
}

/* Featured Section */
.section {
  padding: 120px 0 40px 0;
  /* Fixed top padding below navbar */
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Align to top instead of center */
}

.section-title {
  text-align: center;
  margin-bottom: 20px;
}

.section-title h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-title .underline {
  width: 80px;
  height: 4px;
  background: var(--primary-color);
  margin: 0 auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
}

.card {
  background: var(--bg-card);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}

.card:hover {
  transform: scale(1.02);
  border-color: var(--primary-color);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.card-img {
  width: 100%;
  height: 250px;
  position: relative;
}

.card-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Removed gradient so image is fully clear */
}

.card-content {
  padding: 30px;
}

.card-content h3 {
  margin-bottom: 15px;
  color: var(--primary-color);
}

.card-content p {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Services */
.services-section {
  background: #121212;
}

.service-item {
  text-align: center;
  padding: 40px;
  background: var(--glass-bg);
  border-radius: 12px;
  border: 1px solid var(--glass-border);
}

.service-item i {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  display: block;
}

/* CTA Section */
.cta-banner {
  background: linear-gradient(45deg, #2c3e50, #000000);
  padding: 80px 0;
  text-align: center;
  border-radius: 20px;
  margin: 50px 20px;
}

/* Mahindra Maximo Gallery */
.maxximo-gallery {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.main-image {
  height: 280px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.main-image img {
  max-width: 100%;
  max-height: 280px;
  width: auto;
  height: auto;
  border-radius: 15px;
  border: 1px solid var(--glass-border);
  object-fit: contain;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

/* Image Modal */
.image-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.image-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
}

.image-modal .close-modal:hover,
.image-modal .close-modal:focus {
  color: var(--primary-color);
  text-decoration: none;
  cursor: pointer;
}

.image-modal .modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  border-radius: 5px;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.image-modal .modal-content.zoomed {
  transform: scale(2.5);
  cursor: zoom-out;
}

.thumbnails-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}

.thumbnails {
  display: flex;
  gap: 10px;
  overflow-x: hidden;
  scroll-behavior: smooth;
  width: 260px;
  /* 3 images (80px) + 2 gaps (10px) = 260px */
  padding: 5px 0;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.thumbnails::-webkit-scrollbar {
  display: none;
}

.thumb-nav {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  width: 35px;
  height: 35px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
}

.thumb-nav:hover {
  background: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
}

.thumbnails img {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
}

.thumbnails img:hover,
.thumbnails img.active {
  border-color: var(--primary-color);
  transform: scale(1.05);
}

.maximo-details {
  margin-top: 20px;
}

.specs {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}

.spec-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.spec-item i {
  color: var(--primary-color);
  font-size: 1.5rem;
}

@media (max-width: 768px) {
  .main-image {
    height: 300px;
  }

  .thumbnails img {
    width: 80px;
    height: 60px;
  }
}

/* Footer */
footer {
  padding: 60px 0;
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 30px 0;
}

.footer-socials a {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.footer-socials a:hover {
  color: var(--primary-color);
}


/* Quick Nav Sidebar */
.quick-nav-sidebar {
  position: fixed;
  left: 0;
  top: 80px;
  width: 160px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 999;
  background: #ffffff;
  padding: 15px;
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
  height: calc(100vh - 80px);
  overflow-y: auto;
  border-right: 1px solid var(--glass-border);
}

.quick-nav-sidebar::-webkit-scrollbar {
  width: 4px;
}

.quick-nav-sidebar::-webkit-scrollbar-track {
  background: transparent;
}

.quick-nav-sidebar::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 10px;
}

.quick-nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  background-color: var(--bg-card);
  /* Background for letterboxing */
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.quick-nav-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.quick-nav-item.active {
  border-color: #d7e1e626;
  transform: scale(1.05);
}

.quick-nav-item:hover {
  border-color: var(--primary-color);
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.3);
}

@media (max-width: 1200px) {
  .quick-nav-sidebar {
    width: 90px;
    padding: 10px;
  }

  body {
    padding-left: 90px;
  }
}

@media (max-width: 992px) {
  .quick-nav-sidebar {
    display: none;
  }

  body {
    padding-left: 0;
  }
}

/* Forms & Inputs */
.form-group {
  margin-bottom: 15px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

.glass-card {
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Sidebars & Modals */
.sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #121212;
  border-left: 1px solid var(--glass-border);
  z-index: 2000;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.sidebar.open {
  right: 0;
}

.sidebar-header {
  padding: 20px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sidebar-content {
  flex-grow: 1;
  padding: 20px;
  overflow-y: auto;
}

.sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--glass-border);
  background: #0f0f0f;
}

.totals-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  color: var(--text-muted);
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
}

.close-btn:hover {
  color: var(--primary-color);
  transform: scale(1.2);
}

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
  z-index: 1500;
  display: none;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  width: 100%;
  max-width: 450px;
  padding: 40px;
  text-align: center;
  position: relative;
  animation: fadeInUp 0.4s ease-out;
}

#details-modal-content {
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}

#details-modal-content::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari and Opera */
}

.checkout-step {
  animation: fadeInUp 0.4s ease-out;
}

/* Responsive */
@media (max-width: 992px) {
  .menu-toggle {
    display: block;
    margin-left: auto;
  }

  .nav-links {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 80px);
    background: #ffffff;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    padding: 30px;
    margin: 0;
    transition: right 0.3s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.05);
    border-left: 1px solid var(--glass-border);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links li {
    width: 100%;
    margin: 15px 0;
  }

  .logo-title {
    font-size: 1.05rem;
    white-space: normal;
  }

  .logo-subtitle {
    font-size: 0.75rem;
    white-space: normal;
  }
}

@media (max-width: 768px) {

  .dropdown-menu {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    display: none;
    text-align: center;
    margin-top: 0;
  }

  .dropdown-menu::before {
    display: none;
  }

  .dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu li a {
    padding: 10px;
    justify-content: center;
  }

  .hero-content h1 {
    font-size: 3rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

/* Responsive Modal Grids */
.modal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  text-align: left;
}

.modal-inner-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 15px;
}

.modal-doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .modal-grid {
    grid-template-columns: 1fr;
  }
}

/* Filter Sidebar and Catalog Layout */
.catalog-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 30px;
  align-items: start;
}

.catalog-grid {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

.filter-sidebar {
  background: var(--surface-light);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 20px;
  position: sticky;
  top: 100px;
  /* Sticks below navbar */
}

.filter-sidebar h3 {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--primary-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.filter-group {
  margin-bottom: 20px;
}

.filter-group label {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.filter-sidebar input[type="text"],
.filter-sidebar select,
.filter-sidebar input[type="number"] {
  width: 100%;
  padding: 10px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 5px;
  outline: none;
  transition: var(--transition);
}

.filter-sidebar input[type="text"]:focus,
.filter-sidebar select:focus,
.filter-sidebar input[type="number"]:focus {
  border-color: var(--primary-color);
}

.price-inputs {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #fff;
  cursor: pointer;
  margin-bottom: 0;
}

.checkbox-group input[type="checkbox"] {
  accent-color: var(--primary-color);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .catalog-container {
    grid-template-columns: 1fr;
  }

  .filter-sidebar {
    position: static;
    margin-bottom: 20px;
  }
}

/* Dual Range Slider */
.range-slider-container {
  position: relative;
  height: 30px;
  display: flex;
  align-items: center;
}

.dual-range {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  position: absolute;
  background: transparent;
  pointer-events: none;
  z-index: 3;
  margin: 0;
  height: 5px;
  outline: none;
}

.dual-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
}

.dual-range::-moz-range-thumb {
  pointer-events: auto;
  width: 18px;
  height: 18px;
  background: var(--primary-color);
  border-radius: 50%;
  cursor: pointer;
  border: none;
}

/* Custom Select Dropdown (Glassmorphism & Animated) */
.custom-select-wrapper {
  position: relative;
  user-select: none;
  width: 100%;
}

.custom-select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}

.custom-select-trigger:hover,
.custom-select-wrapper.open .custom-select-trigger {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.custom-select-icon {
  transition: transform 0.3s ease;
}

.custom-select-wrapper.open .custom-select-icon {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: 110%;
  left: 0;
  width: 100%;
  background: rgba(18, 18, 18, 0.85);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.custom-select-wrapper.open .custom-select-options {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.custom-option {
  padding: 12px 15px;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--text-muted);
}

.custom-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--primary-color);
}

.custom-option.selected {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
  font-weight: bold;
}

/* Glassy Search Input */
#filter-search {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--white);
  transition: var(--transition);
  backdrop-filter: blur(10px);
  outline: none;
}

#filter-search:focus {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.2);
}

#filter-search::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Glassy Custom Checkbox */
.custom-checkbox-label {
  display: flex;
  align-items: center;
  position: relative;
  cursor: pointer;
  user-select: none;
  font-size: 1rem;
  margin-bottom: 12px;
  transition: color 0.3s;
}

.custom-checkbox-label:hover {
  color: var(--primary-color);
}

.custom-checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkmark {
  position: relative;
  height: 20px;
  width: 20px;
  min-width: 20px;
  min-height: 20px;
  display: inline-block;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  margin-right: 12px;
  backdrop-filter: blur(5px);
  transition: all 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}

.custom-checkbox-label:hover input~.custom-checkmark {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--primary-color);
}

.custom-checkbox-label input:checked~.custom-checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(255, 170, 0, 0.4);
  transform: scale(1.1);
}

.custom-checkmark:after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid #000;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-checkbox-label input:checked~.custom-checkmark:after {
  display: block;
  animation: checkAnim 0.2s ease-out forwards;
}

@keyframes checkAnim {
  0% {
    height: 0;
    width: 0;
    opacity: 0;
  }

  100% {
    height: 10px;
    width: 5px;
    opacity: 1;
  }
}

/* Product View Redesign (Two Columns) */
.product-section {
  padding-top: 20px;
  padding-bottom: 20px;
  /* background: #f8f9fa; */
  min-height: 0;
}

.product-section:first-of-type {
  padding-top: 120px;
}

.product-view-container {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  width: calc(100% - 40px);
  max-width: 1550px;
  margin: 0 auto;

  /* Overall Box Styles */
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

@media (max-width: 992px) {
  .product-view-container {
    padding: 15px;
  }

  .product-section {
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

.product-gallery {
  flex: 0 0 55%;
  max-width: 55%;
  background: transparent;
  border-radius: 12px;
  height: auto;
  min-height: min-content;
}

.breadcrumbs {
  font-size: 0.75rem;
  font-weight: 700;
  color: #311b5e;
  margin-bottom: 15px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.5px;
}

.breadcrumbs a {
  color: #311b5e;
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: #6800b6;
}

.breadcrumbs i {
  font-size: 0.6rem;
  color: #999;
}

.breadcrumbs span {
  color: #888;
}

.product-gallery .main-image {
  height: 400px;
  background: #e3e3e3;
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 12px;
  position: relative;
  box-shadow: none;
}

.product-gallery .main-image img {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  border: none;
  box-shadow: none;
  border-radius: 12px;
}

.main-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  border: none;
  width: 44px;
  height: 64px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.6rem;
  transition: all 0.3s ease;
}

.main-nav:hover {
  background: rgba(0, 0, 0, 0.6);
}

.main-nav.prev {
  left: 0;
  border-top-right-radius: 6px;
  border-bottom-right-radius: 6px;
}

.main-nav.next {
  right: 0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}

.image-counter {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 10;
  letter-spacing: 0.5px;
}

.thumbnails-wrapper {
  margin-top: 12px;
  justify-content: flex-start;
  gap: 12px;
  width: 100%;
}

.thumbnails {
  flex: 1;
  gap: 12px;
  padding: 0;
  min-width: 0;
}

.thumbnails img {
  width: 135px;
  height: 95px;
  border-radius: 8px;
  border: 2px solid transparent;
  opacity: 0.7;
}

.thumbnails img.active,
.thumbnails img:hover {
  border-color: #6800b6;
  opacity: 1;
  transform: none;
}

.product-info-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
}

.product-info {
  background: transparent;
  border-radius: 0;
  border: none;
  padding: 0;
  box-shadow: none;
  min-width: 0;
  max-width: 100%;
}

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-title {
  font-family: var(--font-body);
  font-size: 1.3rem;
  color: #311b5e;
  margin-bottom: 6px;
  font-weight: 700;
  text-transform: none;
  letter-spacing: normal;
}

.product-subtitle {
  font-size: 0.95rem;
  color: #311b5e;
  font-weight: 500;
}

.shortlist-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.heart-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #f4e8ff;
  color: #311b5e;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  cursor: pointer;
}

.shortlist-icon span {
  font-size: 0.7rem;
  color: #888;
}

.product-meta {
  margin-bottom: 20px;
}

.product-meta p {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #444;
  margin: 0;
}

.assured-badge {
  background: #f9f5ff;
  border-radius: 8px;
  padding: 8px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.badge-icon {
  background: #f4e8ff;
  color: #6800b6;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px;
}

.badge-text {
  font-size: 0.85rem;
  color: #444;
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-price-card {
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #eaeaea;
  padding: 15px 0;
  margin-bottom: 15px;
}

.price-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: #311b5e;
  margin-bottom: 6px;
}

.product-price {
  font-family: var(--font-body);
  font-size: 2.4rem;
  color: #311b5e;
  margin-bottom: 8px;
  font-weight: 900;
  display: flex;
  align-items: baseline;
  gap: 12px;
  text-transform: none;
  letter-spacing: -0.5px;
}

.price-taxes {
  font-size: 0.85rem;
  color: #777;
  margin-bottom: 15px;
}

.emi-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.emi-amount {
  font-size: 1.15rem;
  color: #6800b6;
  font-weight: 800;
  margin: 0;
}

.emi-label {
  font-size: 0.75rem;
  color: #777;
  margin: 0;
}

.calculate-emi-btn {
  background: #6800b6;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}

.calculate-emi-btn:hover {
  background: #50008f;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.btn-book-now {
  flex: 1;
  min-width: 140px;
  background: #6800b6;
  color: #fff;
  padding: 12px 10px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.3s ease;
  line-height: 1.2;
  box-shadow: none;
}

.btn-book-now:hover {
  background: #50008f;
  transform: translateY(-2px);
  color: #fff;
}

.btn-book-now .btn-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.btn-book-now .btn-sub {
  font-size: 0.65rem;
  font-weight: 400;
}

.btn-test-drive {
  flex: 1;
  min-width: 140px;
  background: var(--primary-color);
  color: #fff;
  padding: 12px 10px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: none;
}

.btn-test-drive:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  color: #fff;
}

.share-section {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 15px 0;
  margin-left: 10px;
}

.share-section span {
  font-size: 1rem;
  color: #311b5e;
  font-weight: 500;
}

.share-section a {
  width: 32px;
  height: 32px;
  border-radius: 4px;
  color: #6800b6;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.share-section a:hover {
  background: #6800b6;
  color: #fff;
  border-radius: 50%;
}

@media (max-width: 992px) {
  .product-view-container {
    flex-direction: column;
  }

  .product-gallery,
  .product-info-wrapper {
    flex: none;
    width: 100%;
    max-width: 100%;
  }

  .product-gallery .main-image {
    height: 350px;
  }
}

@media (max-width: 576px) {
  .product-gallery .main-image {
    height: 250px;
  }
}

.product-extra-details {
  margin-top: 20px;
  margin-bottom: 20px;
  width: 100%;
}

.details-heading {
  font-family: var(--font-body);
  font-size: 1.4rem;
  color: #311b5e;
  margin-bottom: 25px;
  font-weight: 800;
  border-bottom: 2px solid #f4e8ff;
  padding-bottom: 10px;
  display: inline-block;
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 25px;
  margin-bottom: 30px;
}

.detail-item {
  display: flex;
  align-items: center;
  gap: 15px;
}

.detail-item i {
  font-size: 1.5rem;
  color: #6800b6;
  background: #f9f5ff;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
}

.detail-label {
  display: block;
  font-size: 0.75rem;
  color: #888;
  margin-bottom: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 700;
}

.detail-value {
  display: block;
  font-size: 1.05rem;
  color: #333;
  font-weight: 700;
}

.product-description {
  background: #f9f9f9;
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid #6800b6;
}

.description-heading {
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: #311b5e;
  margin-bottom: 12px;
  font-weight: 800;
}

.product-description p {
  color: #555;
  line-height: 1.6;
  font-size: 0.95rem;
}

/* --- Professional Footer Styles --- */
.site-footer {
  background-color: #ffffff;
  padding: 70px 0 0 0;
  scroll-snap-align: end;
  font-family: var(--font-body);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 50px;
}

@media (max-width: 992px) {
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

@media (max-width: 768px) {
  .footer-col {
    align-items: center;
    text-align: center;
  }
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.footer-logo {
  width: 70px;
}

.footer-logo-wrap h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin: 0;
  letter-spacing: 2px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 30px;
  line-height: 1.6;
}

.footer-socials {
  display: flex;
  gap: 15px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: rgba(34, 197, 94, 0.1);
  color: var(--primary-color);
  border-radius: 50%;
  font-size: 1.2rem;
  transition: var(--transition);
  text-decoration: none;
}

.footer-socials a:hover {
  background-color: var(--primary-color);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 20px rgba(34, 197, 94, 0.2);
}

.footer-col h3 {
  font-size: 1.3rem;
  color: var(--text-main);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 12px;
  font-family: var(--font-heading);
  display: inline-block;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

@media (max-width: 768px) {
  .footer-col h3::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: var(--text-muted);
  transition: var(--transition);
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
}

.footer-links a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-location a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
  margin-bottom: 30px;
  font-weight: 500;
}

.footer-location a i {
  color: var(--primary-color);
  font-size: 1.3rem;
}

.footer-location a:hover {
  color: var(--primary-color);
}

.footer-partner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .footer-partner {
    align-items: center;
  }
}

.footer-partner span {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.footer-partner img {
  height: 55px;
  object-fit: contain;
  opacity: 0.75;
  transition: var(--transition);
  align-self: flex-start;
}

@media (max-width: 768px) {
  .footer-partner img {
    align-self: center;
  }
}

.footer-partner img:hover {
  opacity: 1;
}

.footer-bottom {
  text-align: center;
  padding: 25px 20px;
  border-top: 1px solid var(--glass-border);
  background-color: var(--bg-dark);
}

.footer-bottom p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin: 0;
}

/* Sold Out Ribbon Effect */
.ribbon {
  position: absolute;
  top: 0;
  left: 0;
  width: 150px;
  height: 150px;
  overflow: hidden;
  z-index: 10;
  pointer-events: none;
}

.ribbon span {
  position: absolute;
  display: block;
  width: 350px;
  height: 40px;
  line-height: 40px;
  padding: 0;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  box-shadow: 0 5px 10px rgba(0,0,0,0.2);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  left: -114.2px;
  top: 40.8px;
  transform: rotate(-45deg);
  letter-spacing: 2px;
  pointer-events: auto;
}

@media (max-width: 600px) {
  .ribbon {
    transform: scale(0.7);
    transform-origin: top left;
  }
}