/**
 * Nova checkout — personal (1), payment (2), order (3).
 */

.nova-checkout {
  --nova-checkout-accent: #019594;
  --nova-checkout-accent-hover: #348886;
  --nova-checkout-border: #e5e6ea;
  --nova-checkout-input-border: #d4d4d4;
  --nova-checkout-text: #404040;
  --nova-checkout-muted: #6b7280;
  --nova-checkout-radius: 12px;
  --nova-checkout-input-radius: 4px;
  --nova-checkout-badge-bg: #444444;
}

.nova-checkout * {
  font-family: "Rubik", sans-serif !important;
}

/* —— Shared section card + header —— */
.nova-checkout .nova-checkout__section--personal,
.nova-checkout .nova-checkout__section--shipping,
.nova-checkout .nova-checkout__section--payment {
  border: 1px solid var(--nova-checkout-border);
  border-radius: var(--nova-checkout-radius);
  background: #ffffff;
  padding: 24px;
}

.nova-checkout .nova-checkout__section--personal {
  margin-block: 0 16px;
}

.nova-checkout .nova-checkout__section--shipping {
  margin-block: 0 16px;
}

.nova-checkout .nova-checkout__section--payment {
  margin-block: 0 16px;
}

.nova-checkout .nova-checkout__woocommerce-shipping ul#shipping_method {
  border: none;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nova-checkout .nova-checkout__woocommerce-shipping ul#shipping_method li {
  padding: 0 0 16px;
  margin: 0;
}

.nova-checkout .nova-checkout__woocommerce-shipping ul#shipping_method li:last-child {
  padding-bottom: 0;
}

.nova-checkout .nova-checkout__woocommerce-shipping ul#shipping_method li label {
  margin: 0;
}
@media (min-width: 768px) {
  .woocommerce-page.woocommerce-checkout form #customer_details.col2-set {
    width: 58%;
    margin-left: 16px;
  }
}
.checkout.woocommerce-checkout.nova-checkout {
  @media (max-width: 768px) {
    display: flex;
    flex-direction: column-reverse;
    gap: 16px;
  }
}

.nova-checkout .nova-checkout__customer#customer_details,
.wcf-embed-checkout-form
  .woocommerce-checkout
  .nova-checkout__customer.wcf-col2-set,
.wcf-embed-checkout-form
  .woocommerce-checkout
  #customer_details.nova-checkout__customer {
  display: flex;
  flex-direction: column;
  float: none;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-block: 0;
}

.nova-checkout .nova-checkout__section-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 32px;
}

.nova-checkout .nova-checkout__section-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--nova-checkout-text);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.nova-checkout .nova-checkout__section-title {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
  color: #000000;
}

/* —— Section 1: personal details —— */
.nova-checkout .nova-checkout__section--personal .wcf-col-1,
.nova-checkout .nova-checkout__section--personal .wcf-col-2,
.nova-checkout .nova-checkout__section--personal .col-1,
.nova-checkout .nova-checkout__section--personal .col-2 {
  float: none;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin: 0;
  border: 0;
}

.nova-checkout
  .nova-checkout__section--personal
  .woocommerce-billing-fields
  > h3,
.nova-checkout
  .nova-checkout__section--personal
  .woocommerce-shipping-fields
  > h3,
.nova-checkout
  .nova-checkout__section--personal
  .woocommerce-additional-fields
  > h3,
.nova-checkout .nova-checkout__section--personal #ship-to-different-address {
  display: none;
  margin: 0;
}

/* Single 2-column grid: billing + order notes + marketing checkbox (display: contents). */
.nova-checkout .nova-checkout__personal-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  direction: rtl;
}

.nova-checkout .nova-checkout__personal-fields .wcf-col-1,
.nova-checkout .nova-checkout__personal-fields .wcf-col-2,
.nova-checkout .nova-checkout__personal-fields .woocommerce-billing-fields,
.nova-checkout .nova-checkout__personal-fields .woocommerce-shipping-fields,
.nova-checkout .nova-checkout__personal-fields .woocommerce-additional-fields,
.nova-checkout
  .nova-checkout__personal-fields
  .woocommerce-billing-fields__field-wrapper,
