/* === MEIRAA CHECKOUT DELIVERY COLOR SYSTEM ONLY START === */
body#checkout {
  --mc-rose-1: #f8d9cf;
  --mc-rose-2: #e9a494;
  --mc-rose-3: #c97565;
  --mc-rose-4: #b86355;
  --mc-espresso: #3b211b;
  --mc-espresso-2: #5a3329;
  --mc-muted: #8a746a;
  --mc-border: rgba(217, 143, 124, .34);
  --mc-gradient: linear-gradient(135deg, #f8d9cf 0%, #e9a494 38%, #b86355 100%);
  --mc-gradient-dark: linear-gradient(135deg, #4a2a22 0%, #67372d 42%, #3a211b 100%);
}

body#checkout #checkout-delivery-step .meiraa-econt-v3-mark,
body#checkout #js-delivery .meiraa-econt-v3-mark,
body#checkout #checkout-delivery-step .meiraa-econt-card__mark,
body#checkout #js-delivery .meiraa-econt-card__mark {
  background: var(--mc-gradient-dark) !important;
  color: #fff !important;
  box-shadow: 0 16px 30px rgba(58, 33, 27, .22) !important;
}

body#checkout #checkout-delivery-step .meiraa-econt-v3-tab.is-active,
body#checkout #js-delivery .meiraa-econt-v3-tab.is-active,
body#checkout #checkout-delivery-step .meiraa-econt-tab.is-active,
body#checkout #js-delivery .meiraa-econt-tab.is-active,
body#checkout #checkout-delivery-step button[data-meiraa-econt-v3-tab].is-active,
body#checkout #js-delivery button[data-meiraa-econt-v3-tab].is-active,
body#checkout #checkout-delivery-step button[data-meiraa-econt-tab].is-active,
body#checkout #js-delivery button[data-meiraa-econt-tab].is-active {
  background: var(--mc-gradient) !important;
  color: #fff !important;
  border-color: rgba(139, 68, 58, .50) !important;
  box-shadow: 0 14px 30px rgba(184, 99, 85, .24) !important;
  text-shadow: 0 1px 0 rgba(55, 28, 23, .38) !important;
}

body#checkout #checkout-delivery-step .meiraa-econt-v3-tab:not(.is-active),
body#checkout #js-delivery .meiraa-econt-v3-tab:not(.is-active),
body#checkout #checkout-delivery-step .meiraa-econt-tab:not(.is-active),
body#checkout #js-delivery .meiraa-econt-tab:not(.is-active) {
  background: rgba(255,255,255,.78) !important;
  color: var(--mc-espresso) !important;
  border-color: var(--mc-border) !important;
}

body#checkout #checkout-delivery-step .meiraa-econt-v3-search-row button,
body#checkout #js-delivery .meiraa-econt-v3-search-row button,
body#checkout #checkout-delivery-step [data-meiraa-econt-v3-search],
body#checkout #js-delivery [data-meiraa-econt-v3-search],
body#checkout #checkout-delivery-step [data-meiraa-econt-search],
body#checkout #js-delivery [data-meiraa-econt-search] {
  background: var(--mc-gradient) !important;
  color: #fff !important;
  border-color: rgba(139, 68, 58, .48) !important;
  text-shadow: 0 1px 0 rgba(55, 28, 23, .38) !important;
}

body#checkout #checkout-delivery-step .meiraa-econt-v3-submit:not(:disabled),
body#checkout #js-delivery .meiraa-econt-v3-submit:not(:disabled),
body#checkout #checkout-delivery-step .meiraa-econt-primary:not(:disabled),
body#checkout #js-delivery .meiraa-econt-primary:not(:disabled),
body#checkout #checkout-delivery-step [data-meiraa-econt-v3-submit]:not(:disabled),
body#checkout #js-delivery [data-meiraa-econt-v3-submit]:not(:disabled),
body#checkout #checkout-delivery-step [data-meiraa-econt-submit]:not(:disabled),
body#checkout #js-delivery [data-meiraa-econt-submit]:not(:disabled) {
  background: var(--mc-gradient) !important;
  color: #fff !important;
  border-color: rgba(139, 68, 58, .48) !important;
  box-shadow: 0 16px 32px rgba(184, 99, 85, .22) !important;
  text-shadow: 0 1px 0 rgba(55, 28, 23, .40) !important;
}

