/* Visual restoration for the non-transactional product preview */
.wellnee-checkout {
  --ink: #061c43;
  --green: #00bb4e;
  --line: #dfe2e7;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: #fff;
}

.wellnee-checkout .promo-bar {
  min-height: 62px;
  height: auto;
  padding: 0;
  background: #ffc713;
  color: #061945;
}
.promo-bar > :first-child { margin-left: max(18px, calc((100% - 1140px) / 2)); }
.promo-badge { font-size: 23px; line-height: 1; }
.countdown {
  margin-left: auto;
  margin-right: max(18px, calc((100% - 1140px) / 2));
  display: grid;
  grid-template-columns: 34px 12px 34px 12px 34px;
  align-items: start;
  column-gap: 7px;
  text-align: center;
}
.countdown > span { display: grid; grid-template-rows: 27px 13px; }
.countdown b { grid-row: auto; font-size: 24px; line-height: 26px; letter-spacing: 1px; }
.countdown em { font-size: 19px; font-style: normal; font-weight: bold; line-height: 23px; }
.countdown i { grid-row: auto; font-size: 9px; font-style: normal; white-space: nowrap; }

.refund-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 8px 18px;
  background: #e9f8ed;
  border-bottom: 1px solid #b5e5c4;
  color: #075d2d;
  font-size: 15px;
  line-height: 20px;
  text-align: center;
}
.refund-notice strong { color: #006c31; font-size: 16px; }

.wellnee-hero {
  height: 227px;
  background: #e7f4ff url('../images/6523e2af1cba76b00c779e04_c-hero-background-W.png') center / cover no-repeat;
}
.wellnee-hero::after { display: none; }
.wellnee-logo-image {
  width: 190px;
  height: auto;
  margin-left: max(30px, calc((100% - 940px) / 2));
  z-index: 2;
}
.hero-product { left: calc(50% + 25px); }
.hero-product img { width: 405px; height: 100%; object-fit: contain; }

.wc-wrap {
  width: min(1140px, calc(100% - 32px));
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px;
  margin: 20px auto 68px;
}
.benefits-card, .quantity-card, .express-card, .payment-card {
  border-color: var(--line);
  border-radius: 5px;
  box-shadow: 0 3px 12px rgb(0 0 0 / 4%);
}
.benefits-card { padding: 18px 10px 0; }
.benefits-card > div:not(.applied) { font-size: 15px; color: #3c4b68; }
.benefits-card > div:not(.applied) > img { width: 48px; height: 48px; margin: 0 auto 5px; object-fit: contain; }
.benefits-card span { line-height: 20px; }
.applied { min-height: 143px; padding: 30px 10px 26px; gap: 8px; }
.discount-badge { position: relative; display: grid; flex: 0 0 88px; width: 88px; height: 88px; place-items: center; }
.discount-badge > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.discount-badge > strong { position: relative; display: block; color: #fff; font-size: 30px; font-weight: 800; line-height: 25px; text-align: center; text-shadow: 0 1px 1px rgb(0 0 0 / 22%); }
.discount-badge > strong small { display: block; font-size: 19px; font-weight: 800; line-height: 17px; }
.applied p { margin: 0; font-size: 16px; line-height: 20px; }
.applied p > b { font-size: 18px; }

.quantity-card { margin-top: 16px; padding: 10px; }
.quantity-card h2 { display: flex; align-items: center; gap: 8px; margin: 5px 10px 12px; font-size: 17px; }
.quantity-card h2 img { width: 15px; height: 15px; object-fit: contain; }
.quantity-grid { gap: 8px; }
.bundle { min-height: 174px; padding: 10px; }
.bundle img { width: 45%; height: 106px; }
.bundle p { width: 55%; font-size: 14px; line-height: 20px; }
.bundle p > b { font-size: 31px; }
.bundle strong { font-size: 25px; }
.bundle.selected { outline: 3px solid #1aa7f5; }
.ribbon { transform: translate(-16px, 17px) rotate(-45deg); max-width: 150px; overflow: hidden; white-space: nowrap; box-sizing: border-box; }

/* Explicit preview rather than a checkout or payment-data interface. */
.wc-right { min-width: 0; }
.demo-only { padding: 17px 20px; }
.demo-only p { margin: 13px 0 0; text-align: center; color: #50617d; font-size: 14px; }
.payment-card.migration-card { margin-top: 20px; padding: 20px 18px; }
.migration-card h2 { margin: 0 0 14px; font-size: 17px; }
.migration-lead { margin: 0 0 18px; color: #52617c; font-size: 15px; line-height: 1.5; }
.shipping { margin: 0 0 18px; padding: 14px 8px; }
.checkout-unavailable { padding: 16px; background: #f7f7f8; }
.checkout-unavailable h3 { margin: 2px 0 10px; }
.checkout-unavailable p { margin: 0 0 16px; }
.trust { padding: 22px 4px 14px; overflow: hidden; }
.trust img { display: block; width: 100%; height: auto; max-height: 70px; object-fit: contain; }
.secure { padding: 20px 0; }
.secure img { width: 18px; height: 18px; object-fit: contain; vertical-align: -4px; }
.payment-card ul { margin: 22px 0 0; }
.payment-card li { margin: 14px 0; }

.wc-footer { padding: 62px max(30px, calc((100% - 1140px) / 2)) 24px; }
.footer-grid { max-width: 1140px; grid-template-columns: 2.15fr 1fr 1.2fr 1.4fr; }
.footer-logo { margin: 0; font-size: 0; letter-spacing: 0; }
.footer-logo::before { content: ''; display: block; width: 190px; height: 58px; background: url('../images/wellnee-logo-white.svg') left center / contain no-repeat; }
.wc-footer p { max-width: 1140px; margin-top: 47px; }
.copyright { min-height: 76px; padding: 22px max(30px, calc((100% - 1140px) / 2)); }
.payment-icons { display: inline-flex !important; float: right; gap: 14px; align-items: center; padding: 0 !important; background: transparent !important; }
.payment-icons img { display: block; width: auto; height: 32px; max-width: 53px; object-fit: contain; }

@media (max-width: 800px) {
  .wellnee-checkout .promo-bar { min-height: 78px; padding: 7px 16px; align-items: flex-start; justify-content: center; gap: 7px; font-size: 16px; white-space: nowrap; }
  .promo-bar > :first-child { margin-left: 0; }
  .promo-badge { font-size: 20px; }
  .countdown { position: absolute; top: 35px; left: 50%; right: auto; margin: 0; transform: translateX(-50%); grid-template-columns: 32px 10px 32px 10px 32px; column-gap: 6px; }
  .countdown b { font-size: 22px; }
  .countdown em { font-size: 17px; }
  .countdown i { font-size: 8px; }
  .refund-notice { display: block; min-height: 58px; padding: 8px 14px; font-size: 13px; line-height: 18px; }
  .refund-notice strong { display: block; font-size: 15px; }
  .wellnee-hero { height: 172px; background-position: center; }
  .wellnee-logo-image { width: 165px; margin-left: 18px; }
  .hero-product { left: 45%; }
  .hero-product img { width: 268px; }
  .wc-wrap { display: block; width: calc(100% - 26px); margin: 18px auto 34px; }
  .benefits-card { grid-template-columns: 1fr 1fr; padding: 22px 12px 0; }
  .benefits-card > div:not(.applied) { height: 72px; display: flex; align-items: center; gap: 10px; padding-left: 27px; font-size: 13px; text-align: left; }
  .benefits-card > div:not(.applied) > img { flex: 0 0 39px; width: 39px; height: 39px; margin: 0; }
  .benefits-card span { line-height: 18px; }
  .applied { grid-column: span 2; margin-top: 8px; padding: 28px 0 26px; gap: 14px; }
  .discount-badge { flex-basis: 80px; width: 80px; height: 80px; }
  .discount-badge > strong { font-size: 27px; line-height: 23px; }
  .discount-badge > strong small { font-size: 17px; line-height: 15px; }
  .applied p { font-size: 14px; line-height: 18px; }
  .applied p > b { font-size: 16px; white-space: nowrap; }
  .quantity-card { margin-top: 14px; padding: 16px; }
  .quantity-card h2 { margin: 0 0 14px; font-size: 16px; }
  .quantity-grid { display: block; }
  .bundle { width: 100%; min-height: 220px; margin-bottom: 8px; padding: 15px 24px; box-shadow: 0 2px 7px #0002; }
  .bundle img { width: 58%; height: 184px; }
  .bundle p { width: 42%; font-size: 13px; line-height: 18px; }
  .bundle p > b { font-size: 30px; }
  .bundle strong { font-size: 24px; }
  .ribbon { transform: translate(-19px, 25px) rotate(-45deg); max-width: 145px; overflow: hidden; white-space: nowrap; box-sizing: border-box; }
  .wc-right { margin-top: 28px; }
  .payment-card.migration-card { padding: 14px; }
  .migration-lead { font-size: 14px; line-height: 20px; }
  .trust img { max-height: 42px; }
  .footer-grid { grid-template-columns: 1fr; gap: 4px; }
  .footer-logo { grid-column: auto; margin-bottom: 14px; }
  .footer-logo::before { width: 155px; height: 48px; }
  .wc-footer { padding: 48px 14px 20px; }
  .footer-grid b { margin: 8px 0 16px; }
  .footer-grid a { margin-bottom: 17px; }
  .wc-footer p { margin-top: 42px; font-size: 12px; line-height: 18px; }
  .copyright { padding: 23px 14px; text-align: center; }
  .payment-icons { float: none; margin: 12px auto 0; justify-content: center; }
  .payment-icons img { height: 26px; }
}

/* Restore the original checkout composition while keeping payment entry hosted. */
.wellnee-checkout .promo-bar { display: flex; align-items: center; gap: 7px; }
.wellnee-checkout .promo-badge { display: block; width: 24px; height: 24px; flex: 0 0 24px; object-fit: contain; margin: 0 2px 0 max(18px, calc((100% - 1140px) / 2)); }
.wellnee-checkout .promo-bar > span { line-height: 24px; }
.wellnee-checkout .promo-bar .countdown { margin-left: auto; }
.wellnee-checkout .wellnee-hero { background-image: url('../images/6523e2af1cba76b00c779e04_c-hero-background-W.png'); }
.wellnee-checkout .wellnee-logo-image { width: 190px; height: auto; margin-left: max(30px, calc((100% - 940px) / 2)); position: relative; z-index: 2; }
.wellnee-checkout .hero-product { left: calc(50% + 28px); }
.wellnee-checkout .hero-product img { width: 355px; height: 100%; object-fit: contain; object-position: center; }
.wellnee-checkout .express-card { margin: 0; padding: 16px; }
.wellnee-checkout .express-card > div { display: flex; align-items: center; gap: 15px; justify-content: center; }
.wellnee-checkout .express-card > div > span { height: 1px; flex: 1; background: #d9dce1; }
.wellnee-checkout .apple-pay { display: block; width: 100%; height: 50px; margin: 16px 0; border: 0; border-radius: 4px; background: #000; color: #fff; font: 23px Arial, sans-serif; cursor: pointer; }
.wellnee-checkout .or-divider { font-size: 14px; }
.wellnee-checkout .gateway-card { margin-top: 32px; padding: 16px; }
.wellnee-checkout .gateway-card h2 { display: flex; align-items: center; gap: 8px; margin: 5px 4px 14px; }
.wellnee-checkout .gateway-card h2 > img { width: 16px; height: 16px; object-fit: contain; }
.wellnee-checkout-content .wc-block-checkout,
.wellnee-checkout-content .woocommerce { color: var(--ink); }
.wellnee-checkout-content .wc-block-components-text-input input,
.wellnee-checkout-content .wc-block-components-combobox .components-combobox-control__input,
.wellnee-checkout-content .woocommerce input.input-text,
.wellnee-checkout-content .woocommerce select,
.wellnee-checkout-content .woocommerce textarea { border: 1px solid #dcdfe6; border-radius: 4px; min-height: 42px; }
.wellnee-checkout-content .wc-block-components-button,
.wellnee-checkout-content #place_order { border: 0; border-radius: 4px; background: #00bb4e; color: #fff; font-weight: 700; }
.wellnee-checkout-content #place_order { min-height: 52px; font-size: 18px; }
.wellnee-checkout-content .woocommerce-error,
.wellnee-checkout-content .woocommerce-info,
.wellnee-checkout-content .woocommerce-message { margin: 0 0 18px; }
.wellnee-checkout-content .wellnee-empty-cart { margin: 0; padding: 14px; background: #fff8e5; border: 1px solid #f0d48e; border-radius: 4px; }
.wellnee-checkout .gateway-summary > p { margin: 0 0 18px; color: #6d7f9d; font-size: 14px; line-height: 20px; }
.wellnee-checkout .gateway-card .shipping { margin: 6px 0 22px; }
.wellnee-checkout .payment-heading { margin-top: 24px !important; }
.wellnee-checkout .gateway-panel { padding: 16px; }
.wellnee-checkout .gateway-panel h3 { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 17px; padding-bottom: 15px; border-bottom: 1px solid #ddd; }
.wellnee-checkout .gateway-panel h3 span { display: flex; gap: 8px; align-items: center; }
.wellnee-checkout .gateway-panel h3 img { display: block; width: auto; height: 25px; max-width: 42px; object-fit: contain; }
.wellnee-checkout .gateway-panel p { margin: 0; color: #71809d; font-size: 14px; line-height: 20px; }
.wellnee-checkout .payment-preview label { display: block; margin: 0 0 16px; color: var(--ink); font-size: 16px; font-weight: 700; }
.wellnee-checkout .payment-preview input { display: block; box-sizing: border-box; width: 100%; height: 42px; margin-top: 7px; padding: 10px 12px; border: 1px solid #dcdfe6; border-radius: 4px; background: #fff; color: #71809d; font: 16px Arial, sans-serif; opacity: 1; }
.wellnee-checkout .payment-preview input:disabled { cursor: not-allowed; -webkit-text-fill-color: #71809d; }
.wellnee-checkout .payment-preview .card-fields { display: grid; grid-template-columns: 1fr 0.7fr; gap: 16px; }
.wellnee-checkout .payment-preview p { margin: 1px 0 16px; }
.wellnee-checkout .payment-preview a { color: inherit; text-decoration: underline; }
.wellnee-checkout .payment-preview button { display: block; width: 100%; height: 55px; border: 0; background: #00c950; color: #fff; font: 700 22px Arial, sans-serif; cursor: not-allowed; opacity: 1; }
.wellnee-checkout .trust { margin-top: 16px; padding: 18px 4px 14px; overflow: hidden; }
.wellnee-checkout .trust img { display: block; width: 100%; height: 48px; object-fit: contain; }
.wellnee-checkout .secure { font-size: 16px; }
.wellnee-checkout .secure img { width: 18px; height: 18px; object-fit: contain; vertical-align: -4px; }
.wellnee-checkout .secure small { font-size: 14px; }

@media (max-width: 800px) {
  .wellnee-checkout .promo-bar { min-height: 78px; padding: 7px 16px; align-items: flex-start; justify-content: center; gap: 7px; font-size: 16px; white-space: nowrap; }
  .wellnee-checkout .promo-badge { width: 21px; height: 21px; }
  .wellnee-checkout .countdown { position: absolute; top: 35px; left: 50%; right: auto; margin: 0; transform: translateX(-50%); }
  .wellnee-checkout .wellnee-hero { height: 172px; background-position: center; }
  .wellnee-checkout .wellnee-logo-image { width: 165px; margin-left: 18px; }
  .wellnee-checkout .hero-product { left: 45%; }
  .wellnee-checkout .hero-product img { width: 250px; }
  .wellnee-checkout .wc-right { margin-top: 28px; }
  .wellnee-checkout .express-card, .wellnee-checkout .gateway-card { padding: 14px; }
  .wellnee-checkout .trust img { height: 42px; }
  .wellnee-checkout .payment-preview .card-fields { gap: 12px; }
  .wellnee-checkout .promo-badge { margin-left: 0; }
  .wellnee-checkout .promo-bar > span { line-height: 21px; }
}

.wellnee-checkout .checkout-details label { display: block; margin-bottom: 14px; color: #061c43; font-size: 16px; font-weight: 700; }
.wellnee-checkout .checkout-details input,
.wellnee-checkout .checkout-details select { display: block; width: 100%; height: 42px; margin-top: 6px; padding: 10px 12px; border: 1px solid #dcdfe6; border-radius: 4px; background: #fff; color: #71809d; font: 16px Arial, sans-serif; }
.wellnee-checkout .checkout-details select { appearance: auto; }
.wellnee-checkout .checkout-details .two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wellnee-checkout .checkout-details .shipping { margin: 4px 0 20px; padding: 14px 8px; }

/* Keep product and brand artwork within the checkout experience. */
.wellnee-checkout img { -webkit-user-drag: none; user-select: none; }

@media (max-width: 800px) {
  .wellnee-checkout .checkout-details label { margin-bottom: 12px; font-size: 15px; }
  .wellnee-checkout .checkout-details input,
  .wellnee-checkout .checkout-details select { height: 42px; font-size: 15px; }
  .wellnee-checkout .checkout-details .two-fields { gap: 10px; }
}

/* Classic WooCommerce checkout, arranged to match the original one-column payment flow. */
.wellnee-checkout .quantity-card .bundle { appearance: none; position: relative; overflow: hidden; width: 100%; border: 0; cursor: pointer; font-family: inherit; }
.wellnee-checkout .quantity-card .bundle:disabled { cursor: wait; opacity: .7; }
.wellnee-checkout-content .woocommerce { font-family: Arial, Helvetica, sans-serif; }
.wellnee-checkout-content .woocommerce form.checkout { margin: 0; }
.wellnee-checkout-content .woocommerce .woocommerce-billing-fields > h3,
.wellnee-checkout-content .woocommerce #ship-to-different-address,
.wellnee-checkout-content .woocommerce .woocommerce-additional-fields > h3 { display: none; }
.wellnee-checkout-content .woocommerce .woocommerce-billing-fields__field-wrapper { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
.wellnee-checkout-content .woocommerce .woocommerce-billing-fields__field-wrapper > .form-row { min-width: 0; }
.wellnee-checkout-content .woocommerce .form-row { float: none; width: auto; clear: none; margin: 0 0 13px; padding: 0; }
.wellnee-checkout-content .woocommerce .form-row-first,
.wellnee-checkout-content .woocommerce .form-row-last { width: auto; }
.wellnee-checkout-content .woocommerce .form-row-wide { grid-column: span 2; }
.wellnee-checkout-content .woocommerce .form-row-half { grid-column: span 1; }
.wellnee-checkout-content .woocommerce .form-row label { display: block; margin: 0 0 6px; color: var(--ink); font-size: 15px; font-weight: 700; line-height: 1.2; }
.wellnee-checkout-content .woocommerce .form-row .required { color: inherit; }
.wellnee-checkout-content .woocommerce input.input-text,
.wellnee-checkout-content .woocommerce select,
.wellnee-checkout-content .woocommerce textarea { width: 100%; min-height: 42px; margin: 0; color: #71809d; font: 16px Arial, sans-serif; }
.wellnee-checkout-content .woocommerce textarea { min-height: 78px; resize: vertical; }
.wellnee-checkout-content .woocommerce #order_review_heading { margin: 24px 0 14px; font-size: 17px; }
.wellnee-checkout-content .woocommerce #order_review { margin: 0; }
.wellnee-checkout-content .woocommerce table.shop_table { border: 1px solid #dfe2e7; border-radius: 0; margin: 0 0 16px; font-size: 14px; }
.wellnee-checkout-content .woocommerce table.shop_table th,
.wellnee-checkout-content .woocommerce table.shop_table td { padding: 11px 12px; }
.wellnee-checkout-content .woocommerce .woocommerce-checkout-payment { padding: 16px; border: 1px solid #dfe2e7; border-radius: 4px; background: #f2f1f5; }
.wellnee-checkout-content .woocommerce .wc_payment_methods { margin: 0; padding: 0; border: 0; }
.wellnee-checkout-content .woocommerce .wc_payment_method > label { display: block; margin-bottom: 12px; font-size: 16px; font-weight: 700; }
.wellnee-checkout-content .woocommerce .payment_box { margin: 0; padding: 0; background: transparent; }
.wellnee-checkout-content .woocommerce .payment_box::before { display: none; }
.wellnee-checkout-content .woocommerce .form-row.place-order { margin: 16px 0 0; padding: 0; }
.wellnee-checkout-content .woocommerce #place_order { float: none; width: 100%; min-height: 55px; font-size: 19px; }
.wellnee-checkout-content .woocommerce .woocommerce-privacy-policy-text { margin: 14px 0; color: #52617c; font-size: 13px; line-height: 18px; }
.wellnee-checkout-content .woocommerce .woocommerce-form-coupon-toggle { margin-bottom: 18px; }
.wellnee-checkout-content .woocommerce .woocommerce-info { border-top-color: #1aa7f5; background: #f7f7fa; }
.wellnee-checkout-content .woocommerce .woocommerce-info::before { color: #1aa7f5; }
@media (max-width: 800px) {
  .wellnee-checkout-content .woocommerce .woocommerce-billing-fields__field-wrapper { display: block; }
  .wellnee-checkout-content .woocommerce .form-row-wide { grid-column: auto; }
  .wellnee-checkout-content .woocommerce .woocommerce-checkout-payment { padding: 14px; }
}

/* Reference checkout composition: WooCommerce provides the live form, the theme provides the layout. */
.wellnee-checkout .wellnee-information-heading,
.wellnee-checkout .wellnee-payment-heading { color: #061c43; font-size: 17px; font-weight: 700; line-height: 1.3; }
.wellnee-checkout .wellnee-payment-heading { display: none !important; }
.wellnee-checkout .wellnee-payment-heading img { width: 16px; height: 16px; object-fit: contain; }
.wellnee-checkout-content .woocommerce form.checkout > .col2-set { margin: 0; width: 100%; }
.wellnee-checkout-content .woocommerce .col2-set .col-1 { float: none; width: auto; }
.wellnee-checkout-content .woocommerce .col2-set .col-2,
.wellnee-checkout-content .woocommerce .woocommerce-shipping-fields,
.wellnee-checkout-content .woocommerce .woocommerce-additional-fields,
.wellnee-checkout-content .woocommerce .woocommerce-additional-fields__field-wrapper,
.wellnee-checkout-content .woocommerce #ship-to-different-address { display: none !important; }
.wellnee-checkout-content .woocommerce #order_review_heading { display: none; }
.wellnee-checkout-content .woocommerce .woocommerce-form-coupon-toggle,
.wellnee-checkout-content .woocommerce form.checkout_coupon { display: none; }
.wellnee-checkout-content .woocommerce .woocommerce-checkout-review-order-table { display: table; }
.wellnee-checkout-content .woocommerce .woocommerce-billing-fields__field-wrapper { gap: 0 16px; }
.wellnee-checkout-content .woocommerce .form-row { min-width: 0; }
.wellnee-checkout-content .woocommerce .form-row input.input-text,
.wellnee-checkout-content .woocommerce .form-row select { height: 42px; padding: 9px 12px; }
.wellnee-checkout-content .woocommerce .woocommerce-checkout-payment { padding: 10px 16px 16px; border: 1px solid #dedfe3; border-radius: 3px; background: #f7f7f8; }
.wellnee-checkout-content .woocommerce .wc_payment_method > label { display: flex; align-items: center; justify-content: space-between; margin: 2px 0 13px; padding: 0 0 14px; border-bottom: 1px solid #ddd; color: #061c43; font-size: 19px; }
.wellnee-checkout-content .woocommerce .wc_payment_method > input { position: absolute; opacity: 0; pointer-events: none; }
.wellnee-checkout-content .woocommerce .payment_box { color: #061c43; }
.wellnee-checkout-content .ropay-payment-ui .ropay-pay-head,
.wellnee-checkout-content .ropay-payment-ui .ropay-badge,
.wellnee-checkout-content .ropay-payment-ui .ropay-secure-note { display: none !important; }
.wellnee-checkout-content .woocommerce .woocommerce-checkout-payment { background: #f7f7f8 !important; }
.wellnee-checkout-content .ropay-payment-ui { background: #fff; }
.wellnee-checkout-content .ropay-payment-ui .ropay-card-box { padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: #fff !important; }
.wellnee-checkout-content .ropay-card-box label { display: block; margin: 0 0 7px; color: #061c43; font-size: 16px; line-height: 1.2; }
.wellnee-checkout-content .ropay-input-wrap { margin: 0 0 16px; }
.wellnee-checkout-content .ropay-card-box input { display: block; width: 100%; height: 42px !important; border: 1px solid #dcdfe6 !important; border-radius: 4px !important; background: #fff !important; color: #71809d; font: 16px Arial, sans-serif; box-sizing: border-box; }
.wellnee-checkout-content .ropay-row { gap: 16px; }
.wellnee-checkout-content .ropay-row p { margin: 0 !important; }
.wellnee-checkout-content .ropay-row .ropay-input-wrap { margin-bottom: 0; }
.wellnee-checkout-content .woocommerce .form-row.place-order { margin-top: 16px; }
.wellnee-checkout-content .woocommerce .woocommerce-privacy-policy-text { margin: 14px 0 16px; color: #71809d; font-size: 14px; line-height: 20px; }
.wellnee-checkout-content .woocommerce #place_order { min-height: 55px; background: #00c950 !important; font-size: 21px; text-transform: none; }
.wellnee-checkout .gateway-card > .trust { margin-top: 17px; padding: 18px 4px 14px; border-bottom: 1px solid #ddd; }
.wellnee-checkout .gateway-card > .trust img { width: 100%; height: 48px; object-fit: contain; }
.wellnee-checkout .gateway-card > .secure { padding: 22px 0; border-bottom: 1px solid #ddd; text-align: center; color: #344566; line-height: 27px; }
.wellnee-checkout .gateway-card > .secure b { color: #279738; }
.wellnee-checkout .wellnee-payment-benefits { margin: 21px 0 2px; padding-left: 28px; color: #174dff; list-style: '✓  '; }
.wellnee-checkout .wellnee-payment-benefits li { margin: 15px 0; padding-left: 6px; color: #092455; font-size: 16px; line-height: 18px; }
.wellnee-checkout .wellnee-payment-benefits li::marker { font-size: 21px; }
@media (max-width: 800px) {
  .wellnee-checkout-content .woocommerce .woocommerce-billing-fields__field-wrapper { display: block; }
  .wellnee-checkout-content .woocommerce .woocommerce-checkout-payment { padding: 10px 14px 14px; }
  .wellnee-checkout-content .ropay-row { gap: 12px; }
  .wellnee-checkout .wellnee-payment-benefits li { font-size: 14px; }
}

/* The offer selector is the only quantity selector on checkout. */
.wellnee-checkout .quantity-card {
  display: block !important;
}

/* Keep WooCommerce's payment form, but remove the duplicate order summary
   and its quantity controls from the payment column. */
.wellnee-checkout-content .woocommerce .woocommerce-checkout-review-order-table,
.wellnee-checkout-content .woocommerce .wellnee-quantity-control {
  display: none !important;
}

/* The reference checkout has no second billing/shipping column. Remove the
   empty WooCommerce column from layout, not just its visible fields. */
.wellnee-checkout-content .woocommerce form.checkout > .col2-set > .col-2,
.wellnee-checkout-content .woocommerce .col2-set .col-2,
.wellnee-checkout-content .woocommerce .woocommerce-shipping-fields,
.wellnee-checkout-content .woocommerce .woocommerce-additional-fields,
.wellnee-checkout-content .woocommerce .woocommerce-additional-fields__field-wrapper,
.wellnee-checkout-content .woocommerce #ship-to-different-address {
  display: none !important;
}
.wellnee-checkout-content .woocommerce form.checkout > .col2-set > .col-1,
.wellnee-checkout-content .woocommerce .col2-set .col-1 {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}
.wellnee-checkout-content .woocommerce .woocommerce-billing-fields__field-wrapper {
  width: 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
@media (max-width: 800px) {
  .wellnee-checkout-content .woocommerce .woocommerce-billing-fields__field-wrapper {
    display: block;
  }
}

/* Wellnee payment card: one visual system for the live Ropay gateway. */
.wellnee-checkout-content .woocommerce .woocommerce-checkout-payment {
  padding: 0 16px 16px !important;
  border: 1px solid #dfe2e7 !important;
  border-radius: 4px !important;
  background: #f7f7f8 !important;
  box-shadow: none !important;
}
.wellnee-checkout-content .woocommerce .wc_payment_methods {
  background: transparent !important;
}
.wellnee-checkout-content .woocommerce .wc_payment_method > label {
  min-height: 58px;
  box-sizing: border-box;
  margin: 0 -16px 16px !important;
  padding: 0 16px 14px !important;
  border-bottom: 1px solid #dfe2e7 !important;
  color: #061c43 !important;
  font: 700 21px/1.2 Arial, Helvetica, sans-serif !important;
}
.wellnee-checkout-content .woocommerce .wc_payment_method > label::after {
  content: '';
  display: block;
  width: 138px;
  height: 28px;
  margin-left: auto;
  background: url('../images/visa.webp') left center / 39px auto no-repeat,
              url('../images/mastercard.png') 49px center / 39px auto no-repeat,
              url('../images/amex.png') 99px center / 39px auto no-repeat;
}
.wellnee-checkout-content .woocommerce .payment_box,
.wellnee-checkout-content .woocommerce .payment_box.payment_method_ropay_custom_card {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #061c43 !important;
}
.wellnee-checkout-content .ropay-payment-ui {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  color: #061c43 !important;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-pay-head,
.wellnee-checkout-content .ropay-payment-ui .ropay-badge,
.wellnee-checkout-content .ropay-payment-ui .ropay-secure-note {
  display: none !important;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-card-box {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
.wellnee-checkout-content .ropay-card-box label {
  display: block !important;
  margin: 0 0 7px !important;
  color: #061c43 !important;
  font: 700 16px/1.2 Arial, Helvetica, sans-serif !important;
}
.wellnee-checkout-content .ropay-input-wrap {
  margin: 0 0 16px !important;
}
.wellnee-checkout-content .ropay-card-box input {
  display: block !important;
  width: 100% !important;
  height: 42px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 10px 12px !important;
  border: 1px solid #dcdfe6 !important;
  border-radius: 4px !important;
  background: #fff !important;
  color: #71809d !important;
  font: 16px Arial, Helvetica, sans-serif !important;
  box-shadow: none !important;
}
.wellnee-checkout-content .ropay-card-box input::placeholder {
  color: #a5aec0 !important;
  opacity: 1 !important;
}
.wellnee-checkout-content .ropay-row {
  display: grid !important;
  grid-template-columns: 1fr 0.7fr !important;
  gap: 16px !important;
  margin: 0 !important;
}
.wellnee-checkout-content .ropay-row p {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
.wellnee-checkout-content .ropay-row .ropay-input-wrap {
  margin-bottom: 0 !important;
}
.wellnee-checkout-content .woocommerce .form-row.place-order {
  margin: 18px 0 0 !important;
  padding: 0 !important;
}
.wellnee-checkout-content .woocommerce .woocommerce-privacy-policy-text {
  margin: 14px 0 16px !important;
  color: #71809d !important;
  font-size: 14px !important;
  line-height: 20px !important;
}
.wellnee-checkout-content .woocommerce #place_order {
  float: none !important;
  width: 100% !important;
  min-height: 55px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #00c950 !important;
  color: #fff !important;
  font: 700 21px Arial, Helvetica, sans-serif !important;
  text-transform: none !important;
  box-shadow: 0 2px 4px rgb(0 0 0 / 12%) !important;
}
@media (max-width: 800px) {
  .wellnee-checkout-content .woocommerce .woocommerce-checkout-payment { padding: 0 14px 14px !important; }
  .wellnee-checkout-content .woocommerce .wc_payment_method > label { margin-left: -14px !important; margin-right: -14px !important; padding-left: 14px !important; padding-right: 14px !important; font-size: 19px !important; }
  .wellnee-checkout-content .woocommerce .wc_payment_method > label::after { width: 138px; background-size: 36px auto, 36px auto, 36px auto; background-position: left center, 47px center, 94px center; }
  .wellnee-checkout-content .ropay-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; gap: 12px !important; }
}

/* Final payment layout overrides: configurable gateway title, complete logos,
   full-width card number, and expiry/CVC on one row. */
.wellnee-checkout-content .woocommerce .wc_payment_method > label {
  overflow: visible !important;
  white-space: normal !important;
}
.wellnee-checkout-content .woocommerce .wc_payment_method > label::after {
  flex: 0 0 138px !important;
  width: 138px !important;
  min-width: 138px !important;
  height: 32px !important;
  background-size: 39px auto, 39px auto, 39px auto !important;
  background-position: left center, 49px center, 99px center !important;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-pay-head {
  display: none !important;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-card-box {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start !important;
  column-gap: 16px !important;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-card-box .ropay-card-field {
  min-width: 0 !important;
  grid-column: 1 / -1;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-card-box .ropay-card-field.ropay-field-half {
  grid-column: span 1 !important;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-card-box > label[for="ropay_card"] {
  display: block !important;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  align-items: start !important;
  gap: 16px !important;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-row p {
  display: block !important;
  min-width: 0 !important;
}
.wellnee-checkout-content .ropay-payment-ui .ropay-row .ropay-input-wrap,
.wellnee-checkout-content .ropay-payment-ui .ropay-row input {
  width: 100% !important;
}
@media (max-width: 430px) {
  .wellnee-checkout-content .woocommerce .wc_payment_method > label::after {
    flex-basis: 120px !important;
    width: 120px !important;
    min-width: 120px !important;
    background-size: 34px auto, 34px auto, 34px auto !important;
    background-position: left center, 42px center, 84px center !important;
  }
  .wellnee-checkout-content .ropay-payment-ui .ropay-row { gap: 10px !important; }
}