.nova-checkout
  .nova-checkout__personal-fields
  .woocommerce-shipping-fields__field-wrapper,
.nova-checkout
  .nova-checkout__personal-fields
  .woocommerce-additional-fields__field-wrapper {
  display: contents;
}

.nova-checkout .nova-checkout__section--personal .form-row {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none;
  margin: 0 !important;
  padding: 0 !important;
}

.nova-checkout .nova-checkout__section--personal .nova-checkout__field--hidden {
  display: none !important;
}

/* Full-width rows */
.nova-checkout .nova-checkout__personal-fields #billing_email_field,
.nova-checkout .nova-checkout__personal-fields #billing_country_display_field,
.nova-checkout .nova-checkout__personal-fields #billing_phone_field,
.nova-checkout .nova-checkout__personal-fields #order_comments_field,
.nova-checkout
  .nova-checkout__personal-fields
  p.form-row:has(#flashy_accept_marketing) {
  grid-column: 1 / -1;
}

/* Two columns (RTL: col 1 = right, col 2 = left) */
.nova-checkout .nova-checkout__personal-fields #billing_first_name_field,
.nova-checkout .nova-checkout__personal-fields #billing_address_1_field,
.nova-checkout .nova-checkout__personal-fields #billing_city_field {
  grid-column: 1;
}

.nova-checkout .nova-checkout__personal-fields #billing_last_name_field,
.nova-checkout .nova-checkout__personal-fields #billing_address_2_field,
.nova-checkout .nova-checkout__personal-fields #billing_postcode_field {
  grid-column: 2;
}

.nova-checkout
  .nova-checkout__section--personal
  .form-row.nova-checkout__label-top {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.nova-checkout
  .nova-checkout__section--personal
  .form-row.nova-checkout__label-top
  > label,
.wcf-embed-checkout-form.wcf-field-modern-label
  .nova-checkout
  .nova-checkout__section--personal
  .form-row.nova-checkout__label-top
  > label,
.wcf-embed-checkout-form.wcf-field-style-one
  .nova-checkout
  .nova-checkout__section--personal
  .form-row.nova-checkout__label-top
  > label {
  position: relative !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  transform: none !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  left: auto !important;
  float: none !important;
  width: auto !important;
  height: auto !important;
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: var(--nova-checkout-text) !important;
  text-align: start;
  pointer-events: auto;
}

.nova-checkout .nova-checkout__section--personal label {
  display: block;
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  color: var(--nova-checkout-text);
  text-align: start;
}

.nova-checkout .nova-checkout__section--personal input::placeholder,
.nova-checkout .nova-checkout__section--personal textarea::placeholder {
  color: transparent !important;
  opacity: 0 !important;
}

.nova-checkout
  .nova-checkout__personal-fields
  #billing_country_display_field
  .input-text[readonly] {
  cursor: default;
  background-color: #ffffff;
  color: #000000;
}

.nova-checkout .nova-checkout__section--personal .required,
.nova-checkout .nova-checkout__section--personal abbr.required {
  color: #e53935;
  text-decoration: none;
  border: 0;
}

.nova-checkout .nova-checkout__section--personal .input-text,
.nova-checkout .nova-checkout__section--personal input[type="text"],
.nova-checkout .nova-checkout__section--personal input[type="email"],
.nova-checkout .nova-checkout__section--personal input[type="tel"],
.nova-checkout .nova-checkout__section--personal input[type="number"],
.nova-checkout .nova-checkout__section--personal select,
.nova-checkout
  .nova-checkout__section--personal
  .woocommerce-input-wrapper
  .input-text {
  display: block;
  width: 100%;
  max-width: none !important;
  height: 44px;
  padding: 10px 12px !important;
  margin: 0;
  border: 1px solid var(--nova-checkout-input-border);
  border-radius: var(--nova-checkout-input-radius);
  background: #ffffff;
  color: var(--nova-checkout-text);
  font-size: 13px;
  line-height: 1.4;
  box-shadow: none;
  box-sizing: border-box;
  direction: rtl;
}

.nova-checkout .nova-checkout__section--personal textarea.input-text {
  height: auto;
  min-height: 100px;
  padding: 12px;
  resize: vertical;
}

.nova-checkout
  .nova-checkout__section--personal
  .select2-container--default
  .select2-selection--single {
  height: 44px;
  border: 1px solid var(--nova-checkout-input-border);
  border-radius: var(--nova-checkout-input-radius);
}

.nova-checkout
  .nova-checkout__section--personal
  .select2-container--default
  .select2-selection--single
  .select2-selection__rendered {
  line-height: 42px;
  padding-inline: 12px;
  color: #000000;
}

.nova-checkout
  .nova-checkout__section--personal
  .select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 42px;
}

