/*
Theme Name: Caronte Bootstrap Starter Child
Template: wp-bootstrap-starter
Author: Caronte Web Studio
Author URI: https://carontestudio.com/
Version: 3.3.3.01.1599556100
Updated: 2020-09-08 09:08:20

*/

/* General */

/*------General------*/
:root {
  --gas-primary: #000000;
  --gas-blanco: #ffffff;
  --gas-secundario: #6e6e6e;
  --gas-terciario: #f5f5f5;
  --gas-CTA: #ee0000;
/*  --gas-CTA-dark: #af0000;*/
  --gas-CTA-dark: #ee0000;
}

@font-face {
  font-family: "ABeeZee";
  src: url(assets/fonts/ABeeZee-Regular.woff2);
  font-weight: 400;
}

@font-face {
  font-family: "Roboto";
  src: url(assets/fonts/Roboto-Light.woff2);
  font-weight: 400;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url(assets/fonts/RobotoCondensed-Regular.woff2);
  font-weight: 400;
}

@font-face {
  font-family: "Roboto Condensed";
  src: url(assets/fonts/RobotoCondensed-BoldItalic.woff2);
  font-weight: 700;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
}

#etiquetasingle {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  z-index: 99;
  filter: drop-shadow(2px 4px 6px black);
}

h1 {
  font-size: 3.7rem;
  font-weight: bold;
  margin-bottom: 3rem;
}

h2 {
  font-size: 2.6rem;
  font-weight: bold;
  margin-bottom: 2rem;
}

.h2 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  position: relative;
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.h2::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  height: 5px;
  background-color: var(--gas-CTA);
  width: 4rem;
}

.blur {
  filter: blur(5px);
  overflow: hidden;
}

.lead {
  font-size: 1.9rem !important;
  font-weight: normal;
  line-height: 32px;
}
.woocommerce-product-search button,
.aside-ofertas .bapf_button,
.btn-cta,
.nf-form-content input[type="button"] {
  background-color: var(--gas-CTA) !important;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  color: white !important;
  border-radius: 0 !important;
  border-color: transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
a {
  color: var(--gas-CTA);
}
.woocommerce #respond input#submit.alt:hover,
.woocommerce a.button.alt:hover,
.woocommerce button.button.alt:hover,
.woocommerce input.button.alt:hover {
  background-color: var(--gas-CTA-dark) !important;
}
.woocommerce-product-search button:hover,
.aside-ofertas .bapf_button:hover,
.btn-cta:hover,
.nf-form-content input[type="button"]:hover {
  background-color: var(--gas-CTA-dark) !important;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  color: white;
  border-radius: 0;
  border-color: transparent;
  text-decoration: none;
}

.woocommerce-product-search button,
.aside-ofertas .bapf_button {
  padding: 0.5rem 0.6rem !important;
}
.woocommerce-product-search button:hover,
.aside-ofertas .bapf_button:hover {
  padding: 0.5rem 0.6rem !important;
}
.woocommerce-product-search {
  display: flex;
}
.irs--round .irs-handle {
  border: 4px solid var(--gas-CTA);
}
.aside-ofertas .bapf_reset,
.btn-gas-primary,
.braapf_unselect_all {
  background-color: transparent !important;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  color: var(--gas-primary) !important;
  border-radius: 0;
  border-color: var(--gas-primary) !important;
  border-image: none;
  border-style: solid;
  border-width: 1.5px;
  text-decoration: none;
}
.aside-ofertas .bapf_reset:hover,
.btn-gas-primary:hover {
  background-color: var(--gas-terciario) !important;
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  color: var(--gas-primary) !important;
  border-radius: 0;
  border-color: var(--gas-primary) !important;
  border-image: none;
  border-style: solid;
  border-width: 1.5px;
  text-decoration: none;
}

.btn-gas-secondary {
  background-color: var(--gas-primary);
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  color: white;
  border-radius: 10px;
  border-color: transparent;
  text-decoration: none;
}

.btn-gas-tertiary {
  background-color: black;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  color: var(--gas-blanco);
  border-color: var(--gas-blanco);
  border-image: none;
  border-style: solid;
  border-width: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
}

.btn-gas-whatsapp {
  background-color: #25d366;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  color: var(--gas-blanco);
  border-color: #25d366;
  border-width: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  margin-left: 0.5rem;
}
.btn-gas-whatsapp:hover {
  opacity: 0.8;
}
.btn-gas-tertiary:hover {
  background-color: var(--gas-blanco);
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  color: var(--gas-primary);
  border-color: var(--gas-primary);
  border-image: none;
  border-style: solid;
  border-width: 1.5px;
  text-decoration: none;
}

/*------Header------*/
header#masthead {
  background-color: var(--gas-primary);
}

.navbar {
  background-color: transparent;
}

.navbar-brand a img {
  width: 100%;
  max-width: 200px;
  height: 5rem;
}

.page-template-t-inicio header#masthead {
  position: absolute;
  width: 100%;
  background-color: transparent;
  z-index: 999;
  box-shadow: none;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
  color: white;
  font-size: 1.3rem;
  font-family: "Roboto Condensed", sans-serif !important;
  font-weight: 700;
  transition: 0.3s ease-in-out;
  position: relative;
  z-index: 0;
  text-transform: uppercase;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a::after {
  position: absolute;
  content: "";
  left: 0;
  right: 0;
  bottom: 0;
  height: 0;
  width: 100%;
  transition: 0.3s ease-in-out;
  background-color: var(--gas-terciario);
  z-index: -1;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover {
  color: white;
  transition: 0.3s ease-in-out;
}

body:not(.theme-preset-active) #masthead .navbar-nav > li > a:hover::after {
  height: 0.2rem;
  transition: 0.3s ease-in-out;
}

.navbar-light .navbar-toggler-icon {
  filter: invert(1) brightness(1);
}

.menu-cart-icon {
  width: 1.5rem;
}

.menu-cart-icon path {
  fill: white;
}

.page-template-t-inicio #content.site-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.home .probox {
  height: 50px !important;
}

