/** Shopify CDN: Minification failed

Line 20:0 All "@import" rules must come first
Line 21:0 All "@import" rules must come first

**/
/* MMC Parts Custom Styles */

/* Ensure hero slider starts at top */
.ct-hero-slider {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.ct-review-platform {
    display: none !important;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800;900&display=swap');

/* CSS Variables for MMC Parts Theme */
:root {
  --ct-primary: #1a1a1a;
  --ct-secondary: #ffffff;
  --ct-accent: #FF6B00;
  --ct-gray: #f8f9fa;
  --ct-dark-gray: #6c757d;
  --ct-border: #e9ecef;
  --ct-shadow: rgba(0, 0, 0, 0.1);
  --ct-font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --ct-accent-hover: #E55E00;
  --ct-border-radius: 6px;
}

/* Global Styles */
body {
  font-family: var(--ct-font-family);
  line-height: 1.6;
  color: var(--ct-primary);
  background-color: var(--ct-secondary);
}

/* Mobile Animation Optimization - Slower & Less Movement */
@media (max-width: 768px) {
  *,
  *::before,
  *::after {
    animation-duration: 1.2s !important;
    transition-duration: 0.6s !important;
  }

  /* Reduce hover effects on mobile */
  a:hover,
  button:hover,
  .ct-header-icon:hover,
  .ct-service-item:hover {
    transform: none !important;
  }

  /* Slow down specific animations */
  .ct-hero-slider,
  .ct-reviews-slider,
  .browse-by-car-slider__track {
    transition: transform 0.8s ease !important;
  }

  /* Reduce translateY movements */
  .ct-slide-btn:hover,
  .mmc-social-link:hover,
  .ct-contact-info-item:hover {
    transform: translateY(-1px) !important;
  }

  /* Disable scale animations on mobile for better performance */
  .ct-hero-arrow:hover,
  .ct-reviews-nav:hover {
    transform: translateY(-50%) scale(1) !important;
  }
}

/* Header Styles - Managed in ct-header.liquid section */

/* Navigation Styles */
.ct-nav {
  display: flex;
  align-items: center;
  gap: 40px;
}

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

.ct-nav-link {
  color: var(--ct-primary);
  text-decoration: none;
  font-weight: 500;
  font-size: 16px;
  padding: 10px 0;
  transition: color 0.3s ease;
}

.ct-nav-link:hover {
  color: var(--ct-accent);
}

/* Car Selection Dropdown */
.ct-car-dropdown {
  position: relative;
}

.ct-car-dropdown-toggle {
  background: var(--ct-accent);
  color: var(--ct-secondary);
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ct-car-dropdown-toggle:hover {
  background: #e55a2b;
  transform: translateY(-1px);
}

.ct-car-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ct-secondary);
  border: 1px solid var(--ct-border);
  border-radius: 8px;
  box-shadow: 0 10px 30px var(--ct-shadow);
  min-width: 300px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1000;
  display: none;
}

.ct-car-dropdown-menu.show {
  display: block;
}

.ct-car-brand {
  padding: 15px 20px;
  border-bottom: 1px solid var(--ct-border);
}

.ct-car-brand-title {
  font-weight: 700;
  font-size: 16px;
  color: var(--ct-primary);
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ct-car-models {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 8px;
}

.ct-car-model-link {
  color: var(--ct-dark-gray);
  text-decoration: none;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.ct-car-model-link:hover {
  background: var(--ct-gray);
  color: var(--ct-accent);
}

/* Header Icons - Managed in ct-header.liquid section */

/* Hero Section */
.ct-hero {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: var(--ct-secondary);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.ct-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23ffffff" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.ct-hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.ct-hero-title {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.2;
  letter-spacing: -1px;
}

.ct-hero-subtitle {
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 30px;
  opacity: 0.9;
}

.ct-hero-cta {
  display: inline-flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.ct-btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.ct-btn-primary {
  background: var(--ct-accent);
  color: var(--ct-secondary);
  border-color: var(--ct-accent);
}

.ct-btn-primary:hover {
  background: #e55a2b;
  border-color: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.ct-btn-secondary {
  background: transparent;
  color: var(--ct-secondary);
  border-color: var(--ct-secondary);
}

.ct-btn-secondary:hover {
  background: var(--ct-secondary);
  color: var(--ct-primary);
}

/* Featured Cars Section */
.ct-featured-cars {
  padding: 80px 0;
  background: var(--ct-gray);
}

.ct-section-title {
  text-align: center;
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 50px;
  color: var(--ct-primary);
}

.ct-cars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ct-car-card {
  background: var(--ct-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--ct-shadow);
  transition: all 0.3s ease;
  position: relative;
}

.ct-car-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ct-car-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: linear-gradient(45deg, #f0f0f0, #e0e0e0);
}

.ct-car-info {
  padding: 20px;
}

.ct-car-name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--ct-primary);
}

.ct-car-description {
  color: var(--ct-dark-gray);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.ct-car-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--ct-accent);
  margin-bottom: 15px;
}

/* Testimonials Section */
.ct-testimonials {
  padding: 80px 0;
  background: var(--ct-primary);
  color: var(--ct-secondary);
}

.ct-testimonials .ct-section-title {
  color: var(--ct-secondary);
}

.ct-testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.ct-testimonial {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.ct-testimonial-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.ct-testimonial-author {
  font-weight: 600;
  font-size: 14px;
  opacity: 0.9;
}

.ct-testimonial-rating {
  color: var(--ct-accent);
  margin-bottom: 10px;
}

/* Footer */
.ct-footer {
  background: var(--ct-primary);
  color: var(--ct-secondary);
  padding: 60px 0 30px;
}

.ct-footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.ct-footer-section h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--ct-secondary);
}

.ct-footer-section p,
.ct-footer-section a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 10px;
  display: block;
}

