* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fuentes: */
/* Roboto Condensed */
/* Bebas Neue */
/* red: #c32020 */

@font-face {
  font-family: "Roboto Condensed";
  src: url("../assets/fonts/RobotoCondensed.ttf") format("truetype");
  font-display: block;
}
@font-face {
  font-family: "Bebas Neue";
  src: url("../assets/fonts/BebasNeue.ttf") format("truetype");
  font-display: block;
}

main {
  overflow: hidden;
  position: relative;
  margin-top: 60px;
  min-height: calc(100vh - 60px - 151.6px);
}

textarea {
  resize: none; /* Desactiva el agrandado */
  font-family: "Roboto Condensed";
}

/* Colores */
/* Rojo: #c32020*/
/* Negro: rgb(36, 36, 36)*/
/* Gris: rgb(92, 91, 91) */

body {
  font-family: "Roboto Condensed";
  /* background-color: #c32020; */
}
h1 {
  font-family: "Bebas Neue";
}
h2 {
  font-family: "Bebas Neue";
}

/*-------------------------Navbar-------------------------*/

header {
  position: sticky;
  top: 0;
  z-index: 5;
}

.navbar-toggler {
  box-shadow: 1px 1px 1px 1px rgba(0, 0, 0, 0.089) !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
}
.navbar-button {
  background: transparent;
  --button-color: white;
  overflow: hidden;
}

.navbar-button .hamburger {
  transition: translate 100ms, rotate 100ms;
}

.navbar-button[aria-expanded="true"] .hamburger {
  translate: 3px -4px;
  rotate: 0.125turn;
}

.navbar-button .line {
  transition: 500ms;
  stroke-dasharray: 60 31 60 300;
}

.navbar-button[aria-expanded="true"] .line {
  stroke-dasharray: 60 105 60 300;
  stroke-dashoffset: -90;
}

.navbar-brand {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin: 0;
  z-index: 3;
}
.navbar-brand-text {
  display: block;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  text-shadow: 1px 1px 2px black;
}
.navbar {
  top: 0px;
  background-color: #c01212;
  /* backdrop-filter:blur(100px); */
  padding: 5px 3%;
  position: fixed;
  top: 0;
  z-index: 2;
  border-bottom: 2px solid #000000;
}

.navbar ::before {
  position: absolute;
  top: 0;
  background-color: #c01212;
}

.navbar-nav {
  position: absolute;
  left: 50%;
  transform: translate(-50%);
}

.nav-link {
  font-size: 1.05rem;
  color: white;
  font-weight: 500;
  text-shadow: 1px 1px 2px black;
  transition: transform 0.1s ease-in-out;
}
.nav-link:hover {
  color: rgb(255, 255, 255);
  font-weight: 400;
  transform: scale(1.05);
}
.nav-item {
  padding: 0px 10px;
}
nav {
  position: fixed;
  top: 0px;
  width: 100%;
  z-index: 1000;
}

.login-icon {
  padding: 4%;
  position: absolute;
  right: 0;
}
.dropdown-menu {
  top: 70% !important;
}

.logo {
  width: 150px;
}

/*-------------------------Banner Intro-------------------------*/
.banner {
  min-height: 200px;
  max-height: 500px;
  width: 100%;
  height: 50vh;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.text-enfasis {
  color: #e23232 !important;
  font-weight: 600;
  text-shadow: 2px 2px 2px black;
}

.banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("../assets/img/bg/bannerDesktop.webp");
  background-size: cover;
  background-position: right;
  background-repeat: no-repeat;
  opacity: 1;
  z-index: -1;
}
.banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7); /* Filtro negro con opacidad */
  z-index: -1;
}

.intro-content h1 {
  font-family: "Bebas Neue";
  font-size: 4.5rem;
  text-align: center;
  position: absolute;
  bottom: 45%;
  left: 50%;
  transform: translate(-50%);
  z-index: 1;
  opacity: 1;
  transition: opacity 1s ease-in-out;
  color: #ffffff;
  text-shadow: 1px 1px 1px rgb(0, 0, 0);
}

