/* ---------------------------------------------------------------------- */
/* BASE */
/* ---------------------------------------------------------------------- */
body{
  background: linear-gradient(180deg, var(--page-bg-top) 0%, var(--page-bg-middle) 40%, var(--page-bg-bottom) 100%);
  background-image:
    radial-gradient(circle at top, var(--page-bg-radial-overlay), transparent 60%),
    repeating-linear-gradient(
      45deg,
      var(--page-bg-line-overlay),
      var(--page-bg-line-overlay) 1px,
      transparent 1px,
      transparent 6px
    );
  color: var(--text-main);
}

header {
  margin-bottom: 0;
}
footer {
  margin-top: 0;
}

a {
  color: var(--text-white);
}

h1, h2, h3, h4 {
  color: var(--ficha-heading-color);
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

h1, h2 {
  border-left: 0;
  font-size: 1.7em;
  line-height: 0.9em;
  margin: 0 0 20px 0;
  padding: 0 0 0 5px;
}

p {
  color: var(--text-body);
  font-weight: 400;
  text-align: justify;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.6;
  margin-bottom: 10px;
}

.vendedor{
  font-size: 13px;
  color: var(--brand-primary);
  letter-spacing: 0.02em;
}

#car {
  margin-top:20px;	
}

/* ---------------------------------------------------------------------- */
/* IMAGE CONTAINER */
/* ---------------------------------------------------------------------- */
.image-container {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
}

.image-container img {
  width: 100% !important;
  height: auto !important;
}

/* ---------------------------------------------------------------------- */
/* LAYOUT */
/* ---------------------------------------------------------------------- */
.sticky { 
  position: sticky;
  top: 0;
}

/* ---------------------------------------------------------------------- */
/* IMAGENES */
/* ---------------------------------------------------------------------- */
.img-fullmotor{
  border: 2px solid var(--surface-border-image);
  border-radius: 10px;
  box-shadow: var(--shadow-card);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.img-fullmotor:hover {
  border-color: var(--brand-primary-strong);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.img-fullmotor:hover img{
  transform: scale(1.03);
}

.imagen-principal{
  transition: transform .25s ease;
  transform: scale(1);
}

.celdaauto:hover .imagen-principal{
  transform: translateY(-4px) scale(1.03);
}

/* ---------------------------------------------------------------------- */
/* TITULOS / FICHA */
/* ---------------------------------------------------------------------- */
.encabezado-ficha a {
  color: var(--text-white);
  font-family: 'Oswald', sans-serif;
  font-weight: 400;
}

.pagetitle {
  height: 140px;
}

.pagetitle h1 {
  margin: 0 0 10px 0;
  color: var(--ficha-title-color);
  font-size: 2.2em;
  height: 35px;
  line-height: 35px;
  overflow: hidden;
  text-shadow: 2px 1px 3px rgba(0, 0, 0, 0.3);
}

.pagetitle h2 {
  margin: 0 0 10px 0;
  color: var(--ficha-title-color);
  font-size: 1.5em;
  line-height: 25px;
}

.pagetitle h4 {
  font-weight: 400;
  font-size: 1.1em;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 5px 0 0 0;
  color: var(--ficha-meta-color);
}

.subtitulo {
  font-size: 21px;
  position: relative;
  display: inline-block;
  padding-bottom: 8px;
  margin-bottom: 20px;
}

.subtitulo::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 60px;
  height: 4px;
  background: var(--ficha-subtitle-accent);
  border-radius: 2px;
}

/* ---------------------------------------------------------------------- */
/* ANIMACIONES */
/* ---------------------------------------------------------------------- */
.reveal h1,
.reveal h2,
.reveal h4,
.reveal .price,
.reveal .bono,
.reveal .leyenda-bono {
  opacity: 0;
  transform: translateY(12px);
  animation: revealUp .6s ease-out forwards;
}

.reveal .r1{ animation-delay: .05s; }
.reveal .r2{ animation-delay: .15s; }
.reveal .r3{ animation-delay: .25s; }
.reveal .r4{ animation-delay: .35s; }

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

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

/* ---------------------------------------------------------------------- */
/* FORMULARIOS */
/* ---------------------------------------------------------------------- */
label {
  height: 20px;
  margin-bottom: 0;
  margin-left: 5px;
}

form label {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-label);
}

form .form-group {
  position: relative;
}

form .form-group input {
  padding: 12px 0 12px 50px;
  margin-bottom: 15px;
  outline: none;
}

form .form-group:focus-within i {
  transform: scale(1.1);
}

form .form-group i {
  position: absolute;
  margin-left: 20px;
  top: 14px;
  font-size: 20px;
  color: var(--ficha-form-icon-color);
}

form .form-control {
  border-radius: 12px;
  height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--field-border);
  background: rgba(255, 255, 255, .92);
  color: var(--text-field);
  outline: none;
}

