/* ==================== THANK YOU / ORDER SUCCESS PAGE ==================== */
.mateshwari-ecom-scope .thankyou-layout-wrapper {
  max-width: 850px;
  margin: 40px auto;
  padding: 0 16px;
  width: 100%;
}

.mateshwari-ecom-scope .thankyou-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05);
}

/* Green Success Ring */
.mateshwari-ecom-scope .success-icon-wrap {
  width: 72px;
  height: 72px;
  background: #e6f4f1;
  color: #008f82;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
  border: 3px solid #008f82;
  animation: scalePop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scalePop {
  0% { transform: scale(0.5); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.mateshwari-ecom-scope .thankyou-title {
  font-size: 26px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 8px;
}

.mateshwari-ecom-scope .thankyou-subtitle {
  font-size: 14px;
  color: #64748b;
  max-width: 550px;
  margin: 0 auto 26px;
  line-height: 1.5;
}

/* Order Meta Grid Strip */
.mateshwari-ecom-scope .order-meta-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 24px;
  text-align: left;
}

.mateshwari-ecom-scope .meta-label {
  display: block;
  font-size: 11px;
  color: #94a3b8;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 4px;
}

.mateshwari-ecom-scope .meta-val {
  font-size: 13.5px;
  color: #0f172a;
}

.mateshwari-ecom-scope .price-highlight {
  color: #15803d;
  font-size: 15px;
}

/* Details Box (Address & Delivery) */
.mateshwari-ecom-scope .order-details-box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: 20px 0;
  margin-bottom: 28px;
}

.mateshwari-ecom-scope .detail-section h4 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.mateshwari-ecom-scope .detail-section h4 i {
  color: #008f82;
}

.mateshwari-ecom-scope .detail-section p {
  font-size: 13px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Action Buttons */
.mateshwari-ecom-scope .thankyou-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
}

.mateshwari-ecom-scope .btn-continue {
  background: #008f82;
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.mateshwari-ecom-scope .btn-continue:hover {
  background: #05554e;
  transform: translateY(-1px);
}

.mateshwari-ecom-scope .btn-track {
  background: #ffffff;
  color: #0f172a;
  border: 1.5px solid #cbd5e1;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.mateshwari-ecom-scope .btn-track:hover {
  border-color: #008f82;
  color: #008f82;
}

.mateshwari-ecom-scope .thankyou-help-note {
  font-size: 12px;
  color: #94a3b8;
}

.mateshwari-ecom-scope .thankyou-help-note a {
  color: #008f82;
  text-decoration: none;
  font-weight: 600;
}

/* ==================== MOBILE RESPONSIVE ==================== */
@media (max-width: 768px) {
  .mateshwari-ecom-scope .thankyou-layout-wrapper {
    margin: 15px auto;
  }

  .mateshwari-ecom-scope .thankyou-card {
    padding: 24px 14px;
  }

  .mateshwari-ecom-scope .thankyou-title {
    font-size: 20px;
  }

  .mateshwari-ecom-scope .order-meta-strip {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 10px;
  }

  .mateshwari-ecom-scope .order-details-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .mateshwari-ecom-scope .thankyou-actions {
    flex-direction: column;
    gap: 10px;
  }

  .mateshwari-ecom-scope .btn-continue,
  .mateshwari-ecom-scope .btn-track {
    width: 100%;
    justify-content: center;
  }
}