.home .innericon,
.home .promagnifier {
  width: 50px !important;
  height: 50px !important;
}

.home .proinput .orig {
  padding: 8px !important;
  font-size: 2rem !important;
  line-height: 2rem !important;
  height: auto !important;
}

.home #ajaxsearchpro1_1 .probox .proinput input.autocomplete {
  font-size: 2rem !important;
  line-height: 2rem !important;
  height: auto !important;
  margin-top: -42px !important;
}

.navbar-light .navbar-toggler {
  color: rgb(255 255 255 / 100%);
  border: #fff 2px solid;
}

.home #menuppal #main-nav {
  background-color: #000;
  padding: 2rem;
}

/*-----Home-hero-----*/
#home-hero {
  position: relative;
  height: 100vh;
  max-height: 60rem;
  align-items: center;
  display: flex;
  overflow: hidden;
}

#home-hero::before {
  position: absolute;
  background: url(assets/img/fondo-inicio.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  content: "";
  filter: brightness(0.5);
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  width: 100%;
}

#home-hero h1 {
  color: white;
}

#home-hero .hero-logo {
  max-width: 30rem;
}

/*-----Que buscas-----*/
#que-buscas {
  position: relative;
  background-color: var(--gas-secundario);
  justify-content: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

#que-buscas h2 {
  margin-top: 2.7rem;
}

#que-buscas .container {
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
  width: 75%;
  margin-top: -10rem;
  margin-right: auto;
  margin-left: auto;
  box-shadow:
    rgb(0 0 0 / 30%) 0px 19px 38px,
    rgb(0 0 0 / 22%) 0px 15px 12px;
}

#que-buscas figure {
  position: relative;
  margin: 0rem;
}

#que-buscas a {
  height: 100%;
  display: block;
}

#que-buscas figcaption {
  background-color: rgb(0 0 0 / 72%);
  color: white;
  text-decoration: none;
  text-align: center;
  position: absolute;
  bottom: 50%;
  transform: translateY(50%);
  left: 0;
  right: 0;
  display: block;
  width: 100%;
  font-size: 1.4rem;
  transition: 0.2s ease-in-out;
  text-transform: uppercase;
  padding-top: 1rem;
  padding-bottom: 0.5rem;
}

#que-buscas figure:hover figcaption {
  transform: translateY(20%);
  transition: 0.2s ease-in-out;
}

/*-----Marcas home-----*/
#marcas-home {
  padding-top: 3rem;
  padding-bottom: 3rem;
  overflow: hidden;
}

#marcas-carrusel p {
  font-size: 1.2rem;
  padding-top: 1rem;
  color: #212529;
}

.scroll-icon {
  width: 5rem;
  filter: opacity(0.5);
}

.crs {
  width: 100%;
  /* overflow-x: clip; */
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  scroll-snap-type: mandatory;
  /* Firefox */
  -webkit-scroll-snap-type: mandatory;
  /* Safari */
  -webkit-overflow-scrolling: touch;
  /* Safari */
  scroll-behavior: smooth;
}

.crs::-webkit-scrollbar {
  height: 20px;
}

.crs .itm {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  scroll-snap-align: center;
  scroll-snap-coordinate: 0% 0%;
  /* older (Firefox/IE) */
  -webkit-scroll-snap-coordinate: 0% 0%;
  /* older (Safari) */
  position: relative;
  min-width: 95%;
  min-height: 16rem;
  /*TODO: Como en Ipad no funciona "aspect ratio", especificar alturas mínimas con MQ para conservar propotción*/
  background-color: #ffffff;
  padding-right: 0rem;
  padding-left: 0rem;
  border-radius: 25px;
  box-shadow:
    rgb(0 0 0 / 15%) 0px 8px 13px,
    rgb(0 0 0 / 15%) 0px 5px 8px;
  margin: 2rem;
  text-align: center;
}

.crs .itm > a > img {
  max-width: 5rem;
  max-height: 5rem;
  display: block;
  margin: 0 auto;
}

.crs .itm p {
  font-size: 1.5rem;
  font-weight: 500;
}

/*-----Oportunidades-----*/
#oportunidades-home {
  background-color: var(--gas-primary);
  padding-top: 3rem;
}

#oportunidades-home .h2 {
  color: var(--gas-blanco);
}

.oportunidades-home {
  background-color: #ffffff;
  height: 100%;
  display: flex;
  flex-flow: column;
  padding-right: 0rem;
  padding-left: 0rem;
  border-radius: 0px;
  overflow: clip;
  box-shadow:
    rgb(0 0 0 / 15%) 0px 8px 13px,
    rgb(0 0 0 / 15%) 0px 5px 8px;
}

.oportunidades-home img {
  height: auto;
  max-width: 100%;
  border-radius: 0px;
}

.oportunidades-home figure {
  position: relative;
  margin: 0rem;
}

.page-hero h1,
.oportunidades-home .h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
}

.card-etiqueta {
  position: absolute;
  bottom: 5%;
  right: 5%;
  width: 16%;
}

.ofertabadge {
  width: 100%;
  background: #cc0000d9;
  display: block;
  padding: 10px 20px;
  color: #fff;
  text-transform: uppercase;
  text-align: center;
}

.figureoferta {
  position: absolute !important;
  top: -5px;
  left: 0px;
  z-index: 9;
}

.ofertabadge span {
  display: block;
}

.t30 {
  font-size: 35px;
  line-height: 30px;
  font-weight: bold;
}

.t15 {
  font-size: 15px;
  line-height: 15px;
}

.t10 {
  font-size: 10px;
  line-height: 10px;
  margin: 0 auto;
}

.badge {
  display: inline-block;
  padding: 0.35em 0.65em;
  margin: 0.5rem;
  font-size: 0.95em;
  font-weight: 400;
  line-height: 1;
  color: var(--gas-primary);
  background-color: var(--gas-terciario);
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.5rem;
}

.oportunidades-home p {
  margin-bottom: 0rem;
}

.oportunidades-home hr {
  width: 90%;
  margin: auto;
  margin-top: 1rem;
}

