/*ROOT*/
:root {
  --color-backgorund-gray: #ffffff; /* Fondo blanco */
  --color-gray: #fff; /* Texto negro */
  --color-back: #000;
  --color-light-gray: #000000; /* Texto negro */
  --color-wsp: #25D366;
  --color-wsp-hover: #128C7E;
}
/*ROOT*/

  @import url('https://fonts.googleapis.com/css2?family=Teachers:ital,wght@0,400..800;1,400..800&display=swap');

  *{
    font-family: "Teachers", sans-serif;
    text-decoration: none;
    list-style-type: none;
    list-style: none;
    margin: 0;
    padding: 0;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
    box-sizing: border-box;
  }

  .whatsapp-link {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background-color: #25d366;
    color: #fff;
    width: 60px;
    height: 60px;
    z-index: 9999;
    border-radius: 50%;
    text-align: center;
    line-height: 60px;
    font-size: 24px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
  }
  
  .whatsapp-link i{
    font-size: 35px;
  }
  
  .whatsapp-link:hover {
    background-color: #128c7e;
  }

  img{
    width: 100%;
  }

  body {
    color: var(--color-light-gray);
    background: var(--color-gray);
}

.container {
    max-width: 1068px;
    margin: auto;
    width: 100%;
}

/* Base styles */
header {
  top: 0;
  left: 0;
  width: 100%;
  background: var(--color-background-gray);
  box-shadow: 0 1px 4px hsla(0, 0%, 98%, 0.1);
  z-index: 100;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.nav-links {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--color-light-gray);
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
}

.effect-one > a {
  position: relative;
}

.effect-one > a::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0;
  margin: -5px 0;
  background-color: white;
  visibility: hidden;
  transform: scaleX(0);
  transition: all 0.4s ease-in-out 0s;
}

.effect-one > a:hover::before {
  visibility: visible;
  transform: scaleX(1);
}

.logo-container {
  flex-grow: 2;
  display: flex;
  justify-content: center;
  width: 150px;
  margin-right: 250px;
}

.logo img {
  width: 150px;
  margin: 0 auto;
}

#cart-icon {
  position: relative;
  font-size: 1.8rem;
  cursor: pointer;
}

/* #cart-icon[data-quantity="0"]::after {
  content: '';
} */

/* #cart-icon[data-quantity]::after {
  content: attr(data-quantity);
  position: absolute;
  top: 0;
  right: -12px;
  width: 20px;
  height: 20px;
  background: var(--color-light-gray);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Teachers", sans-serif;
} */

/* Responsive styles */
@media (max-width: 768px) {
  .nav {
      flex-direction: row;
      justify-content: space-between;
  }

  #menu-icon, #close-icon {
      font-size: 2rem;
      cursor: pointer;
  }

  #close-icon {
      display: none;
  }

  .nav-links {
      position: fixed;
      left: -100%;
      top: 0;
      width: 80%;
      height: 100vh;
      background: var(--color-background-gray);
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: 0.3s;
      z-index: 99;
      background-color: var(--color-gray);
  }

  .nav-links li {
      margin: 20px 0;
  }

  .nav-links.show {
      left: 0;
  }

  .logo-container {
      margin-right: 0;
  }

  #close-icon {
      position: absolute;
      top: 20px;
      right: 20px;
  }
}