body#checkout #checkout-delivery-step .meiraa-econt-v3-submit:disabled,
body#checkout #js-delivery .meiraa-econt-v3-submit:disabled,
body#checkout #checkout-delivery-step .meiraa-econt-disabled,
body#checkout #js-delivery .meiraa-econt-disabled {
  background: #a4a9b2 !important;
  color: #fff !important;
  box-shadow: none !important;
  opacity: .92 !important;
}

body#checkout #checkout-delivery-step input[type="checkbox"],
body#checkout #checkout-delivery-step input[type="radio"],
body#checkout #js-delivery input[type="checkbox"],
body#checkout #js-delivery input[type="radio"] {
  accent-color: var(--mc-rose-4) !important;
}
/* === MEIRAA CHECKOUT DELIVERY COLOR SYSTEM ONLY END === */

/* === MEIRAA CHECKOUT ADDRESSES CLEAN V2 START === */
body#checkout #checkout-addresses-step {
  --ma-ink: #30201b;
  --ma-muted: #8b746b;
  --ma-rose: #d98774;
  --ma-rose-dark: #ad5f52;
  --ma-rose-soft: #fff4ee;
  --ma-border: rgba(218, 137, 115, .42);
  --ma-border-strong: rgba(196, 105, 86, .62);
  --ma-shadow: 0 24px 70px rgba(103, 62, 45, .12);
  --ma-soft-shadow: 0 16px 42px rgba(103, 62, 45, .09);
}

body#checkout #checkout-addresses-step .content {
  padding: 18px 26px 26px !important;
}

body#checkout #checkout-addresses-step .meiraa-address-step {
  width: 100%;
  max-width: 100%;
}

body#checkout #checkout-addresses-step .meiraa-address-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  margin: 0 0 18px;
  border: 1px solid var(--ma-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 18%, rgba(217, 134, 115, .18), transparent 36%),
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(255,246,241,.90));
  box-shadow: var(--ma-soft-shadow);
}

body#checkout #checkout-addresses-step .meiraa-address-hero__mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: .05em;
  background: linear-gradient(135deg, #5a3329, #2e1f1a);
  box-shadow: 0 16px 34px rgba(74, 42, 32, .22);
}

body#checkout #checkout-addresses-step .meiraa-address-hero__eyebrow {
  display: block;
  margin: 0 0 4px;
  color: #c87463;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .22em;
}

body#checkout #checkout-addresses-step .meiraa-address-hero h3 {
  margin: 0 0 5px;
  color: var(--ma-ink);
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 900;
  line-height: 1.04;
}

body#checkout #checkout-addresses-step .meiraa-address-hero p,
body#checkout #checkout-addresses-step .meiraa-address-note {
  margin: 0;
  color: var(--ma-muted);
  font-size: 15px;
  line-height: 1.45;
  font-weight: 650;
}

body#checkout #checkout-addresses-step .meiraa-address-content {
  padding: 22px;
  border: 1px solid var(--ma-border);
  border-radius: 26px;
  background:
    radial-gradient(circle at 86% 20%, rgba(217, 134, 115, .10), transparent 34%),
    linear-gradient(135deg, rgba(255,255,255,.97), rgba(255,250,247,.93));
  box-shadow: var(--ma-soft-shadow);
}

body#checkout #checkout-addresses-step .meiraa-address-note {
  margin: 0 0 18px;
  padding: 14px 17px;
  border-radius: 18px;
  border: 1px solid rgba(218, 137, 115, .28);
  background: rgba(255, 248, 245, .78);
}

/* Address selector */
body#checkout #checkout-addresses-step .meiraa-address-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin: 0 0 16px;
}

body#checkout #checkout-addresses-step .meiraa-address-card {
  margin: 0 !important;
  padding: 18px 18px 16px !important;
  border: 1px solid var(--ma-border) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(217, 134, 115, .09), transparent 30%),
    rgba(255,255,255,.90) !important;
  box-shadow: 0 14px 36px rgba(103, 62, 45, .08) !important;
}

body#checkout #checkout-addresses-step .meiraa-address-card.selected {
  border-color: var(--ma-border-strong) !important;
  box-shadow: 0 20px 50px rgba(103, 62, 45, .13) !important;
}