.oportunidades-home-header {
  background-color: var(--gas-terciario);
  padding: 1rem;
}

.precio-habitual p {
  font-size: 1rem;
  color: var(--gas-secundario) !important;
  padding: 0rem;
}

.precio-habitual span {
  color: var(--gas-secundario) !important;
  font-size: 1.5rem;
}

.precio-contado p {
  font-size: 1rem;
  color: var(--gas-primary) !important;
  padding: 0rem;
}
.ribbon-reservado {
  position: absolute;
  top: 1.5rem;
  left: -2.5rem;
  background: var(--gas-CTA);
  color: #fff;
  padding: 5px 4rem;
  font-size: 16px;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
  transform: rotate(-35deg);
  z-index: 20;
}
.woocommerce div.product p.stock {
  display: none;
}
.oportunidades-cta {
  margin: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.oportunidades-cta .added_to_cart {
  color: var(--gas-CTA);
}
.oportunidades-cta .btn-cta {
  flex-grow: 1;
}

.oportunidades-cta a {
  display: block;
  margin-bottom: 0.8rem;
  text-align: center;
  text-transform: uppercase;
  padding: 0.75rem 1rem;
  min-width: fit-content;
}

.precio-contado span {
  color: var(--gas-primary) !important;
  font-size: 1.5rem;
  font-weight: bold;
}

.precio-financiado span {
  font-weight: bold;
  font-size: 2.1rem;
}

.precio-financiado p {
  color: var(--gas-secundario);
}

/*-----Por que-----*/
#porque-home {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#porque-home::before {
  position: absolute;
  background: url(assets/img/bg-home-porque.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: opacity(0.09) grayscale(100);
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  background-attachment: fixed;
  width: 100%;
}

/*-----A un click-----*/
#home-click {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

#home-click::before {
  position: absolute;
  background: url(assets/img/home-click-bg.png);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: opacity(0.09) grayscale(100);
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  background-attachment: fixed;
  width: 100%;
}

#home-click img {
  width: 6rem;
  padding-bottom: 2rem;
  padding-top: 3rem;
}

.home .testimonios {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--gas-secundario);
}

.home .testimonios .h2 {
  color: var(--gas-blanco);
}

/*-Custom carrusel-*/
.slider {
  position: relative;
  width: 100%;
}

.slider .track {
  overflow-x: auto;
  white-space: nowrap;
  scroll-behavior: smooth;
  padding-bottom: 10px;
}

.slider .track::-webkit-scrollbar {
  display: none;
}

.slider .card {
  display: inline-block;
  width: 300px;
  vertical-align: top;
  background: #fff;
  border: 0;
  padding: 20px;
  margin-right: 20px;
  border-radius: 0;
}

.slider .card .h3 {
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 700;
}

.slider .card * {
  white-space: normal !important;
  overflow-wrap: break-word;
  word-break: break-word;
}

/* Flechas */
.slider .arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: black;
  color: white;
  padding: 0.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  opacity: 0.7;
  cursor: pointer;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider .arrow:hover {
  opacity: 1;
}

.slider .arrow.left {
  left: -2rem;
}

.slider .arrow.right {
  right: -2rem;
}

/*------Páginas------*/
.page-template-t-servicio #content.site-content,
.page-template-t-compramos-tu-coche #content.site-content,
.page-template-t-sobre-nosotros #content.site-content,
.page-template-t-como-funciona #content.site-content {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.page-hero::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0.25;
  z-index: -1;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position-y: center;
}

.page-hero {
  position: relative;
  padding-top: 10rem;
  padding-bottom: 10rem;
  background-color: black;
  color: white;
  z-index: 0;
}

.page-hero span {
  display: block;
  text-transform: uppercase;
  font-weight: 100;
  letter-spacing: 0.15rem;
  color: var(---gas-CTA);
}

.page-hero h1 {
  color: white;
  text-transform: uppercase;
  font-size: 4rem;
}

.page-hero h1 small {
  display: block;
  font-size: 2rem;
  font-weight: 100;
  text-transform: none;
}

.downArrow {
  margin-top: 2.5rem;
  bottom: 45%;
  left: 50%;
}

.downArrow svg {
  width: 2.5rem;
}

.downArrow svg path {
  fill: var(---gas-CTA);
}

.bounce {
  -moz-animation: bounce 3s infinite;
  -webkit-animation: bounce 3s infinite;
  animation: bounce 3s infinite;
}

@-moz-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -moz-transform: translateY(-30px);
    transform: translateY(-30px);
  }

  60% {
    -moz-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@-webkit-keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }

  60% {
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    -moz-transform: translateY(0);
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }

  40% {
    -moz-transform: translateY(-30px);
    -ms-transform: translateY(-30px);
    -webkit-transform: translateY(-30px);
    transform: translateY(-30px);
  }

  60% {
    -moz-transform: translateY(-15px);
    -ms-transform: translateY(-15px);
    -webkit-transform: translateY(-15px);
    transform: translateY(-15px);
  }
}

/*--Sobre nosotros--*/
.page-template-t-compramos-tu-coche .page-hero::after {
  background-image: url(assets/img/compramos-bg.webp);
}

.page-template-t-como-funciona .page-hero,
.page-template-t-compramos-tu-coche .page-hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.page-template-t-como-funciona .page-hero h1,
.page-template-t-compramos-tu-coche .page-hero h1 {
  font-size: 2rem;
}

.page-template-t-como-funciona .page-hero::after {
  background-image: url(assets/img/bg-funcionamiento.webp);
}

.page-template-t-sobre-nosotros .page-hero::after {
  background-image: url(assets/img/gasteauto-hero.webp);
}

.page-template-t-sobre-nosotros #about-info {
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
  z-index: 0;
  background-color: white;
}

.page-template-t-sobre-nosotros #about-info::after {
  position: absolute;
  background: url(assets/img/furgopro-about.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: opacity(0.09) grayscale(100);
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  background-attachment: fixed;
  width: 100%;
}