.intro-content h2 {
  position: absolute;
  bottom: 20%;
  left: 50%;
  transform: translate(-50%);
  font-family: "Bebas Neue";
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  font-weight: 300;
  font-size: 1.4em;
  color: #ffffff;
  text-align: center;
  z-index: 1;
  opacity: 1;
}

/*-------------------------CATALOGO-------------------------*/

/* lista categorias */
.category-list {
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
  max-height: 0;
  border-radius: 0 0 8px 8px;
}

.category-list.show {
  max-height: 500px; /* Ajusta según tu contenido */
}

.filter-btn {
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  cursor: pointer;
}

.arrow-icon {
  transition: transform 0.3s ease;
}

.filter-btn.active .arrow-icon {
  transform: rotate(180deg);
}

.category-list-content {
  label {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    margin-left: 30px;
    font-size: 1.05rem;
  }
}


/* catalogo productos */

.section-title {
  margin: auto;
  align-content: center;
  width: fit-content;
  color: #000000;
  text-align: center;
}
.categoria-container {
  width: 100%;
  min-height: 100px;
  background-color: #242424;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px 0px;
}
.catalogo-container {
  background: #c4c4c4;
  padding-top: 20px;
  padding-bottom: 60px;
  position: relative;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  min-height: 300px;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.catalogo-item {
  overflow-x: visible;
  position: relative;
  background-color: #fff;
  padding-bottom: 50px;
  min-height: 400px;
  max-width: 300px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  transition: transform 0.5s ease-in-out !important;
  animation: fadeIn 0.3s ease-in-out;
  line-height: normal;
}

.catalogo-item:hover {
  box-shadow: 2px 1px 4px rgb(97, 97, 97);
}

.catalogo-item-name {
  font-size: 1.5rem;
  width: 60%;
  padding-left: 15px;
  padding-top: 3px;
  padding-bottom: 3px;
  margin: 0;
  background-color: #c32020;
  color: #ffffff;
  font-weight: 700;
  text-shadow: 1px 1px 1px black;
  clip-path: polygon(0% 0, 100% 0, 85% 100%, 0% 100%);
}
.catalogo-item-desc {
  min-height: fit-content;
  padding: 15px;
  color: #000000;
  font-weight: 340;
  font-size: 1.05rem;
  text-align: center;
}
.catalogo-info {
  border-top: 1px solid #000000;
  background-color: #fff;
  position: absolute;
  bottom: 0;
  padding: 10px;
  display: flex;
  justify-content: center;
  width: 100%;
  height: 50px;
  align-items: center;
  color: rgb(0, 0, 0);
}
.catalogo-img {
  transition: transform ease-in 0.3s;
  object-fit: contain;
  max-height: 400px;
  width: auto;
  filter: drop-shadow(1px 2px 3px rgb(116, 116, 116));
}
.catalogo-img:hover {
  overflow: hidden;
  transform: scale(1.12);
  filter: drop-shadow(1px 3px 4px black);
  transition: transform ease-out 0.2s;
}

/* Features cards circulares */
.features-container {
  background: rgb(36, 36, 36);
  flex-wrap: wrap;
  padding: 40px;
  justify-content: center;
  border-bottom: 1px solid grey;
  border-top: 1px solid grey;
  h3 {
    padding: 5px;
    font-family: "Bebas Neue";
    text-align: center;
    color: white;
    text-shadow: 1px 1px 5px black;
  }
}

.features-item {
  margin: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  img {
    padding: 20px;
    background-color: white;
    width: 95px;
    height: 95px;
    object-fit: fill;
    border-radius: 25%;
    box-shadow: 1px 1px 5px black;
  }
}

/* Garantia Banner */

.garantia-container {
  min-height: 250px;
  background-color: rgb(36, 36, 36);
  display: flex;
  flex-direction: row;
  color: white;
  text-align: left;
  border-bottom: 1px solid grey;
  p {
    text-decoration: underline;
  }
}
.garantia-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  text-shadow: 1px 1px 1px black;

  h2 {
    font-size: 2.8rem;
    font-weight: 500;
    letter-spacing: 0.05rem;
    color: #c32020;
    font-family: "Bebas Neue";
  }
  p {
    font-size: 1.2rem;
    font-weight: 500;
  }
}
.garantia-body {
  font-size: 1rem;
  font-family: "Roboto Condensed";
  background-color: rgb(102, 102, 102);
  border-left: 1px solid rgb(36, 36, 36);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/*PRODUCTO DESCRIPCION */

.return-container {
  display: flex;
  justify-content: center;
  margin: 20px;
}
.back-btn {
  font-size: 1.25rem;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 300px;
  height: 55px;
  background-color: #d82323;
  color: white;
  clip-path: polygon(15% 0, 100% 0, 80% 100%, 0% 100%);
  transition: ease-in 0.1s;
  a {
    text-shadow: 1px 2px 4px black;
    font-size: 1.5rem;
    text-align: center;
    text-decoration: none !important;
    font-weight: 500;
  }
}
.back-btn:hover {
  background-color: #d82323;
  color: white;
  transform: scale(1.02);
}

.producto-head {
  width: 100%;
  padding: 10px 0px;
  font-weight: 600;
  background-color: #ffffff;

  label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
  }
  .title {
    font-size: 4.5rem;
    color: #c32020;
    text-shadow: 1px 2px 2px black;
    font-weight: 800;
  }
  .descripcion {
    color: #000000;
    font-family: "Roboto Condensed";
    font-size: 1.2rem;
    font-weight: 400;
    margin: 0;
  }
}