/* Flashy marketing consent — custom checkbox (RTL: box on the right). */
.nova-checkout
  .nova-checkout__personal-fields
  p.form-row:has(#flashy_accept_marketing) {
  align-self: start;
  margin-top: 4px !important;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 10px;
  direction: rtl;
}

.nova-checkout
  .nova-checkout__personal-fields
  p.form-row:has(#flashy_accept_marketing)
  label[for="flashy_accept_marketing"] {
  flex: 1 1 auto;
  margin: 0;
  padding: 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #444444;
  text-align: right;
  cursor: pointer;
}

.nova-checkout
  .nova-checkout__personal-fields
  #flashy_accept_marketing {
  appearance: none;
  -webkit-appearance: none;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 2px 0 0;
  padding: 0;
  border: 1px solid #d1d1d1;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: none;
  cursor: pointer;
  position: relative;
  vertical-align: top;
  accent-color: transparent;
  display: block;
}

.nova-checkout
  .nova-checkout__personal-fields
  #flashy_accept_marketing:checked {
  background: #ffffff;
  border-color: #d1d1d1;
}

.nova-checkout
  .nova-checkout__personal-fields
  #flashy_accept_marketing:checked::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 6px;
  width: 5px;
  height: 10px;
  border: solid #000000;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg);
  box-sizing: border-box;
}

.nova-checkout
  .nova-checkout__personal-fields
  #flashy_accept_marketing:focus-visible {
  outline: 2px solid var(--nova-checkout-accent);
  outline-offset: 2px;
}

.nova-checkout
  .nova-checkout__section--personal
  .woocommerce-shipping-fields:empty,
.nova-checkout
  .nova-checkout__section--personal
  .woocommerce-shipping-fields__field-wrapper:empty {
  display: none;
}

/* Hide default gateway title + icon row (shown in footer instead). */
.nova-checkout
  .nova-checkout__section--payment
  .wc_payment_methods
  > li
  > input[type="radio"],
.nova-checkout
  .nova-checkout__section--payment
  .wc_payment_methods
  > li
  > label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nova-checkout .nova-checkout__section--payment #payment {
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}

.nova-checkout .nova-checkout__section--payment .wc_payment_methods {
  padding: 0;
  margin: 0;
  border: 0;
  list-style: none;
}

.nova-checkout .nova-checkout__section--payment .wc_payment_methods::before,
.nova-checkout .nova-checkout__section--payment .wc_payment_methods::after {
  display: none;
}

.nova-checkout .nova-checkout__section--payment .payment_box {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}

.nova-checkout .nova-checkout__section--payment .payment_box::before {
  display: none !important;
}

/* —— OfficeGuy / SUMIT fields —— */
.nova-checkout .nova-checkout__section--payment #wc-officeguy-cc-form {
  margin: 0;
  padding: 0;
  border: 0;
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row {
  float: none;
  width: 100%;
  margin: 0 0 20px !important;
  padding: 0;
}

.nova-checkout .nova-checkout__section--payment #wc-officeguy-cc-form label {
  display: block;
  margin: 0 0 6px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--nova-checkout-text);
  padding-inline-start: 0;
  text-align: start;
  position: relative;
  opacity: 1;
}

