/* ==================== GLOBAL STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #1a1a2e;
  --secondary-color: #ff6b35;
  --accent-color: #f7931e;
  --text-color: #333;
  --light-gray: #f5f5f5;
  --border-color: #e0e0e0;
  --shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-color);
  background-color: #f9f9f9;
  line-height: 1.6;
}

/* ==================== CONTAINER ==================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ==================== NAVBAR ==================== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d44 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 28px;
  font-weight: bold;
  color: var(--secondary-color);
  cursor: pointer;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo i {
  font-size: 32px;
}

.nav-menu {
  display: flex;
  gap: 30px;
  flex: 1;
  justify-content: center;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--secondary-color);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-wrapper {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.search-wrapper:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: var(--secondary-color);
}

.search-input {
  background: transparent;
  border: none;
  color: white;
  outline: none;
  padding: 5px 10px;
  width: 200px;
}

.search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.search-btn {
  background: transparent;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
}

.search-btn:hover {
  color: var(--secondary-color);
}

.cart-button {
  position: relative;
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-button:hover {
  transform: scale(1.1);
  color: var(--secondary-color);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: var(--secondary-color);
  color: white;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==================== HERO SECTION ==================== */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d44 100%), url('brands/Auto%20Front%20Red%204k%20Wallpaper.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: white;
  padding: 120px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.7) 0%, rgba(45,45,68,0.7) 100%), 
              url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="rgba(255,107,53,0.1)"/></svg>');
  background-size: cover;
  opacity: 1;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 56px;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero p {
  font-size: 20px;
  margin-bottom: 40px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==================== BUTTONS ==================== */
.btn {
  padding: 12px 30px;
  border: none;
  border-radius: 5px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--secondary-color);
  color: white;
}

.btn-primary:hover {
  background: #e55a25;
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid white;
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-color);
}

/* ==================== FEATURES SECTION ==================== */
.features-section {
  padding: 80px 20px;
  background: white;
}

.section-title {
  font-size: 42px;
  text-align: center;
  margin-bottom: 50px;
  color: var(--primary-color);
  font-weight: 800;
  position: relative;
}