.ficha-tecnica {
  max-width: 400px;
  align-content: center;
  .title {
    font-size: 1.6rem;
    font-weight: 400;
    text-decoration: underline overline 1px;
    text-decoration-color: #b93131;
  }
}

.imagenes-producto {
  display: flex;
}
.producto-detalle {
  padding-top: 10px;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.zoom-in {
  cursor: zoom-out !important;
  transform: scale(1.6) !important;
}
.img-portada {
  padding: 0px 35px;
  max-width: 500px;
  height: auto;
  object-fit: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease-in-out;
  cursor: zoom-in;
}
.img-portada:hover {
  transform: scale(1.03);
}
.img-container {
  position: relative;
  overflow: hidden;
}

.btn-prev {
  display: flex;
  align-items: center;
  font-size: 3rem;
  color: #c32020;
  width: fit-content;
  position: absolute;
  top: 40%;
  left: 0;
  transform: translateY(-50%);
  padding: 10% 2%;
  background-color: transparent;
  border: none;
  z-index: 1;
}

.btn-next {
  display: flex;
  align-items: center;
  font-size: 3rem;
  color: #c32020;
  width: fit-content;
  position: absolute;
  top: 40%;
  right: 0;
  transform: translateY(-50%);
  padding: 10% 2%;
  background-color: transparent;
  border: none;
  z-index: 1;
}

.img-thumbnail {
  width: 90px;
  min-height: 90px;
  min-width: 90px;
  height: 90px;
  margin: 2px;
  transition: transform 0.1s ease-in-out;
}
.img-thumbnail:hover {
  transform: scale(1.05);
}
.img-pool {
  gap: 10px;
  padding: 5px;
  min-width: fit-content;
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: center;
}

/*-------------------------CONTACTENOS-------------------------*/

#submitButton {
  font-family: "Roboto Condensed", sans-serif;
  background-color: #2b8f12;
  font-weight: 400;
  display: flex;
  justify-content: center;
  margin: auto;
  color: white;
}
#submitButton:hover {
  background-color: #ebedee;
  color: #0e0e0e;
}

/*-------------------------Nosotros-------------------------*/
.nosotros-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.logoABC {
  padding: 40px;
  width: 450px;
  min-width: 300px;
  display: flex;
  justify-content: center;
}
.nosotros_img {
  display: flex;
  justify-content: center;
  padding: 8px;
  margin: 6px;
  width: 100%;
  min-width: 150px;
  max-width: 350px;
  box-shadow: 1px 1px 5px black;
}
.nosotros_text {
  font-size: 1.05rem;
  letter-spacing: 0.01rem;
}
.article {
  margin-top: 20px;
}