.form-control:focus{
  border-color: var(--field-focus-border);
  box-shadow: 0 0 0 4px var(--field-focus-shadow);
}

.form-contacto {
  background:
    radial-gradient(1200px 420px at 50% 0%,
      var(--ficha-form-bg-top) 0%,
      var(--ficha-form-bg-mid) 40%,
      var(--ficha-form-bg-end) 70%),
    linear-gradient(180deg, var(--ficha-form-bg-dark-top) 0%, var(--ficha-form-bg-dark-bottom) 100%);
}

.form-contacto h4.subtitulo{
  color: var(--text-white);
}

.group-options .form-group .form-control {
  height: 30px;
  padding: 3px 12px;
}

/* ---------------------------------------------------------------------- */
/* BOTONES */
/* ---------------------------------------------------------------------- */
.btn.red {
  font-family: 'Inter', sans-serif;
  color: var(--btn-primary-text);
  border: 0;
  border-radius: 14px;
  background: linear-gradient(var(--btn-primary-bg-top), var(--btn-primary-bg-bottom));
  box-shadow: var(--shadow-card);
  font-weight: 600;
  letter-spacing: .02em;
  min-width: 200px;
  min-height: 40px;
}

.btn.red:hover {
  background: linear-gradient(var(--btn-primary-bg-hover-top), var(--btn-primary-bg-hover-bottom));
  box-shadow: var(--shadow-button-hover);
  color: var(--btn-primary-text);
}

.btn.red .spinner {
  animation: spin .7s linear infinite;
}

.cform .btn.red {
  background: linear-gradient(var(--btn-alt-bg-top), var(--btn-alt-bg-bottom));
}

.cform .btn.red:hover {
  background: linear-gradient(var(--btn-alt-bg-hover-top), var(--btn-alt-bg-hover-bottom));
  color: var(--text-white);
}

.btn.wsp {
  font-family: 'Inter', sans-serif;
  color: var(--btn-whatsapp-text);
  border: 0;
  border-radius: 14px;
  background: linear-gradient(var(--btn-whatsapp-bg-top), var(--btn-whatsapp-bg-bottom));
  box-shadow: var(--shadow-card);
  font-weight: 600;
  letter-spacing: .02em;
}

.btn.wsp:hover {
  background: linear-gradient(var(--btn-whatsapp-bg-hover-top), var(--btn-whatsapp-bg-hover-bottom));
  box-shadow: var(--shadow-button-hover);
  color: var(--text-white);
}

/* ---------------------------------------------------------------------- */
/* TABS / CONTENIDO */
/* ---------------------------------------------------------------------- */
.tab-equipamiento {
  padding-right: 0;
}

.tab-content {
  padding: 0;
  background: none;
}

.tab-content.alt {
  background: var(--ficha-tab-content-bg);
  border: 1px solid var(--ficha-tab-content-border);
  box-shadow: var(--shadow-card);
}

.nav-tabs > li > a {
  font-family: 'Oswald', sans-serif;
  background: var(--ficha-tabs-bg);
  border: 1px solid var(--surface-border-tab);
  color: var(--ficha-tabs-text);
  margin-right: 3px;
  border-radius: 10px 10px 0 0;
}

.nav-tabs.alt > li > a:hover {
  background: var(--ficha-tabs-hover-bg);
  color: var(--ficha-tabs-text);
}

.nav-tabs.alt > li.active > a,
.nav-tabs.alt > li.active > a:hover {
  background: var(--ficha-tabs-active-bg);
  color: var(--ficha-tabs-text);
  border-radius: 8px 8px 0 0;
}

.list-group .list-group-item {
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--ficha-list-text);
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  width: 25%;
}

.list-group .list-group-item.premium{
  color: var(--ficha-list-premium);
  font-weight: 600;
}

.icon-check:before{
  color: var(--ficha-check-color);
}

blockquote {
  background: var(--ficha-blockquote-bg);
  border-left: 3px double var(--ficha-blockquote-border);
  color: var(--ficha-blockquote-text);
}

/* ---------------------------------------------------------------------- */
/* REDES / PRECIO / LATERAL */
/* ---------------------------------------------------------------------- */
.Redes_Sociales {
  margin: 15px 0 10px 5px;
}

.Redes_Sociales.textlabel {
  width: 100%;
  margin-bottom: -13px;
  font-size: 12px;
}

.Redes_Sociales a img {
  width: 25px !important;
}

.tags.price {
  color: var(--ficha-price-text);
  background: transparent;
  float: left;
  font-family: 'Oswald', sans-serif;
  font-size: 2.2em;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0;
  text-align: center;
  width: 100%;
  text-shadow: 2px 1px 3px rgba(0, 0, 0, 0.3);
}

.tags.price span {
  border: 0;
}