body#checkout #checkout-addresses-step .meiraa-address-card__label {
  display: grid !important;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin: 0 !important;
  cursor: pointer;
}

body#checkout #checkout-addresses-step .meiraa-address-card__radio {
  margin-top: 4px;
}

body#checkout #checkout-addresses-step .meiraa-address-card__body {
  min-width: 0;
  display: block;
}

body#checkout #checkout-addresses-step .meiraa-address-card__title {
  display: block;
  margin: 0 0 8px;
  color: var(--ma-ink);
  font-size: 19px;
  line-height: 1.12;
  font-weight: 900;
}

body#checkout #checkout-addresses-step .meiraa-address-card__line {
  display: block;
  color: #4d342c;
  font-size: 17px;
  font-weight: 850;
  line-height: 1.22;
}

body#checkout #checkout-addresses-step .meiraa-address-card__subline {
  display: block;
  margin-top: 3px;
  color: #6f5b52;
  font-size: 14px;
  font-weight: 650;
}

body#checkout #checkout-addresses-step .meiraa-address-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

body#checkout #checkout-addresses-step .meiraa-address-card__meta span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(218, 137, 115, .30);
  border-radius: 999px;
  background: rgba(255, 248, 245, .82);
  color: #775d55;
  font-size: 13px;
  font-weight: 800;
}

body#checkout #checkout-addresses-step .meiraa-address-card__footer {
  display: flex !important;
  justify-content: flex-end;
  gap: 12px;
  margin: 14px 0 0 !important;
  padding: 13px 0 0 !important;
  border-top: 1px solid rgba(218, 137, 115, .24);
}

body#checkout #checkout-addresses-step .meiraa-address-card__footer a,
body#checkout #checkout-addresses-step .meiraa-address-under a,
body#checkout #checkout-addresses-step .cancel-address {
  color: #8d4f46 !important;
  text-decoration: none !important;
  font-weight: 900;
}

body#checkout #checkout-addresses-step .meiraa-address-under {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin: 12px 0 2px;
}

body#checkout #checkout-addresses-step .meiraa-address-add,
body#checkout #checkout-addresses-step .meiraa-address-invoice-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid rgba(218, 137, 115, .36);
  border-radius: 999px;
  background: rgba(255,255,255,.80);
  box-shadow: 0 10px 24px rgba(103, 62, 45, .06);
}

body#checkout #checkout-addresses-step .meiraa-address-add span {
  width: 21px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #efb3a4, #b96558);
}

/* Clean edit form */
body#checkout #checkout-addresses-step .meiraa-address-edit-form {
  padding: 22px !important;
  border: 1px solid var(--ma-border) !important;
  border-radius: 24px !important;
  background:
    radial-gradient(circle at 86% 10%, rgba(217, 134, 115, .08), transparent 32%),
    rgba(255,255,255,.90) !important;
  box-shadow: 0 16px 44px rgba(103, 62, 45, .08) !important;
}

body#checkout #checkout-addresses-step .meiraa-address-fields {
  display: grid;
  gap: 14px;
}

body#checkout #checkout-addresses-step .meiraa-address-field {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

body#checkout #checkout-addresses-step .meiraa-address-label {
  padding-top: 13px;
  color: var(--ma-ink);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.2;
}

body#checkout #checkout-addresses-step .meiraa-address-label.required::after {
  content: " *";
  color: #b96558;
}

body#checkout #checkout-addresses-step .meiraa-address-input-wrap {
  min-width: 0;
}

body#checkout #checkout-addresses-step .meiraa-address-input-wrap .form-control,
body#checkout #checkout-addresses-step .meiraa-address-edit-form input[type="text"],
body#checkout #checkout-addresses-step .meiraa-address-edit-form input[type="tel"] {
  width: 100% !important;
  min-height: 48px !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(218, 137, 115, .42) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,.95) !important;
  color: var(--ma-ink) !important;
  font-size: 16px !important;
  font-weight: 750 !important;
  box-shadow: 0 10px 24px rgba(103, 62, 45, .04) !important;
}