.nosotros_subtitle {
  font-size: 1.9rem;
  padding: 10px 0px;
  margin-top: 3%;
  font-style: normal;
  text-decoration: underline 2px rgb(216, 6, 6);
  font-weight: 400;
}
#nosotros {
  padding: 0% 20%;
}
/*-------------------------Contacto-------------------------*/
.contacto-section {
  position: relative;
  padding-top: 25px;
  padding-bottom: 100px;
}

.contacto-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #c32020; /* Fondo rojo debajo del contenido */
  z-index: -2; /* Asegura que esté debajo del contenido y del polígono */
}

.contacto-section::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(36, 36, 36); /* Fondo negro del polígono */
  /* clip-path: polygon(0 0, 100% 0%, 100% 90%, 0 100%); */
  clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%);
  z-index: -1; /* Asegura que esté encima del fondo rojo pero debajo del contenido */
}

.contacto-section h3,
.contacto-section p {
  color: white;
  position: relative;
}
.contacto-section label {
  z-index: 1 !important;
}

.contacto-container {
  background-color: rgb(102, 102, 102);
  padding: 20px;
  margin: auto;
  margin-bottom: 230px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  align-items: center;
  align-self: center;
}

.icon {
  padding: 10px;
  margin: 0 5%;
}

.svg-icon {
  width: 40px;
  height: 40px;
}
.info-content {
  a {
    color: rgb(255, 255, 255);
    text-decoration: none;
    margin: 5px;
  }
  p {
    margin: 0;
  }
}
.redes-sociales {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #c32020;
}
.instagram-card {
  display: flex;
  justify-content: center;
  box-shadow: 1px 1px 5px black;
  align-items: center;
  width: auto;
  height: auto;
  background-color: white;
}
.whatsapp-sticky {
  background-color: rgb(17, 184, 30);
  border-radius: 50%;
  padding: 8px;
  margin: 8px;
  position: fixed;
  right: 0;
  top: 90%;
  right: 1%;
  z-index: 1000;
  transition: transform 0.2s ease-in-out !important;
}
.whatsapp-sticky:hover {
  transform: scale(1.1) !important;
}
/*-------------------------Offcanvas Form-------------------------*/
.offcanvas {
  background: #000000;
  background: -webkit-linear-gradient(to bottom, #434343, #000000);
  background: linear-gradient(to bottom, #434343, #000000);

  color: white;
  height: 80% !important;
  width: 50%;
  label {
    display: flex;
    justify-content: left;
    font-weight: 600;
  }
  img {
    width: 150px;
    height: 180px;
  }
}
.file-upload {
  display: flex;
  align-items: center;
}
.file-upload .btn {
  display: flex;
  align-items: center;
  justify-content: center;
}
.file-upload input[type="file"] {
  display: none;
}
.image-preview {
  position: relative;
  display: inline-block;
  margin: 10px;
}
.image-preview img {
  width: 150px;
  height: auto;
  display: block;
}
.remove-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  background-image: "../icons/closebtn.svg";
  cursor: pointer;
}
/*-------------------------Dashboard Login-------------------------*/

.dashboard-sidebar {
  max-width: 250px;
  position: absolute;
  left: 0;
}
.dashboard-content {
  margin-left: 250px;
}

/*-------------------------FOOTER-------------------------*/
footer {
  align-items: center;
  padding: 20px;
  background-color: #000000;
  color: #fff;
  /* position: relative; */
}

.footer_text {
  flex: 1;
  display: flex;
  justify-content: center;
  font-weight: 400;
}
.footer_text ul {
  padding-left: 0px !important;
  list-style-type: none;
  display: flex;
  gap: 40px;
}

.footer_text li {
  display: inline;
}

.footer_text a {
  color: #fff;
  text-decoration: none;
}

.footer_text a:hover {
  text-decoration: underline;
}

.copyright {
  font-size: 0.9rem;
  display: flex;
  justify-content: center;

  p {
    margin-bottom: 0px !important;
  }

  #year {
    font-size: 0.6rem;
  }
}
/* Formato alertas */

