/*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: 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: #d9d9d9;
  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: #000;
  color: var(--color-gray);
  font-size: 1rem;
  padding: 8px;
  border-radius: 50%;
  cursor: pointer;
}



/*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%;
  }



}


/*INFO TEXT*/

.info-text{
  background-color: var(--color-backgorund-gray);
  color: var(--color-gray);
}

.info-text p{
  text-align: center;
  font-size: 22px;
  align-items: center;
  font-weight: 400;
}

/* ABOUT US */
.about-us {
  width: 100%;
}

.about-us img {
  width: 100%;
  max-width: 302px;
  height: auto;
}

.about {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
  padding: 0 20px;
}

.text {
  width: 100%;
  max-width: 540px;
  margin-top: 20px;
}

.text h2 {
  font-size: 2.5rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.text p {
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.data {
  margin-top: 30px;
}

 .hire {
  font-size: 1rem;
  background: var(--color-backgorund-gray);
  color: #fff;
  text-decoration: none;
  border: none;
  padding: 8px 25px;
  border-radius: 6px;
  transition: 0.5s;
}

.hire:hover {
  background: var(--color-light-gray);
}

/* Responsive styles */
@media (max-width: 768px) {
  .about {
      flex-direction: column;
      align-items: center;
      text-align: center;
  }

  .text h2 {
      font-size: 2rem;
  }

  .text p {
      font-size: 0.9rem;
      line-height: 1.4;
  }

  .hire {
      font-size: 0.9rem;
      padding: 8px 20px;
  }
}

@media (max-width: 480px) {
  .text h2 {
      font-size: 1.8rem;
  }

  .text p {
      font-size: 0.8rem;
      line-height: 1.3;
  }

  .hire {
      font-size: 0.8rem;
      padding: 7px 18px;
  }
}

/*FAQ*/

.faq-container {
  width: 60%;
  max-width: 100%;
  margin: 0 auto;
  padding: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  margin-bottom: 20px;
  margin-top: 50px;
}

.faq-container h1 {
  text-align: center;
  color: var(--color-light-gray);
  margin-bottom: 20px;
  font-size: 30px;
  text-transform: uppercase;
}

.faq-item {
  margin-bottom: 10px;
}

.faq-question {
  width: 100%;
  padding: 10px;
  background-color: var(--color-backgorund-gray);
  color: var(--color-back);
  border: none;
  border-radius: 4px;
  text-align: left;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question .arrow {
  transition: transform 0.3s;
}

.faq-question.active .arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 10px;
  background-color: #eeeeee;
  color: var(--color-back);
  border-radius: 4px;
  margin-top: 5px;

}

.faq-answer p {
  margin: 0;
  font-size: 14px;
  color: #333;
}

@media (max-width: 768px) {
  .faq-container {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin-bottom: 20px;
  }
}

/*Crtas*/

.card-section {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.card {
  background-color: var(--color-backgorund-gray);
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  padding: 20px;
  text-align: center;
  width: 250px;
  height: 150px;
  transition: transform 0.2s;
  margin-top: 20px;
}

.card:hover {
  transform: scale(1.05);
}

.card-icon i {
  font-size: 25px;
  color: var(--color-light-gray);
}

.card-title {
  font-size: 18px;
  margin: 10px 0;
  color: #333;
}

.card-description {
  font-size: 16px;
  color: var(--color-light-gray);
}


@media (max-width: 768px) {
  .card-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .card-section .card {
    background-color: var(--color-backgorund-gray);
    border: 1px solid var(--color-light-gray);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 350px;
    height: 150px;
    transition: transform 0.2s;
  }

}

@media (max-width: 900px) {
  .card-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }

  .card {
    background-color: var(--color-backgorund-gray);
    border: 1px solid var(--color-light-gray);
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: center;
    width: 250px;
    height: 150px;
    transition: transform 0.2s;
  }

}


/*footer*/

footer{
  background: var(--color-backgorund-gray);
  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: #fff;
  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;
    list-style: circle;
    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%;
  }
}

/*ABOUT*/

.about-section {
  max-width: 1050px;
  margin: 0 auto;
  padding: 20px;
}

.about-container {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.about-image {
  flex: 1;
  width: 150px;
  border-radius: 10px;
  margin-left: 40px;
}

.about-image-2 {
  flex: 1;
  width: 150px;
  border-radius: 10px;
  margin-right: 40px;
}

.about-container.reverse .about-image {
  margin-right: 0;
  margin-left: 20px;
}

.about-text {
  flex: 2;
  max-width: 600px;
}

.about-text h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: var(--color-back);
}

.about-text h3 {
  font-size: 1.7rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: var(--color-light-gray);
}

.about-text p {
  font-size: 1rem;
  margin-bottom: 10px;
  line-height: 1.8;
  color: #34495e;
}

.about-text ul {
  list-style-type: none;
  padding-left: 0;
}

.about-text ul li {
  margin-bottom: 10px;
  font-size: 1rem;
  color: var(--color-back);
  width: 600px;
}

.about-text ul li i {
  margin-right: 10px;
  color: var(--color-light-gray);
}

.about-text ul li strong {
  font-size: 1.1rem;
}

@media (max-width: 768px) {
  .about-section {
    width: 100%;
  }

  .about-container {
    flex-direction: column;
  }

  .about-text {
    order: 1;
  }

  .about-image, .about-image-2 {
    width: 100%;
    margin: 20px 0;
    order: 2;
  }

  .about-text ul li {
    width: 100%;
  }
}
