body {
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #FAF0E6;
  padding: 40px 20px;
  margin: 0;
}

h2 {
  text-align: center;
  margin-bottom: 5px;
}

.subtitle {
  text-align: center;
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 30px;
}

#payment-form {
  background: #fff;
  max-width: 500px;
  margin: 0 auto;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.06);
}

.form-row {
  margin-bottom: 20px;
}

label {
  font-weight: bold;
  display: block;
  margin-bottom: 5px;
  font-size: 0.95rem;
}

input,
select {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 1rem;
  box-sizing: border-box;
}

button {
  width: 100%;
  padding: 14px;
  background-color: #000;
  color: #fff;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

button:hover {
  background-color: #333;
}

.card-logos {
  text-align: center;
  margin-bottom: 25px;
}

.card-logos img {
  height: 28px;
  margin: 0 8px;
}

#card-errors {
  color: red;
  font-size: 0.9rem;
  margin-top: 10px;
}

#success-message {
  text-align: center;
  margin-top: 30px;
  color: green;
  font-weight: bold;
}

#loading {
  text-align: center;
  margin-top: 20px;
  color: #888;
  font-style: italic;
}
@media (max-width: 600px) {
  #payment-form div[style*="display: flex"] {
    flex-direction: column !important;
  }

  #payment-form select,
  #payment-form input {
    flex: unset !important;
    width: 100% !important;
  }
}
/* Section headers like Contact, Adresse de facturation, Paiement */
.section-title {
  font-size: 1.1rem;
  font-weight: bold;
  margin: 30px 0 10px;
  color: #222;
}

/* Placeholder styling across the form */
#payment-form input::placeholder {
  font-size: 0.85rem;
  color: #555;
  opacity: 1; /* Override default light opacity */
}

/* Optional: darker styling for all select placeholders if any */
#payment-form select {
  color: #333;
  font-size: 1rem;
}
/* Style for each Stripe input box */
#card-number-element,
#card-expiry-element,
#card-cvc-element {
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px;
  box-sizing: border-box;
  height: 48px;
}
#card-number-element {
  background: #fff url('https://cdn.shopify.com/s/files/1/0815/7036/5724/files/newsletter_images-3.png?v=1744747463') no-repeat right 12px center;
  background-size: 100px auto;
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 12px;
  box-sizing: border-box;
  height: 48px;
}
/* Email field with thicker colored border */
input#email {
  border: 2px solid #0CF0DB;
}

/* Payment block styling */
.payment-block {
  background: #D4FFFB;
  border: 2px solid #0CF0DB;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
}
/* Lighter grey for input placeholders */
input::placeholder,
select::placeholder {
  color: #8C9493 !important;
  opacity: 1;
}

/* Stripe Elements placeholders (already present but we’ll adjust) */
.StripeElement--base::placeholder {
  color: #8C9493 !important;
}

.payment-block {
  background: #D4FFFB;
  border: 2px solid #0CF0DB;
  border-radius: 6px;
  padding: 12px;
  margin-bottom: 10px;
}

.form-input {
  margin-bottom: 10px;
}

.half-width {
  flex: 1;
}

.country-select {
  padding-right: 24px;
  background-position: right 1.5rem center;
  background-repeat: no-repeat;
}

.banner {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px;
  height: 120px;
  background-color: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: italic;
  color: #777;
}

.loading-message {
  display: none;
  text-align: center;
  margin-top: 20px;
  color: #888;
  font-style: italic;
}

.order-summary {
  margin-bottom: 20px;
  font-size: 0.95rem;
}
/* Section titles */
.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 30px 0 10px;
  color: #222;
  font-family: 'Helvetica Neue', sans-serif;
}

/* Product name in résumé */
.product-title {
  font-size: 1rem;
  font-weight: 500;
  color: #333;
  margin-bottom: 5px;
}

/* Price display */
.total-line {
  font-size: 1.4rem;
  font-weight: bold;
  text-align: right;
  color: #000;
  margin-bottom: 4px;
}

/* Tax detail */
.tax-line {
  font-size: 0.9rem;
  color: #777;
  text-align: right;
}
@media (max-width: 600px) {
  #payment-form {
    padding: 0 10px;
  }

  .form-row input,
  .form-row select {
    width: 100% !important;
  }
}
body {
  padding: 20px 10px;
  margin: 0;
  font-family: 'Helvetica Neue', sans-serif;
  background-color: #f8f8f8;
}

/* Slightly more padding and spacing on mobile */
#payment-form {
  margin-top: 10px;
  padding: 30px 20px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}
  .spaced-block {
    margin-top: 20px;
    margin-bottom: 20px;
  }
  #loading::after {
    content: ' .';
    animation: ellipsis 1.2s infinite;
  }
  @keyframes ellipsis {
    0% { content: ' .'; }
    33% { content: ' ..'; }
    66% { content: ' ...'; }
    100% { content: ' .'; }
  }
  .feedback-message {
    font-size: 0.85em;
    color: #999;
    margin: 2em 0 0.4em;
    letter-spacing: 0.05em;
    font-weight: 600;
    text-align: center;
  }

  body {
    background: #FAF0E6 !important;
  }
@media (max-width: 767px) {
  .offer-box, .cancel-box {
    padding: 1.5rem;
    margin: 1.5rem 0;
  }

  .image-text img {
    max-width: 90%;
  }

  .button-primary, .cancel-button {
    font-size: 1rem;
    padding: 1.2rem 2rem;
  }

  .Caroline-note img {
    max-width: 90%;
  }


</style>



