body{
  font-family: Arial, Helvetica, sans-serif;
}
.like-btn {
  position: relative;
}

.likes-count {
  position: absolute;
  top: 18px;
  right: -8px;
  /* background-color: #ff6b6b; */
  color: rgb(0, 0, 0);
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
}

.like-btn.active .likes-count {
  background-color: #ffffff;
}

/* Estilos existentes */
.garaje-main {
  padding: 1rem 0 2rem;
}

.search-section {
  background-color: #f8f9fa;
  padding: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
  width: 40%;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
}

.search-container {
  display: flex;
  justify-content: center;
  margin-bottom: 0.75rem;
  max-width: 80%;
  margin-left: auto;
  margin-right: auto;
}

.search-form {
  display: flex;
  width: 100%;
  max-width: 100%;
}

.search-input {
  flex-grow: 1;
  padding: 0.4rem 0.6rem;
  border: 1px solid #ced4da;
  border-right: none;
  border-radius: 0.25rem 0 0 0.25rem;
  font-size: 0.9rem;
}

.search-button {
  padding: 0.4rem 0.8rem;
  background-color: #0779e4;
  color: white;
  border: none;
  border-radius: 0 0.25rem 0.25rem 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.9rem;
}

.search-button:hover {
  background-color: #0056b3;
}