body#checkout #checkout-addresses-step .meiraa-address-input-wrap .form-control:focus,
body#checkout #checkout-addresses-step .meiraa-address-edit-form input:focus {
  border-color: rgba(190, 101, 85, .72) !important;
  box-shadow: 0 0 0 4px rgba(217, 134, 115, .16) !important;
  outline: none !important;
}

body#checkout #checkout-addresses-step .meiraa-address-help {
  display: block;
  margin-top: 6px;
  color: #9b554b;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
}

body#checkout #checkout-addresses-step .help-block,
body#checkout #checkout-addresses-step .help-block li,
body#checkout #checkout-addresses-step .form-control-feedback {
  color: #a35d52 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  margin-top: 6px !important;
}

body#checkout #checkout-addresses-step .meiraa-use-same-address {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  margin: 18px 0 0;
  padding: 11px 15px;
  border: 1px solid rgba(218, 137, 115, .36);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: var(--ma-ink);
  font-weight: 850;
}

body#checkout #checkout-addresses-step input[type="checkbox"],
body#checkout #checkout-addresses-step input[type="radio"] {
  accent-color: #c46f61 !important;
}

body#checkout #checkout-addresses-step .meiraa-address-actions,
body#checkout #checkout-addresses-step .meiraa-address-form-actions {
  display: flex !important;
  justify-content: flex-end;
  align-items: center;
  gap: 14px;
  margin-top: 18px !important;
  padding-top: 16px !important;
  border-top: 1px solid rgba(218, 137, 115, .24);
}

body#checkout #checkout-addresses-step .btn-primary,
body#checkout #checkout-addresses-step button[type="submit"],
body#checkout #checkout-addresses-step .continue {
  min-width: 210px;
  min-height: 48px;
  border: 1px solid rgba(128, 67, 57, .38) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #f2b6a8 0%, #d88673 45%, #ad5e51 100%) !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 rgba(45, 31, 26, .78),
     1px -1px 0 rgba(45, 31, 26, .78),
    -1px  1px 0 rgba(45, 31, 26, .78),
     1px  1px 0 rgba(45, 31, 26, .78);
  box-shadow: 0 16px 36px rgba(132, 70, 58, .23) !important;
}

body#checkout #checkout-addresses-step .btn-primary:hover,
body#checkout #checkout-addresses-step button[type="submit"]:hover,
body#checkout #checkout-addresses-step .continue:hover {
  transform: translateY(-1px);
  filter: saturate(1.05);
}

body#checkout #checkout-addresses-step .meiraa-address-invoice {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid rgba(218, 137, 115, .25);
}

body#checkout #checkout-addresses-step .meiraa-address-invoice h4 {
  margin: 0 0 14px;
  color: var(--ma-ink);
  font-weight: 900;
}

body#checkout #checkout-addresses-step .meiraa-address-error {
  border: 1px solid rgba(190, 101, 85, .34) !important;
  border-radius: 18px !important;
  background: rgba(255, 244, 239, .88) !important;
  color: #8d4f46 !important;
  font-weight: 800 !important;
}

@media (max-width: 767px) {
  body#checkout #checkout-addresses-step .content {
    padding: 12px !important;
  }

  body#checkout #checkout-addresses-step .meiraa-address-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  body#checkout #checkout-addresses-step .meiraa-address-content,
  body#checkout #checkout-addresses-step .meiraa-address-edit-form {
    padding: 16px !important;
  }

  body#checkout #checkout-addresses-step .meiraa-address-field {
    grid-template-columns: 1fr !important;
    gap: 7px;
  }

  body#checkout #checkout-addresses-step .meiraa-address-label {
    padding-top: 0;
  }

  body#checkout #checkout-addresses-step .meiraa-address-actions,
  body#checkout #checkout-addresses-step .meiraa-address-form-actions {
    justify-content: stretch;
    flex-direction: column-reverse;
    align-items: stretch;
  }

  body#checkout #checkout-addresses-step .btn-primary,
  body#checkout #checkout-addresses-step button[type="submit"],
  body#checkout #checkout-addresses-step .continue {
    width: 100%;
  }
}
/* === MEIRAA CHECKOUT ADDRESSES CLEAN V2 END === */

