/*  ACCESORIOS   */
/*!
 * Base Bootstrap 
 * Componente Nombre: ACCESORIOS VEHICULOS
 * Autor: DIVIT
 * Copyright: DIVIT
 */

/*  ACCESORIOS - INDICE  */

/*  00. general - #accesorios_vehiculos                       */
/*  01. accesorios-modelo--title                              */
/*  02. accesorios-modelo--image                              */
/*  03. accesorios-modelo--boton                              */
/*  04. accesorios-arrow .owl-nav                             */
/*                                                            */
/*  30. RESPONSIVE                                            */


/* 00. general  
--------------------------------------------------------------*/
#accesorios_vehiculos .accesorio--title {
  padding: 8px 20px 8px 10px;
  color: black;
  text-align: center;
}

#accesorios_vehiculos .accesorio--title span {
  color: black;
}

.main-accesorios-carousel .owl-dots {
  text-align: center;
}

.main-accesorios-carousel button.owl-dot {
  display: inline-flex;
  border: 7px solid #00000057 !important;
  margin: 10px;
  border-radius: 50px;
}

.main-accesorios-carousel button.owl-dot.active:focus {
  outline: none;
}

.main-accesorios-carousel button.owl-dot.active {
  border: 9px solid black !important;
  text-decoration: none;
  border-radius: 50px;
}

.main-accesorios-carousel .owl-item {
  padding: 25px 20px;
}

.owl-theme .owl-controls .owl-buttons div {
  color: white;
  background-color: #FE1430;
  opacity: 0.5;
  height: 25px;
  border-radius: 0;
}


.main-accesorios-carousel .owl-dots.disabled,
.main-accesorios-carousel .owl-nav.disabled {
  display: block !important;
}

.main-accesorios-carousel .owl-next {
  right: -20px;
}

.main-accesorios-carousel .owl-prev {
  left: -20px;
}

.main-accesorios-carousel .owl-next,
.main-accesorios-carousel .owl-prev {
  position: absolute;
  top: 50%;
  cursor: pointer;
  width: 25px;
  height: 25px;
  z-index: 10;
}

.main-accesorios-carousel .owl-next {
  right: 0;
}

.main-accesorios-carousel .owl-prev {
  left: -7px;
}

.main-accesorios-carousel .slick-arrow:before {
  font-size: 30px;
}

.main-accesorios-carousel .slick-next:before,
.main-accesorios-carousel .slick-prev:before {
  font-size: 24px;
  line-height: 1;
  opacity: 1;
  font-weight: bold;
  color: #fff;
  position: relative;
  top: -4px;
  left: -6px;
}

.main-accesorios-carousel .accesorio-modelo .accesorio-modelo--title {
  color: black;
  font-size: 16px;
  min-height: 35px;
  line-height: 120%;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  /* number of lines to show */
  line-clamp: 2;
  -webkit-box-orient: vertical;
  margin-bottom: 8px;
}


/* 01. accesorio-modelo--title
--------------------------------------------------------------*/
#accesorios_vehiculos .accesorio--title {
  font-size: 1.4rem;
}


/* 02. accesorio-modelo--image
--------------------------------------------------------------*/
.main-accesorios-carousel .accesorio-modelo--image,
.main-accesorios-carousel .accesorio-modelo--image img {
  height: 9rem;
  margin: auto;
  object-fit: cover;
  margin-bottom: 0.5rem;
  width: 100%
}

.accesorio-modelo {
  text-align: center;
}


/* 03 .accesorio-modelo--boton
--------------------------------------------------------------*/
.accesorio-modelo--boton .fa-2x {
  font-size: 1.5em;
}

.accesorio-modelo--boton a {
  background-color: #fff !important;
  border: 2px solid #556a7b;
  border-radius: 20px !important;
  color: #556a7b !important;
  cursor: pointer;
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 10px auto;
  padding: 6px 10px;
  text-align: center;
  text-decoration: none;
  width: 91% !important;
}

.accesorio-modelo--boton a:hover {
  background-color: #556a7b !important;
  color: white !important;
}


/* 04. accesorios-arrow .owl-nav
--------------------------------------------------------------*/
.main-accesorios-carousel .slick-next.slick-arrow,
.main-accesorios-carousel .slick-prev.slick-arrow,
.main-accesorios-carousel button.owl-dot {
  z-index: 998;
  border: 2px solid #e21017;
  border-radius: 5px;
  font-size: 0px;
  position: absolute;
  top: 50%;
  height: 32px !important;
  width: 32px !important;
  background-size: 70% 70% !important;
  display: inline-block;
  background: transparent no-repeat center center;
}

.main-accesorios-carousel .slick-next.slick-arrow {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60' version='1.1'%3E%3Cpolyline points='10 10 30 30 10 50' stroke='rgba(235, 100, 40, 1)' stroke-width='4' stroke-linecap='butt' fill='none' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  right: -30px !important;
  left: auto !important;
}