.ct-footer-section a:hover {
  color: var(--ct-accent);
}

.ct-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
  padding-top: 30px;
  text-align: center;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

/* Product Grid */
.ct-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.ct-product-card {
  background: var(--ct-secondary);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 20px var(--ct-shadow);
  transition: all 0.3s ease;
  position: relative;
}

.ct-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.ct-product-image {
  width: 100%;
  height: 370px;
  object-fit: cover;
  background: #ffffff;
}

.ct-product-info {
  padding: 20px;
}

.ct-product-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--ct-primary);
  line-height: 1.4;
}

.ct-product-price {
  font-size: 20px;
  font-weight: 700;
  color: var(--ct-accent);
  margin-bottom: 15px;
}

.ct-product-description {
  color: var(--ct-dark-gray);
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 15px;
}

.ct-add-to-cart {
  width: 100%;
  background: var(--ct-primary);
  color: var(--ct-secondary);
  border: none;
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ct-add-to-cart:hover {
  background: var(--ct-accent);
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .ct-nav {
    flex-direction: column;
    gap: 20px;
  }
  
  .ct-hero-title {
    font-size: 36px;
  }
  
  .ct-hero-subtitle {
    font-size: 18px;
  }
  
  .ct-cars-grid,
  .ct-testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .ct-hero-cta {
    flex-direction: column;
    align-items: center;
  }
}

/* Utility Classes */
.ct-text-center { text-align: center; }
.ct-text-left { text-align: left; }
.ct-text-right { text-align: right; }
.ct-mb-0 { margin-bottom: 0; }
.ct-mb-1 { margin-bottom: 10px; }
.ct-mb-2 { margin-bottom: 20px; }
.ct-mb-3 { margin-bottom: 30px; }
.ct-mb-4 { margin-bottom: 40px; }
.ct-mb-5 { margin-bottom: 50px; }

/* Loading Animation */
.ct-loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--ct-accent);
  animation: spin 1s ease-in-out infinite;
}

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

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Focus States for Accessibility */
.ct-btn:focus,
.ct-nav-link:focus,
.ct-header-icon:focus {
  outline: 2px solid var(--ct-accent);
  outline-offset: 2px;
}

/* ============================================
   MOBILE OPTIMIZATIONS
   ============================================ */

/* Touch-friendly tap targets */
@media (max-width: 768px) {
  button,
  a,
  input,
  select,
  textarea {
    min-height: 44px;
    min-width: 44px;
  }

  /* Improve touch scrolling */
  * {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-touch-callout: none;
  }

  /* Better text readability */
  body {
    font-size: 16px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  /* Prevent zoom on input focus (iOS) */
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  textarea {
    font-size: 16px !important;
  }

  /* Mobile spacing improvements - Full width sections */
  section {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /* Buttons more touch-friendly */
  .ct-btn,
  button {
    padding: 14px 24px;
    font-size: 15px;
    border-radius: 8px;
  }

  /* Better image loading */
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  /* Prevent horizontal scroll */
  body {
    overflow-x: hidden;
  }

  /* Stack grids on mobile */
  .ct-cars-grid,
  .ct-products-grid,
  .ct-testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 20px 0;
  }

  /* Mobile-friendly cards */
  .ct-car-card,
  .ct-product-card {
    margin-bottom: 20px;
  }

  /* Larger headings on mobile */
  h1 { font-size: 28px !important; }
  h2 { font-size: 24px !important; }
  h3 { font-size: 20px !important; }
  h4 { font-size: 18px !important; }
  h5 { font-size: 16px !important; }
  h6 { font-size: 14px !important; }
}

/* Extra small devices (phones, less than 480px) */
@media (max-width: 480px) {
  /* Even more compact spacing - Full width sections */
  section {
    padding: 30px 0 !important;
  }

  /* Smaller buttons on tiny screens */
  .ct-btn,
  button {
    padding: 12px 20px;
    font-size: 14px;
    width: 100%;
    display: block;
  }

  /* Full-width inputs */
  input,
  select,
  textarea {
    width: 100%;
    padding: 12px;
  }

  /* Adjust card sizes */
  .ct-product-image,
  .ct-car-image {
    height: 200px !important;
  }

  /* Tighter padding for cards */
  .ct-product-info,
  .ct-car-info {
    padding: 15px;
  }

  /* Smaller font sizes for very small screens */
  h1 { font-size: 24px !important; }
  h2 { font-size: 22px !important; }
  body { font-size: 15px; }
}

/* Landscape mobile optimization */
@media (max-width: 896px) and (orientation: landscape) {
  .ct-hero-slider,
  .ct-slide {
    height: 100vh !important;
    min-height: 400px;
  }

  .ct-slide-content {
    padding: 20px 0;
  }

  .ct-slide-title {
    font-size: 24px !important;
    margin-bottom: 10px;
  }

  .ct-slide-subtitle {
    font-size: 14px !important;
  }
}

/* Mobile navigation improvements */
@media (max-width: 768px) {
  .ct-mobile-menu {
    width: 85%;
    max-width: 320px;
  }

  .ct-mobile-nav-link {
    font-size: 16px;
    padding: 14px 0;
  }

  .ct-mobile-subnav-link {
    font-size: 14px;
    padding: 10px 0;
  }
}

/* Performance: Reduce animations on low-power devices */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) {
  @media (max-width: 768px) {
    /* Add dark mode styles if needed */
  }
}