/* Hide the menu icon on larger screens */
@media (min-width: 769px) {
  #menu-icon, #close-icon {
      display: none;
  }
}




  /* CARRITO */

  .cart{
    position: fixed;
    width: 360px;
    top: 0;
    right: -100%;
    min-height: 100vh;
    background: var(--color-gray);
    box-shadow: -2px 0 4px hsl(0, 4%, 15% / 10%) ;
    transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) ;
  }

  .cart-active{
    right: 0;
    transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  }

  .cart-title{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
  }

  .total{
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--color-light-gray);
    margin-top: 16px;
  }

  .total-title{
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-left: 8px;
  }

  .total-price{
    font-size: 1.1rem;
    margin: 1rem 0 0 1.7rem;
    margin-right: 12px;
  }

  .btn-buy{
    display: flex;
    justify-content: center;
    margin: 1.5rem auto 0 auto;
    padding: 9px 15px;
    width: 35%;
    text-align: center;
    border: none;
    border-radius: 0.8rem;
    background-color: var(--color-backgorund-gray);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 8px;
  }

  #close-cart{
    position: absolute;
    top: 1rem;
    right: 0.8rem;
    font-size: 2rem;
    color: var(--color-light-gray);
    cursor: pointer;
  }

  .cart-box{
    display: grid;
    grid-template-columns: 32% 50% 18%;
    gap: 1rem;
    margin-top: 1rem;
  }

  .size-select {
    border: 1px solid var(--color-light-gray);
    outline-color: var(--color-backgorund-gray);
    width: 50px;
    text-align: center;
    font-size: 1rem;
    border-radius: 4px;
    margin-top: 8px;
    margin-bottom: 8px;
}

  .cart-img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
    padding: 10px;
  }

  
  .deatil-box{
    display: grid;
    row-gap: 0.5rem;
  }

  .cart-product-title{
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .cart-price{
    font-weight: 500;
    margin-bottom: 8px;
    margin: 10px;
  }

  .cart-quantity{
    border: 1px solid var(--color-light-gray);
    outline-color:var(--color-backgorund-gray);
    width: 3.5rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 4px;
  }

  .cart-remove{
    margin-right: 8px;
    font-size: 24px;
    color: rgb(190, 13, 13);
    cursor: pointer; 
  }




  /* CARRITO */

  .cart{
    position: fixed;
    width: 360px;
    top: 0;
    right: -100%;
    min-height: 100vh;
    background: var(--color-gray);
    box-shadow: -2px 0 4px hsl(0, 4%, 15% / 10%) ;
    transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1) ;
  }

  .cart-active{
    right: 0;
    transition: 0.3s cubic-bezier(0.075, 0.82, 0.165, 1);
  }

  .cart-title{
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    margin-top: 2rem;
  }

  .total{
    display: flex;
    justify-content: flex-end;
    border-top: 1px solid var(--color-light-gray);
    margin-top: 16px;
  }

  .total-title{
    font-size: 1.2rem;
    font-weight: 600;
    margin-top: 1rem;
    margin-left: 8px;
  }

  .total-price{
    font-size: 1.1rem;
    margin: 1rem 0 0 1.7rem;
    margin-right: 12px;
  }


  .btn-buy{
    display: flex;
    justify-content: center;
    margin: 1.5rem auto 0 auto;
    padding: 9px 15px;
    width: 35%;
    text-align: center;
    border: none;
    border-radius: 1.2rem;
    background-color: var(--color-back);
    color: #fff;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 8px;
  }

  #close-cart{
    position: absolute;
    top: 1rem;
    right: 0.8rem;
    font-size: 2rem;
    color: var(--color-light-gray);
    cursor: pointer;
  }

  .cart-box{
    display: grid;
    grid-template-columns: 32% 50% 18%;
    gap: 1rem;
    margin-top: 1rem;
  }

  .size-select {
    border: 1px solid var(--color-light-gray);
    outline-color: var(--color-backgorund-gray);
    width: 50px;
    text-align: center;
    font-size: 1rem;
    border-radius: 4px;
    margin-top: 8px;
    margin-bottom: 8px;
}

  .cart-img{
    width: 100px;
    height: 100px;
    object-fit: contain;
    object-position: center;
    padding: 10px;
  }

  
  .deatil-box{
    display: grid;
    row-gap: 0.5rem;
  }

  .cart-product-title{
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    margin-bottom: 12px;
  }

  .cart-price{
    font-weight: 500;
    margin-bottom: 8px;
    margin: 10px;
  }

  .cart-quantity{
    border: 1px solid var(--color-light-gray);
    outline-color:var(--color-backgorund-gray);
    width: 3.5rem;
    text-align: center;
    font-size: 1rem;
    border-radius: 4px;
  }

  .cart-remove{
    margin-right: 8px;
    font-size: 24px;
    color: rgb(190, 13, 13);
    cursor: pointer; 
  }

