.jw-container{
  max-width:420px;
  margin:20px auto;
  background:#0f2438;
  padding:14px;
  border-radius:14px;
  color:#fff;
  font-family:system-ui;
}

.jw-heading{
  text-align:center;
  font-size:24px;
  font-weight:800;
}

/* CARD */
.jw-card{
  background:rgba(255,255,255,.06);
  padding:14px;
  border-radius:14px;
  position:relative;
}

/* SLIDER */
.img-slider{
  position:relative;
  width:100%;
  aspect-ratio:3/2;      /* 🔥 mobile perfect */
  border-radius:12px;
  overflow:hidden;
  background:#111;
  margin-bottom:8px;
}

.slide{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  opacity:0;
  transition:opacity .3s ease;
}

.slide.active{opacity:1}

.nav{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  background:rgba(0,0,0,.45);
  color:#fff;
  border:0;
  font-size:22px;
  padding:4px 10px;
  border-radius:50%;
  cursor:pointer;
}

.prev{left:6px}
.next{right:6px}

/* BADGES */
.badge{
  position:absolute;
  top:10px;
  left:10px;
  background:#ff3b3b;
  padding:4px 8px;
  border-radius:6px;
  font-size:12px;
  font-weight:900;
}

.few-left{
  margin-top:6px;
  color:#ffb86b;
  font-weight:800;
}

.stars{color:#ffd86b}
.price{color:#9be9ff;font-weight:800}

/* SIZE */
.size-box{margin-top:10px}
.sizes{display:flex;gap:8px;margin-top:4px}

.size-btn{
  padding:6px 14px;
  border-radius:20px;
  border:2px solid #6c7cff;
  background:none;
  color:white;
  font-weight:800;
  cursor:pointer;
}

.size-btn.active{
  background:#6c7cff;
  color:#000;
}

/* BUTTONS */
.buy-btn,
.step button{
  width:100%;
  margin-top:10px;
  padding:10px;
  border-radius:10px;
  border:0;
  font-weight:900;
  background:linear-gradient(90deg,#00d4a6,#6c7cff);
  cursor:pointer;
}

/* CHECKOUT */
.checkout{
  margin-top:14px;
  border-top:1px solid rgba(255,255,255,.2);
  padding-top:12px;
}

.step{margin-bottom:10px}

.step input,
.step textarea{
  width:100%;
  padding:8px;
  border-radius:8px;
  border:0;
  margin:6px 0;
  resize:none;
}

.hidden{display:none}

/* LOADER */
.loader{
  width:26px;
  height:26px;
  border:3px solid #ccc;
  border-top-color:#00ffd5;
  border-radius:50%;
  animation:spin 1s linear infinite;
  margin:10px auto;
}

@keyframes spin{
  to{transform:rotate(360deg)}
}

/* FINAL MESSAGE */
.final-msg{
  color:#ff6b6b;
  font-weight:900;
  text-align:center;
  margin-top:10px;
}
/* ===== DARK MODE TEXT FIX ===== */

/* Main heading */
.jw-heading{
  color:#f5f7ff;
  text-shadow:0 1px 2px rgba(0,0,0,.6);
}

/* Product title */
.jw-card h3{
  color:#ffffff;
  font-weight:900;
}

/* Premium underline */
.jw-card h3::after{
  content:"";
  display:block;
  width:40px;
  height:3px;
  background:linear-gradient(90deg,#ffd86b,#ffb703);
  border-radius:2px;
  margin-top:4px;
}

/* Stars */
.stars{
  color:#ffdd57;
}

/* Price */
.price{
  color:#8be9ff;
  font-size:16px;
}