.nova-checkout .woocommerce-privacy-policy-text p {
  margin: 0 0 8px;
  a {
    font-size: 10px;
    font-weight: 500;
    color: var(--nova-checkout-text);
  }
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .required {
  color: #e53935;
  text-decoration: none;
}

.nova-checkout
  .nova-checkout__section--payment
  .payment_method_officeguy
  .input-text,
.nova-checkout .nova-checkout__section--payment .payment_method_officeguy input,
.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .input-text,
.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .woocommerce-select {
  display: block;
  width: 100%;
  max-width: none;
  height: 44px;
  padding: 10px 12px;
  margin: 0;
  border: 1px solid var(--nova-checkout-input-border) !important;
  border-color: var(--nova-checkout-input-border) !important;
  border-top-color: var(--nova-checkout-input-border) !important;
  border-radius: var(--nova-checkout-input-radius);
  background: #ffffff;
  color: #000000;
  font-size: 14px;
  line-height: 1.4;
  box-shadow: none;
  box-sizing: border-box;
  max-width: none !important;
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .og-cc-cardnumber {
  /* direction: rtl !important; */
  text-align: start;
}

.nova-checkout .nova-checkout__section--payment .payment_method_officeguy .input-text, .nova-checkout .nova-checkout__section--payment .payment_method_officeguy input, .nova-checkout .nova-checkout__section--payment #wc-officeguy-cc-form .input-text, .nova-checkout .nova-checkout__section--payment #wc-officeguy-cc-form .woocommerce-select{
  /* direction: rtl !important; */
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .og-expiration {
  display: flex;
  align-items: center;
  gap: 8px;
  direction: ltr;
  width: 100%;
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .og-cc-month,
.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .og-cc-year {
  flex: 1 1 0;
  min-width: 0;
  width: auto !important;
  display: block !important;
}

/* Expiry + installments on one row (when both exist). */
.nova-checkout .nova-checkout__section--payment #wc-officeguy-cc-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
  row-gap: 0;
  margin: 0 !important;
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .og-errors,
.nova-checkout .nova-checkout__section--payment #wc-officeguy-cc-form .og-clear,
.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row:has(#og-ccnum),
.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row:has(#og-citizenid),
.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row:has(#og-cvv),
.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row.woocommerce-SavedPaymentMethods-saveNew,
.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  > .form-row:not(:has(#og-expmonth)):not(:has(#og-paymentscount)) {
  grid-column: 1 / -1;
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row:has(#og-expmonth) {
  grid-column: 1;
  position: relative;
  padding-inline-end: 16px;
  position: relative;
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row:has(#og-expmonth)::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-end: 0;
  width: 1px;
  height: 100%;
  background: var(--nova-checkout-input-border);
  @media (max-width: 768px) {
    display: none;
  }
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row:has(#og-expmonth)::after {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 0;
  inset-inline-end: 0;
  width: 1px;
  background: var(--nova-checkout-border);
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row:has(#og-paymentscount) {
  grid-column: 2;
}

/* Place order */
.nova-checkout .nova-checkout__section--payment #payment .form-row.place-order {
  margin: 20px 0 0;
  padding: 0;
}

.wcf-embed-checkout-form
  .nova-checkout.woocommerce-checkout
  .nova-checkout__section--payment
  #payment
  #place_order,
.wcf-embed-checkout-form
  .nova-checkout.woocommerce-checkout
  .nova-checkout__section--payment
  #payment
  button[name="woocommerce_checkout_place_order"],
.nova-checkout .nova-checkout__section--payment #payment #place_order,
.nova-checkout
  .nova-checkout__section--payment
  #payment
  button[name="woocommerce_checkout_place_order"] {
  display: block;
  width: 100%;
  float: none;
  margin: 0;
  padding: 14px 20px;
  border: 0;
  border-radius: var(--nova-checkout-input-radius);
  background: var(--nova-checkout-accent) !important;
  color: #ffffff !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.wcf-embed-checkout-form
  .nova-checkout.woocommerce-checkout
  .nova-checkout__section--payment
  #payment
  #place_order:hover,
.wcf-embed-checkout-form
  .nova-checkout.woocommerce-checkout
  .nova-checkout__section--payment
  #payment
  button[name="woocommerce_checkout_place_order"]:hover,
.nova-checkout .nova-checkout__section--payment #payment #place_order:hover,
.nova-checkout
  .nova-checkout__section--payment
  #payment
  button[name="woocommerce_checkout_place_order"]:hover {
  background: var(--nova-checkout-accent-hover) !important;
  color: #ffffff !important;
}

/* Footer: SSL note + card icons */
.nova-checkout .nova-checkout__payment-footer {
  margin-top: 12px;
  text-align: center;
}

.nova-checkout .nova-checkout__payment-secure {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--nova-checkout-text);
}

.nova-checkout .nova-checkout__payment-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.nova-checkout .nova-checkout__payment-icons img {
  display: block;
  height: 24px;
  width: auto;
  max-width: 48px;
  object-fit: contain;
}

.nova-checkout .nova-checkout__payment-icons img[alt*="Visa, Mastercard"] {
  max-width: 220px;
  height: 28px;
}

/* Hide gateway description line under the custom section title. */
.nova-checkout
  .nova-checkout__section--payment
  .payment_method_officeguy
  .payment_box
  > p:not(.form-row) {
  display: none;
  margin: 0;
}

/* Order review: product thumbnail beside title */
.nova-checkout .nova-checkout__order-product {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.nova-checkout .nova-checkout__order-product-thumb {
  position: relative;
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 4px;
  overflow: visible;
  background: #f5f5f5;
}

.nova-checkout .nova-checkout__order-product-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
}

.nova-checkout .nova-checkout__order-product-thumb .wcf-remove-product {
  position: absolute;
  top: -6px;
  inset-inline-start: -6px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: #4d5763 !important;
  font-size: 0;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
  cursor: pointer;
}

.nova-checkout .nova-checkout__order-product-thumb .wcf-remove-product::before {
  content: "×";
  display: block;
  font-family: "Rubik", sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  color: inherit;
  speak: none;
}

.nova-checkout .nova-checkout__order-product-thumb .wcf-remove-product:hover {
  color: var(--nova-checkout-accent) !important;
  background: #ffffff;
}

.nova-checkout .nova-checkout__order-product-thumb .wcf-remove-product:hover::before {
  color: inherit;
}

.nova-checkout .nova-checkout__order-product-thumb .wcf-remove-product .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.nova-checkout .wcf-product-image .wcf-product-thumbnail img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 4px;
}

form
  #order_review_heading:not(
    .elementor-widget-woocommerce-checkout-page #order_review_heading
  ) {
  border-color: var(--nova-checkout-border);
  border-radius: var(--nova-checkout-radius) var(--nova-checkout-radius) 0 0;
  border-width: 1px;
  border-bottom: none;
}
form
  #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review) {
  border-color: var(--nova-checkout-border);
  border-radius: 0 0 var(--nova-checkout-radius) var(--nova-checkout-radius);
  border-width: 1px;
  border-top: none;
}
.woocommerce-page.woocommerce-checkout form #order_review td,
.woocommerce-page.woocommerce-checkout form #order_review th {
  border-style: dashed;
  font-weight: 600;
  padding-inline: 0;
  text-align: start !important;
  font-size: 13px;
}

.nova-checkout .ast-product-name {
  line-height: 1.3;
  font-weight: 600;
}

.woocommerce-page.woocommerce-checkout form #order_review th.product-total {
  padding-inline-start: 16px;
  font-weight: 500;
}
.woocommerce-page.woocommerce-checkout form #order_review th.product-name {
  font-weight: 500;
}
.woocommerce-page.woocommerce-checkout
  form
  #order_review
  td:not(.product-name) {
  padding-inline-start: 0px;
}
.woocommerce-page.woocommerce-checkout form #order_review td span {
  text-align: start !important;
}
.woocommerce-page.woocommerce-checkout form #order_review td span {
  font-weight: 600;
}
.woocommerce-page.woocommerce-checkout form .order-total th,
.woocommerce-page.woocommerce-checkout form .order-total td {
  border: 0;
  padding-inline: 0;
}
form
  #order_review:not(.elementor-widget-woocommerce-checkout-page #order_review) {
  padding-inline: 24px;
}

.woocommerce-js .woocommerce table.shop_table{
	margin-bottom: 0 !important;
}

/* Default WC coupon toggle/form (CartFlows custom field is used instead). */
.nova-checkout form.checkout_coupon.woocommerce-form-coupon,
.nova-checkout .woocommerce-form-coupon.checkout_coupon {
  display: none !important;
}

.nova-checkout form.checkout > .woocommerce-info:has(a.showcoupon) {
  display: none !important;
}

/* CartFlows custom coupon — match order review mockup (RTL: input right, button left). */
.nova-checkout #order_review .wcf-custom-coupon-field,
.wcf-embed-checkout-form .nova-checkout #order_review .wcf-custom-coupon-field {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
  clear: both;
  width: 100%;
  margin: 0;
  padding: 16px 0 24px;
  border-top: 1px solid var(--nova-checkout-border);
  border-bottom: 0;
  box-sizing: border-box;
}