#about-info figure {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 2rem;
  box-shadow:
    rgb(0 0 0 / 15%) 0px 8px 13px,
    rgb(0 0 0 / 15%) 0px 5px 8px;
}

/*--Cómo funciona--*/
.page-template-t-como-funciona .page-hero::after {
  background-image: url(assets/img/bg-funcionamiento.webp);
}

#how-info {
  padding-top: 7rem;
  padding-bottom: 7rem;
  position: relative;
  z-index: 0;
  overflow-x: clip;
  background-color: white;
}

#how-info::after {
  position: absolute;
  background: url(assets/img/gascars-about-bg-1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: opacity(0.09) grayscale(100);
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  background-attachment: fixed;
  width: 100%;
}

.how-list {
  list-style: none;
  clear: both;
}

#how-info img {
  aspect-ratio: 1;
  object-fit: cover;
}

.how-list li {
  padding: 0.5rem 0.75rem;
  counter-increment: inst;
  position: relative;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.3rem;
  padding-inline-start: 2rem;
}

.how-list li::after {
  padding: 0.1rem 1rem;
  content: counter(inst);
  position: absolute;
  left: -3rem;
  top: 2rem;
  font-size: 2rem;
  font-weight: bolder;
  font-family: "Roboto Condensed";
  line-height: 3rem;
  aspect-ratio: 1;
  color: var(--gas-blanco);
  background-color: var(--gas-CTA);
  border-radius: 50%;
}

.how-list li:nth-child(2n) ::before {
  content: "";
  position: absolute;
  top: 0;
  left: -15%;
  width: 140%;
  z-index: -1;
  height: 100%;
  background-color: var(--gas-terciario);
}

.how-list li::marker {
  font-size: 3rem;
  font-weight: bolder;
}

/*---404---*/
.error404 main span {
  display: block;
  color: var(--gas-secundario);
  font-size: 8rem;
  font-weight: bolder;
}

.error404 main span small {
  display: block;
  text-transform: uppercase;
  font-weight: 100;
  letter-spacing: 0.15rem;
  color: var(---gas-CTA);
  font-size: 1rem;
  line-height: 1rem;
}

/*------Página ofertas------*/

/*-----Aside-----*/

/*Filtros móvil*/
.filtros-movil {
  position: sticky;
  top: 0;
  z-index: 99;
}

/*/Filtros móvil*/

.aside-ofertas {
  position: sticky;
  top: 2.7rem;
  z-index: 90;
}

.collapse-aside {
  display: block;
}

#faq-acordeon .card {
  border: none;
  border-radius: 0;
}

#faq-acordeon .card-header {
  padding: 0;
  border-radius: 0;
}

#faq-acordeon .card-header h3 {
  padding: 0.75rem 0;
  font-weight: normal;
}

.smallh3 {
  font-size: 1.25rem !important;
}

.small2 {
  font-size: 1rem;
}

#faq-acordeon .card:not(:last-child) .card-header h3 {
  border-bottom: 2px solid var(--gas-terciario);
}

#faq-acordeon .card-body {
  background-color: white;
  color: var(--gas-primary);
  font-weight: bold;
}

#faq-acordeon .card-body p {
  font-size: 0.9rem;
  font-weight: 100;
}

#faq-acordeon button {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: var(--gas-primary);
  font-weight: 600;
  font-size: 1.1rem;
}

#faq-acordeon button.collapsed span {
  transform: rotate(-90deg);
  transition: 0.2s ease-in-out;
}

#faq-acordeon button span {
  display: inline-block;
  margin-left: auto;
  background-image: url(assets/img/down-chevron.svg);
  background-size: 100%;
  background-repeat: no-repeat;
  background-position: center center;
  height: 1.2rem;
  width: 1.2rem;
  transition: 0.2s ease-in-out;
}

#faq-acordeon .card-header {
  background-color: transparent;
  border-bottom: 1px solid purple;
}

.aside-sticky {
  /* position: sticky; */
  top: 0;
  background-color: var(--gas-terciario);
  padding: 1.6rem;
  overflow-y: scroll;
  height: 85vh;
}

.aside-sticky .asp_w_container {
  width: 100%;
}

.aside-sticky #ajaxsearchpro1_1 {
  min-width: unset !important;
}

.addtocart-buttons a {
  width: 100%;
  align-items: center;
  justify-content: center;
}

aside div.asp_w.ajaxsearchpro {
  min-width: none !important;
}

.aside-ofertas p {
  font-weight: normal;
  color: var(--gas-primary);
  margin-bottom: 0.5rem;
}

.aside-ofertas input {
  width: 100%;
}

.collapse input {
  width: 100%;
}

.collapse-aside .filtros-btn {
  background-color: #c4c4c4;
  padding: 0.75rem 1rem;
  font-size: 1.1rem;
  font-weight: bold;
  color: var(--gas-primary);
  width: 100%;
  border-radius: 0px;
  border-color: transparent;
  text-decoration: none;
}

/* .aside-ofertas .btn {
    background-color: var(--gas-primary);
    padding: .5rem .9rem .5rem .9rem;
    font-size: 1.1rem;
    color: white;
    border-radius: 10px;
    border-color: transparent;
    text-decoration: none;
} */

.slide {
  display: flex;
  justify-content: space-between;
}

.input-group {
  flex-wrap: inherit;
}

.input-group-collapse {
  display: block;
}

.input-group-collapse .btn {
  background-color: var(--gas-primary);
  color: white;
}

.aside-ofertas span {
  color: var(--gas-primary);
}

.slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  background: #0d6efd;
  cursor: pointer;
}