.tags.price.tachado {
  text-decoration: line-through;
  color: var(--ficha-price-old-text);
  background: transparent;
  box-shadow: none;
  font-size: 18px;
  width: 100%;
  margin: 0;
}

.tags.price.tachado span {
  border: 0;
}

.tags.bono {
  font-size: 2.2em;
  font-weight: 600;
  height: 30px;
  line-height: 15px;
  padding: 0 10px;
  position: relative;
  float: left;
  text-align: center;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.04em;
  color: var(--ficha-bono-text);
  width: 100%;
  margin: 0;
}

.tags.bono span {
  margin: 0;
}

.leyenda-bono {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  text-align: center;
  color: var(--ficha-bono-legend);
}

.lateral-ficha {
  background-color: var(--ficha-lateral-bg);
  border-radius: 10px;
  color: var(--ficha-lateral-text);
  padding: 5px 20px 30px 20px;
  box-shadow: var(--shadow-card);
  margin: 0 0 20px 0;
}

.lateral-ficha .btn.red,
.lateral-ficha .btn.wsp {
  width: 100%;
}

.lateral-ficha.contab {
  margin-top: 78px;
}

.lateral-ficha a {
  color: var(--text-black);
  font-weight: 100;
}
.lateral-ficha a:hover {
  color: var(--brand-primary-strong);
  font-weight: 100;
}
.lateral-ficha .glyphicon {
    color: var(--brand-primary-strong);
}

.box-precio {
  border-radius: 10px;
  height: 100px;
  margin-bottom: 40px;
  padding: 0 20px;
  box-shadow: var(--shadow-card);
  background: linear-gradient(var(--ficha-pricebox-bg-top), var(--ficha-pricebox-bg-bottom));
  border-left: 4px solid var(--ficha-subtitle-accent);
}

.box-precio.sin-bono {
  padding-top: 27px;
}

.box-precio-movil {
  border-radius: 10px;
  padding: 0 12px;
  box-shadow: var(--shadow-card);
  background: linear-gradient(var(--ficha-pricebox-bg-top), var(--ficha-pricebox-bg-bottom));
  border-left: 4px solid var(--ficha-subtitle-accent);
  height: 42px;
  margin-top: 22px;
  font-size: 0.7em;
  margin-right: 0;
  margin-left: -15px;
  margin-bottom: 25px;
  display: none;
}

.con-bono-movil {
  height: 100px;
}

/* ---------------------------------------------------------------------- */
/* SIMILARES */
/* ---------------------------------------------------------------------- */
#similares {
  padding: 34px 15px;
  background:
    radial-gradient(1200px 420px at 50% 0%, var(--similares-bg-top-overlay) 0%, var(--similares-bg-mid-overlay) 40%, var(--similares-bg-end-overlay) 70%),
    linear-gradient(180deg, var(--similares-bg-top) 0%, var(--similares-bg-bottom) 100%);
  border-top: 2px solid var(--similares-border-top);
}

#similares h4.subtitulo {
  color: var(--similares-title-color);
  display: inline-block;
  margin: 0 auto;
  text-align: center;
}

/* ---------------------------------------------------------------------- */
/* GRID AUTOS */
/* ---------------------------------------------------------------------- */
.grid {
  width: 100%;
}

.grid h1{
  color: var(--card-auto-title);
  font-family: 'Oswald', sans-serif;
  font-size: 22px;
  letter-spacing: .5px;
  font-weight: 700;
}

.grid h1 span{
  color: var(--card-auto-title-accent);
  font-size: 20px;
  font-weight: 400;
}