/* === MEIRAA CHECKOUT PAYMENT FINAL POLISH START === */
body#checkout #checkout-payment-step {
  --mpay-ink: #2f211d;
  --mpay-muted: #8d746a;
  --mpay-rose: #d98673;
  --mpay-rose-soft: #f3b9aa;
  --mpay-rose-dark: #ac5d50;
  --mpay-border: rgba(219, 142, 120, .42);
  --mpay-border-strong: rgba(191, 98, 82, .68);
  --mpay-bg: rgba(255,255,255,.88);
  --mpay-soft: #fff6f1;
}

body#checkout #checkout-payment-step .content {
  padding: 18px 26px 28px !important;
}

body#checkout #checkout-payment-step .meiraa-payment-step {
  width: 100%;
  max-width: 100%;
}

body#checkout #checkout-payment-step .meiraa-payment-hero {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  padding: 24px 28px;
  margin: 0 0 18px;
  border: 1px solid var(--mpay-border);
  border-radius: 24px;
  background:
    radial-gradient(circle at 92% 16%, rgba(217,134,115,.18), transparent 35%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,241,.93));
  box-shadow: 0 18px 48px rgba(103,62,45,.10);
}

body#checkout #checkout-payment-step .meiraa-payment-hero__mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 900;
  letter-spacing: .05em;
  background: linear-gradient(135deg, #6b372d, #35211b);
  box-shadow: 0 16px 34px rgba(74,42,32,.20);
}

body#checkout #checkout-payment-step .meiraa-payment-hero__eyebrow {
  display: block;
  margin: 0 0 4px;
  color: #c87463;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .22em;
}

body#checkout #checkout-payment-step .meiraa-payment-hero h3 {
  margin: 0 0 5px;
  color: var(--mpay-ink);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.04;
}

body#checkout #checkout-payment-step .meiraa-payment-hero p {
  max-width: 620px;
  margin: 0;
  color: var(--mpay-muted);
  font-size: 15px;
  line-height: 1.42;
  font-weight: 650;
}

body#checkout #checkout-payment-step .meiraa-payment-options {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 16px !important;
}

body#checkout #checkout-payment-step .meiraa-payment-option {
  position: relative;
  min-height: 104px;
  padding: 0 !important;
  border: 1px solid var(--mpay-border) !important;
  border-radius: 22px !important;
  background:
    radial-gradient(circle at 92% 10%, rgba(217,134,115,.10), transparent 38%),
    rgba(255,255,255,.90) !important;
  box-shadow: 0 14px 34px rgba(103,62,45,.065);
  overflow: hidden;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

body#checkout #checkout-payment-step .meiraa-payment-option:hover {
  border-color: rgba(196,105,86,.58) !important;
  box-shadow: 0 18px 46px rgba(103,62,45,.11);
  transform: translateY(-1px);
}

body#checkout #checkout-payment-step .meiraa-payment-option.is-meiraa-active {
  border-color: var(--mpay-border-strong) !important;
  background:
    radial-gradient(circle at 92% 12%, rgba(217,134,115,.18), transparent 38%),
    linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,241,.92)) !important;
  box-shadow: 0 22px 54px rgba(103,62,45,.14) !important;
}

body#checkout #checkout-payment-step .meiraa-payment-option__label {
  display: grid !important;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 104px;
  margin: 0 !important;
  padding: 18px 18px !important;
  cursor: pointer;
  text-align: left !important;
}

body#checkout #checkout-payment-step .meiraa-payment-option__radio {
  align-self: center;
}

body#checkout #checkout-payment-step .meiraa-payment-option__body {
  min-width: 0;
  display: grid;
  gap: 5px;
  justify-items: start;
  text-align: left !important;
}

body#checkout #checkout-payment-step .meiraa-payment-option__title {
  display: block;
  color: var(--mpay-ink);
  font-size: 19px;
  line-height: 1.12;
  font-weight: 900;
  text-align: left !important;
}

body#checkout #checkout-payment-step .meiraa-payment-option__text {
  display: block;
  color: #8a7168;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 750;
  text-align: left !important;
}

body#checkout #checkout-payment-step .meiraa-payment-option__badge {
  position: absolute;
  top: 12px;
  right: 14px;
  padding: 5px 10px;
  border: 1px solid rgba(196,105,86,.35);
  border-radius: 999px;
  background: rgba(255,246,241,.92);
  color: #9d574d;
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body#checkout #checkout-payment-step .meiraa-payment-option__logo {
  display: none !important;
}