.section-title::after {
  content: '';
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-top: 4px solid var(--secondary-color);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.feature-card i {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.feature-card p {
  color: #666;
  font-size: 14px;
}

/* ==================== INVENTORY SECTION ==================== */
.inventory-section {
  padding: 80px 20px;
  background: var(--light-gray);
}

.filters {
  display: flex;
  gap: 20px;
  margin-bottom: 40px;
  justify-content: center;
  flex-wrap: wrap;
}

.filter-select {
  padding: 10px 20px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  background: white;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
}

.filter-select:hover,
.filter-select:focus {
  border-color: var(--secondary-color);
  outline: none;
}

.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.vehicle-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  cursor: pointer;
}

.vehicle-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.vehicle-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.vehicle-card:hover img {
  transform: scale(1.05);
}

.vehicle-info {
  padding: 20px;
}

.vehicle-brand {
  color: var(--secondary-color);
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.vehicle-name {
  font-size: 20px;
  font-weight: 700;
  margin: 10px 0;
  color: var(--primary-color);
}

.vehicle-price {
  font-size: 24px;
  color: var(--secondary-color);
  font-weight: 800;
  margin-bottom: 15px;
}

.vehicle-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 20px;
  font-size: 12px;
}

.spec {
  color: #666;
  padding: 8px;
  background: var(--light-gray);
  border-radius: 4px;
}

.spec strong {
  color: var(--primary-color);
  display: block;
}

.vehicle-card .btn {
  width: 100%;
}

.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.page-btn {
  padding: 10px 20px;
  background: white;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.page-btn:hover {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

/* ==================== BRANDS SECTION ==================== */
.brands-section {
  padding: 80px 20px;
  background: white;
}

.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.brand-card {
  background: linear-gradient(135deg, var(--primary-color) 0%, #2d2d44 100%);
  background-attachment: fixed;
  color: white;
  padding: 40px 20px;
  border-radius: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.brand-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(26,26,46,0.85) 0%, rgba(45,45,68,0.85) 100%);
  z-index: 1;
}

.brand-card > * {
  position: relative;
  z-index: 2;
}

.brand-card:hover {
  transform: scale(1.05);
  border-color: var(--secondary-color);
  box-shadow: var(--shadow-lg);
}

.brand-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
  font-weight: 700;
}

.brand-card .price {
  font-size: 36px;
  font-weight: 800;
  color: var(--secondary-color);
  margin: 10px 0;
}

.brand-card p {
  opacity: 0.8;
  font-size: 14px;
}

/* ==================== GALLERY SECTION ==================== */
.gallery-section {
  padding: 80px 20px;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 280px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 107, 53, 0.2);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: white;
  padding: 20px;
  z-index: 3;
  transform: translateY(50px);
  transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

/* ==================== FINANCE SECTION ==================== */
.finance-section {
  padding: 80px 20px;
  background: var(--light-gray);
}

.finance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.finance-card {
  background: white;
  padding: 40px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  border-left: 5px solid var(--secondary-color);
}

.finance-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.finance-card h3 {
  font-size: 22px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.finance-card .price {
  color: var(--secondary-color);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.finance-card ul {
  list-style: none;
  margin-bottom: 25px;
}

.finance-card li {
  padding: 8px 0;
  color: #666;
  border-bottom: 1px solid var(--border-color);
}

.finance-card li:last-child {
  border-bottom: none;
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
  padding: 80px 20px;
  background: white;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--light-gray);
  padding: 30px;
  border-radius: 10px;
  border-left: 5px solid var(--secondary-color);
}

.testimonial-card .stars {
  color: #ffc107;
  font-size: 20px;
  margin-bottom: 15px;
  letter-spacing: 2px;
}

.testimonial-card p {
  color: #666;
  font-style: italic;
  margin-bottom: 15px;
  line-height: 1.8;
}

.testimonial-card h4 {
  color: var(--primary-color);
  font-weight: 600;
}

/* ==================== ABOUT SECTION ==================== */
.about-section {
  padding: 80px 20px;
  background: var(--light-gray);
}

.about-content {
  max-width: 1000px;
  margin: 0 auto;
}

.about-text {
  background: white;
  padding: 50px;
  border-radius: 10px;
  box-shadow: var(--shadow);
  margin-bottom: 40px;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  color: #666;
  margin-bottom: 20px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.stat {
  text-align: center;
  padding: 20px;
  border-left: 4px solid var(--secondary-color);
}

.stat h3 {
  font-size: 36px;
  color: var(--secondary-color);
  font-weight: 800;
  margin-bottom: 10px;
}

.stat p {
  color: #666;
  margin-bottom: 0;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
  padding: 80px 20px;
  background: white;
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 15px;
  border: 2px solid var(--border-color);
  border-radius: 5px;
  font-family: inherit;
  font-size: 14px;
  transition: all 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-item {
  display: flex;
  gap: 20px;
}

.info-item i {
  font-size: 28px;
  color: var(--secondary-color);
  margin-top: 5px;
}

.info-item h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.info-item p {
  color: #666;
}

/* ==================== FOOTER ==================== */
.footer {
  background: var(--primary-color);
  color: white;
  padding: 60px 20px 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.footer-section h4,
.footer-section h5 {
  margin-bottom: 15px;
  font-weight: 700;
}

.footer-section p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  margin-bottom: 15px;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--secondary-color);
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 107, 53, 0.2);
  border-radius: 50%;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-form input {
  flex: 1;
  padding: 10px 15px;
  border: none;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.newsletter-form button {
  padding: 10px 20px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
}

.newsletter-form button:hover {
  background: #e55a25;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==================== MODAL ==================== */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-content {
  position: relative;
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  max-width: 600px;
  width: 90%;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.close-btn {
  position: absolute;
  right: 20px;
  top: 20px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  z-index: 10;
  transition: color 0.3s ease;
}

.close-btn:hover {
  color: var(--secondary-color);
}

.modal-body {
  padding: 30px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.modal-body img {
  width: 100%;
  border-radius: 8px;
}

.modal-details h2 {
  color: var(--primary-color);
  margin-bottom: 10px;
}

.modal-details .price {
  color: var(--secondary-color);
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 20px;
}

.specs {
  margin-bottom: 20px;
}

.specs div {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.specs div strong {
  color: var(--primary-color);
  display: block;
  margin-bottom: 5px;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--primary-color);
    padding: 20px;
    gap: 15px;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .search-input {
    width: 150px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .hero p {
    font-size: 16px;
  }

  .features-grid,
  .vehicles-grid,
  .brands-grid,
  .gallery-grid,
  .finance-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .contact-content {
    grid-template-columns: 1fr;
  }

  .modal-body {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 32px;
    margin-bottom: 30px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .nav-container {
    flex-direction: column;
    gap: 10px;
  }

  .nav-actions {
    width: 100%;
    gap: 10px;
  }

  .search-wrapper {
    flex: 1;
  }

  .search-input {
    width: 100%;
  }

  .hero {
    padding: 80px 20px;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
  }

  .section-title {
    font-size: 24px;
  }

  .features-grid,
  .vehicles-grid,
  .brands-grid,
  .finance-grid,
  .testimonials-grid {
    gap: 15px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .footer-content {
    gap: 20px;
  }

  .about-text {
    padding: 25px;
  }
}

/* ==================== FILTER BUTTONS ==================== */
.filters {
  display: flex;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
  padding: 20px;
  background: var(--light-gray);
  border-radius: 8px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.filter-group h4 {
  margin: 0;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
}

.filter-btn,
.price-filter-btn {
  padding: 8px 16px;
  border: 2px solid var(--border-color);
  background: white;
  color: var(--text-color);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  font-size: 14px;
}

.filter-btn:hover,
.price-filter-btn:hover {
  border-color: var(--secondary-color);
  color: var(--secondary-color);
}

.filter-btn.active,
.price-filter-btn.active {
  background: var(--secondary-color);
  color: white;
  border-color: var(--secondary-color);
}

/* ==================== CART SIDEBAR ==================== */
.cart-sidebar {
  position: fixed;
  right: 0;
  top: 70px;
  width: 350px;
  height: calc(100vh - 70px);
  background: white;
  box-shadow: -4px 0 15px rgba(0, 0, 0, 0.2);
  z-index: 999;
  display: none;
  flex-direction: column;
  overflow-y: auto;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  background: var(--light-gray);
}

.cart-header h3 {
  margin: 0;
  color: var(--primary-color);
}

.close-cart {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--primary-color);
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: var(--light-gray);
  border-radius: 6px;
  gap: 10px;
}

.cart-item span {
  font-size: 14px;
}

.btn-small {
  padding: 4px 10px;
  background: var(--secondary-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.3s ease;
}

.btn-small:hover {
  opacity: 0.8;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  background: var(--light-gray);
}

@media (max-width: 768px) {
  .filters {
    flex-direction: column;
    gap: 20px;
  }

  .filter-group {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 10px;
  }

  .cart-sidebar {
    width: 100%;
    max-width: none;
  }
}
