/* =========================
   ELITE STREETWEAR PRODUCT PAGE
   Dark • Premium • Reseller Marketplace Vibe
========================= */

/* RESET */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

body {
  background: radial-gradient(circle at top left, #111 0%, #0a0a0a 40%, #000 100%);
  color: #f5f5f5;
  overflow-x: hidden;
}

/* ================= HEADER ================= */
.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 80px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

.product-header .back-btn {
  text-decoration: none;
  color: #bbb;
  font-size: 16px;
  transition: 0.3s ease;
}

.product-header .back-btn:hover {
  color: #fff;
  transform: translateX(-4px);
}

.product-header .store-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffffff, #999);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ================= MAIN SECTION ================= */
.product-details {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 100px;
  max-width: 1400px;
  margin: 100px auto;
  padding: 80px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 30px;
  backdrop-filter: blur(25px);
  box-shadow: 0 0 60px rgba(0,0,0,0.6);
  position: relative;
  overflow: hidden;
}

/* Subtle glow effect */
.product-details::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.04), transparent 70%);
  top: -200px;
  right: -200px;
}

/* ================= IMAGE ================= */
.product-image {
  flex: 1;
  max-width: 550px;
}

.product-image img {
  width: 100%;
  border-radius: 25px;
  object-fit: cover;
  aspect-ratio: 1/1;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
}

.product-image img:hover {
  transform: scale(1.06);
  box-shadow: 0 60px 140px rgba(0,0,0,1);
}

/* Swiper Pagination */
.swiper-pagination-bullet {
  background: #00ffcc;
  opacity: 0.8;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background: #00aaff;
}

/* ================= INFO ================= */
.product-info {
  flex: 1;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.product-info h2 {
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 1px;
}

.product-info .price {
  font-size: 30px;
  font-weight: 700;
  color: #fff;
  position: relative;
}

.product-info .price::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 70px;
  height: 3px;
  background: linear-gradient(90deg, #00ffcc,/ #00aaff);
  border-radius: 3px;
}

.product-info .description {
  font-size: 16px;
  line-height: 1.8;
  color: #aaa;
}

/* Select dropdown */
.product-info label {
  font-size: 14px;
  color: #bbb;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-info select {
  padding: 14px 18px;
  background: #111;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  color: #fff;
  font-size: 15px;
  transition: 0.3s ease;
}

.product-info select:focus {
  outline: none;
  border-color: #00aaff;
  box-shadow: 0 0 15px rgba(0,170,255,0.4);
}

/* ================= BUY BUTTON ================= */
.product-info .buy {
  text-align: center;
  padding: 16px 40px;
  border-radius: 50px;
  background: linear-gradient(90deg, #00ffcc, #00aaff);
  color: #000;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  transition: 0.4s ease;
  box-shadow: 0 15px 40px rgba(0,170,255,0.3);
}

.product-info .buy:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 25px 60px rgba(0,170,255,0.6);
}

/* ================= SUCCESS MESSAGE ================= */
.success-message {
  display: none;
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(0,255,170,0.1);
  border: 1px solid rgba(0,255,170,0.4);
  color: #00ffcc;
  animation: fadeIn 0.4s ease forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ================= RESPONSIVE ================= */
@media (max-width: 1000px) {
  .product-details {
    flex-direction: column;
    gap: 60px;
    padding: 50px 25px;
  }

  .product-info {
    text-align: center;
    max-width: 100%;
  }

  .product-image {
    max-width: 100%;
  }

  .product-image img {
    width: 100%;
    max-width: 450px;
  }
}