.bapf_body li span.bapf_clr_span {
  border-radius: 5px;
}
.bapf_body ul {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.bapf_body ul li label {
  display: flex;
  align-content: center;
}
.bapf_radio_chck ul li input[type="checkbox"]:checked:after {
  content: "";
  width: 8px;
  height: 12px;
  border-bottom: 2px solid #333;
  border-right: 2px solid #333;
  display: block;
  position: absolute;
  top: -1px;
  left: 5px;
  transform: rotate(45deg);
}
.bapf_sfilter.brchecked_default input:checked + label .bapf_clr_span {
  transform: none;
  border: 2px solid var(--gas-primary);
  -webkit-box-shadow: inset 0px 0px 0px 2px var(--gas-terciario);
  -moz-box-shadow: inset 0px 0px 0px 2px var(--gas-terciario);
  box-shadow: inset 0px 0px 0px 2px var(--gas-terciario);
}

aside .bapf_sfilter {
  margin-bottom: 0 !important;
}

aside .bapf_slct select {
  padding: 0.5rem;
}

aside .bapf_slidr_all .irs-bar,
aside .bapf_slidr_all .irs-from,
aside .bapf_slidr_all .irs-to,
aside .irs-handle i,
.irs--flat .irs-handle > i:first-child {
  background-color: var(--gas-primary);
}

.irs--flat .irs-max,
.irs--flat .irs-min {
  background-color: var(--gas-terciario);
}

aside .bapf_slidr_all .irs-from:before,
aside .bapf_slidr_all .irs-to:before {
  border-top-color: var(--gas-primary);
}

/*-----Vehiculos de ocasion-----*/
#vehiculos-ocasion {
  position: relative;
}

.woocommerce span.onsale {
  display: none !important;
}

#pagina-ofertas h1 {
  font-size: 2.5rem;
}

.form-outline {
  display: flex;
  justify-content: end;
  margin-bottom: 0rem;
}

.form-control {
  width: 100%;
  display: inline-block;
}

.font31 {
  font-size: 30px !important;
}

.pagination ul {
  display: inline-block;
  white-space: nowrap;
  padding: 0;
  clear: both;
  border-right: 0;
  border-radius: 4px;
  border: 1px solid #d3ced2;
}

.pagination li {
  display: table-cell;
}

.pagination ul li a,
.pagination ul li span {
  margin: 0;
  text-decoration: none !important;
  line-height: 1;
  font-size: 1em;
  font-weight: 400;
  padding: 0.5em;
  min-width: 1em;
  display: block;
  color: var(--gas-primary);
}

.pagination ul li a:focus,
.pagination ul li a:hover,
.pagination ul li span.current {
  background: var(--gas-primary);
  color: white;
}

.oportunidades-home a figure img.attachment-medium {
  width: 100%;
  aspect-ratio: 7/5;
  object-fit: cover;
}

.matricula {
  display: none;
  visibility: hidden;
  color: transparent;
}

.compramos-coche {
  background-color: var(--gas-primary);
  color: var(--gas-blanco);
  border-bottom: solid 4px var(--gas-CTA);
  overflow-x: clip;
}

.about .compramos-coche {
  background-color: var(--gas-blanco);
  color: var(--gas-primary);
}

.compramos-coche img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 7/4;
}

.compramos-coche .h2 {
  color: var(--gas-blanco);
  margin-bottom: unset;
}

.about .compramos-coche .h2 {
  color: var(--gas-primary);
}

.compramos-coche .h2::after {
  height: 0;
  width: 0;
}

.about .compramos-coche .h2 {
  margin-bottom: 2rem;
}

.about .compramos-coche .h2::after {
  height: 5px;
  width: 4rem;
  left: 2rem;
}

.como .h2::after {
  bottom: -1rem;
  left: 2rem;
}

/*------Página modelo------*/
.single-product #content.site-content {
  padding-bottom: 0 !important;
}

.single-product #cookie-law-info-again,
.single-product .modal-btn {
  display: none !important;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
}

.lightbox-content {
  position: relative;
  margin: auto;
  width: 80%;
  max-width: 800px;
  text-align: center;
}

.lightbox-content img {
  width: 100%;
  height: auto;
}

.lightbox .close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: var(--gas-blanco);
  cursor: pointer;
}

.lightbox .close svg {
  width: 2rem;
  height: 2rem;
}

.lightbox-content svg {
  width: 2rem;
  height: 2rem;
  color: var(--gas-blanco);
}

.lightbox .prev,
.lightbox .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 40px;
  cursor: pointer;
  background: none;
  border: none;
  outline: none;
  width: 8%;
  min-width: 4rem;
}

.lightbox .prev {
  left: -3rem;
}

.lightbox .next {
  right: -3rem;
}

.lightbox .prev svg {
  rotate: 180deg;
}

/*-----Galeria modelo-----*/
#galeria-modelo {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
}

#galeria-modelo .columna {
  float: left;
  width: 25%;
  padding-right: 1rem;
}

#galeria-modelo .fila::after {
  content: "";
  clear: both;
  display: table;
}

#galeria-modelo .fila {
  margin-top: 1rem;
  width: 100%;
  /* overflow-x: clip; */
  overflow-x: auto;
  overflow-y: hidden;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  scroll-snap-type: x mandatory;
  scroll-snap-type: mandatory;
  -webkit-scroll-snap-type: mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
}

#galeria-modelo .fila .columna {
  min-width: 49%;
  scroll-snap-align: start;
  scroll-snap-coordinate: 0% 0%;
  -webkit-scroll-snap-coordinate: 0% 0%;
}

#galeria-modelo .carrusel-fotos img {
  /* width: 100%; */
  aspect-ratio: 1;
  object-fit: cover;
  height: 100%;
  transition: 0.2s ease-in-out;
}

#galeria-modelo .fila .columna:hover img {
  opacity: 0.5;
  transition: 0.2s ease-in-out;
  cursor: pointer;
}

#galeria-modelo .carousel button {
  background: transparent;
  border: none;
}

/*-----Aside-----*/
/*
Source - https://stackoverflow.com/a
Posted by Luca Fagioli, modified by community. See post 'Timeline' for change history
Retrieved 2026-01-05, License - CC BY-SA 4.0
*/

