* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  background: linear-gradient(135deg, #f2f7f4 0%, #e6f2ec 100%);
}

#wa-premium {
  max-width: 460px;
  margin: 18px auto;
  padding: 20px 18px;
  
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 25px 60px rgba(0, 60, 40, 0.12);
  border: 1px solid #e2ece6;
}

.quick-wa-heading {
  text-align: center;
  margin-bottom: 26px;
}

.quick-wa-brand {
  font-size: 28px;
  margin: 0;
  font-weight: 700;
  color: #111;
}

.quick-wa-title {
  font-size: 15px;
  margin-top: 6px;
  color: #555;
  font-weight: 500;
}

#wa-premium label {
  display: block;
  margin: 12px 0 4px;
  font-size: 15px;
  font-weight: 700;
  color: #0e6b47;
}

#waProducts,
#waFertilizer,
#waDelivery {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#waProducts button,
#waFertilizer button,
#waDelivery button {
  border: 1.8px solid #d7e5dd;
  border-radius: 18px;
  padding: 16px;
  background: #ffffff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 14px rgba(0,0,0,0.04);
  transition: all 0.25s ease;
  text-align: center;
}

#waProducts button:hover,
#waFertilizer button:hover,
#waDelivery button:hover {
  border-color: #2f6f54;
  background: #f4fbf7;
}

#wa-premium button.active {
  background: linear-gradient(135deg, #2f6f54, #3d8a68);
  color: #ffffff;
  border-color: #2f6f54;
  transform: scale(1.02);
  box-shadow: 0 12px 25px rgba(47, 111, 84, 0.35);
}

#waProducts button.dimmed,
#waFertilizer button.dimmed,
#waDelivery button.dimmed {
  opacity: 0.35;
}

.quick-wa-total {
  margin-top: 26px;
  background: linear-gradient(135deg, #2f6f54, #3d8a68);
  padding: 18px;
  border-radius: 20px;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  box-shadow: 0 15px 35px rgba(47, 111, 84, 0.3);
}

#wa-premium input,
#wa-premium textarea {
  width: 100%;
  padding: 10px 15px;
  border-radius: 16px;
  border: 1.5px solid #d7e5dd;
  font-size: 15px;
  margin-bottom: 5px;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0, 60, 40, 0.06);
  outline: none;
}


#wa-premium input:focus,
#wa-premium textarea:focus {
  border-color: #2f6f54;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(47, 111, 84, 0.15);
}

.quick-wa-cancel {
  display: none;
}

@media (max-width: 480px) {
  #wa-premium {
    margin: 12px;
    padding: 16px;
  }
}

.form-section {
  margin-top: 6px;
}

.form-row {
  display: flex;
  gap: 14px;
  width: 100%;
}

.form-row .form-group {
  flex: 1;
  min-width: 0;
}


.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 14px;
  font-weight: 700;
  color: #145c3f;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}


#wa-premium textarea {
  min-height: 60px;
  resize: none;
}
.quick-wa-actions {
  margin-top: 20px;
}

.quick-wa-submit {
  width: 100%;
  background: linear-gradient(135deg, #16a34a, #15803d);
  color: #ffffff;
  border: none;
  padding: 20px;
  border-radius: 22px;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.45);
  transition: all 0.25s ease;
}

.quick-wa-submit:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(22, 163, 74, 0.6);
}

@media (max-width: 600px) {
  .form-row {
    flex-direction: column;
  }
}
/* Highlight first product */
#waProducts button:first-child:not(.active) {
  border: 2px solid #2f6f54;
  background: linear-gradient(135deg, #f4fbf7, #ffffff);
  font-weight: 700;
  position: relative;
}

#waProducts button:first-child {
  position: relative;
}

#waProducts button:first-child::after {
  content: "Limited Stock";
  position: absolute;
  top: -25px;
  left: 0px;
  background: #16a34a;
  color: #ffffff;
  font-size: 11px;
  padding: 5px 12px;
  border-radius: 14px;
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(22,163,74,0.45);
  animation: stockPulse 1.6s infinite;
  z-index: 2;
}




@keyframes stockPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 8px 18px rgba(22,163,74,0.45);
  }
  50% {
    transform: scale(1.08);
    box-shadow: 0 12px 26px rgba(22,163,74,0.65);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 8px 18px rgba(22,163,74,0.45);
  }
}
/* Force Right Alignment for Form Fields */
.quick-wa-form input,
.quick-wa-form textarea,
.quick-wa-form select {
  text-align: right;
  direction: rtl;
}
.quick-wa-label {
  text-align: right;
  display: block;
  width: 100%;
}

