body {
  font-family: Arial, sans-serif;
  background-color: white;
  margin: 0;
  padding: 0;
  text-decoration: none;
}
.metalicos{
 display: block;         
  width: 92%;             
  height: 200px;
  margin: 0 auto;         
  text-align: center;     
  background: #f2f2f2;    
  border-radius: 10px;    
  overflow: hidden;       
}
.txt-metalicos{
  position: absolute;
  top: 28%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 255, 255);
  font-size: 50px;
  font-weight: bold;
  text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 4px;
  text-align: center;
  z-index: 1;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.432);
  border-radius: 10px;
}

@media(min-width:1440px){

  #ComplementosOficina{
    font-size: 45px;
  }

}


.prinsipal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background-color: rgba(5, 1, 252, 0.03);
}

.prinsipal-texto {
  max-width: 50%;
  text-align: left;
  animation: slideInLeft 1s ease-out;
}

.Nombre-Prinsipal {
  font-size: 70px;
  font-weight: bold;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.principal-p {
  font-size: 18px;
  color: #333;
  line-height: 1.5;
}

.prinsipal-imagen {
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: slideInRight 1s ease-out;
}

.principal-img {
  width: 500px;
  height: auto;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 4px 4px 10px rgb(0, 0, 0);
}

@keyframes slideInLeft {
  from {
    transform: translateX(-100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideInRight {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

.button-48 {
  appearance: none;
  background-color: rgb(255, 255, 255);
  box-sizing: border-box;
  color: rgb(0, 0, 0);
  cursor: pointer;
  display: inline-block;
  font-family: Clarkson, Helvetica, sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0px;
  line-height: 1em;
  margin: 0px;
  opacity: 1;
  outline: 0px;
  padding: 1.4em 3.2em;
  position: relative;
  text-align: center;
  text-decoration: none;
  text-rendering: geometricprecision;
  text-transform: uppercase;
  transition: opacity 300ms cubic-bezier(0.694, 0, 0.335, 1),
    background-color 100ms cubic-bezier(0.694, 0, 0.335, 1),
    color 100ms cubic-bezier(0.694, 0, 0.335, 1);
  user-select: none;
  touch-action: manipulation;
  vertical-align: baseline;
  white-space: nowrap;
  border: 2px solid black;
  border-radius: 10px;
  overflow: hidden;
}

.button-48::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  background: rgb(245, 245, 245); /* Fondo base más claro */
  transition: clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1),
    -webkit-clip-path 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  clip-path: polygon(-1% 0px, 0px 0px, -25% 100%, -1% 100%);
}

.button-48:hover::before {
  background: linear-gradient(
    to right,
    #e2f3ff 10%,
    #c7d9ff 30%,   
    #b3c7ff 50%,   
    #99b2ff 70%,  
    #7d9aff 90%,   
    #7d9aff 100% 
  );
  clip-path: polygon(0px 0px, 101% 0px, 101% 101%, 0px 101%);
}

.button-48 span {
  position: relative;
  z-index: 1;
}

.boton-informacion:hover {
  color: rgb(255, 255, 255);
  background-color: #b3c7ff; /* Azul pastel muy claro */
  border-radius: 10px;
}
.Categorias {
  padding-bottom: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.h2-categorias {
  text-transform: uppercase;
  font-size: 55px;
  line-height: 1;
  color: black;
  margin-bottom: 10px;
  text-align: center;
}

.Categorias-Contenedor {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 1080px; /* Ajuste para mantener centrado en pantallas más pequeñas */
  margin: 0 auto; /* Centra el contenedor */
}

.categoria-categorias {
  flex: 0 0 auto;
  width: 45%;
  min-width: 350px;
  height: 400px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 4px;
  border-radius: 3px;
  margin: 5px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.categoria-categorias img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 3px;
  transition: transform 0.3s ease-in-out;
}

.categoria-categorias:hover img {
  transform: scale(1.1);
}

.categoria-categorias:hover {
  box-shadow: rgba(0, 0, 0, 0.973) 0px 5px 10px;
}

@media (min-width: 1441px) {
  .Categorias-Contenedor {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    grid-template-rows: repeat(2, auto); /* 2 filas */
    gap: 10px;
    max-width: 1100px; 
    margin: 0 auto; /* Centra el contenedor */
  }
}

.txt-img {
  position: absolute;
  top: 39%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: rgb(255, 255, 255);
  font-size: 50px;
  font-weight: bold;
  text-shadow: rgba(0, 0, 0, 0.7) 1px 1px 4px;
  text-align: center;
  z-index: 1;
  pointer-events: none;
  background-color: rgba(0, 0, 0, 0.432);
  border-radius: 10px;
}


.Productos-carrucel {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 50px auto;
  padding: 10px 80px;
  background-color: rgba(5, 1, 252, 0.03);
}

.h2-carrucel {
  font-size: 60px;
  line-height: 1;
  color: black;
  padding-bottom: 20px;
  margin-top: 40px;
  text-transform: uppercase;
}
.principal-p {
  font-size: 20px;
  color: #333;
}
.productos-txt {
  max-width: 65%;
  text-align: left;
}
.productos-txt-quienes-somos{
  max-width: 70%;
  text-align: left;
}
.productos-txt-quienes-somos p{
  font-size: 20px;
  color: #333;
}

.productos-img {
  max-width: 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.productos-img-autopartes img{
  width: 300px; 
  height: 300px;
  border-radius: 50PX;
  object-fit: cover;
  box-shadow: 4px 4px 10px rgb(0, 0, 0);
}
.productos-img-quienessomos img{
  width: 250px; 
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  background-color: rgb(0 0 0 / 91%);
  box-shadow: 4px 4px 10px rgb(0, 0, 0);
}
.productos-img img {
  width: 300px; 
  height: auto;
  border-radius: 50PX;
  object-fit: cover;
  box-shadow: 4px 4px 10px rgb(0, 0, 0);
}

.categoria {
  width: 100%;
  height: 300px;
  display: flex;
  background-size: cover;
  background-position: center center;
  position: relative;
  border-radius: 30px;
  margin: 20px auto;
  align-items: center;
  justify-content: space-evenly;
}

.img-carrusel-c {
  width: 15%;
  height: 100%;
  object-fit: cover;
  margin-right: 15px;
  box-shadow: rgb(0, 0, 0) 0px 0px 20px;
  border-radius: 10px;
}

.carrusel-continuo {
  width: 95%;
  height: 100%;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: rgb(53, 53, 53) 0px 0px 4px;
  border-radius: 5px;
}

.img-carrusel-autopartes {
  width: 20%;
  height: 100%;
  margin-right: 15px;
  box-shadow: rgb(0, 0, 0) 0px 0px 20px;
  border-radius: 10px;
}

.carrusel-continuo-autopartes {
  width: 95%;
  height: 100%;
  overflow: hidden;
  padding: 8px;
  box-sizing: border-box;
  box-shadow: rgb(53, 53, 53) 0px 0px 4px;
  border-radius: 5px;
}

.holder {
  animation: carousel 22s linear infinite;
  white-space: nowrap;
  will-change: transform;
  height: 100%;
  flex: 1;
}
@media (min-width:1200px){
 .holder{
      &:hover {
          animation-play-state: paused;
        }
    }
  .img-carrusel-c{
      transition: transform 0.2s, box-shadow 0.2s;
    }
  .img-carrusel-c:hover{
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
      transform: translateY(-5px);
    }
  .img-carrusel-autopartes{
    transition: transform 0.2s, box-shadow 0.2s;
    }
    .img-carrusel-autopartes:hover{
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    transform: translateY(-5px);
    }
}
@keyframes carousel {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 1361px) {
.carrusel-continuo-autopartes {
    width: 95%;
        height: 100%;
    
    }
    
.productos-img-quienessomos img {
    width: 308px;
    }
.productos-img-autopartes img {
    
    height: 310px;
    
    }
}

@media (min-width: 891px) and (max-width: 1300px) {
  .principal-img {
    width: 114%;
   
}
.Nombre-Prinsipal {
    font-size: 301%;
    
}
.principal-p {
    font-size: 120%;
    
}

.h2-categorias {
    
    font-size: 240%;
    
}
.productos-img img {
    width: 90%;
}
.productos-img-autopartes img {
    width: 90%;
    border-radius: 11%;
}

.img-carrusel-c {
    width: 18%;
}
}
@media(max-width:950px){
  .img-carrusel-autopartes{
    width: 25%;
  }
}
@media (max-width: 890px) {
.principal-img {
    width: 335px;
}
.Nombre-Prinsipal {
    font-size: 45px;
}

.button-48 {
    font-size: 16px;
    padding: 12px;
}



.productos-img img {
    width: 245px;
    border-radius: 34px;
   
}

.carrusel-continuo {
    width: 825px;
    height: 340px;
}

.img-carrusel-c {
    width: 167px;
    height: 100%;
}

.productos-img-autopartes img {
    width: 245px;
    height: 245px;
    border-radius: 34px;
}

.carrusel-continuo-autopartes {
    width: 825px;
    height: 250px;
}
.productos-txt-quienes-somos p {
    font-size: 23px;
}    
    
}

@media (max-width: 840px){
  .prinsipal{
    padding: 20px 25px;
  }
  .principal-img{
    width: 300px;
  }
  .Productos-carrucel{
    padding: 10px 30px;
  }
  .productos-img-quienessomos img{
    width: 275px;
  }
}

@media (max-width: 720px) {
.prinsipal {
    padding: 20px 30px; 
  }
.Productos-carrucel {
    padding: 10px 30px;
  }
.Nombre-Prinsipal {
    font-size: 35px;
    margin-bottom: 10px;
  }
.principal-p {
    font-size: 19px;
  }
.principal-img {
    width: 290px; 
  }
.button-48 {
    font-size: 13px;
    font-weight: 800;
}
.h2-categorias {
    font-size: 32px;
  }
  
.categoria-categorias {
    width: 45%;
    height: 395px;
  }
.txt-img {
    font-size: 48px;
  }
  
.h2-carrucel {
    font-size: 60px;
    padding-bottom: 20px;
    margin-top: 40px;
  }
.carrusel-continuo {
        width: 700px;
        height: 270px;
    }
.carrusel-continuo-autopartes {
        width: 700px;
        height: 240px;
    }
  
.img-carrusel-c {
    width: 25%;
    height: 100%;
    object-fit: cover;
    margin-right: 15px;
    box-shadow: rgb(0, 0, 0) 0px 0px 20px;
    border-radius: 10px;
  }

.img-carrusel-autopartes {
        width: 30%;
        height: 100%;
        margin-right: 15px;
        box-shadow: rgb(0, 0, 0) 0px 0px 20px;
        border-radius: 10px;
    }
  
.productos-txt-quienes-somos p{
    font-size: 19px;
    color: #333;
  }
.productos-img-autopartes img {
        width: 210px;
        height: 210px;
        border-radius: 20px;
    }
  
.productos-img-quienessomos img{
    width: 200px; 
  }
  
.productos-img img {
    width: 210px;
    border-radius: 20px; 
  }
  
.categoria {
    height: 230px;
    border-radius: 30px;
  }
}

@media (max-width: 600px) {
  .prinsipal {
    padding: 20px 30px; 
  }
  .Productos-carrucel {
    padding: 10px 30px;
  }
  .Nombre-Prinsipal {
    font-size: 27px;
    margin-bottom: 10px;
  }
  .principal-p {
    font-size: 17px;
  }
  .principal-img {
    width: 255px; 
  }
  .button-48 {
    font-size: 11px;
    font-weight: 800;
}
  .h2-categorias {
    font-size: 25px;
  }
  
  .categoria-categorias {
    height: 390px;
  }
  .txt-img {
    font-size: 38px;
  }
  .carrusel-continuo{
      height: 235px;
  }
  
  .h2-carrucel {
    font-size: 60px;
    padding-bottom: 20px;
    margin-top: 40px;
  }
  
  .img-carrusel-c {
    width: 30%;
    height: 100%;
    object-fit: cover;
    margin-right: 15px;
    box-shadow: rgb(0, 0, 0) 0px 0px 20px;
    border-radius: 10px;
  }

  .img-carrusel-autopartes {
    width: 35%;
    height: 100%;
    margin-right: 15px;
    box-shadow: rgb(0, 0, 0) 0px 0px 20px;
    border-radius: 10px;
  }
  
  .productos-txt-quienes-somos p{
    font-size: 16px;
    color: #333;
  }
  .productos-img-autopartes img{
    width: 190px; 
    height: 190px;
    border-radius: 50PX;
  }
  
  .productos-img-quienessomos img{
    width: 190px; 
  }
  
  .productos-img img {
    width: 190px; 
  }
  
  .categoria {
    height: 130px;
    border-radius: 30px;
  }
}
@media(max-width: 550px){
  .principal-img {
    width: 225px;
}
}
@media (max-width: 490px) {
  .prinsipal {
    padding: 20px 30px; 
  }
  .Productos-carrucel {
    padding: 10px 30px;
  }
  .Nombre-Prinsipal {
    font-size: 20px;
    margin-bottom: 10px;
  }
  .principal-p {
    font-size: 14px;
  }
  .principal-img {
    width: 200px; 
  }
  .button-48 {
    font-size: 11px;
    font-weight: 800;
    padding:6px;
}
  .h2-categorias {
    font-size: 16px;
  }
  
  .categoria-categorias {
    height: 290px;
  }
  .txt-img {
    font-size: 27px;
  }
  
  .h2-carrucel {
    font-size: 60px;
    padding-bottom: 20px;
    margin-top: 40px;
  }
  
  .img-carrusel-c {
    width: 35%;
    height: 100%;
    object-fit: cover;
    margin-right: 15px;
    box-shadow: rgb(0, 0, 0) 0px 0px 20px;
    border-radius: 10px;
  }
  
.carrusel-continuo {
        width: 450px;
        height: 204px;
    }
.carrusel-continuo-autopartes {
        width: 450px;
        height: 170px;
    }
  .img-carrusel-autopartes {
    width: 35%;
    height: 100%;
    margin-right: 15px;
    box-shadow: rgb(0, 0, 0) 0px 0px 20px;
    border-radius: 10px;
  }
  
  .productos-txt-quienes-somos p{
    font-size: 12px;
    color: #333;
  }
  .productos-img-autopartes img{
    width: 140px; 
    height: 140px;
    border-radius: 19px;
  }
  
  .productos-img-quienessomos img{
    width: 125px; 
  }
  
  .productos-img img {
    width: 140px; 
  }
  
  .categoria {
    height: 130px;
    border-radius: 30px;
  }
}



@media (max-width: 412px) {
.prinsipal {
    padding: 20px 30px; 
  }
.Productos-carrucel {
    padding: 10px 30px;
  }
.Nombre-Prinsipal {
    font-size: 15px;
    margin-bottom: 10px;
  }
.principal-p {
        font-size: 14px;
    }
.button-48 {
    font-size: 10px;
    font-weight: 800;
    padding:6px;
}
.principal-img {
        width: 164px;
    }
.h2-categorias {
    font-size: 14px;
  }
  
.categoria-categorias {
    
    width: 180px;
    height: 270px;
  }
.txt-img {
    font-size: 26px;
  }
  
.h2-carrucel {
    font-size: 60px;
    padding-bottom: 20px;
    margin-top: 40px;
  }
  .holder {
  animation: carousel 10s linear infinite;
  
}
 .carrusel-continuo {
    width: 355px;
    height: 190px;
}
  
.img-carrusel-c {
    width: 35%;
    height: 100%;
  }
.carrusel-continuo-autopartes {
    width: 355px;
    height: 180px;
}
.img-carrusel-autopartes {
    width: 40%;
    height: 100%;
  }
.productos-txt-quienes-somos p{
    font-size: 13px;
    color: #333;
    padding-right:10px;
  }
.productos-img-autopartes img{
    width: 100px; 
    height: 100px;
    border-radius: 15px;
  }
  
.productos-img-quienessomos img{
    width: 100px; 
  }
  
.productos-img img {
    width: 100px; 
    border-radius: 15px;
  }
  
.categoria {
    height: 130px;
    border-radius: 30px;
  }
}