.grid .item-grid {
  width: 24%;
  height: auto;
  border: 0;
  border-radius: 6px;
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.grid .item-grid.fade-in {
  opacity: 1;
}

.celdaauto {
  background: var(--card-auto-bg);
  box-shadow: var(--shadow-card);
  width: 23.9%;
  height: auto;
}

.celdaauto:hover {
  box-shadow: var(--shadow-card-hover);
}

.virtual {
  position: absolute;
  z-index: 99;
  float: left;
  background: linear-gradient(180deg, var(--badge-virtual-top), var(--badge-virtual-bottom));
  padding: 5px 15px;
  border-radius: 15px;
  margin: 5px;
  text-align: center;
  font-size: 0.6em;
  color: var(--badge-virtual-text);
}

.nuevo {
  position: absolute;
  z-index: 99;
  float: right;
  background: linear-gradient(180deg, var(--badge-nuevo-top), var(--badge-nuevo-bottom));
  padding: 5px 15px;
  border-radius: 15px;
  margin: 5px;
  text-align: center;
  font-size: 0.6em;
  color: var(--badge-nuevo-text);
  right: 0;
}

.vendido {
  position: absolute;
  z-index: 99;
  float: right;
  background: linear-gradient(180deg, var(--badge-vendido-top), var(--badge-vendido-bottom));
  padding: 5px 15px;
  border-radius: 15px;
  margin: 5px;
  text-align: center;
  font-size: 0.6em;
  color: var(--badge-vendido-text);
  right: 0;
}

.grid .item-grid .ribbon2 {
  z-index: 100;
}

.caracteristicas {
  background: #00000063;
  width:100%;
  position: absolute;
  z-index: 99;
  left: 0;
  bottom: 69px;
}

.automatico,
.diesel,
.hibrido,
.electrico,
.x4x4,
.blindado {
  position: relative;
  z-index: 99;
  float: left;
  margin: 5px;
  text-align: center;
  font-size: 0.6em;
  color: var(--badge-atributo-text);
  background: linear-gradient(180deg, var(--badge-atributo-top), var(--badge-atributo-bottom));
  border-radius: 999px;
  padding: 3px 12px;
  font-weight: 600;
  box-shadow: var(--shadow-pill);
}

.grid .item-grid .ribbon2 {
    background-color: transparent;
}

.grid .item-grid .at {
  top: auto;
  left: auto;
  right: 0;
  bottom: 69px;
}

.grid .item-grid .at img {
  height: 30px !important;
  width: 30px !important;
  border-radius: 50%;
  padding: 2px;
}

.grid .item-grid .at img:hover {
  transform: scale(1.1);
}

.nube {
  color: var(--text-link-muted);
}

.nube:hover {
  color: var(--brand-primary-strong);
}

/* ---------------------------------------------------------------------- */
/* CARRUSEL */
/* ---------------------------------------------------------------------- */
.m-scooch {
  border-radius: 0 0 20px 20px;
  box-shadow: var(--shadow-card);
  background: var(--carousel-bg);
}

.m-scooch-inner {
  background: var(--carousel-bg);
}

.m-scooch .m-item {
  vertical-align: middle;
}

.m-scooch-hud a {
  background: transparent;
  height: 70px;
  margin: -47px 0 0 0;
}

.m-scooch-hud a:after {
  color: var(--carousel-arrow);
  content: "❮";
  font-size: 50px;
}

.m-scooch-hud .m-scooch-next:after {
  content: "❯";
}

.glyphicon {
  color: var(--text-white);
}

/* ---------------------------------------------------------------------- */
/* RESPONSIVE */
/* ---------------------------------------------------------------------- */
@media (min-width: 1500px) {
  .container { width: 1470px; }
}

@media (min-width: 1400px) {
  .container { width: 1370px; }
}

@media (min-width: 1300px) {
  .container { width: 1270px; }
}

@media handheld, only screen and (min-width: 992px) {
  .form-search .group-options .form-group.select {
    width: 23%;
  }
}

@media handheld, only screen and (min-width: 768px) {
  .form-search .group-options .form-group.select {
    width: 22%;
  }
}

@media handheld, only screen and (max-width: 1300px) {
  .grid .item-grid { width: 23.5%; }
}

@media handheld, only screen and (max-width: 1200px) {
  .sticky { position: relative; }
  .grid .item-grid { width: 23%; }
  .celdaauto { width: 23.7%; }
}

@media handheld, only screen and (max-width: 992px) {
  .grid .item-grid { width: 48%; }
  .celdaauto { width: 48.3%; }
  .grid .item-grid .more { background: transparent; }
  .list-group .list-group-item { width: 50%; }

  .box-precio {
    height: 100px;
    margin-bottom: 20px;
    margin-top: 100px;
    display: none;
  }

  .box-precio.sin-bono {
    padding-top: 10px;
  }

  .box-precio-movil {
    display: block;
  }
}

@media handheld, only screen and (max-width: 768px) {
  .grid .item-grid { width: 46%; }
  .celdaauto { width: 47.5%; }

  header .topbar #topmenu {
    padding: 2px 0;
  }

  .navbar-nav {
    text-align: right;
    margin-right: 15px;
  }
}

@media handheld, only screen and (max-width: 600px) {
  .grid .item-grid { width: 97%; }
  .celdaauto {
    width: 97%;
    margin: 15px 0;
  }

  .grid .item-grid .more {
    background: transparent;
  }

  .tab-equipamiento {
    padding-right: 15px;
  }

  .nav-tabs {
    font-size: 11px;
  }

  .pagetitle {
    height: auto;
    margin-bottom: 20px;
  }

  .pagetitle h1 {
    height: auto;
    font-size: 1.8em;
  }

  .list-group .list-group-item {
    width: 100%;
  }
}

@media handheld, only screen and (max-width: 500px) {
  .celdaauto {
    width: 100%;
    margin: 15px 0;
  }
}

@media handheld, only screen and (max-width: 400px) {
  .grid .item-grid .more {
    background: transparent;
  }

  .bannercontainer {
    display: none;
  }
}