.top-links {
  font-family: "Exo 2", sans-serif;
}

.product-page {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 12vh;
}

.product-images { flex: 1; }
.product-images img { max-width: 90%; display: block; }

.thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}
.thumbs img {
  width: 60px;
  cursor: pointer;
  border: 2px solid transparent;
}
.thumbs img:hover { border-color: #333; }

.product-info { flex: 1; font-family: "Exo 2", sans-serif; }
.product-title { font-size: 2rem; margin-bottom: 0.5rem; }
.price { font-size: 1.9rem; color: #555; margin-bottom: 1rem;  font-family: "Exo 2",}

.add-to-cart {
  background: #000;
  color: #fff;
  padding: 0.45rem 1.2rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.4s;
  margin-left: 5rem;
}
.add-to-cart:hover { background: #0d91b6; }

.carrito {
  font-weight: 600;
  border-radius: 6px;
}

/*effect add to cart*/

@keyframes cart-bounce {
  0%   { transform: scale(1); }
  30%  { transform: scale(1.3); }
  50%  { transform: scale(0.9); }
  70%  { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.cart-animate {
  animation: cart-bounce 0.5s ease;
}


/* Estilos acordeón */
.accordion { margin-top: 1.5rem; border-top: 1px solid #ccc; }
.accordion-item { border-bottom: 1px solid #ccc; }
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 1.2rem;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  font-weight: bold;
}

.accordion-item .accordion-header .accordion-content{
  font-family: "Exo 2", sans-serif;
}
.accordion-header::after {
  content: "+";
  position: absolute;
  right: 1rem;
  transition: transform 0.3s;
}
.accordion-header.active::after {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 1rem;
  transition: max-height 0.3s ease;
}
.accordion-content p, .accordion-content ul {
  margin: 1rem 0;
}

.description_img{
  max-width: 600px;
}

/* RESPONSIVE */
@media (max-width: 1065px) {
  .product-page {
    flex-direction: column;
  }

  .thumbs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 5px;
    margin-bottom: 6.5rem;
  }

  .thumbs img {
    flex: 0 0 auto;
  }

  
}

@media (max-width: 480px) {
  .product-title {
    font-size: 1.4rem;
  }

  .price {
    font-size: 1.2rem;
  }

  .thumbs img {
    width: 60px;
    height: 60px;
  }
}


.product-info {
  max-width: 580px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  font-family: 'Poppins', sans-serif;
}


.product-title {
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
  margin-bottom: 10px;
  line-height: 1.4;
}

.price {
  font-size: 1.6rem;
  font-weight: bold;
  color: #555555; /* strong red tone */
  margin-bottom: 20px;
}

label {
  font-weight: 500;
  color: #444;
  display: block;
  margin-bottom: 6px;
}

select {
  width: 100%;
  padding: 10px 14px;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 8px;
  background-color: #f9f9f9;
  appearance: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

select:hover {
  border-color: #24cad6;
}

select:focus {
  outline: none;
  border-color: #1d69d5;
  box-shadow: 0 0 0 2px rgba(66, 102, 243, 0.2);
}


label[for="size"] {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.5px;
  color: #111; /* dark gray for readability */
  margin-bottom: 8px;
  display: inline-block;
  text-transform: capitalize;
  border-left: 4px solid #eb741a; /* sporty red accent */
  padding-left: 8px;
}


@media (max-width: 610px) {
  .product-info {
    max-width: 100%;
    padding: 15px;
    box-shadow: none;   /* optional: remove shadow for cleaner mobile look */
    border-radius: 0;   /* makes it fit edge-to-edge */
  }

  .product-title {
    font-size: 1.2rem;
    text-align: center;
  }

  .price {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 1rem;
    text-decoration: underline;
  }

  label[for="size"] {
    font-size: 0.9rem;
    display: block;
    margin-bottom: 0.5rem;
  }

  select {
    font-size: 0.9rem;
    padding: 8px 10px;
  }

  .add-to-cart {
    width: 100%;
    margin: 1rem 0 0 0; /* remove left offset */
    padding: 0.7rem;
  }

  .carrito {
    font-size: 1rem;
    text-align: center;
  }

  .accordion-header {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .accordion-content {
    font-size: 0.9rem;
  }

  .description_img {
    max-width: 100%;
  }
}


/*cart button*/

a[href="payment_process/cart.html"] {
  /* Add your styles here */
  color: rgb(237, 237, 237); /* Changes the text color to red */
  font-weight: bold; /* Makes the text bold */
  background-color: rgb(11, 116, 169); /* Gives it a yellow background */
  padding: 5px 10px; /* Adds space around the text */
  border-radius: 5px; /* Rounds the corners of the background */
  text-decoration: none; /* Removes the underline */
}


.shopping_cart {
  width: 22px; /* Adjusts the width of the image */
  height: auto; /* Ensures the image scales proportionally */
  vertical-align: middle; /* Aligns the image with the text next to it */
  margin-right: 5px; /* Adds a small space between the image and the word "Carrito" */
}

/* Hide by default */
.cart-link-mobile {
  display: none;
}

/* Show only on mobile */
@media (max-width: 610px) {
  .cart-link-mobile {
    display: flex;
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #000;
    color: #fff;
    padding: 12px;
    border-radius: 50%;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    z-index: 9999;
  }

  .cart-link-mobile img.shopping_cart {
    width: 28px;
    height: 28px;
  }

  /* Small badge for count */
  #cart-count-mobile {
    position: absolute;
    top: 6px;
    right: 6px;
    background: red;
    color: white;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 50%;
  }
}


.size-label {
  display: block;
  font-size: 1.2rem;
  font-weight: 700;
  color: #222;           /* dark gray / almost black */
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-left: 4px solid #eb741a; /* sporty accent color */
  padding-left: 8px;
}


/* Size selector as buttons */

.talla-style{
  size: 2rem;
  width: 600;
  color: #0b0b0b;
}

.size-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 1rem;
}

.size-selector input[type="radio"] {
  display: none; /* hide actual radios */
}

.size-selector label {
  padding: 8px 14px;
  border: 2px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
  background: #f9f9f9;
  transition: all 0.2s ease-in-out;
  user-select: none;
}

.size-selector input[type="radio"]:checked + label {
  background-color: #000;
  color: #fff;
  border-color: #000;
}

.size-selector label:hover {
  border-color: #666;
}