body#checkout #checkout-payment-step input[type="radio"],
body#checkout #checkout-payment-step input[type="checkbox"] {
  accent-color: #c46f61 !important;
}

/* Hide the clumsy module text/form strips for COD/bank/check.
   Forms remain in the DOM, so PrestaShop can still submit the chosen method. */
body#checkout #checkout-payment-step .meiraa-payment-additional[data-module-name="ps_cashondelivery"],
body#checkout #checkout-payment-step .meiraa-payment-additional[data-module-name="ps_wirepayment"],
body#checkout #checkout-payment-step .meiraa-payment-additional[data-module-name="ps_checkpayment"],
body#checkout #checkout-payment-step .meiraa-payment-form[data-module-name="ps_cashondelivery"],
body#checkout #checkout-payment-step .meiraa-payment-form[data-module-name="ps_wirepayment"],
body#checkout #checkout-payment-step .meiraa-payment-form[data-module-name="ps_checkpayment"] {
  display: none !important;
}

body#checkout #checkout-payment-step .meiraa-payment-additional:not([data-module-name="ps_cashondelivery"]):not([data-module-name="ps_wirepayment"]):not([data-module-name="ps_checkpayment"]),
body#checkout #checkout-payment-step .meiraa-payment-form:not([data-module-name="ps_cashondelivery"]):not([data-module-name="ps_wirepayment"]):not([data-module-name="ps_checkpayment"]) {
  margin: 12px 0 16px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(218,137,115,.26);
  border-radius: 18px;
  background: rgba(255,248,245,.80);
  color: #6f5b52;
  font-weight: 700;
}

body#checkout #checkout-payment-step .meiraa-payment-conditions {
  margin-top: 18px;
}

body#checkout #checkout-payment-step .meiraa-payment-conditions ul {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition {
  display: flex !important;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px !important;
  padding: 15px 18px;
  border: 1px solid rgba(218,137,115,.34);
  border-radius: 18px;
  background: rgba(255,255,255,.82);
  box-shadow: 0 10px 26px rgba(103,62,45,.05);
  color: var(--mpay-ink);
  font-size: 15px;
  line-height: 1.35;
  font-weight: 850;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__check {
  flex: 0 0 auto;
  margin: 0 !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__text {
  min-width: 0;
}

body#checkout #checkout-payment-step .meiraa-payment-condition a {
  color: #9b554b !important;
  font-weight: 900;
  text-decoration: none !important;
}

body#checkout #checkout-payment-step .meiraa-payment-confirmation {
  display: flex !important;
  justify-content: flex-end;
  margin-top: 18px !important;
}

body#checkout #checkout-payment-step .meiraa-payment-confirmation .btn-primary {
  min-width: 244px;
  min-height: 54px;
  border: 1px solid rgba(128,67,57,.38) !important;
  border-radius: 999px !important;
  background: linear-gradient(135deg, #f2b6a8 0%, #d88673 45%, #ad5e51 100%) !important;
  color: #fff !important;
  font-weight: 900 !important;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-shadow:
    -1px -1px 0 rgba(45,31,26,.78),
     1px -1px 0 rgba(45,31,26,.78),
    -1px  1px 0 rgba(45,31,26,.78),
     1px  1px 0 rgba(45,31,26,.78);
  box-shadow: 0 16px 36px rgba(132,70,58,.23) !important;
}

body#checkout #checkout-payment-step .meiraa-payment-confirmation .btn-primary.disabled {
  opacity: .58 !important;
  filter: grayscale(.10);
  box-shadow: none !important;
}

body#checkout #checkout-payment-step .meiraa-payment-note,
body#checkout #checkout-payment-step .cart-payment-step-refreshed-info {
  padding: 14px 17px;
  border: 1px solid rgba(218,137,115,.30);
  border-radius: 18px;
  background: rgba(255,248,245,.82);
  color: var(--mpay-muted);
  font-weight: 800;
}