.nova-checkout #order_review .wcf-custom-coupon-field .wcf-coupon-col-1,
.nova-checkout #order_review .wcf-custom-coupon-field .wcf-coupon-col-2,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  .wcf-coupon-col-1,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  .wcf-coupon-col-2 {
  display: block;
  width: auto;
  margin: 0;
  padding: 0;
  float: none;
}

.nova-checkout #order_review .wcf-custom-coupon-field .wcf-coupon-col-1,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  .wcf-coupon-col-1 {
  flex: 1 1 68%;
  min-width: 0;
}

.nova-checkout #order_review .wcf-custom-coupon-field .wcf-coupon-col-2,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  .wcf-coupon-col-2 {
  flex: 0 0 28%;
  max-width: 120px;
}

.nova-checkout #order_review .wcf-custom-coupon-field .wcf-coupon-col-1 > span,
.nova-checkout #order_review .wcf-custom-coupon-field .wcf-coupon-col-2 > span,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  .wcf-coupon-col-1
  > span,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  .wcf-coupon-col-2
  > span {
  display: block;
  width: 100%;
}

.nova-checkout #order_review .wcf-custom-coupon-field input.input-text,
.nova-checkout #order_review .wcf-custom-coupon-field input.wcf-coupon-code-input,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  input[type="text"] {
  display: block;
  width: 100% !important;
  height: 44px;
  margin: 0;
  padding: 10px 12px !important;
  border: 1px solid var(--nova-checkout-input-border) !important;
  border-radius: var(--nova-checkout-input-radius) !important;
  background: #ffffff !important;
  color: var(--nova-checkout-text) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  line-height: 1.4;
  text-align: start;
  direction: rtl;
  box-shadow: none !important;
  box-sizing: border-box;
}