@media (min-width: 1025px) and (min-width: 1281px) {
  .aside-ofertas ::-webkit-input-placeholder {
    /* WebKit browsers */
    color: transparent;
  }
  .aside-ofertas :-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: transparent;
  }
  .aside-ofertas ::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: transparent;
  }
  .aside-ofertas :-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: transparent;
  }
  .aside-ofertas input::placeholder {
    color: transparent;
  }
  .aside-ofertas textarea::-webkit-input-placeholder {
    /* WebKit browsers */
    color: transparent;
  }
  .aside-ofertas textarea:-moz-placeholder {
    /* Mozilla Firefox 4 to 18 */
    color: transparent;
  }
  .aside-ofertas textarea::-moz-placeholder {
    /* Mozilla Firefox 19+ */
    color: transparent;
  }
  .aside-ofertas textarea:-ms-input-placeholder {
    /* Internet Explorer 10+ */
    color: transparent;
  }
  .aside-ofertas textarea::placeholder {
    color: transparent;
  }
}

.aside-modelo-ofertas {
  position: relative;
  top: unset;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  width: 100%;
}

.aside-modelo-sticky {
  position: relative;
  box-shadow: 0px 0px 15px 5px rgb(0 0 0 / 35%);
  border-radius: 0;
  background-color: white;
  padding: 1.6rem;
  z-index: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.aside-modelo-sticky h1 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.aside-modelo-sticky::before {
  position: absolute;
  background: url(assets/img/modelo-foto-1.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0;
  filter: opacity(0.09) grayscale(100);
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  background-attachment: fixed;
  width: 100%;
}

.subtituloprod {
  border-bottom: 1px solid #eaecef;
  padding-bottom: 10px;
  display: block;
  margin-bottom: 1rem;
}

.precio-habitual-aside p,
.precio-contado-aside p {
  font-size: 1rem;
  line-height: 1.2rem;
  color: var(--gas-secundario) !important;
  padding: 0rem;
  margin-bottom: 0rem;
}

.precio-habitual-aside span {
  color: var(--gas-secundario) !important;
  font-size: 1.8rem;
}

.precio-contado-aside span {
  color: var(--gas-secundario) !important;
  font-size: 1.8rem;
  font-weight: bold;
}

.precio-financiado-aside span {
  font-weight: bold;
  font-size: 2.5rem;
  line-height: 2.7rem;
  color: var(--gas-primary);
}

.precio-financiado-aside p {
  margin-bottom: 0rem;
}

.aside-modelo-info img {
  width: 2rem;
  margin-right: 1rem;
}

.aside-modelo.info .div {
  margin-right: 2rem;
}

.add_to_cart_button svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.5rem;
}

.aside-modelo-ofertas .btn-gas-primary svg {
  width: 1.2rem;
  height: 1.2rem;
  margin-right: 0.5rem;
}

.servicio .como img {
  width: 100%;
}

.servicio #how-info .numero {
  padding: 0.25rem 1.75rem;
  font-size: 4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background-color: var(--gas-CTA);
  color: var(--gas-blanco);
  font-family: "Roboto Condensed";
  font-weight: 700;
}

.servicio .page-hero {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

.servicio .page-hero h1 {
  position: relative;
  z-index: 2;
  font-size: 2.5rem;
}

.servicio .page-hero::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  background-color: var(--gas-primary);
  opacity: 0.7;
  width: 100%;
  height: 100%;
}

#galeria-modelo h1,
.servicio #how-info .h3 {
  font-family: "Roboto Condensed";
  font-weight: 700;
}

/*-----Detalles coche-----*/

#detalles-coche {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  margin-top: 5rem;
}

#detalles-coche .h2::after {
  left: 2rem;
}

.card-detalles {
  background-color: var(--gas-terciario);
  margin: 0.5rem 0;
  border-radius: 0px;
  padding: 0.8rem;
  color: var(--gas-primary);
  display: flex;
  align-items: center;
}

.card-detalles img,
.btn-gas-primary .atributo-icono {
  width: 2rem;
  margin-right: 1rem;
  filter: saturate(0);
}

.caldera-forms-consent-field-agreement {
  display: inline-block;
}

.card-detalles span {
  font-size: 1.2rem;
}

.card-detalles p {
  font-size: 1rem;
  margin-bottom: 0rem;
}

.tarjeta-info {
  background-color: var(--gas-terciario);
  padding: 2rem;
}

/*-----Tasación-----*/
#tasacion {
  padding-top: 5rem;
  padding-bottom: 5rem;
  position: relative;
}

#tasacion .lead {
  padding-bottom: 1.5rem;
}

#tasacion span {
  font-size: 1.5rem;
  color: var(--gas-primary);
  padding-bottom: 1.8rem;
}

#tasacion p {
  font-size: 1.2rem;
}

.bg-tasacion {
  position: absolute;
  bottom: 5%;
  right: 0;
  width: 15rem;
}

/*-----Observaciones-----*/
#observaciones {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: rgb(0, 0, 0);
  color: white;
  z-index: 0;
}

#observaciones::before {
  position: absolute;
  background: url(assets/img/observaciones-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  opacity: 0.4;
  mix-blend-mode: luminosity;
  background-blend-mode: color;
  background-attachment: fixed;
  width: 100%;
}

#observaciones h2 {
  color: white;
}

#observaciones p,
#observaciones .row > div > .row > div > div {
  color: white;
  font-weight: 100;
  font-size: 0.9rem;
}

/*-----Otros modelos-----*/
#otros-modelos {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

/*-----Pasos-----*/
#pasos {
  padding-top: 5rem;
  padding-bottom: 5rem;
  background-color: var(--gas-terciario);
}

.pasos span {
  color: var(--gas-primary);
  font-size: 2rem;
}

.pasos-numero {
  font-size: 7rem;
  font-weight: bold;
  padding-right: 1.5rem;
}

.pasos div {
  display: table-cell;
  vertical-align: middle;
}

/*-----Preguntas frecuentes-----*/
#preg-frecuentes {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.accordion-button:not(.collapsed) {
  color: white;
  background-color: var(--gas-primary);
  box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}

.accordion-body {
  background-color: var(--gas-terciario);
}

/*-----Te llamamos-----*/

#te-llamamos {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 5rem;
  z-index: 1;
}

#te-llamamos::before {
  position: absolute;
  background: url(assets/img/llamamos-bg.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: opacity(0.09) grayscale(100);
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  background-attachment: fixed;
  width: 100%;
}