@media (max-width: 767px) {
  body#checkout #checkout-payment-step .content {
    padding: 12px !important;
  }

  body#checkout #checkout-payment-step .meiraa-payment-hero {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  body#checkout #checkout-payment-step .meiraa-payment-options {
    grid-template-columns: 1fr;
  }

  body#checkout #checkout-payment-step .meiraa-payment-option,
  body#checkout #checkout-payment-step .meiraa-payment-option__label {
    min-height: 86px;
  }

  body#checkout #checkout-payment-step .meiraa-payment-confirmation {
    justify-content: stretch;
  }

  body#checkout #checkout-payment-step .meiraa-payment-confirmation .btn-primary {
    width: 100%;
  }
}
/* === MEIRAA CHECKOUT PAYMENT FINAL POLISH END === */

/* === MEIRAA PAYMENT TERMS CHECKBOX ALIGN START === */
/*
  Final small polish only:
  - aligns the terms checkbox inside the rose-gold card
  - keeps terms manual, not auto-checked
  - does not touch payment methods, delivery, Econt, or JS logic
*/

body#checkout #checkout-payment-step .meiraa-payment-conditions {
  margin-top: 18px !important;
}

body#checkout #checkout-payment-step .meiraa-payment-conditions ul,
body#checkout #checkout-payment-step .meiraa-payment-conditions li {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition {
  position: relative !important;
  display: grid !important;
  grid-template-columns: 22px minmax(0, 1fr) !important;
  align-items: center !important;
  column-gap: 12px !important;

  width: 100% !important;
  min-height: 54px !important;
  margin: 0 0 14px !important;
  padding: 14px 18px !important;

  border: 1px solid rgba(218,137,115,.34) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,.86) !important;
  box-shadow: 0 10px 26px rgba(103,62,45,.05) !important;

  color: #2f211d !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
  text-align: left !important;
  cursor: pointer !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition::before,
body#checkout #checkout-payment-step .meiraa-payment-condition::after {
  content: none !important;
  display: none !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__check,
body#checkout #checkout-payment-step .meiraa-payment-condition .custom-checkbox.meiraa-payment-condition__check {
  position: relative !important;
  display: block !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  max-width: 22px !important;
  flex: 0 0 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  align-self: center !important;
  overflow: visible !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__check input[type="checkbox"] {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;

  display: block !important;
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;

  opacity: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  cursor: pointer !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__check > span {
  position: absolute !important;
  inset: 0 !important;

  display: grid !important;
  place-items: center !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 0 !important;

  border: 1px solid rgba(191, 98, 82, .55) !important;
  border-radius: 7px !important;
  background: linear-gradient(135deg, rgba(255,255,255,.98), rgba(255,246,241,.95)) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.90), 0 5px 12px rgba(103,62,45,.08) !important;
  transform: none !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__check > span i,
body#checkout #checkout-payment-step .meiraa-payment-condition__check > span .checkbox-checked {
  display: none !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__check input[type="checkbox"]:checked + span {
  border-color: rgba(157, 83, 71, .72) !important;
  background: linear-gradient(135deg, #f2b6a8 0%, #d88673 46%, #ad5e51 100%) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 7px 15px rgba(132,70,58,.18) !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__check input[type="checkbox"]:checked + span::after {
  content: "✓" !important;
  display: block !important;
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1 !important;
  font-weight: 950 !important;
  text-shadow: 0 1px 1px rgba(80,41,34,.28) !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__check input[type="checkbox"]:focus-visible + span {
  outline: 2px solid rgba(196,105,86,.30) !important;
  outline-offset: 3px !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__text {
  display: block !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;

  color: #2f211d !important;
  font-size: 15px !important;
  line-height: 1.35 !important;
  font-weight: 850 !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__text p {
  margin: 0 !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__text a,
body#checkout #checkout-payment-step .meiraa-payment-condition a {
  color: #a85c50 !important;
  font-weight: 950 !important;
  text-decoration: none !important;
}

body#checkout #checkout-payment-step .meiraa-payment-condition__text a:hover,
body#checkout #checkout-payment-step .meiraa-payment-condition a:hover {
  color: #7d4038 !important;
  text-decoration: underline !important;
}

@media (max-width: 767px) {
  body#checkout #checkout-payment-step .meiraa-payment-condition {
    grid-template-columns: 22px minmax(0, 1fr) !important;
    padding: 13px 15px !important;
    column-gap: 10px !important;
  }
}
/* === MEIRAA PAYMENT TERMS CHECKBOX ALIGN END === */