.nova-checkout #order_review .wcf-custom-coupon-field input.input-text::placeholder,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  input[type="text"]::placeholder {
  color: var(--nova-checkout-muted) !important;
  opacity: 1 !important;
}

.nova-checkout #order_review .wcf-custom-coupon-field input.input-text:focus,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  input[type="text"]:focus {
  border-color: var(--nova-checkout-accent) !important;
  outline: none;
  box-shadow: none !important;
}

.nova-checkout #order_review .wcf-custom-coupon-field button.wcf-submit-coupon,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  button.wcf-submit-coupon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100% !important;
  height: 44px;
  margin: 0;
  padding: 10px 16px !important;
  border: 0 !important;
  border-radius: var(--nova-checkout-input-radius) !important;
  background: var(--nova-checkout-accent) !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: center;
  cursor: pointer;
  box-shadow: none;
  transition: background-color 0.2s ease;
}

.nova-checkout #order_review .wcf-custom-coupon-field button.wcf-submit-coupon:hover,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  button.wcf-submit-coupon:hover {
  background: var(--nova-checkout-accent-hover) !important;
  color: #ffffff !important;
}

.nova-checkout #order_review .wcf-custom-coupon-field .woocommerce-message,
.nova-checkout #order_review .wcf-custom-coupon-field .woocommerce-error,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  .woocommerce-message,
.wcf-embed-checkout-form
  .nova-checkout
  #order_review
  .wcf-custom-coupon-field
  .woocommerce-error {
  flex: 1 1 100%;
  width: 100%;
  margin: 0;
  padding: 10px 12px;
  border-radius: var(--nova-checkout-input-radius);
  font-size: 13px;
  line-height: 1.4;
  list-style: none;
}