.dropdown {
  width: 100%;
}

#llamada {
  position: relative;
}

.bg-llamada {
  display: none;
}

#llamada .btn-cta {
  display: block;
  text-align: center;
}

#te-llamamos .btn-secondary {
  color: var(--gas-primary);
  background-color: white;
  border: 1px solid #ced4da;
}

/*-----tienda woocommerce carrito -------*/
.woocommerce a.button.alt,
.woocommerce button.button.alt,
.woocommerce input.button.alt {
  background-color: var(---gas-CTA);
}

.woocommerce form .form-row {
  display: block !important;
}

.woocommerce-billing-fields {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2rem;
}

.woocommerce-info {
  border-top-color: #282828;
}

.woocommerce-info::before {
  color: #282828;
}

.woocommerce-additional-fields {
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.2rem;
  margin-top: 2rem;
  border-top: #282828 5px solid;
  padding-top: 2rem;
}

.order_review {
  max-width: 600px;
  font-size: 1.2rem;
  margin: 0 auto;
}

.bapf_sfilter label {
  display: inline-block !important;
  margin-bottom: 0;
  height: 30px;
  vertical-align: middle !important;
  text-transform: capitalize;
}

.bapf_sfilter.bapf_ckbox input[type="checkbox"] {
  margin-right: 10px;
  cursor: pointer;
  display: inline-block;
  height: 20px;
  width: 20px;
}

.bapf_sfilter ul li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100%;
  text-align: left !important;
  display: block;
}

.bapf_sfilter .bapf_body > ul {
  margin-left: 0;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding: 0;
}

.bapf_sfilter.bapf_colorinline li {
  margin-bottom: 10px !important;
}

/*------Footer------*/
#footer-gas {
  padding-top: 5rem;
  padding-bottom: 4rem;
  background-color: var(--gas-primary);
  color: white;
}

#footer-gas a {
  color: var(--gas-blanco);
}

.menufoot li {
  display: inline-block;
  margin-right: 1rem;
}

.menufoot img {
  width: 37px;
  filter: contrast(0) brightness(2.5);
  transition: all 0.5s ease;
}

#footer-gas ul {
  padding-left: 0rem;
  margin-top: 2rem;
  margin-bottom: 2rem;
  list-style: none;
}

#footer-gas li {
  margin-bottom: 0.5rem;
}

#footer-gas li a {
  text-decoration: none;
  color: white;
  margin-bottom: 1rem;
}

#footer-gas hr:not([size]) {
  height: 2px;
}

#footer-gas h3 {
  margin-top: 2rem;
  color: white;
}

.logo-footer {
  width: 20rem;
  margin-bottom: 0rem;
  margin-top: 1rem;
}

#footer-gas .badge {
  display: inline-block;
  padding: 0.65em 0.75em;
  margin: 0.5rem;
  font-size: 0.85em;
  font-weight: 400;
  line-height: 1;
  color: white;
  background-color: #ffffff50;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 0.5rem;
}

footer#colophon {
  text-align: center;
  background: white !important;
  color: white !important;
  padding: 0.5rem 0;
}

footer#colophon a {
  color: var(--gas-primary);
  text-decoration: none;
}

footer#colophon svg {
  width: 7rem;
  fill: black;
}

.horarios {
  line-height: 1.2rem;
  font-size: 1rem;
  display: block;
  margin: 1rem 0;
  font-weight: lighter;
}

.horarios span {
  display: block;
}

.footer-logo {
  max-width: 15rem;
}

/*contacto permanente*/
.modal-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(---gas-CTA);
  width: 4rem;
  height: 4rem;
  border: 2px solid white;
  border-radius: 50%;
  transition: 0.3s ease-in-out;
  box-shadow: 2px 2px 5px rgb(0 0 0 / 50%);
  z-index: 999;
}

.modal-btn svg {
  width: 2rem;
  color: white;
}

.modal-btn:hover {
  background-color: var(--gas-CTA-dark);
  transition: 0.3s ease-in-out;
  box-shadow: 5px 5px 5px rgb(0 0 0 / 50%);
  transform: translateY(-0.5rem);
}

.logomodal {
  width: 17rem;
}

#modal-contacto .modal-dialog {
  height: 100%;
  display: flex;
  align-items: center;
}

#modal-contacto .modal-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

#modal-contacto .modal-body ul li {
  margin: 0;
  padding: 0;
}

#modal-contacto .modal-body ul li:not(:last-child) {
  border-bottom: 1px solid var(--gas-secundario);
}

#modal-contacto .modal-body ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  font-size: 1.5rem;
  text-decoration: none;
  color: var(--gas-primary);
  transition: 0.3s ease-in-out;
}

#modal-contacto .modal-body ul li a:hover {
  background-color: var(--gas-terciario);
  transition: 0.3s ease-in-out;
}

#modal-contacto .modal-body ul li a svg {
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 1.5rem;
}

#modal-contacto .modal-body ul li a svg path {
  fill: var(--gas-primary);
}

/*------Plugins------*/

/*---Contact Form 7---*/
.wpcf7-form label {
  display: block;
  margin-bottom: 1rem;
}

/*---Ninja Forms---*/

.nf-form-content input,
.nf-form-content select,
.nf-form-content .text-area {
  border-radius: 0.5rem !important;
}

.nf-error.field-wrap .nf-field-element:after {
  font-size: 20px;
  line-height: 0;
  border-radius: 5rem;
  top: 50% !important;
  right: 1rem !important;
  bottom: unset !important;
  height: 30px !important;
  width: 30px !important;
  text-align: center;
  display: flex;
  align-items: center;
  text-align: center;
  justify-content: center;
  transform: translateY(-50%);
}

.checkbox-container.label-right .field-wrap {
  display: inline !important;
}

/*---Ajax Buscador---*/
.asp_w_container {
  /* margin: 2rem auto; */
}

.probox {
  border-radius: 0.2rem !important;
  border: none !important;
}

#ajaxsearchpro1_1 {
  border-radius: 0.3rem !important;
  background-image: none !important;
  background-color: var(--gas-primary) !important;
}

