/* =========================================================
   GWP V2 – FINAL PREMIUM UI
   DonateKart-style | Clean | Responsive | Stable
========================================================= */

/* -------------------------
   Root variables
--------------------------*/
:root {
  --gwp-primary: #5da9e9;
  --gwp-accent: #f28c38;
  --gwp-success: #62c554;
  --gwp-bg: #ffffff;
  --gwp-border: #e9edf3;
  --gwp-text: #1f2937;
  --gwp-muted: #6b7280;
}

/* -------------------------
   Grid layout
--------------------------*/
.gwp2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .gwp2-grid {
    grid-template-columns: 1fr;
  }
}

/* -------------------------
   Card
--------------------------*/
.gwp2-card {
  background: var(--gwp-bg);
  border-radius: 16px;
  padding: 18px;
  border: 1px solid var(--gwp-border);
  transition: box-shadow 0.2s ease;
}

.gwp2-card:hover {
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

/* -------------------------
   Title + badges
--------------------------*/
.gwp2-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.gwp2-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gwp-text);
  margin: 0;
}

.gwp2-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.gwp2-badge {
  background: #eef6ff;
  color: #2563eb;
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  font-weight: 600;
}

/* -------------------------
   Image
--------------------------*/
.gwp2-img {
  margin: 14px 0;
  text-align: center;
}

.gwp2-img img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

/* -------------------------
   Progress
--------------------------*/
.gwp2-progress-text {
  font-size: 13px;
  color: var(--gwp-muted);
  margin-bottom: 6px;
}

.gwp2-progress {
  height: 6px;
  background: #edf1f5;
  border-radius: 999px;
  overflow: hidden;
}

.gwp2-progress span {
  display: block;
  height: 100%;
  background: var(--gwp-success);
}

/* -------------------------
   Bottom row
--------------------------*/
.gwp2-bottom {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Price */
.gwp2-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--gwp-text);
}

.gwp2-price span {
  font-size: 12px;
  color: var(--gwp-muted);
  margin-left: 4px;
}

/* -------------------------
   ADD button (FINAL)
--------------------------*/
.gwp2-add {
  background: var(--gwp-primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.gwp2-add:hover {
  background: #4a98da;
}

/* -------------------------
   Quantity controls
--------------------------*/
.gwp2-qty {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #f5f8fc;
  border-radius: 999px;
  padding: 6px 10px;
}

.gwp2-minus,
.gwp2-plus {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: var(--gwp-primary);
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.gwp2-count {
  min-width: 18px;
  text-align: center;
  font-weight: 600;
  font-size: 13px;
}

/* -------------------------
   Form area
--------------------------*/
.gwp2-form {
  margin-top: 32px;
}

.gwp2-totalbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #eef6ff;
  border-radius: 14px;
  padding: 12px 16px;
  margin-bottom: 14px;
}

.gwp2-totalbar span {
  font-size: 13px;
  color: var(--gwp-muted);
}

.gwp2-totalbar strong {
  font-size: 18px;
  color: var(--gwp-text);
}

/* -------------------------
   Mobile fine-tuning
--------------------------*/
@media (max-width: 480px) {
  .gwp2-title {
    font-size: 16px;
  }

  .gwp2-price {
    font-size: 15px;
  }

  .gwp2-bottom {
    gap: 10px;
  }
}