@media (max-width: 520px) {
  .nova-checkout #order_review .wcf-custom-coupon-field .wcf-coupon-col-2,
  .wcf-embed-checkout-form
    .nova-checkout
    #order_review
    .wcf-custom-coupon-field
    .wcf-coupon-col-2 {
    flex: 0 0 32%;
    max-width: none;
  }
}
form
  #order_review_heading:not(
    .elementor-widget-woocommerce-checkout-page #order_review_heading
  ) {
  padding-inline: 24px;
  font-size: 20px;
}
ul#shipping_method
  li:not(.elementor-widget-woocommerce-cart #shipping_method li) {
  padding: 0;
  text-indent: 0;
}
@media (max-width: 520px) {
  .nova-checkout .nova-checkout__section--personal,
  .nova-checkout .nova-checkout__section--shipping,
  .nova-checkout .nova-checkout__section--payment {
    padding: 20px 16px 16px;
  }

  .nova-checkout .nova-checkout__personal-fields {
    display: flex;
    flex-direction: column;
  }

  .nova-checkout .nova-checkout__personal-fields #billing_first_name_field,
  .nova-checkout .nova-checkout__personal-fields #billing_last_name_field,
  .nova-checkout .nova-checkout__personal-fields #billing_address_1_field,
  .nova-checkout .nova-checkout__personal-fields #billing_address_2_field,
  .nova-checkout .nova-checkout__personal-fields #billing_city_field,
  .nova-checkout .nova-checkout__personal-fields #billing_postcode_field {
    grid-column: 1 / -1;
  }

  .nova-checkout .nova-checkout__section--payment {
    padding: 20px 16px 16px;
  }

  .nova-checkout .nova-checkout__section--payment #wc-officeguy-cc-form {
    grid-template-columns: 1fr;
  }

  .nova-checkout
    .nova-checkout__section--payment
    #wc-officeguy-cc-form
    .form-row:has(#og-expmonth) {
    padding-inline-end: 0;
  }

  .nova-checkout
    .nova-checkout__section--payment
    #wc-officeguy-cc-form
    .form-row:has(#og-expmonth)::after {
    display: none;
  }

  .nova-checkout
    .nova-checkout__section--payment
    #wc-officeguy-cc-form
    .form-row:has(#og-expmonth),
  .nova-checkout
    .nova-checkout__section--payment
    #wc-officeguy-cc-form
    .form-row:has(#og-paymentscount) {
    grid-column: 1 / -1;
  }

  .nova-checkout
    .nova-checkout__section--payment
    #wc-officeguy-cc-form
    .form-row:has(#og-expmonth) {
    max-width: 220px;
  }
}

.nova-checkout
  .nova-checkout__section--payment
  #wc-officeguy-cc-form
  .form-row:has(#og-paymentscount) {
  max-width: 101px;
}

/* Coupon placement: single instance after table in PHP; JS moves into tbody on mobile. */
@media (max-width: 768px) {
  .nova-checkout #order_review .nova-checkout__coupon-row {
    display: table-row;
  }

  .nova-checkout #order_review .nova-checkout__coupon-row td {
    padding: 0;
    border: 0;
  }

  .nova-checkout #order_review .nova-checkout__coupon-row .wcf-custom-coupon-field,
  .wcf-embed-checkout-form
    .nova-checkout
    #order_review
    .nova-checkout__coupon-row
    .wcf-custom-coupon-field {
    display: flex;
    margin: 0;
    padding: 16px 0 24px;
    border-top: 1px solid var(--nova-checkout-border);
    border-bottom: 0;
  }
}

@media (min-width: 769px) {
  .nova-checkout #order_review .nova-checkout__coupon-row,
  .wcf-embed-checkout-form .nova-checkout #order_review .nova-checkout__coupon-row {
    display: none !important;
  }
}
