.banner_home {
    margin-top: 2rem !important;
}

/* Se viñetas predeterminadas y  el padding predeterminado */
ul {
  list-style-type: none;
  padding-left: 0;
}

/* Converte el elemento li en un contenedor flex y qlinea verticalmente los elementos hijos */
ul li {
  display: flex;
  align-items: center;
}

/* Espacio entre el ícono y el texto y asegura que el ícono no se reduzca*/
ul li i {
  margin-right: 10px;
  flex-shrink: 0;
}

/* Paginacion de la seccion de productos */

.pagination-buttons_devices {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 6vh;
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.pagination-buttons_devices button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pagination-buttons_devices button:hover {
  background-color: #555;
}

.pagination-buttons_devices button:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

.page-info_devices {
  margin: 0 10px;
  font-size: 1.2rem;
  color: #eeeeee;
}

.pagination-buttons_devices button:focus {
  outline: none;
}

/* Paginacion de la seccion de licencias */
.pagination-buttons {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 6vh;
  margin-top: 5rem;
  margin-bottom: 2rem;
}

.pagination-buttons button {
  background-color: #333;
  color: #fff;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.pagination-buttons button:hover {
  background-color: #555;
}

.pagination-buttons button:disabled {
  background-color: #aaa;
  cursor: not-allowed;
}

.page-info {
  margin: 0 10px;
  font-size: 1.2rem;
  color: #333333;
}

.pagination-buttons button:focus {
  outline: none;
}

/* Seccion con tamano minimo */
.products-size {
  position: relative;
  min-height: 900px !important;
}

.products-background_header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;

  background: linear-gradient(
    to bottom,
    #eee 0%,
    #eee 60%,
    #eee 60%,
    #f4f6f9 100%
  );
}

.products-background_1 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;

  background: linear-gradient(to bottom, #f5f7fa, #303030);
}

.products-background_2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;

  background: linear-gradient(to bottom, #303030, #f5f7fa);
}

.background-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ----------------------------------------- */
/* Estilos básicos para el select */
#filtro {
  justify-content: center;
  width: 100%;
  max-width: 300px;
  box-sizing: border-box;
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

#filtro option {
  background-color: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
}

.select-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 6vh;
  margin-bottom: 2rem;
}

/* Estilos específicos para pantallas pequeñas (por ejemplo, móviles) */

/* /////////////////////// */

/* Visualización por defecto para los artículos */
/* [data-article-info] {
    display: block;
} */

/* Estilo para el desplegable */
/* #filtro {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
} */

.products__container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}

/* [data-article-info] {
    transition: opacity 0.3s ease;
} */

/* ------------------------------------------------- */

.button--flex[data-anchor-link] a {
  text-decoration: none;
}

.button--flex[data-anchor-link] a {
  color: white;
}

.button--flex[data-anchor-link] a:hover {
  color: #f0f0f0;
}

.button--flex[data-anchor-link] a:active {
  color: #e0e0e0;
}

/*=============== HOME ===============*/
html {
  scroll-behavior: smooth;
}

.container {
  margin-bottom: 2rem;
  max-width: 1200px;
}

.home__img {
  width: 250px;
  position: absolute;
  top: -16rem;
  right: 1.5rem;
}

.home__data {
  padding-top: 5rem;
}

.home__header {
  position: relative;
  margin-top: 2rem;
  margin-bottom: 4rem;
}

.home__banner {
  position: absolute;
  top: -6.8rem;
  color: #3c3f42;
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
}