label {
  text-align: right;
  display: block;
  width: 100%;
}
.wizard-title {
  text-align: center;
  margin: 10px 0 20px 0;
  font-size: 22px;
  font-weight: 700;
}

@media (max-width: 600px) {
  .wizard-title {
    font-size: 18px;
    line-height: 1.4;
    padding: 0 10px;
  }
}
.wizard-step {
  text-align: center;
  margin: 10px 0 25px 0;
}

.wizard-step span {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: #16a34a;
  margin-bottom: 6px;
}

.wizard-step h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

@media (max-width: 600px) {
  .wizard-step h2 {
    font-size: 18px;
    line-height: 1.4;
  }

  .wizard-step span {
    font-size: 13px;
  }
}
/* ============================= */
/* ORDER LOCK / CONFIRMATION UI  */
/* ============================= */

.order-wrapper {
  min-height: 100vh;
  padding: 30px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #f2f7f4 0%, #e6f2ec 100%);
}

.order-card {
  width: 100%;
  max-width: 760px;
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 28px;
  box-shadow: 0 25px 60px rgba(0, 60, 40, 0.12);
  border: 1px solid #e2ece6;
}

.order-header {
  text-align: center;
  margin-bottom: 30px;
}

.order-header h1 {
  margin: 0;
  font-size: 28px;
  color: #145c3f;
}

.order-header p {
  margin-top: 10px;
  color: #666;
  font-size: 15px;
}

.order-summary {
  border: 1px solid #e2ece6;
  border-radius: 18px;
  padding: 22px;
  background: #f9fcfa;
  margin-bottom: 25px;
}

.order-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.order-row span {
  color: #6b7280;
  font-weight: 600;
}

.order-row strong {
  font-weight: 700;
  text-align: right;
}

.order-total {
  border-top: 1px solid #e2ece6;
  margin-top: 15px;
  padding-top: 15px;
  font-size: 18px;
  font-weight: 800;
}

.order-total strong {
  color: #15803d;
}

.delivery-box {
  background: linear-gradient(135deg, #ecfdf5, #d1fae5);
  padding: 18px;
  border-radius: 16px;
  text-align: center;
  font-weight: 600;
  color: #065f46;
  margin-bottom: 25px;
}

.order-footer {
  text-align: center;
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 600px) {
  .order-card {
    padding: 28px 18px;
  }

  .order-header h1 {
    font-size: 22px;
  }
}
#continueBtn:disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important;
  pointer-events: none !important;
}
/* CONTINUE BUTTON FIXED STYLE */
#continueBtn:hover:not(:disabled) {
  transform: translateY(-4px);
  box-shadow: 0 25px 55px rgba(22, 163, 74, 0.6);
}

#continueBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}
.continue-wrapper {
  margin-top: 25px;
  width: 100%;
}

#continueBtn {
  width: 100%;
  min-height: 60px;
}

#continueBtn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
  box-shadow: none;
  background: linear-gradient(135deg, #9ca3af, #6b7280);
}

#continueBtn:not(:disabled) {
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.45);
}
/* ===================== */
/* COMPACT PREMIUM HEADER */
/* ===================== */

.compact-header {
  max-width: 460px;
  margin: 22px auto 12px auto;
  padding: 16px 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid #e2ece6;
  box-shadow: 0 15px 35px rgba(0, 60, 40, 0.08);
  text-align: center;
}

.compact-brand {
  margin: 0;
  font-size: 24px;
  font-weight: 800;
  color: #145c3f;
}

.compact-sub {
  margin: 4px 0 8px 0;
  font-size: 13px;
  color: #555;
}

.rating-line {
  font-size: 14px;
  font-weight: 700;
  color: #15803d;
  margin-bottom: 10px;
}

.mini-trust {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  font-weight: 600;
  color: #444;
}

.mini-trust span {
  flex: 1;
}
/* ===================== */
/* STEP HEADER ALIGNMENT */
/* ===================== */

.wizard-header {
  margin-bottom: 18px;
}

.wizard-step-left {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #16a34a;
  text-align: left;
  margin-bottom: 6px;
}

.wizard-product-title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  color: #111;
}