.main-accesorios-carousel .slick-prev.slick-arrow {
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='60' version='1.1'%3E%3Cpolyline points='30 10 10 30 30 50' stroke='rgba(235, 100, 40, 1)' stroke-width='4' stroke-linecap='butt' fill='none' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  right: auto !important;
  left: -30px !important;
}

.main-accesorios-carousel.no-carousel {
  justify-content: center !important;
  display: flex !important;
}

.main-accesorios-carousel.no-carousel .owl-nav.disabled {
  display: none !important;
}


/*  RESPONSIVE */
/* - - - - - - - - - - - - - - - - - - - - - - - - */

/* MOBILE */
@media (max-width: 768px) {

  #accesorios_vehiculos .accesorio--title {
    background-position-x: -120px;
    text-align: center !important;
    padding: 5% 10%
  }


  .main-accesorios-carousel.no-carousel .owl-nav.disabled {
    display: block !important;
  }

  .main-accesorios-carousel .owl-next {
    right: 10px !important;
  }

  .main-accesorios-carousel .owl-prev {
    left: 5px !important;
  }

}

/*  Fin - Responsive */
/* - - - - - - - - - - - - - - - - - - - - - - - - */

/* the slides */
.main-accesorios-carousel .slick-slide {
  margin: 0px;
}

/* the parent */
.main-accesorios-carousel .slick-list {
  margin: 0 -27px;
  height: auto !important;
}

.main-accesorios-carousel .slick-list.draggable {
  padding: 1rem !important;
}


/* 05. Panel de Filtros
--------------------------------------------------------------*/
.accesorios-filter-panel {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  border: 1px solid #e9ecef;
  overflow: hidden;
}

.accesorios-filter-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid #e9ecef;
}

.accesorios-filter-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
}

.accesorios-filter-title i {
  margin-right: 8px;
  color: #556a7b;
}

.accesorios-clear-btn {
  font-size: 13px;
  color: #dc3545;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.accesorios-clear-btn:hover {
  color: #a71d2a;
  text-decoration: none;
}

.accesorios-clear-btn i {
  margin-left: 4px;
  font-size: 11px;
}

.accesorios-filter-body {
  padding: 20px;
}

.accesorios-search-wrapper {
  position: relative;
  margin-bottom: 16px;
}

.accesorios-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #999;
  font-size: 14px;
  pointer-events: none;
}

.accesorios-search-input {
  width: 100%;
  padding: 10px 12px 10px 36px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #f8f9fa;
  transition: border-color 0.2s ease, background 0.2s ease;
  outline: none;
  box-sizing: border-box;
}

.accesorios-search-input:focus {
  border-color: #556a7b;
  background: #fff;
}

.accesorios-search-input::placeholder {
  color: #aaa;
  font-size: 13px;
}

.accesorios-filter-group {
  margin-top: 8px;
}

.accesorios-filter-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #555;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.accesorios-model-select {
  width: 100% !important;
  padding: 10px 12px;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  font-size: 14px;
  color: #333;
  background: #f8f9fa;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
  appearance: auto;
  box-sizing: border-box;
}

.accesorios-model-select:focus {
  border-color: #556a7b;
  background: #fff;
}


/* 06. Contador de Resultados
--------------------------------------------------------------*/
.accesorios-resultado-contador {
  font-size: 15px;
  font-weight: 600;
  color: #556a7b;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #e9ecef;
}


/* 07. Loading / Spinner
--------------------------------------------------------------*/
.accesorios-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  color: #6c757d;
  font-size: 15px;
  font-weight: 500;
}

.accesorios-spinner {
  width: 36px;
  height: 36px;
  border: 3px solid #e9ecef;
  border-top-color: #556a7b;
  border-radius: 50%;
  animation: accesoriosSpin 0.8s linear infinite;
  margin-bottom: 12px;
}

@keyframes accesoriosSpin {
  to {
    transform: rotate(360deg);
  }
}


/* 08. Sin Resultados
--------------------------------------------------------------*/
.accesorios-ningun-resultados {
  text-align: center;
  padding: 50px 20px;
}

.accesorios-ningun-resultados h3 {
  font-size: 1.2rem;
  color: #333;
  margin-bottom: 8px;
}

.accesorios-ningun-resultados p {
  font-size: 14px;
}


/* 09. Responsive - Filtros
--------------------------------------------------------------*/
@media (max-width: 767px) {

  .accesorios-filter-panel {
    margin-bottom: 20px;
  }

  .accesorios-filter-header {
    padding: 14px 16px;
  }

  .accesorios-filter-body {
    padding: 16px;
  }

  .accesorios-resultado-contador {
    text-align: center;
  }
}