.probox .promagnifier {
  background-image: none !important;
  background-color: var(--gas-primary) !important;
}

#ajaxsearchprores1_1.vertical,
#ajaxsearchprores1_2.vertical,
div.asp_r.asp_r_1.vertical {
  background: var(--gas-primary) !important;
  padding: 2px !important;
  border-radius: 0.5rem !important;
}

div.asp_w.asp_r .results {
  border-radius: 0.4rem !important;
}

#ajaxsearchprores1_1 .results .item .asp_content h3 a,
#ajaxsearchprores1_2 .results .item .asp_content h3 a,
div.asp_r.asp_r_1 .results .item .asp_content h3 a {
  color: var(--gas-primary) !important;
}

.asp_simplebar-content .item.hovered {
  background: var(--gas-terciario) !important;
}

/* cookieYes */
div[data-cky-tag="detail-powered-by"] {
  display: none !important;
}

/*------MQ------*/

/* Media queries */
@media (min-width: 576px) {
  /*--HOME---*/
  .crs .itm {
    scroll-snap-align: start;
    scroll-snap-coordinate: 0% 0%;
    /* older (Firefox/IE) */
    -webkit-scroll-snap-coordinate: 0% 0%;
    min-width: 45%;
    min-height: 16rem;
  }
}

@media (min-width: 768px) {
  /*---HOME---*/
  /*------Página ofertas------*/

  .collapse-aside {
    display: none;
  }

  .aside-ofertas .collapse:not(.show) {
    display: block !important;
  }

  .aside-sticky .btn-gas-primary {
    display: none;
  }

  .input-group-collapse {
    display: none;
  }

  /*------Página modelo------*/

  .aside-modelo-ofertas {
    right: unset;
    left: calc(50% + 40px);
    bottom: unset;
    width: 25rem;
    position: relative;
    top: 3rem;
    z-index: 999;
  }

  .aside-modelo-sticky {
    border-radius: 0px;
    box-shadow: -4px 11px 14px 3px rgba(0, 0, 0, 0.35);
  }

  .aside-modelo-sticky::before {
    border-radius: 0px;
  }

  .aside-modelo-sticky h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
  }

  .precio-financiado-aside span {
    font-size: 3.1rem;
    line-height: 3.2rem;
  }
  .badge {
    font-size: 0.85em;
  }

  .precio-habitual p {
    font-size: 0.85rem;
    color: var(--gas-secundario) !important;
    padding: 0rem;
  }

  .precio-contado p {
    font-size: 0.85rem;
    color: var(--gas-primary) !important;
    padding: 0rem;
  }
  /*------Footer------*/
  .bg-llamada {
    display: block;
    position: absolute;
    bottom: 0%;
    right: 18%;
    width: 8rem;
    z-index: 0;
  }

  .aside-modelo-sticky {
    position: relative;
    box-shadow: -4px 11px 14px 3px rgba(0, 0, 0, 0.35);
    border-radius: 0px;
    background-color: white;
    padding: 1.6rem;
    z-index: 0;
  }

  .aside-sticky {
    overflow-y: auto;
    height: 100vh;
  }
}

@media (min-width: 992px) {
  /*-----A un click-----*/
  #home-click img {
    padding-top: 0rem;
  }

  .crs .itm {
    scroll-snap-align: start;
    scroll-snap-coordinate: 0% 0%;
    /* older (Firefox/IE) */
    -webkit-scroll-snap-coordinate: 0% 0%;
    min-width: 29%;
    min-height: 16rem;
  }

  .compramos-coche img {
    aspect-ratio: unset;
  }

  /*-----Página modelo-----*/
  .aside-modelo-ofertas {
    right: unset;
    width: 30rem;
    bottom: unset;
  }
}

@media (min-width: 1200px) {
  /*-----generales---*/
  .home #menuppal #main-nav {
    background-color: transparent;
    padding: 0rem;
  }

  .container {
    max-width: 1320px;
  }

  .btn-cta,
  .btn-cta:hover,
  .nf-form-content input[type="button"],
  .nf-form-content input[type="button"]:hover,
  .braapf_unselect_all,
  .braapf_unselect_all:hover,
  .btn-gas-primary,
  .btn-gas-primary:hover,
  .btn-gas-secondary,
  .btn-gas-secondary:hover,
  .btn-gas-tertiary,
  .btn-gas-tertiary:hover {
    font-size: 1rem !important;
  }

  /*-----header-----*/
  .page-template-t-inicio header#masthead {
    background-color: black;
  }

  body:not(.theme-preset-active) #masthead .navbar-nav > li > a {
    color: white;
    font-size: 1rem;
    margin-right: 15px;
  }

  /*---HOME---*/
  .crs .itm {
    min-width: 20%;
  }

  /*-----Página modelo-----*/
  .aside-modelo-ofertas {
    right: unset;
    width: 35rem;
    bottom: unset;
  }

  #galeria-modelo .fila .columna {
    min-width: 30%;
  }

  #detalles-coche {
    margin-top: 5rem;
  }
}

@media (max-width: 768px) {
  .subtituloprod {
    border-bottom: 1px solid #eaecef;
    padding-bottom: 0;
    display: inline-block;
    margin-bottom: 1rem;
    margin-left: 10px;
    font-size: 17px;
  }

  .product_title {
    display: inline-block;
  }
}

#home-hero::before {
  position: absolute;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(assets/img/fondo-inicio.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  top: 0;
  left: 0;
  z-index: -1;
  height: 100%;
  width: 100%;

  /* Force GPU rendering */
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
}

/* Disable fixed background on mobile */
@media (max-width: 768px) {
  #home-hero::before {
    background-attachment: scroll;
    /* Optional: use a mobile-optimized image */
    /* background-image: url(assets/img/fondo-inicio-mobile.jpg); */
  }
}

/* Optional: iPhone SE specific fix (640px width) */
@media only screen and (device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2) {
  #home-hero::before {
    background-attachment: scroll;
    background-size: 100% auto;
  }
}