.quick-filters {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.filter-pill {
  padding: 0.1rem 1.5rem;
  background-color: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 30px;
  text-decoration: none;
  color: #495057;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.filter-pill:hover {
  background-color: #0779e4;
  color: white;
  text-decoration: none;
  border-color: #0779e4;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(7, 121, 228, 0.3);
}

.filter-pill.active {
  background-color: #0779e4;
  color: white;
  text-decoration: none;
  border-color: #0779e4;
  box-shadow: 0 4px 8px rgba(7, 121, 228, 0.3);
}

.garaje-container {
  /*width: 90%;*/
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.main-content {
  flex-grow: 1;
  width: 100%;
}

/* Estilos mejorados para el sidebar de filtros */
.filters-sidebar {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  padding: 1.25rem;
  border: 1px solid #e0e0e0;
  transition: all 0.3s ease-in-out;
  transform: translateX(-100%);
  opacity: 0;
  position: relative;
}

.filters-sidebar.active {
  transform: translateX(0);
  opacity: 1;
}

.filters-sidebar h3 {
  color: #333;
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  text-align: center;
  border-bottom: 2px solid #0779e4;
  padding-bottom: 0.5rem;
}

/* Estilos mejorados para grupos de filtros */
.filter-group {
  margin-bottom: 1.25rem;
  position: relative;
}

.filter-group h4 {
  color: #555;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Estilos mejorados para selects */
.filter-select {
  width: 100%;
  padding: 0.6rem 0.75rem;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #333;
  background: #ffffff;
  transition: all 0.3s ease;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23666' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 10px 6px;
  padding-right: 2rem;
}

.filter-select:focus {
  outline: none;
  border-color: #0779e4;
  box-shadow: 0 0 0 2px rgba(7, 121, 228, 0.1);
}

.filter-select:hover {
  border-color: #0779e4;
}

/* Estilos mejorados para inputs de precio */
.price-range {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center;
  background: #f8f9fa;
  padding: 0.5rem;
  border-radius: 6px;
  border: 1px solid #ddd;
  transition: all 0.3s ease;
}

.price-range:focus-within {
  border-color: #0779e4;
  box-shadow: 0 0 0 2px rgba(7, 121, 228, 0.1);
}

.price-input {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 0.9rem;
  color: #333;
  background: #ffffff;
  transition: all 0.3s ease;
}

.price-input:focus {
  outline: none;
  border-color: #0779e4;
  box-shadow: 0 0 0 2px rgba(7, 121, 228, 0.1);
}

.price-input::placeholder {
  color: #999;
  font-size: 0.85rem;
}

.price-range span {
  color: #666;
  font-weight: 500;
  font-size: 0.9rem;
}

/* Estilos para filtros de texto */
.filter-input {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ced4da;
  border-radius: 6px;
  font-size: 0.875rem;
  background-color: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.filter-input:focus {
  outline: none;
  border-color: #007bff;
  box-shadow: 0 0 0 2px rgba(0, 123, 255, 0.25);
}

.filter-input:hover {
  border-color: #adb5bd;
}

.filter-input::placeholder {
  color: #6c757d;
  font-size: 0.875rem;
}

/* Estilos mejorados para botones de filtros */
.filter-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #e0e0e0;
}

.apply-filters,
.clear-filters {
  padding: 0.75rem 1rem;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.apply-filters {
  background: #0779e4;
  color: white;
  box-shadow: 0 2px 8px rgba(7, 121, 228, 0.2);
}

.apply-filters:hover {
  background: #0056b3;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(7, 121, 228, 0.3);
}

.apply-filters:active {
  transform: translateY(0);
}

.clear-filters {
  background: #dc3545;
  color: white;
  box-shadow: 0 2px 8px rgba(220, 53, 69, 0.2);
}

.clear-filters:hover {
  background: #c82333;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.clear-filters:active {
  transform: translateY(0);
}

/* Botón de cerrar filtros mejorado */
.close-filters-btn {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: #dc3545;
  color: white;
  border: none;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(220, 53, 69, 0.3);
  z-index: inherit;
}

.close-filters-btn:hover {
  background: #c82333;
  transform: scale(1.1);
  box-shadow: 0 3px 8px rgba(220, 53, 69, 0.4);
}

/* Responsive para el sidebar */
@media (max-width: 991px) {
  .filters-sidebar {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 80%;
    max-width: 80%;
    height: 100vh;
    background: #ffffffda;
    z-index: 1000;
    transform: translateX(-100%);
    border-radius: 0;
    border: none;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    flex-direction: column;
  }

  .filters-sidebar.active {
    display: flex;
    transform: translateX(0);
  }

  .close-filters-btn {
    display: flex;
  }

  /* Contenido scrolleable */
  .filters-sidebar {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
  }

  .filters-sidebar h3 {
    margin: 0;
    padding: 1.5rem 1.5rem 0 1.5rem;
    border-bottom: 2px solid #0779e4;
    padding-bottom: 0.75rem;
    font-size: 1.3rem;
    color: #333;
    font-weight: 600;
    flex-shrink: 0;
  }

  .filters-sidebar form {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
  }

  .filters-content {
    flex: 1;
    overflow-y: auto;
    padding: 1.5rem;
    padding-bottom: 6rem; /* Espacio para botones fijos */
  }

  .filter-buttons {
    position: fixed;
    bottom: 0px;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 1rem 1.5rem;
    border-top: 2px solid #0779e4;
    margin: 0;
    z-index: 1001;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    gap: 1rem;
    justify-content: center;
  }

  .filter-buttons .apply-filters,
  .filter-buttons .clear-filters {
    flex: 1;
    max-width: 150px;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
  }

  .filter-buttons .apply-filters {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
  }

  .filter-buttons .apply-filters:hover {
    background: linear-gradient(135deg, #20c997, #17a2b8);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
  }

  .filter-buttons .clear-filters {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: white;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
  }

  .filter-buttons .clear-filters:hover {
    background: linear-gradient(135deg, #c82333, #bd2130);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
  }

  /* Mostrar botones cuando el sidebar está abierto */
  .filter-buttons {
    display: none;
  }

  body.filters-open .filter-buttons {
    display: flex;
    flex-direction: row;
  }

  /* Ajustes para grupos de filtros con el nuevo ancho */
  .filter-group {
    margin-bottom: 1.5rem;
  }

  .filter-group h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
    color: #333;
    font-weight: 600;
  }

  .filter-select,
  .price-input {
    padding: 0.75rem;
    font-size: 0.95rem;
  }

  .price-range {
    gap: 0.75rem;
  }

  /* Mejoras para pantallas muy pequeñas */
  @media (max-width: 480px) {
    .filters-sidebar {
      width: 85%;
      max-width: 85%;
    }

    .filters-content {
      padding: 1.25rem;
      padding-bottom: 7rem; /* Espacio para botones fijos en móviles */
    }

    .filters-sidebar h3 {
      padding: 1.25rem 1.25rem 0 1.25rem;
      font-size: 1.2rem;
      flex-shrink: 0;
    }

    .filter-buttons {
      padding: 1rem 1.25rem;
      padding-bottom: calc(1rem + env(safe-area-inset-bottom));
    }

    .apply-filters,
    .clear-filters {
      padding: 0.875rem 1rem;
      font-size: 0.95rem;
    }
  }
}

@media (min-width: 992px) {
  .filters-sidebar {
    transform: none;
    opacity: 1;
    width: 22%;
    max-width: 260px;
    margin: 0;
    margin-right: 2%;
    position: static;
    height: auto;
    overflow-y: visible;
  }

  .close-filters-btn {
    display: none;
  }

  .main-content {
    flex: 1;
    max-width: 76%;
  }

  .garaje-container {
    flex-direction: row;
  }
}

/* Mejoras para pantallas grandes */
@media (min-width: 1200px) {
  .filters-sidebar {
    max-width: 280px;
    padding: 1rem;
  }

  .filter-group h4 {
    font-size: 0.95rem;
  }

  .filter-select {
    padding: 0.7rem 0.875rem;
    font-size: 0.95rem;
  }
}

/* Animaciones para los filtros */
@keyframes slideIn {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(-100%);
    opacity: 0;
  }
}

.filters-sidebar.active {
  animation: slideIn 0.3s ease-out;
}

/* Estilos para el overlay cuando el filtro está abierto en móvil */
body.filters-open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0%;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  backdrop-filter: blur(2px);
}

/* Mejoras para el botón de toggle de filtros */
.filter-toggle-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(135deg, #0779e4, #0056b3);
  color: white;
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  font-size: 24px;
  cursor: pointer;
  z-index: 1001;
  box-shadow: 0 4px 20px rgba(7, 121, 228, 0.4);
  transition: all 0.3s ease;
}

.filter-toggle-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 25px rgba(7, 121, 228, 0.5);
}

.filter-toggle-btn:active {
  transform: scale(0.95);
}

@media (min-width: 992px) {
  .filter-toggle-btn {
    display: none;
  }
}

.filtros-activos-alerta {
  display: block;
  background-color: #fff3cd;
  border: 1px solid #ffeeba;
  color: #856404;
  padding: 0.5rem 1rem;
  margin-bottom: 1rem;
  border-radius: 0.25rem;
  text-align: center;
  font-size: 0.9rem;
}

.filtros-activos-alerta p {
  margin-bottom: 0.5rem;
}

.clear-filters-btn {
  background-color: #856404;
  color: white;
  border: none;
  padding: 0.3rem 0.6rem;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 0.8rem;
}

.clear-filters-btn:hover {
  background-color: #6a5003;
}


@media (max-width: 480px) {
  .search-container {
    max-width: 100%;
  }

  .search-input,
  .search-button {
    font-size: 0.8rem;
  }

  .filter-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    min-height: 36px;
  }
}

/* Estilos específicos para móviles */
@media (max-width: 767px) {
  .quick-filters {
    gap: 0.4rem;
    margin-top: 0.4rem;
  }

  .filter-pill {
    padding: 0.5rem 0.9rem;
    font-size: 0.85rem;
    min-height: 38px;
  }
}

@media (max-width: 480px) {
  .quick-filters {
    gap: 0.3rem;
  }

  .filter-pill {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    min-height: 36px;
  }
}

.page-title {
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  color: #333;
  margin: 0.5rem 0 1rem;
  padding: 0 1rem;
}

@media (max-width: 768px) {
  .page-title {
    font-size: 1.5rem;
  }
}

.car-card {
  position: relative;
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.car-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.car-actions {
  position: absolute;
  bottom: 10px;
  right: 10px;
  display: flex;
  gap: 8px;
}

.action-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
  border-radius: 50%;
  transition: transform 0.2s ease;
}

.action-btn:hover {
  transform: scale(1.1);
}

.action-btn svg {
  width: 20px;
  height: 20px;
  stroke: #666;
  transition: stroke 0.3s ease, fill 0.3s ease;
}

.like-btn:hover svg,
.like-btn.active svg {
  fill: #ff6b6b;
  stroke: #ff6b6b;
}

.favorite-btn:hover svg,
.favorite-btn.active svg {
  fill: #feca57;
  stroke: #feca57;
}

.share-btn:hover svg {
  stroke: #54a0ff;
}

.car-info {
  padding-bottom: 40px;
}

.price {
  font-weight: 700;
  color: #007bff;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

.car-card img {
  transition: opacity 0.3s ease;
}

.car-card:hover img {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .car-actions {
    bottom: 5px;
    right: 5px;
  }

  .action-btn svg {
    width: 18px;
    height: 18px;
  }

  .car-info {
    padding-bottom: 35px;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.action-btn:active {
  animation: pulse 0.3s ease-in-out;
}

/* Modal styles */
.modal {
  display: flex;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal.show {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background-color: #fefefe;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.modal.show .modal-content {
  transform: scale(1);
  opacity: 1;
}

.close,
.close-modal {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close:hover,
.close:focus,
.close-modal:hover,
.close-modal:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal h2 {
  margin-top: 0;
  color: #333;
}

.modal p {
  margin-bottom: 20px;
  color: #666;
}

.modal-buttons {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.3s ease;
}

.btn-primary {
  background-color: #0779e4;
  color: white;
}

.btn-primary:hover {
  background-color: #0056b3;
}

.btn-secondary {
  background-color: #6c757d;
  color: white;
}

.btn-secondary:hover {
  background-color: #5a6268;
}

@media (max-width: 768px) {
  .modal-content {
    width: 90%;
    margin: 20% auto;
  }

  .modal-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    margin-bottom: 10px;
  }
}

/* Estilos para el grid de vehículos */
.vehicles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  justify-content: center;
  width: 100%;
}

@media (max-width: 767px) {
  .vehicles-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }

  .search-section {
    width: 95%;
    padding: 0.8rem;
  }

  .page-title {
    font-size: 1.5rem;
  }
}

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

@media (min-width: 480px) {
  .vehicles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) {
  .vehicles-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

@media (min-width: 1024px) {
  .vehicles-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  }
}

@media (min-width: 1200px) {
  .vehicles-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (min-width: 1500px) {
  .vehicles-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

/* Estilos para las tarjetas de vehículos */
.car-card {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100%;
}

.car-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.car-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  padding: 0.3rem 0.5rem;
  background-color: #28a745;
  color: white;
  border-radius: 0.5rem;
  z-index: 1;
  font-size: 0.7rem;
}

.car-badge.used {
  background-color: #ffc107;
}

.car-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

@media (max-width: 767px) {
  .car-card img {
    height: 180px;
  }
}

@media (min-width: 768px) {
  .car-card img {
    height: 160px;
  }
}

@media (min-width: 1024px) {
  .car-card img {
    height: 180px;
  }
}

.car-info {
  padding: 0.7rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  padding-bottom: 40px;
}

.car-info h3 {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  line-height: 1.2;
  text-align: center;
}

@media (min-width: 768px) {
  .car-info h3 {
    font-size: 1.1rem;
  }
}

@media (min-width: 1024px) {
  .car-info h3 {
    font-size: 1.2rem;
  }
}

.car-details {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  color: #666;
  justify-content: center;
}

.car-details span {
  background-color: #f0f0f0;
  padding: 0.2rem 0.3rem;
  border-radius: 8px;
  display: inline-block;
  font-size: 0.5rem;
  font-weight: bold;
  color: #000000;
}

@media (min-width: 768px) {
  .car-details span {
    font-size: 0.8rem;
  }
}

.price {
  font-size: 1.2rem;
  font-weight: 700;
  color: #007bff;
  margin-top: auto;
  text-align: center;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.1);
}

@media (min-width: 768px) {
  .price {
    font-size: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .price {
    font-size: 1.4rem;
  }
}

/* Estilos para paginación */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pagination-btn,
.page-number {
  padding: 0.4rem 0.8rem;
  background-color: #f8f9fa;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.pagination-btn:hover,
.page-number:hover {
  background-color: #e9ecef;
  transform: translateY(-1px);
}

.page-number.active {
  background-color: #0779e4;
  color: white;
  border-color: #0779e4;
}

/* Estilos para el overlay y body cuando filtros están abiertos */
body.filters-open {
  overflow: hidden;
}

body.filters-open .filter-toggle-btn {
  opacity: 0;
  pointer-events: none;
}

/* Mejoras para pantallas grandes */
@media (min-width: 1500px) {
  .garaje-container {
    max-width: 1400px;
  }
}