/* PRODUCTOS */

section{
  padding:4rem 0 3rem ;
}

.section-title{
  font-size: 1.5rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 1.8rem;
}

.shop-content{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, auto));
  gap: 1.5rem;
}

.product-box{
  position: relative;
  background: var(--color-backgorund-gray);
  padding: 10px;
  background-repeat: 5px;
}

.product-img{
  width: 100%;
  height: auto;
  border-radius: 5px;
  margin-bottom: 0.5rem;
}

.product-title{
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
  color: var(--color-light-gray);
}

.price{
  font-weight: 500;
}

.add-cart{
  position: absolute;
  bottom: 10px;
  right: 10px;
  background: var(--color-gray);
  color: var(--color-light-gray);
  font-size: 1rem;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
}

.add-cart:hover{
  background: #565555;
  transition: all 0.3s ease;
}

/*PAGO EXITOSO Y CANCELADO*/

.sc-container{
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sc-container img{
  width: 200px;
  margin: 2rem 0;
}

.sc-container h1{
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.sc-container p{
  max-width: 600px;
  font-size: 0.97rem;
  text-align: center;
  margin: 0.5rem 0;
}

.sc-btn{
  padding: 12px 20px;
  border-radius: 2rem;
  background: var(--color-backgorund-gray);
  color: var(--color-light-gray);
  font-size: 1rem;
  font-weight: 500;
}

/* Diseño responsive para dispositivos moviles */

@media (max-width: 1080px) {
  
  .nav{
    padding: 14px 0;
  }

  .section{
    padding: 3rem 0 2rem;
  }

  .container{
    margin: 0 auto;
    width: 90%;
  }


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

}

@media (max-width: 400px) {
  
  .nav{
    padding: 12px 0;
  }

  .logo{
    font-size: 1rem;
  }

  .cart{
    width: 320px;
  }

}

@media (max-width: 360px) {
  
  .cart{
    width: 100%;
  }



}
    /*Contacto*/

    section{
        display: flex;
        flex-direction: column;
        text-align: center;
        width: 90%;
        max-width: 550px;
        margin: auto;
        margin-top: 0em;
    }
    
    .sectionHeader{
        text-transform: capitalize;
        font-weight: bold;
        font-size: 1.4rem;
        color: var(--primaryColor);
        margin-bottom: .5em;
    }
    
    .heading,.sub-heading{
        margin-bottom: .5em;
        font-weight: bold;
    }
    
    .heading{
        font-size: 2.5em;
    }
    
    .sub-heading{
        text-align: left;
    }
    
    .contactForm{
        display: grid;
        gap: 3em;
        background-color: #e2e2e2;
        border-radius: 8px;
        padding: 25px;
    }
    
    form{
        width: 100%;
        margin-top: 3em;
    }
    
    .para{
        color: var(--color-light-gray);
        font-size: 1.2rem;
        line-height: 1.5em;
        margin-bottom: 1em;
    }
    
    .para2{
        text-align: left;
        text-transform: uppercase;
        color: var(--color-light-gray);
        font-weight: 500;
    }
    
    .input{
        width: 95%;
        max-width: 700px;
        border: none;
        font-size: .9rem;
        padding: 1em;
        outline: none;
        background-color: var(--color-backgorund-gray);
        color: var(--color-back);
        border-radius: 7px;
        border: 1px solid #ccc;
        margin-bottom: 1em;
    
    }
    
    .input:focus{
        border: 1px solid var(--color-light-gray);
    }
    
    .input::placeholder{
        text-transform: capitalize;
        font-weight: 500
    }
    
    .btn-sb{
        color: var(--color-light-gray);
        background-color: var(--color-gray);
        border: 1px solid var(--color-light-gray);
        width: 50%;
        padding: 10px;
        border-radius: 5px;
        cursor: pointer;
    }
    
    .map-container{
        width: 100%;
        height: 500px;
    }
    
    
    .map{
        bottom: 0;
        left: 0;
        width: 100%;
        margin: 0 auto;
        height: 100%;
    }
    
    .map iframe{
        width: 100%;
        height: 100%;
    }
    
    .contactMethod{
        display: flex;
        flex-direction: column;
        margin-top: 3em;
        text-align: left;
    }
    
    .method{
        display: flex;
        align-items: center;
    }
    
    .contactIcon{
        font-size: 2rem;
        color: var(--primaryColor);
        width: 70px;
    }
    
    @media screen and (min-width:800px) {
        section{
            max-width: 1100px;
        }
        .contactForm{
            grid-template-columns: 1fr 1fr;
        }   
    
        .contactMethod{
            flex-direction: row;
            justify-content: space-between;
        }
    }


   /*footer*/

footer{
  width: 100%;
  bottom: 0;
  left: 0;
}

footer .content{
  max-width: 1250px;
  margin: auto;
  padding: 30px 40px 40px 40px;
}
footer .content .top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 50px;
}
.content .top .logo-details img{
  width: 150px;
}
.content .top .media-icons{
  display: flex;
}
.content .top .media-icons a{
  height: 40px;
  width: 40px;
  margin: 0 8px;
  border-radius: 50%;
  text-align: center;
  line-height: 40px;
  color: var(--color-light-gray);
  font-size: 17px;
  text-decoration: none;
  transition: all 0.4s ease;
}

.top .media-icons a:nth-child(1){
  background: #E1306C;
  color: #fff;
}

.top .media-icons a:nth-child(2){
  background: #000;
  color: #fff;
}

.top .media-icons a:nth-child(3){
  background: #25D366;
  color: #fff;
}

footer .content .link-boxes{
  width: 100%;
  display: flex;
  justify-content: space-between;
}
footer .content .link-boxes .box{
  width: calc(100% / 5 - 10px);
}
.content .link-boxes .box .link_name{
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 10px;
  position: relative;
}
.link-boxes .box .link_name::before{
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 35px;
  background: #fff;
}
.content .link-boxes .box li{
  margin: 9px 0;
}
.content .link-boxes .box li a{
  color: #000;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  opacity: 0.8;
  transition: all 0.4s ease
}
.content .link-boxes .box li a:hover{
  padding-left: 8px;
}
.content .link-boxes .input-box{
  margin-right: 55px;
}

.input-box input[type="button"]:hover{
  opacity: 1;
}
footer .bottom-details{
  width: 100%;
  background: var(--color-gray);
}
footer .bottom-details .bottom_text{
  max-width: 1250px;
  margin: auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
}
.bottom-details .bottom_text span,
.bottom-details .bottom_text a{
  font-size: 14px;
  font-weight: 300;
  color: #000;
  opacity: 0.8;
  text-decoration: none;
}
.bottom-details .bottom_text a:hover{
  opacity: 1;
  text-decoration: underline;
}
.bottom-details .bottom_text a{
  margin-right: 10px;
}
@media (max-width: 900px) {
  footer .content .link-boxes{
    flex-wrap: wrap;
  }
}
@media (max-width: 700px){
  footer{
    position: relative;
  }

  .content .link-boxes .box li a{
    color: #000;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 400;
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.4s ease
  }

  .content .top .logo-details{
    font-size: 26px;
  }
  .content .top .media-icons a{
    height: 35px;
    width: 35px;
    font-size: 14px;
    line-height: 35px;
  }
  footer .content .link-boxes .box{
    width: calc(100% / 3 - 10px);
  }
  footer .content .link-boxes .input-box{
    width: 60%;
  }
  .bottom-details .bottom_text span,
  .bottom-details .bottom_text a{
    font-size: 12px;
  }
}
@media (max-width: 520px){
  footer::before{
    top: 145px;
  }
  footer .content .top{
    flex-direction: column;
  }
  .content .top .media-icons{
    margin-top: 16px;
  }
  footer .content .link-boxes .box{
    width: calc(100% / 2 - 10px);
  }
  footer .content .link-boxes .input-box{
    width: 100%;
  }
}