.swal2-container button {
  background-color: #c32020 !important;
}

/* Login*/
.login-background {
  background: #000000;
}

.login-form {
  /* border: solid 2px rgb(56, 56, 56); */
  font-size: 0.9rem;
  padding: 25px;
  padding-top: 50px;
  min-width: 300px;
  max-width: 300px;
  border-radius: 5%;
  color: rgb(255, 255, 255);
  /* background-color: #ffffff ; */
  background: linear-gradient(to bottom, #000000, #c01212, rgb(233, 40, 40));
  z-index: 2;

  button {
    /* background-color: #d10404; */
    border: none;
    font-weight: 600;
    font-size: 0.9rem;
    border: 0.5px solid rgb(0, 0, 0);
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    transition: 0.2s ease-in-out;
  }
  button:hover {
    background-color: #ffffff;
    color: rgb(0, 0, 0);
  }
}
.medidas {
  justify-content: space-around;
}

/*-------------------------Animaciones-------------------------*/
.boton-animado {
  padding: 5px;
  transition: transform 0.2s ease-in-out;
}
.boton-animado:hover {
  transform: scale(1.1);
}

.swal2-title {
  font-size: 1.6rem;
  font-weight: 300;
}
/*-------------------------MEDIA QUERY-------------------------*/
@media screen and (max-width: 1100px) {
  .navbar-nav {
    padding: 2%;
    position: relative;
    align-items: center;
  }
  .login-icon {
    position: relative;
    padding: 1%;
    justify-content: end;
  }
  #nosotros {
    padding: 0% 10%;
  }
  .producto-detalle {
    flex-direction: column;
  }
  .imagenes-producto {
    flex-direction: column;
  }
  .img-pool {
    padding-top: 10px;
    flex-direction: row;
    align-self: center;
  }
  .ficha-tecnica {
    margin-top: 25px;
    justify-content: center;
    max-width: 100%;
    width: 100%;
  }
  .garantia-container {
    flex-direction: column;
    align-items: center;
  }
  .garantia-header {
    padding: 20px;
    width: 100%;
  }
  .garantia-body {
    width: 100%;
  }
  .contacto-container {
    padding: 25px;
    margin-bottom: 20px;
    margin-top: 40px;
  }
  .img-container {
    min-height: 400px;
    padding: 0px;
  }
  .intro-content h1 {
    bottom: 45%;
    width: 100%;
    font-size: 3.2rem;
  }
  .intro-content h2 {
    bottom: 20%;
    width: 100%;
    font-size: 1.3rem;
  }
}
@media screen and (max-width: 760px) {
  .banner::before {
    min-width: 600px;
    min-height: 350px;
    max-height: 500px;
    background-image: url("../assets/img/bg/bannerMobile.webp");
  }
  .banner {
    height: 50vh;
  }
  .navbar-brand {
    justify-content: space-between;
  }
  .navbar-brand-text {
    display: flex;
    margin: auto;
    font-size: 1rem;
  }
  .nav-link {
    font-size: 1rem;
  }

  .offcanvas {
    width: 100%;
  }
  .nosotros_img {
    margin: auto;
  }
  .pad-left {
    padding-left: 0px;
  }
  .pad-right {
    padding-right: 0px;
  }
  /* .img-thumbnail {
    display: none;
  } */
  .categoria {
    font-size: 1rem;
  }
  .catalogo-item {
    min-height: 100px;
    max-width: 200px;
  }
  .catalogo-item-name {
    background-color: #c32020;
    color: white;
  }
  .contacto-container {
    margin-bottom: 40px;
  }
  .img-portada {
    user-select: none;
    cursor: auto;
    max-width: 450px;
    padding: 0px 35px;
    margin: 0;
  }
  .img-portada:hover {
    transform: scale(1);
  }
}
