 
    .container {
      display: flex;
      justify-content: center;
      align-items: flex-start;
      gap: 40px;
      padding: 50px;
      flex-wrap: wrap;
    }

    /* Galería de imágenes */
    .gallery {
      flex: 1;
      max-width: 500px;
      text-align: center;
    }

    .main-image {
      width: 100%;
      border-radius: 15px;
      transition: transform 0.3s ease;
      cursor: zoom-in;
    }

    .main-image:hover {
      transform: scale(1.05);
    }

    .thumbnails {
      display: flex;
      justify-content: center;
      gap: 10px;
      margin-top: 15px;
    }

    .thumbnails img {
      width: 80px;
      height: 100px;
      object-fit: cover;
      border-radius: 8px;
      cursor: pointer;
      border: 2px solid transparent;
      transition: border 0.3s ease;
    }

    .thumbnails img:hover {
      border: 2px solid #ff4081;
    }

    /* Detalles del producto */
    .details {
      flex: 1;
      max-width: 500px;
    }

    .details h2 {
      font-size: 28px;
      font-weight: 600;
      margin-bottom: 10px;
    }

    .details p {
      line-height: 1.6;
      margin-bottom: 10px;
    }

    .price {
      font-size: 26px;
      color: #ff4081;
      font-weight: 600;
    }

    .old-price {
      text-decoration: line-through;
      color: #888;
      margin-left: 10px;
      font-size: 18px;
    }

    .sizes {
      margin-top: 20px;
    }

    .sizes button {
      border: 1px solid #ccc;
      background: #fff;
      padding: 8px 15px;
      margin-right: 10px;
      border-radius: 8px;
      cursor: pointer;
      transition: all 0.2s;
    }

    .sizes button:hover {
      border-color: #ff4081;
      color: #ff4081;
    }

    .buy-btn {
      background-color: #ff4081;
      color: #fff;
      border: none;
      padding: 15px 40px;
      border-radius: 8px;
      cursor: pointer;
      margin-top: 25px;
      font-size: 16px;
      transition: background 0.3s ease;
    }

    .buy-btn:hover {
      background-color: #e63774;
    }

.back-button {
  display: inline-block;
  padding: 10px 22px;
  background: linear-gradient(135deg, #f9e0e8 0%, #fce3ef 100%);
  color: #b91c6b;
  font-family: "Poppins", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1rem;
  font-weight: 200;
  text-decoration: none;
  border-radius: 50px;
  box-shadow: 0 3px 8px rgba(185, 28, 107, 0.15);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.back-button:hover {
  color: #fff;
  background: linear-gradient(135deg, #b91c6b 0%, #e91e63 100%);
  box-shadow: 0 6px 15px rgba(185, 28, 107, 0.25);
  transform: translateY(-2px);
}

.back-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(185, 28, 107, 0.15);
}


.gallery {
  position: relative;
  overflow: hidden;
}

.main-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.2s ease;
  cursor: zoom-in;
}
 
 




/* --- EFECTO ZOOM DETALLE DE PRODUCTO --- */
.gallery {
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
}

.main-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 10px;
  cursor: crosshair;
  transition: transform 0.2s ease;
}

.zoom-lens {
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.6);
  width: 120px;
  height: 120px;
  display: none;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  mix-blend-mode: multiply;
}

.zoom-result {
  position: absolute;
  top: 0;
  left: 105%;
  width: 400px;
  height: 400px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background: #fff;
  display: none;
  z-index: 10;
}

.zoom-result img {
  position: absolute;
  top: 0;
  left: 0;
  max-width: none;
}


    @media (max-width: 900px) {
      .container {
        flex-direction: column;
        align-items: center;
      }
      .details {
        text-align: center;
      }
    }