.home__title {
  position: absolute;
  top: -5rem;
  left: 1rem;
  line-height: 6rem;
  font-size: 5rem;

  background: linear-gradient(#3c3f42, #1a1c1f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.home__subtitle {
  color: #3c3f42;
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
}

.home__title-description {
  color: #3c3f42;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.home__banner-description {
  position: absolute;
  top: 6rem;
  color: #3c3f42;
  font-size: 1.125rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.home__description {
  color: #3c3f42;
  margin-bottom: 2.5rem;
  line-height: 2rem;
}

.home__description_up {
  color: #36393c;
  margin-bottom: 2.5rem;
  line-height: 2rem;
}

.home__price {
  font-size: 1.125rem;
  font-weight: 600;
  margin-left: 0.75rem;
}

/*=============== BUTTONS ===============*/
.button {
  display: inline-block;
  background-color: #0e0f11;
  color: #eee !important;
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  transition: 0.3s;
  z-index: 1;
}

.button:hover {
  background-color: #151617;
}

.button__icon {
  font-size: 1.2rem;
  text-decoration: none;
}

.button__icon {
  font-size: 1.2rem;
}

.icon__bag {
  text-decoration: none;
  width: 20px;
  height: 20px;
  fill: #eee;
}

.button--flex {
  display: inline-flex !important;
  align-items: center !important;
  column-gap: 0.75rem !important;
}

.button--flex:hover {
  color: #eee !important;
  text-decoration: none !important;
}

/*=============== Fondo imagen ===============*/
.landing-section {
  position: relative;
  overflow: hidden; /* la imagen no sobresalga si es más grande que el contenedor */
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Funciona como background-size: cover */
  z-index: -1; /* Coloca la imagen detrás de cualquier otro contenido */
}

.tone_1 {
  background: linear-gradient(to bottom, #f5f7fa, #303030);
}

.tone_2 {
  background: linear-gradient(to bottom, #303030, #f5f7fa);
}

.tone {
  background: linear-gradient(to left, #eee, #fff);
}

/*=============== PRODUCTS ===============*/
.products__line {
  line-height: 4rem;
}

.products__container {
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem 1.5rem;
  padding-top: 3rem;
}

.products__card {
  position: relative;
  height: 132px;
  background-color: #18191a;
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: grid;
}

.licences__card {
  position: relative;
  height: 132px;
  background-color: "transparent";
  padding: 0.75rem;
  border-radius: 0.5rem;
  display: grid;
}

.products__img {
  width: 80px;
  position: absolute;
  inset: 0;
  margin-right: auto;
  margin-left: auto;
  top: -3rem;
}

.licences__img {
  z-index: -1;
  width: 140px;
  position: absolute;
  inset: 0;
  margin-right: auto;
  margin-left: auto;
  top: -3rem;
}

.products__content {
  align-self: flex-end;
}

.products__title,
.products__price {
  font-size: 0.813rem;
}

.products__title {
  color: #edeef0;
  padding-bottom: 2.5rem;
}

.products__price {
  font-weight: 600;
  color: #bfbfc3;
}

.licences__title,
.licences__price {
  font-size: 0.813rem;
}

.licences__title {
  color: #edeef0;
}

.licences__price {
  font-weight: 600;
  color: #edeef0;
}

.products__button {
  position: absolute;
  right: 0.5rem;
  bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.35rem;
  border: none;
  cursor: pointer;
}

.licences__button {
  position: absolute;
  right: -0.8rem;
  bottom: 0.5rem;
  padding: 0.5rem;
  border-radius: 0.35rem;
  border: none;
  cursor: pointer;
}

.overlay {
  position: absolute;
  border-radius: 0.5rem;
  top: 100%;
  left: -10%;
  right: -10%;
  /* transform: translateY(-50%); */
  backdrop-filter: blur(5px);
  background-color: rgb(0 0 0 / 40%); /* Fondo translúcido */
  padding: 5px 0; /* Añadir padding vertical */
  z-index: 1; /* Asegurar que esté en frente */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.licences__content {
  position: relative;
  z-index: 0; /* Asegurar que el contenido está detrás del overlay */
}

/*=============== MEDIA QUERIES ===============*/
/* For small devices */
@media screen and (max-width: 340px) {
  .home__header {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 4rem;
  }

  .container {
    margin-bottom: 2rem;
    margin-left: 1rem;
    margin-right: 1rem;
  }

  .section__title {
    font-size: 2.5rem;
  }

  .home__img {
    width: 200px;
    top: -13rem;
  }

  .home__title {
    top: -4rem;
    font-size: 3.5rem;
  }

  .home__data {
    padding-top: 1rem;
  }

  .home__description {
    font-size: 0.813rem;
  }

  .home__description_up {
    font-size: 0.813rem;
  }

  .specs__img {
    width: 200px;
  }

  .case__container {
    grid-template-columns: 0.6fr 1fr;
  }

  .case__img {
    width: 220px;
    top: -2rem;
    left: -9rem;
  }

  .case__data {
    padding: 0;
  }

  .products__container {
    grid-template-columns: 142px;
    justify-content: center;
  }
}

@media screen and (min-width: 576px) {
  .home__header {
    position: relative;
    margin-top: 2rem;
    margin-bottom: 6rem;
  }
  .home__banner {
    position: absolute;
    top: -3.8rem;
    color: #3c3f42;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
  }

  .home__container {
    grid-template-columns: 0.8fr 1fr;
  }

  .home__data {
    padding-top: 2rem;
  }

  .home__img {
    top: -7rem;
    left: 0;
  }

  .specs__img {
    position: initial;
  }

  .specs__container {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
  }

  .case__img {
    position: initial;
  }

  .case__data {
    padding: 0;
  }

  .case__container {
    grid-template-columns: max-content 250px;
    justify-content: center;
    align-items: center;
    column-gap: 2rem;
  }

  .discount__img {
    position: initial;
  }

  .discount__container {
    grid-template-columns: repeat(2, 1fr);
    justify-items: center;
    align-items: center;
  }

  .products__container {
    grid-template-columns: repeat(3, 142px);
    justify-content: center;
  }
}
/* For medium devices */
@media screen and (min-width: 767px) {

  .home__banner {
    position: absolute;
    top: -2.8rem;
    color: #3c3f42;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    margin-top: -4rem;
  }

  .home__header {
    position: relative;
    margin-top: 0rem;
    margin-bottom: 0rem;
  }
  body {
    margin: 0;
  }
  #filtro {
    font-size: 14px;
    padding: 8px 12px;
    justify-content: center;
  }
  .section {
    padding: 6rem 0 2rem;
    background-image: url("images/compushop/fondo1.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .nav {
    height: calc(3rem + 1.5rem);
  }

  .nav__logo {
    width: 2rem;
  }

  .nav__list {
    flex-direction: row;
    column-gap: 3.5rem;
  }

  .nav__link {
    font-size: 0.938rem;
    text-transform: initial;
  }

  .nav__toggle,
  .nav__close {
    display: none;
  }

  .home__container {
    position: relative;
    grid-template-columns: repeat(2, 1fr);
  }

  .home__img {
    top: -9rem;
    left: 4rem;
  }

  .home__data {
    padding-top: 8rem;
  }

  .specs__img {
    width: 300px;
  }

  .case__container {
    column-gap: 5rem;
  }

  .case__img {
    width: 300px;
  }

  .case__description {
    margin-bottom: 2rem;
  }

  .discount__container {
    grid-template-columns: 250px max-content;
    justify-content: center;
    column-gap: 5rem;
    padding: 3rem 0;
  }

  .discount__title {
    font-size: 1.25rem;
    margin-bottom: 1rem;
  }

  .discount__description {
    margin-bottom: 2rem;
  }

  .products__container {
    grid-template-columns: repeat(5, 162px);
    gap: 6rem 3rem;
    padding-top: 5rem;
  }

  .products__card {
    height: 152px;
    padding: 0.85rem;
  }

  .products__img {
    width: 95px;
  }

  .licences__card {
    height: 152px;
    padding: 0.85rem;
  }

  .licences__img {
    width: 136px;
    z-index: -1;
  }

  .footer__container {
    grid-template-columns: 0.4fr 0.7fr 0.7fr 1fr;
  }
}

/* For large devices */
@media screen and (min-width: 1024px) {
  .home__header {
    position: relative;
    margin-top: 0rem;
    margin-bottom: 0rem;
  }
  .home__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "data image";
  }

  .home__dt {
    grid-area: data;
  }

  .home__image {
    grid-area: image;
  }

  .container {
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
  }

  .home__img {
    width: 300px;
    top: -15rem;
  }

  .home__title {
    top: -5rem;
    left: 3.5rem;
  }

  .home__description {
    padding-right: 5rem;
  }

  .home__description_up {
    padding-right: 5rem;
  }

  .sponsor__img {
    width: 100px;
  }

  .discount__img {
    width: 350px;
  }

  .footer__container {
    padding-top: 3rem;
  }

  .footer__copy {
    margin-top: 9rem;
  }
}

@media (max-width: 524px) {
  .home__banner {
    text-align: center;
  }
}

/*=============== SCROLL BAR ===============*/
::-webkit-scrollbar {
  width: 0.6rem;
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb {
  background-color: #2a2d33;
  border-radius: 0.5rem;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #33363c;
}

.grid {
  display: grid;
}

/*=============== descripcion de banner ===============*/
/* .home__footer {
    position: absolute;
    top: 6rem;
} */

.home__footer ul {
  list-style-type: none;
  padding: 0;
}

.home__footer li {
  margin: 10px 0;
  color: #5b6064;
}

.home__footer i.fas {
  color: green; /* Puedes elegir el color que prefieras para el checkmark */
  margin-right: 10px;
}

/* ...................... */
/*=============== REUSABLE CSS CLASSES ===============*/
.section {
  padding: 4rem 0 2rem;
}

.section__title {
  font-size: 3.5rem;
  text-align: center;
  margin-bottom: 2.5rem;
}

.title__product {
  background: linear-gradient(#3c3f42, #1a1c1f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.title__product_2 {
  background: linear-gradient(#222222, #1a1c1f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
