﻿.icm-donation-product *,
#icm-classic-checkout * {
  border-radius: 0 !important;
  box-sizing: border-box;
}

.single-product.postid-266994 .woocommerce-breadcrumb,
.single-product.postid-266994 .product_title,
.single-product.postid-266994 .posted_in,
.single-product.postid-266994 .sku_wrapper,
.single-product.postid-266994 .tagged_as,
.single-product.postid-266994 .woocommerce-product-gallery {
  display: none !important;
}

.single-product.postid-266994 .site-main,
.single-product.postid-266994 .content-area,
.single-product.postid-266994 .woocommerce,
.single-product.postid-266994 .product,
.single-product.postid-266994 div.product,
.single-product.postid-266994 .type-product {
  max-width: none !important;
  width: 100% !important;
}

.single-product.postid-266994 .product,
.single-product.postid-266994 div.product,
.single-product.postid-266994 .type-product {
  padding-top: 100px;
  margin: 0 !important;
}

.single-product.postid-266994 .summary.entry-summary {
  float: none !important;
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
}

.icm-donation-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: 100vw;
  max-width: 100vw;
  min-height: 560px;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.icm-donation-main,
.icm-donation-side {
  border: 0 !important;
  margin: 0;
}

.icm-donation-main {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-right: clamp(20px, 3vw, 48px);
  padding-left: max(20px, calc((100vw - 1400px) / 2));
  background: #fff;
}

.icm-donation-form,
.icm-donation-title,
.icm-donation-subtitle {
  width: min(360px, 100%) !important;
  max-width: 360px !important;
}

.icm-donation-main form.icm-donation-form {
  width: 100% !important;
  max-width: 360px !important;
  flex: 0 0 auto;
}

.icm-donation-main .icm-donation-title,
.icm-donation-main .icm-donation-subtitle {
  width: 100% !important;
  max-width: 360px !important;
}

.icm-donation-side-copy,
.icm-donation-side-copy h3,
.icm-donation-side-copy p {
  color: #fff !important;
}

.icm-donation-title,
.icm-donation-subtitle {
  margin: 0 0 12px;
}

.icm-mode-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.icm-mode-btn,
.icm-preset-btn,
.icm-continue-btn,
#icm-classic-checkout button,
#icm-classic-checkout .button,
#icm-classic-checkout input,
#icm-classic-checkout select,
.icm-donation-form input,
.icm-donation-form select,
.woocommerce-cart-form input,
.woocommerce-cart-form select,
.woocommerce-cart-form button,
.woocommerce-checkout input,
.woocommerce-checkout select,
.woocommerce-checkout button {
  border: 1px solid #000 !important;
  border-radius: 0 !important;
  background: #fff;
  color: #111;
}

.icm-mode-btn,
.icm-preset-btn,
#icm-classic-checkout button,
#icm-classic-checkout .button,
.woocommerce-cart-form button,
.woocommerce-checkout button {
  padding: 10px 12px;
  cursor: pointer;
}

.icm-mode-btn.is-active,
.icm-preset-btn.is-active,
.icm-step-pill.is-active,
.woocommerce-checkout .payment_method input[type='radio']:checked + label,
.woocommerce-checkout input[type='checkbox']:checked + label,
.woocommerce-checkout input[type='radio']:checked + label,
.woocommerce-checkout .wc_payment_method > input.input-radio:checked + label,
.woocommerce-checkout .woocommerce-shipping-methods input[type='radio']:checked + label {
  background: #df484f !important;
  color: #fff !important;
}


.woocommerce-checkout input:focus,
.woocommerce-checkout select:focus,
.woocommerce-cart-form input:focus,
.woocommerce-cart-form select:focus,
.icm-donation-form input:focus,
.icm-donation-form select:focus {
  outline: none;
  border-color: #df484f !important;
}

.icm-field-label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
}

.icm-field {
  width: 100%;
  padding: 10px;
  margin-bottom: 12px;
}

.icm-preset-grid {
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.icm-preset-btn {
  display: flex;
  justify-content: space-between;
  text-align: left;
  gap: 10px;
}

.icm-preset-amount {
  font-weight: 700;
}

.icm-preset-desc {
  font-size: 13px;
}

.icm-donation-side {
  position: relative;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72)), url('https://icm.kpability.com/wp-content/uploads/2026/03/A59I5767-2048x136522-1-scaled.jpg');
  background-size: cover;
  background-position: center;
  min-height: 560px;
}

.icm-donation-side-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: max(20px, calc((100vw - 1400px) / 2));
}

.icm-donation-side-copy {
  color: #fff;
  text-align: right;
  max-width: 380px;
}

#icm-classic-checkout {
  margin-top: 16px;
}

#icm-classic-checkout .icm-steps-indicator {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

#icm-classic-checkout .icm-step-pill {
  border: 1px solid #000;
  background: #fff;
  color: #111;
  padding: 8px 10px;
  font-weight: 600;
}

#icm-classic-checkout .icm-checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
}

#icm-classic-checkout .icm-checkout-main,
#icm-classic-checkout .icm-checkout-side {
  border: 1px solid #000;
  padding: 16px;
}

#icm-classic-checkout .icm-step-actions {
  margin-top: 12px;
}

#icm-classic-checkout .icm-checkout-step.is-hidden {
  display: none;
}

.icm-step-error {
  border: 1px solid #000;
  background: #fff3f3;
  padding: 10px;
  margin-bottom: 10px;
}

#icm-classic-checkout .icm-invalid {
  border-color: #df484f !important;
}

@media (max-width: 900px) {
  .icm-donation-layout,
  #icm-classic-checkout .icm-checkout-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .icm-donation-main {
    padding: 24px 20px;
    align-items: center;
  }

  .icm-donation-side {
    order: -1;
    min-height: 360px;
  }

  .icm-donation-side-overlay {
    padding: 24px 20px;
  }
}



/* --- Final hard overrides for product 266994 --- */
body.single-product.postid-266994 .product,
body.single-product.postid-266994 div.product,
body.single-product.postid-266994 .type-product {
  padding-top: 100px !important;
}

body.single-product.postid-266994 .summary.entry-summary,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-layout {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-layout {
  grid-template-columns: 1fr 1fr !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-main {
  align-items: flex-start !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-form,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main form.icm-donation-form,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-title,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-subtitle {
  width: 100% !important;
  max-width: 360px !important;
}

body.single-product.postid-266994 .icm-donation-side-copy,
body.single-product.postid-266994 .icm-donation-side-copy h3,
body.single-product.postid-266994 .icm-donation-side-copy p {
  color: #fff !important;
}

body.single-product.postid-266994 .icm-mode-btn,
body.single-product.postid-266994 .icm-preset-btn,
body.woocommerce-cart .woocommerce-cart-form button,
body.woocommerce-checkout .woocommerce-checkout button,
body.woocommerce-checkout .woocommerce-checkout input,
body.woocommerce-checkout .woocommerce-checkout select,
body.woocommerce-cart .woocommerce-cart-form input,
body.woocommerce-cart .woocommerce-cart-form select {
  background: #fff !important;
  color: #111 !important;
}

body.single-product.postid-266994 .icm-mode-btn.is-active,
body.single-product.postid-266994 .icm-preset-btn.is-active,
body.woocommerce-checkout .wc_payment_method > input.input-radio:checked + label,
body.woocommerce-checkout .woocommerce-shipping-methods input[type='radio']:checked + label,
body.woocommerce-checkout .payment_method input[type='radio']:checked + label,
body.woocommerce-checkout input[type='checkbox']:checked + label,
body.woocommerce-checkout input[type='radio']:checked + label,
body.woocommerce-checkout #icm-classic-checkout .icm-step-pill.is-active {
  background: #df484f !important;
  color: #fff !important;
}

/* --- 1400 content frame + centered left form --- */
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main {
  align-items: center !important;
  padding-left: max(20px, calc((100vw - 1400px) / 2)) !important;
  padding-right: max(20px, calc((100vw - 1400px) / 2)) !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-main > * {
  margin-left: auto !important;
  margin-right: auto !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-form,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main form.icm-donation-form,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-title,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-subtitle {
  width: 100% !important;
  max-width: 360px !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-side-overlay {
  padding-right: max(20px, calc((100vw - 1400px) / 2)) !important;
}

/* --- Donation copy + stepper refresh --- */
body.single-product.postid-266994 .icm-donation-side-copy h3 {
  font-size: clamp(28px, 4vw, 52px) !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
  color: #fff !important;
}

body.single-product.postid-266994 .icm-donation-side-copy p {
  color: #fff !important;
}

body.single-product.postid-266994 .icm-donation-form,
body.single-product.postid-266994 .icm-donation-form * {
  font-weight: 400 !important;
}

body.single-product.postid-266994 .icm-preset-amount {
  font-weight: 400 !important;
}

body.single-product.postid-266994 .icm-continue-btn {
  background: #df484f !important;
  color: #fff !important;
}

body.single-product.postid-266994 .icm-donation-trust {
  margin-top: 10px;
  display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
  font-size: 13px;
  color: #111;
}

body.single-product.postid-266994 .icm-donation-trust span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

body.single-product.postid-266994 .icm-donation-trust i {
  font-size: 14px;
}

.icm-steps-progress {
  display: flex !important;
  align-items: flex-start;
  gap: 0 !important;
  width: 100%;
  margin: 0 0 16px;
}

.icm-steps-progress .icm-step-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1 1 0;
  text-align: center;
}

.icm-steps-progress .icm-step-circle {
  width: 20px;
  height: 20px;
  border-radius: 999px !important;
  border: 2px solid #df484f;
  background: #df484f;
  display: inline-block;
}

.icm-steps-progress .icm-step-label {
  font-size: 12px;
  line-height: 1.2;
}

.icm-steps-progress .icm-step-node.is-active .icm-step-circle {
  background: #fff;
  border-color: #000;
}

.icm-steps-progress .icm-step-node.is-done .icm-step-circle {
  background: #df484f;
  border-color: #df484f;
}

.icm-steps-progress .icm-step-node::after {
  content: '';
  position: absolute;
  top: 10px;
  left: calc(50% + 12px);
  width: calc(100% - 24px);
  border-top: 2px solid #df484f;
}

.icm-steps-progress .icm-step-node:last-child::after {
  display: none;
}

#icm-classic-checkout .icm-steps-indicator {
  margin-bottom: 18px;
}

#icm-classic-checkout .icm-step-pill {
  display: none !important;
}

@media (max-width: 900px) {
  .icm-steps-progress .icm-step-label {
    font-size: 11px;
  }

  body.single-product.postid-266994 .icm-donation-trust {
    gap: 10px;
    font-size: 12px;
  }
}


/* --- Latest requested overrides --- */
body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress {
  margin-bottom: 40px !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-circle {
  border-width: 1px !important;
  border-style: solid !important;
  border-color: #df484f !important;
  background: #fff !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-done .icm-step-circle {
  background: #df484f !important;
  border-color: #df484f !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node::after,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node::after {
  left: calc(50% + 40px) !important;
  width: calc(100% - 80px) !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-subtitle {
  font-size: 16px !important;
}

body.single-product.postid-266994 .icm-mode-btn,
body.single-product.postid-266994 .icm-preset-btn,
body.single-product.postid-266994 .icm-donation-form input,
body.single-product.postid-266994 .icm-donation-form select,
body.woocommerce-cart .woocommerce-cart-form button,
body.woocommerce-cart .woocommerce-cart-form input,
body.woocommerce-cart .woocommerce-cart-form select,
body.woocommerce-checkout .woocommerce-checkout button,
body.woocommerce-checkout .woocommerce-checkout input,
body.woocommerce-checkout .woocommerce-checkout select,
body.woocommerce-checkout #icm-classic-checkout .button,
body.woocommerce-checkout #icm-classic-checkout input,
body.woocommerce-checkout #icm-classic-checkout select {
  border-color: #999999 !important;
}

body.single-product.postid-266994 .icm-mode-btn.is-active,
body.single-product.postid-266994 .icm-preset-btn.is-active,
body.woocommerce-checkout .wc_payment_method > input.input-radio:checked + label,
body.woocommerce-checkout .woocommerce-shipping-methods input[type='radio']:checked + label,
body.woocommerce-checkout .payment_method input[type='radio']:checked + label,
body.woocommerce-checkout input[type='checkbox']:checked + label,
body.woocommerce-checkout input[type='radio']:checked + label,
body.woocommerce-checkout #icm-classic-checkout .icm-step-node.is-active .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-step-node.is-done .icm-step-circle {
  border-color: #df484f !important;
}

body.single-product.postid-266994 .icm-continue-btn {
  width: 100% !important;
  display: block !important;
  margin-top: 8px;
  margin-bottom: 10px;
  background: #df484f !important;
  color: #fff !important;
  border-color: #df484f !important;
}

body.single-product.postid-266994 .icm-donation-trust {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 2px;
}

body.single-product.postid-266994 .icm-donation-trust .fa {
  display: inline-block;
  width: 14px;
  text-align: center;
}


/* --- Final priority overrides (user requested) --- */
body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress {
  margin-bottom: 40px !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-label,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-label {
  font-size: 16px !important;
  font-weight: 400 !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-circle {
  border: 1px solid #999999 !important;
  background: #999999 !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-done .icm-step-circle {
  border: 1px solid #df484f !important;
  background: #df484f !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node::after,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node::after {
  left: calc(50% + 56px) !important;
  width: calc(100% - 112px) !important;
  border-top-color: #999999 !important;
}

body.single-product.postid-266994 .icm-donation-trust {
  justify-content: center !important;
}

/* --- margin + step final corrections --- */
body.single-product.postid-266994 .summary.entry-summary,
body.single-product.postid-266994 .fl-content.fl-woo-content.col-md-12 {
  margin-bottom: 0 !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-circle {
  border: 1px solid #999999 !important;
  background: transparent !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-done .icm-step-circle {
  border: 1px solid #df484f !important;
  background: #df484f !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node::after,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node::after {
  border-top: 1px solid #999999 !important;
}

body.single-product.postid-266994 .icm-donation-trust .icm-inline-icon {
  display: inline-block;
  width: 14px;
  text-align: center;
  line-height: 1;
}

/* --- Final tweak: notice, circles, heading alignment --- */
body.single-product.postid-266994 .woocommerce-message {
  border-top-color: #df484f !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-circle {
  width: 12px !important;
  height: 12px !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-title,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-subtitle {
  text-align: center !important;
}

/* --- Checkout mirrors donation layout --- */
body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout .woocommerce-products-header__title,
body.woocommerce-checkout .fl-post-header-title,
body.woocommerce-checkout .page-title {
  display: none !important;
}

#icm-classic-checkout .icm-checkout-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 560px;
}

#icm-classic-checkout .icm-checkout-main,
#icm-classic-checkout .icm-checkout-side {
  border: 0 !important;
  box-shadow: none !important;
}

#icm-classic-checkout .icm-checkout-main {
  background: #fff;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: max(20px, calc((100vw - 1400px) / 2));
  padding-right: clamp(20px, 3vw, 48px);
}

#icm-classic-checkout .icm-checkout-main #customer_details,
#icm-classic-checkout .icm-checkout-main .woocommerce-checkout-review-order,
#icm-classic-checkout .icm-checkout-main #order_review,
#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields {
  max-width: 520px;
}

#icm-classic-checkout .icm-checkout-side-image {
  position: relative;
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72)), url('https://icm.kpability.com/wp-content/uploads/2026/03/A59I5767-2048x136522-1-scaled.jpg');
  background-size: cover;
  background-position: center;
}

#icm-classic-checkout .icm-checkout-side-image .icm-donation-side-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: max(20px, calc((100vw - 1400px) / 2));
}

#icm-classic-checkout .icm-checkout-side-summary {
  background: #fff;
  padding-top: 24px;
  padding-bottom: 24px;
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: max(20px, calc((100vw - 1400px) / 2));
}

#icm-classic-checkout .icm-checkout-side-summary > * {
  max-width: 420px;
}

@media (max-width: 900px) {
  #icm-classic-checkout .icm-checkout-layout {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    min-height: auto;
  }

  #icm-classic-checkout .icm-checkout-main,
  #icm-classic-checkout .icm-checkout-side-summary {
    padding: 24px 20px;
  }

  #icm-classic-checkout .icm-checkout-side-image {
    order: -1;
    min-height: 300px;
  }

  #icm-classic-checkout .icm-checkout-side-image .icm-donation-side-overlay {
    padding: 24px 20px;
  }
}

/* --- Checkout exact copy-style alignment --- */
#icm-classic-checkout .icm-checkout-main .icm-steps-progress {
  margin-bottom: 40px !important;
  max-width: 520px;
}

#icm-classic-checkout .icm-checkout-main .icm-step-circle {
  border-radius: 999px !important;
}

#icm-classic-checkout .icm-checkout-main #customer_details,
#icm-classic-checkout .icm-checkout-main .woocommerce-checkout-review-order,
#icm-classic-checkout .icm-checkout-main #order_review,
#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields,
#icm-classic-checkout .icm-checkout-main .icm-step-actions {
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields > h3,
#icm-classic-checkout .icm-checkout-main .woocommerce-additional-fields,
#icm-classic-checkout .icm-checkout-main #billing_address_2_field {
  display: none !important;
}

#icm-classic-checkout .icm-checkout-main .icm-next-step {
  width: 100% !important;
  display: block !important;
  background: #df484f !important;
  color: #fff !important;
  border-color: #df484f !important;
}

#icm-classic-checkout .icm-checkout-main .icm-back-step {
  border-color: #999999 !important;
}


/* --- Force checkout stepper into left column visual area --- */
#icm-classic-checkout > .icm-steps-indicator.icm-steps-progress {
  width: 50% !important;
  max-width: 520px !important;
  margin-left: max(20px, calc((100vw - 1400px) / 2)) !important;
  margin-right: 0 !important;
  margin-bottom: 40px !important;
}

#icm-classic-checkout > .icm-steps-indicator .icm-step-circle {
  border-radius: 999px !important;
}

@media (max-width: 900px) {
  #icm-classic-checkout > .icm-steps-indicator.icm-steps-progress {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    padding: 0 20px;
  }
}


/* Hide checkout page title only */
body.woocommerce-checkout h1.entry-title,
body.woocommerce-checkout .woocommerce-products-header__title,
body.woocommerce-checkout .fl-post-header-title,
body.woocommerce-checkout .page-title,
body.woocommerce-checkout .checkout-title,
body.woocommerce-checkout .woocommerce-checkout-title {
  display: none !important;
}

/* --- Checkout final structural/border alignment --- */
#icm-classic-checkout .icm-checkout-main #customer_details .col-2,
#icm-classic-checkout .icm-checkout-main .col2-set .col-2 {
  display: none !important;
  width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
}

#icm-classic-checkout .icm-checkout-main #customer_details .col-1,
#icm-classic-checkout .icm-checkout-main .col2-set .col-1,
#icm-classic-checkout .icm-checkout-main .col2-set {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
  max-width: 520px;
}

#icm-classic-checkout .icm-checkout-main input,
#icm-classic-checkout .icm-checkout-main select,
#icm-classic-checkout .icm-checkout-main textarea,
#icm-classic-checkout .icm-checkout-main .button {
  border: 1px solid #999999 !important;
  background: #fff !important;
  color: #111 !important;
}

#icm-classic-checkout .icm-checkout-main .button.icm-next-step,
#icm-classic-checkout .icm-checkout-main .button#place_order {
  border-color: #df484f !important;
  background: #df484f !important;
  color: #fff !important;
}

#icm-classic-checkout > .icm-steps-indicator {
  display: none !important;
}

/* --- Checkout main content centering + placeholder-only rows --- */
#icm-classic-checkout .icm-checkout-main > div {
  margin-left: auto;
  margin-right: auto;
}

#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields label,
#icm-classic-checkout .icm-checkout-main .form-row label {
  display: none !important;
}

/* --- Center + border parity final override --- */
#icm-classic-checkout .icm-checkout-main .col2-set,
#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields,
#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields__field-wrapper,
#icm-classic-checkout .icm-checkout-main .icm-step-actions,
#icm-classic-checkout .icm-checkout-main .icm-steps-progress {
  max-width: 520px !important;
  width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#icm-classic-checkout .icm-checkout-main .col2-set .col-2,
#icm-classic-checkout .icm-checkout-main #customer_details .col-2,
#icm-classic-checkout .icm-checkout-main .woocommerce-additional-fields,
#icm-classic-checkout .icm-checkout-main #order_comments_field,
#icm-classic-checkout .icm-checkout-main #billing_address_2_field {
  display: none !important;
}

#icm-classic-checkout .icm-checkout-main .col2-set .col-1,
#icm-classic-checkout .icm-checkout-main #customer_details .col-1 {
  width: 100% !important;
  float: none !important;
}

#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields__field-wrapper .form-row-first,
#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields__field-wrapper .form-row-last {
  width: 48% !important;
}

#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields__field-wrapper .form-row-first {
  float: left !important;
  clear: both !important;
}

#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields__field-wrapper .form-row-last {
  float: right !important;
}

#icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields__field-wrapper .form-row-wide {
  width: 100% !important;
  clear: both !important;
}

#icm-classic-checkout .icm-checkout-main input.input-text,
#icm-classic-checkout .icm-checkout-main select,
#icm-classic-checkout .icm-checkout-main textarea,
#icm-classic-checkout .icm-checkout-main .button,
#icm-classic-checkout .icm-checkout-main .select2-container--default .select2-selection--single {
  border: 1px solid #999999 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #111 !important;
  box-shadow: none !important;
}

#icm-classic-checkout .icm-checkout-main .button.icm-next-step {
  background: #df484f !important;
  color: #fff !important;
  border-color: #df484f !important;
}

/* --- Title + full viewport height adjustments --- */
#icm-classic-checkout .icm-section-title {
  text-align: center !important;
}

body.woocommerce-checkout h1.fl-post-title[itemprop='headline'] {
  display: none !important;
}

body.single-product.postid-266994 .icm-donation-layout {
  min-height: 100vh !important;
  min-height: 100dvh !important;
}

#icm-classic-checkout .icm-checkout-step,
#icm-classic-checkout .icm-checkout-layout {
  min-height: 100vh !important;
  min-height: 100dvh !important;
}

@media (max-width: 900px) {
  body.single-product.postid-266994 .icm-donation-layout,
  #icm-classic-checkout .icm-checkout-step,
  #icm-classic-checkout .icm-checkout-layout {
    min-height: auto !important;
  }
}

/* --- Match donate overlay typography to checkout overlay --- */
body.single-product.postid-266994 .icm-donation-side-overlay .icm-donation-side-copy,
body.woocommerce-checkout #icm-classic-checkout .icm-donation-side-overlay .icm-donation-side-copy {
  color: #fff !important;
  text-align: right !important;
  max-width: 380px !important;
  font-family: inherit !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

body.single-product.postid-266994 .icm-donation-side-overlay .icm-donation-side-copy h3,
body.woocommerce-checkout #icm-classic-checkout .icm-donation-side-overlay .icm-donation-side-copy h3 {
  color: #fff !important;
  font-size: clamp(28px, 4vw, 52px) !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
  margin: 0 0 10px !important;
  text-transform: none !important;
}

body.single-product.postid-266994 .icm-donation-side-overlay .icm-donation-side-copy p,
body.woocommerce-checkout #icm-classic-checkout .icm-donation-side-overlay .icm-donation-side-copy p {
  color: #fff !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

/* --- Single source of truth: overlay body size (product + checkout) --- */
:root {
  --icm-overlay-body-size: 14px;
}

body.single-product.postid-266994 .icm-donation-side-overlay .icm-donation-side-copy p,
body.woocommerce-checkout #icm-classic-checkout .icm-donation-side-overlay .icm-donation-side-copy p {
  font-size: var(--icm-overlay-body-size) !important;
  line-height: 1.45 !important;
}

/* --- Uniform checkout field typography --- */
:root {
  --icm-form-font-size: 16px;
}

#icm-classic-checkout .icm-checkout-main input,
#icm-classic-checkout .icm-checkout-main select,
#icm-classic-checkout .icm-checkout-main textarea,
#icm-classic-checkout .icm-checkout-main .select2-container,
#icm-classic-checkout .icm-checkout-main .select2-container .select2-selection--single,
#icm-classic-checkout .icm-checkout-main .select2-container--default .select2-selection__rendered,
#icm-classic-checkout .icm-checkout-main .select2-container--default .select2-selection__placeholder,
#icm-classic-checkout .icm-checkout-main ::placeholder {
  font-size: var(--icm-form-font-size) !important;
  font-weight: 400 !important;
  line-height: 1.35 !important;
}

/* --- Checkout spacing + viewport offset --- */
body.woocommerce-checkout .fl-content.col-md-12 {
  margin-bottom: 0 !important;
}

#icm-classic-checkout .icm-checkout-layout {
  min-height: calc(100vh - 100px) !important;
  min-height: calc(100dvh - 100px) !important;
}

/* --- Checkout layout height final override --- */
#icm-classic-checkout .icm-checkout-layout {
  min-height: calc(100vh - 200px) !important;
  min-height: calc(100dvh - 200px) !important;
}

/* --- Checkout overlay header offset handling --- */
body.woocommerce-checkout #icm-classic-checkout.icm-checkout-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.woocommerce-checkout .fl-content.col-md-12 {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.woocommerce-checkout .fl-post-header {
  margin-bottom: 0 !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-layout,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-step {
  min-height: calc(100vh - (var(--icm-header-offset, 0px) + 50px)) !important;
  min-height: calc(100dvh - (var(--icm-header-offset, 0px) + 50px)) !important;
}

/* Hide Beaver post header on checkout */
body.woocommerce-checkout .fl-post-header {
  display: none !important;
}

/* --- Donation product overlay header offset handling (final override) --- */
body.single-product.postid-266994 .product,
body.single-product.postid-266994 div.product,
body.single-product.postid-266994 .type-product,
body.single-product.postid-266994 .summary.entry-summary {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

body.single-product.postid-266994 .icm-donation-layout {
  min-height: calc(100vh - (var(--icm-header-offset, 0px) + 50px)) !important;
  min-height: calc(100dvh - (var(--icm-header-offset, 0px) + 50px)) !important;
}

/* --- Product 266994: remove fl-content top margin --- */
body.single-product.postid-266994 .fl-content.fl-woo-content.col-md-12 {
  margin-top: 0 !important;
}

/* --- Checkout payment topbar + moved order review table --- */
#icm-classic-checkout .icm-order-review-topbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 42px;
  margin-bottom: 16px;
}

#icm-classic-checkout .icm-order-review-topbar .icm-back-step {
  margin: 0 !important;
  position: relative;
  z-index: 2;
}

#icm-classic-checkout .icm-order-review-topbar #order_review_heading {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: max-content;
  margin: 0 !important;
  text-align: center;
}

#icm-classic-checkout .icm-checkout-side-summary .icm-order-review-table-slot {
  margin-top: 16px;
}

#icm-classic-checkout .icm-checkout-side-summary .woocommerce-checkout-review-order-table {
  width: 100% !important;
}

/* --- Mobile: zero container side padding + force donate stack --- */
@media (max-width: 900px) {
  body.single-product.postid-266994 .fl-content-full.container,
  body.woocommerce-checkout .fl-content-full.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.single-product.postid-266994 .icm-donation-layout,
  body.single-product.postid-266994 .summary.entry-summary .icm-donation-layout {
    grid-template-columns: 1fr !important;
  }

  body.single-product.postid-266994 .icm-donation-main,
  body.single-product.postid-266994 .icm-donation-side {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --- Final checkout button parity overrides --- */
#icm-classic-checkout .icm-order-review-topbar .icm-back-step,
#icm-classic-checkout .icm-order-review-topbar .button.icm-back-step {
  background: #df484f !important;
  color: #fff !important;
  border: 1px solid #df484f !important;
}

#icm-classic-checkout #place_order,
#icm-classic-checkout .woocommerce-checkout-payment #place_order,
#icm-classic-checkout .button#place_order {
  display: block !important;
  width: 100% !important;
  background: #df484f !important;
  color: #fff !important;
  border: 1px solid #df484f !important;
}

/* --- Final step-state behavior: only current step is red --- */
body.single-product.postid-266994 .icm-steps-progress .icm-step-node .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node .icm-step-circle {
  border: 1px solid #999999 !important;
  background: transparent !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-done .icm-step-circle {
  border: 1px solid #999999 !important;
  background: transparent !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-active .icm-step-circle {
  border: 1px solid #df484f !important;
  background: #df484f !important;
}

/* --- Checkout payment panel styling (match step system) --- */
#icm-classic-checkout .icm-checkout-main #order_review.woocommerce-checkout-review-order {
  border: 1px solid #999999 !important;
  background: #ffffff !important;
  border-radius: 0 !important;
  padding: 18px !important;
  margin-top: 12px !important;
}

#icm-classic-checkout .icm-checkout-main #order_review .wc_payment_methods {
  margin: 0 0 16px 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

#icm-classic-checkout .icm-checkout-main #order_review .wc_payment_method {
  border: 1px solid #999999 !important;
  background: #ffffff !important;
  padding: 12px !important;
  margin: 0 0 10px 0 !important;
}

#icm-classic-checkout .icm-checkout-main #order_review .wc_payment_method:last-child {
  margin-bottom: 0 !important;
}

#icm-classic-checkout .icm-checkout-main #order_review .wc_payment_method > label {
  font-weight: 400 !important;
}

#icm-classic-checkout .icm-checkout-main #order_review .payment_box {
  border-top: 1px solid #999999 !important;
  margin-top: 10px !important;
  padding-top: 10px !important;
}
/* --- Authoritative Stripe padding (single source) --- */
#icm-classic-checkout .icm-checkout-main #order_review li.wc_payment_method.payment_method_stripe > label {
  display: block !important;
  padding-left: 10px !important;
  padding-right: 10px !important;
}

#icm-classic-checkout .icm-checkout-main #order_review li.wc_payment_method.payment_method_stripe > .payment_box.payment_method_stripe {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

#icm-classic-checkout .icm-checkout-main #order_review #payment {
  border: 0 !important;
  background: transparent !important;
}

/* --- Payment style refinements --- */
#icm-classic-checkout .woocommerce-checkout-review-order,
#icm-classic-checkout #order_review.woocommerce-checkout-review-order {
  border: 0 !important;
}

#icm-classic-checkout ul.wc_payment_methods.payment_methods.methods,
#icm-classic-checkout #order_review ul.wc_payment_methods.payment_methods.methods {
  border: 0 !important;
}

#icm-classic-checkout #order_review .payment_box {
  background: #f7f4ef !important;
}

#icm-classic-checkout #payment .payment_method_stripe,
#icm-classic-checkout #payment #wc-stripe-payment-token-1,
#icm-classic-checkout #payment label[for='wc-stripe-payment-token-1'] {
  background: transparent !important;
}

/* --- Donation main background final override --- */
.icm-donation-main {
  background: #f7f4ef !important;
}

/* --- Checkout step main background match donation panel --- */
#icm-classic-checkout .icm-checkout-main {
  background: #f7f4ef !important;
}

/* --- Stripe saved token visibility fix --- */
#icm-classic-checkout .woocommerce-SavedPaymentMethods-token,
#icm-classic-checkout .woocommerce-SavedPaymentMethods-token label,
#icm-classic-checkout #wc-stripe-payment-token-1,
#icm-classic-checkout label[for='wc-stripe-payment-token-1'] {
  background: #f7f4ef !important;
  color: #111111 !important;
}

/* --- Hard border removal: checkout payment panel --- */
#icm-classic-checkout .icm-checkout-main #order_review,
#icm-classic-checkout .icm-checkout-main #order_review.woocommerce-checkout-review-order,
#icm-classic-checkout .icm-checkout-main .woocommerce-checkout-review-order,
#icm-classic-checkout .icm-checkout-main #order_review #payment,
#icm-classic-checkout .icm-checkout-main #order_review ul.wc_payment_methods,
#icm-classic-checkout .icm-checkout-main #order_review ul.wc_payment_methods li.wc_payment_method,
#icm-classic-checkout .icm-checkout-main #order_review .payment_box {
  border: 0 !important;
  box-shadow: none !important;
  outline: 0 !important;
}

#icm-classic-checkout .icm-checkout-main #order_review #payment::before,
#icm-classic-checkout .icm-checkout-main #order_review #payment::after,
#icm-classic-checkout .icm-checkout-main #order_review ul.wc_payment_methods::before,
#icm-classic-checkout .icm-checkout-main #order_review ul.wc_payment_methods::after,
#icm-classic-checkout .icm-checkout-main #order_review ul.wc_payment_methods li.wc_payment_method::before,
#icm-classic-checkout .icm-checkout-main #order_review ul.wc_payment_methods li.wc_payment_method::after {
  border: 0 !important;
  box-shadow: none !important;
}

/* --- Monthly donation choices shortcode --- */
.icm-monthly-choices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: min(1200px, 100%);
  margin: 0 auto;
  min-height: 460px;
  border: 1px solid #d6d1c8;
  background: #f7f4ef;
}

.icm-monthly-choices__left {
  padding: clamp(20px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  background: #fff;
}

.icm-monthly-choices__slider-wrap {
  position: relative;
  padding-top: 48px;
  isolation: isolate;
  --icm-progress-color: #c53b4b;
  --icm-progress-width: 21px;
  --icm-track-left-bleed: 12px; /* undo path: set to 0px to disable left extension */
}

.icm-monthly-choices__slider-wrap::before {
  content: '';
  position: absolute;
  inset: 48px 0 auto calc(-1 * var(--icm-track-left-bleed));
  transform: translateY(-50%);
  height: 25px;
  border-radius: 999px;
  background: #f5f4f0;
  border: 1px solid #dbdad8;
  z-index: 1;
}

.icm-monthly-choices__slider-wrap::after {
  content: '';
  position: absolute;
  left: calc(-1 * var(--icm-track-left-bleed));
  top: 48px;
  transform: translateY(-50%);
  width: calc(var(--icm-progress-width) + var(--icm-track-left-bleed));
  height: 25px;
  border-radius: 999px;
  background: var(--icm-progress-color);
  z-index: 1;
}

.icm-monthly-choices__tooltip {
  position: absolute;
  top: -26px;
  left: 0;
  transform: translateX(-50%);
  background: #f7f4ef;
  color: #111;
  font-size: 18px;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 0;
  border: 0;
  white-space: nowrap;
  z-index: 4;
}

.icm-monthly-choices__tooltip::after {
  content: '';
  position: absolute;
  top: calc(100% - 1px);
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #f7f4ef;
}


.icm-monthly-choices__slider {
  width: 100%;
  margin: -18px 0 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  position: relative;
  z-index: 3;
  --icm-thumb-icon: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M10.5702 0H9.42687C9.29039 2.45614 8.25339 4.77576 6.51422 6.51519C4.77504 8.25462 2.45577 9.29177 0 9.42828V10.5717C2.45577 10.7082 4.77504 11.7454 6.51422 13.4848C8.25339 15.2243 9.29039 17.5439 9.42687 20H10.5702C10.708 17.5438 11.7458 15.2245 13.4853 13.4853C15.2249 11.7461 17.5441 10.7088 20 10.5717V9.42828C17.5441 9.29119 15.2249 8.25394 13.4853 6.5147C11.7458 4.77546 10.708 2.45618 10.5702 0Z' fill='%23c53b4b'/%3E%3C/svg%3E");
}

.icm-monthly-choices__slider::-webkit-slider-runnable-track {
  height: 25px;
  border-radius: 999px;
  background: transparent;
  border: 0;
}

.icm-monthly-choices__slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background-color: #fff;
  background-image: var(--icm-thumb-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  margin-top: -4px;
}

.icm-monthly-choices__slider::-moz-range-track {
  height: 25px;
  border-radius: 999px;
  background: transparent;
  border: 0;
}

.icm-monthly-choices__slider::-moz-range-thumb {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 0;
  background-color: #fff;
  background-image: var(--icm-thumb-icon);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
}

.icm-monthly-choices__stops {
  position: absolute;
  inset: 48px 8px auto 8px;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 2;
}

.icm-monthly-choices__stop {
  position: relative;
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #f7f4ef;
  border: 2px solid #c8c6c1;
  box-shadow: 0 0 0 1px rgba(245, 244, 240, 0.95);
}

.icm-monthly-choices__stop::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: #b8b6b0;
  transform: translate(-50%, -50%);
}

.icm-monthly-choices__button {
  width: 100%;
  max-width: 220px;
  margin: 14px auto 0;
  padding: 12px 18px !important;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

.icm-monthly-choices__custom-link {
  display: block;
  text-align: center;
  text-transform: uppercase;
  font-weight: 700;
  color: #111;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.icm-monthly-choices__right {
  min-height: 260px;
  background-position: center;
  background-size: cover;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(20px, 3vw, 32px);
}

.icm-monthly-choices__impact {
  color: #fff;
  text-align: center;
  line-height: 1.2;
  max-width: 320px;
}

.icm-monthly-choices__impact-line {
  display: block;
}

.icm-monthly-choices__impact-line-1,
.icm-monthly-choices__impact-line-3 {
  font-size: clamp(16px, 1.5vw, 22px);
  font-weight: 400;
}

.icm-monthly-choices__impact-line-2 {
  font-size: clamp(24px, 2.6vw, 38px);
  font-weight: 700;
}

@media (max-width: 900px) {
  .icm-monthly-choices {
    grid-template-columns: 1fr;
  }

  .icm-monthly-choices__right {
    order: -1;
    min-height: 220px;
  }
}

/* --- Product variants list shortcode: [icm_product_variants_list] --- */
.icm-product-variants-list {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.icm-product-variants-list__items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.icm-product-variants-list__item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 16px;
  background: #fff;
  padding: 0;
}

.icm-product-variants-list__media img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
}

.icm-product-variants-list__media {
  padding: 0;
}

.icm-product-variants-list__content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 16px;
}

.icm-product-variants-list__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
}

.icm-product-variants-list__desc {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.icm-product-variants-list__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.icm-qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #d4d4d4;
}

.icm-qty-control__btn {
  width: 30px;
  height: 30px;
  border: 0;
  background: #fff;
  color: #111;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
}

.icm-qty-control__btn:focus-visible,
.icm-product-variants-list__submit:focus-visible,
.icm-qty-control__input:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.icm-qty-control__input {
  width: 40px;
  height: 30px;
  border: 0;
  border-left: 1px solid #d4d4d4;
  border-right: 1px solid #d4d4d4;
  text-align: center;
  background: #fff;
  color: #111;
  padding: 0;
}

.icm-product-variants-list__line-total {
  font-weight: 600;
  white-space: nowrap;
}

.icm-product-variants-list__footer {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.icm-product-variants-list__total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 20px;
  line-height: 1.2;
}

.icm-product-variants-list__submit {
  width: 100%;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid #df4851 !important;
  background: #df4851 !important;
  color: #fff !important;
  padding: 16px 24px !important;
}

.icm-product-variants-list__submit:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

@media (max-width: 900px) {
  .icm-product-variants-list__item {
    grid-template-columns: 1fr;
  }

  .icm-product-variants-list__media {
    max-width: 220px;
  }

  .icm-product-variants-list__controls {
    flex-wrap: wrap;
    justify-content: flex-start;
  }
}
/* --- Order received: mirror donation two-column layout --- */
body.woocommerce-order-received #icm-thankyou .icm-thankyou-layout {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  grid-template-columns: 1fr 1fr !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-main {
  align-items: center !important;
  padding-left: max(20px, calc((100vw - 1400px) / 2)) !important;
  padding-right: max(20px, calc((100vw - 1400px) / 2)) !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-main > * {
  width: 100% !important;
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-order-received #icm-thankyou .icm-donation-side-overlay {
  padding-right: max(20px, calc((100vw - 1400px) / 2)) !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order,
body.woocommerce-order-received #icm-thankyou .woocommerce-thankyou-order-received,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details,
body.woocommerce-order-received #icm-thankyou .woocommerce-customer-details {
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview,
body.woocommerce-order-received #icm-thankyou table.shop_table,
body.woocommerce-order-received #icm-thankyou address {
  border: 1px solid #999999 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

@media (max-width: 900px) {
  body.woocommerce-order-received #icm-thankyou .icm-thankyou-layout {
    grid-template-columns: 1fr !important;
  }

  body.woocommerce-order-received #icm-thankyou .icm-donation-main,
  body.woocommerce-order-received #icm-thankyou .icm-donation-side {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --- Step circles: only current step filled (donate + checkout + thankyou) --- */
body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.single-product.postid-266994 .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle {
  border: 1px solid #999999 !important;
  background: transparent !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node.is-active .icm-step-circle {
  border: 1px solid #df484f !important;
  background: #df484f !important;
}

/* --- Thankyou: remove max-width caps --- */
body.woocommerce-order-received #icm-thankyou .icm-thankyou-main > *,
body.woocommerce-order-received #icm-thankyou .woocommerce-order,
body.woocommerce-order-received #icm-thankyou .woocommerce-thankyou-order-received,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details,
body.woocommerce-order-received #icm-thankyou .woocommerce-customer-details {
  max-width: none !important;
}

/* --- Thankyou final: remove any perceived width cap on left panel --- */
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main {
  width: 100% !important;
  max-width: none !important;
  align-items: stretch !important;
}

body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* --- Thankyou hard reset: remove large left-panel padding and width feel --- */
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main {
  padding: 24px 20px !important;
  width: 100% !important;
  max-width: none !important;
  align-items: stretch !important;
  box-sizing: border-box !important;
}

body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main > * {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* --- Unify module styling: donate + thankyou follow checkout module --- */
body.single-product.postid-266994 .icm-donation-main,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main {
  background: #f7f4ef !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  padding-left: max(20px, calc((100vw - 1400px) / 2)) !important;
  padding-right: clamp(20px, 3vw, 48px) !important;
  align-items: stretch !important;
  width: 100% !important;
  max-width: none !important;
}

body.single-product.postid-266994 .icm-donation-main > *,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main > * {
  width: 100% !important;
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 900px) {
  body.single-product.postid-266994 .icm-donation-main,
  body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main {
    padding: 24px 20px !important;
  }

  body.single-product.postid-266994 .icm-donation-main > *,
  body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main > * {
    max-width: 100% !important;
  }
}

/* --- Final parity: checkout step typography + connectors on donate/thankyou --- */
body.single-product.postid-266994 .icm-steps-progress,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress {
  margin-bottom: 40px !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-label,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-label,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-label {
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-circle {
  width: 12px !important;
  height: 12px !important;
  border: 1px solid #999999 !important;
  border-radius: 999px !important;
  background: transparent !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node.is-active .icm-step-circle {
  border-color: #df484f !important;
  background: #df484f !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node.is-done .icm-step-circle {
  border-color: #999999 !important;
  background: transparent !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node::after,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node::after,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node::after {
  border-top: 1px solid #999999 !important;
  left: calc(50% + 56px) !important;
  width: calc(100% - 112px) !important;
}

/* Keep donate + thankyou text sizing consistent with checkout module body */
body.single-product.postid-266994 .icm-donation-main,
body.woocommerce-order-received #icm-thankyou .icm-donation-main {
  font-size: 16px !important;
  font-weight: 400 !important;
}

/* --- Authoritative step lock (donate + checkout + thankyou) --- */
body.single-product.postid-266994 .icm-steps-progress,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress {
  display: flex !important;
  align-items: flex-start !important;
  gap: 0 !important;
  width: 100% !important;
  margin: 0 0 40px !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 1 0 !important;
  text-align: center !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-label,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-label,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-label {
  font-size: 16px !important;
  line-height: 1.25 !important;
  font-weight: 400 !important;
  white-space: nowrap !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-circle {
  width: 12px !important;
  height: 12px !important;
  border: 1px solid #999999 !important;
  border-radius: 999px !important;
  background: transparent !important;
  display: inline-block !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node.is-done .icm-step-circle {
  border-color: #999999 !important;
  background: transparent !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node.is-active .icm-step-circle {
  border-color: #df484f !important;
  background: #df484f !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node::after,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node::after,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node::after {
  content: '' !important;
  position: absolute !important;
  top: 6px !important;
  left: calc(50% + 56px) !important;
  width: calc(100% - 112px) !important;
  border-top: 1px solid #999999 !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node:last-child::after,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node:last-child::after,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node:last-child::after {
  display: none !important;
}

/* --- Step geometry lock v2: equal spacing + guaranteed connectors --- */
:root {
  --icm-step-circle-size: 12px;
  --icm-step-line-offset: 40px;
  --icm-step-label-gap: 12px;
}

body.single-product.postid-266994 .icm-steps-progress,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress {
  display: flex !important;
  width: 100% !important;
  gap: 0 !important;
  margin: 0 0 40px !important;
  overflow: visible !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node {
  position: relative !important;
  flex: 1 1 0 !important;
  min-width: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  gap: var(--icm-step-label-gap) !important;
  overflow: visible !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-circle {
  width: var(--icm-step-circle-size) !important;
  height: var(--icm-step-circle-size) !important;
  border: 1px solid #999999 !important;
  border-radius: 999px !important;
  background: transparent !important;
  display: inline-block !important;
  margin: 0 !important;
  flex: 0 0 auto !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-label,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-label,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-label {
  margin: 0 !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.25 !important;
  white-space: nowrap !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node::after,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node::after,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node::after {
  content: '' !important;
  position: absolute !important;
  display: block !important;
  top: calc(var(--icm-step-circle-size) / 2) !important;
  left: var(--icm-step-line-offset) !important;
  width: calc(100% - (var(--icm-step-line-offset) * 2)) !important;
  min-width: 18px !important;
  border-top: 1px solid #999999 !important;
  pointer-events: none !important;
  z-index: 0 !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node:last-child::after,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node:last-child::after,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node:last-child::after {
  display: none !important;
  content: none !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-active .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node.is-active .icm-step-circle {
  border-color: #df484f !important;
  background: #df484f !important;
}

body.single-product.postid-266994 .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.single-product.postid-266994 .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node.is-done .icm-step-circle {
  border-color: #999999 !important;
  background: transparent !important;
}

/* --- Checkout/Thankyou step fix: no line-through circles --- */
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node.is-done .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node:not(.is-active) .icm-step-circle,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node.is-done .icm-step-circle {
  background: #f7f4ef !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-node::after,
body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-node::after {
  top: 6px !important;
  left: calc(50% + 40px) !important;
  width: calc(100% - 80px) !important;
}

/* --- Left column consistency lock: donate + checkout + thankyou --- */
body.single-product.postid-266994 .icm-donation-main,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main {
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  padding-left: max(20px, calc((100vw - 1400px) / 2)) !important;
  padding-right: clamp(20px, 3vw, 48px) !important;
  align-items: stretch !important;
}

body.single-product.postid-266994 .icm-donation-main .icm-steps-progress,
body.single-product.postid-266994 .icm-donation-main .icm-donation-title,
body.single-product.postid-266994 .icm-donation-main .icm-donation-subtitle,
body.single-product.postid-266994 .icm-donation-main .icm-donation-form,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .icm-steps-progress,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main #customer_details,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main #order_review,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .icm-step-actions,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .icm-steps-progress,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-order,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-thankyou-order-received,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-order-overview,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-order-details,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-customer-details {
  width: 100% !important;
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 900px) {
  body.single-product.postid-266994 .icm-donation-main,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main,
  body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main {
    padding: 24px 20px !important;
  }

  body.single-product.postid-266994 .icm-donation-main .icm-steps-progress,
  body.single-product.postid-266994 .icm-donation-main .icm-donation-title,
  body.single-product.postid-266994 .icm-donation-main .icm-donation-subtitle,
  body.single-product.postid-266994 .icm-donation-main .icm-donation-form,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .icm-steps-progress,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main #customer_details,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main #order_review,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .icm-step-actions,
  body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .icm-steps-progress,
  body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-order,
  body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-thankyou-order-received,
  body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-order-overview,
  body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-order-details,
  body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-customer-details {
    max-width: 100% !important;
  }
}

/* --- Final left-rail lock across donate / checkout / confirmation --- */
body.single-product.postid-266994,
body.woocommerce-checkout,
body.woocommerce-order-received {
  --icm-left-rail: 520px;
}

body.single-product.postid-266994 .icm-donation-main,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

body.single-product.postid-266994 .icm-donation-main .icm-steps-progress,
body.single-product.postid-266994 .icm-donation-main .icm-donation-title,
body.single-product.postid-266994 .icm-donation-main .icm-donation-subtitle,
body.single-product.postid-266994 .icm-donation-main .icm-donation-form,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .icm-steps-progress,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .icm-checkout-step,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main #customer_details,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main #order_review_heading,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main #order_review,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .icm-step-actions,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .icm-steps-progress,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-order,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-thankyou-order-received,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-order-overview,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-order-details,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main .woocommerce-customer-details {
  width: min(100%, var(--icm-left-rail)) !important;
  max-width: var(--icm-left-rail) !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .icm-checkout-step.is-hidden {
  display: none !important;
}

/* --- Donate-only left column parity with checkout/thankyou --- */
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main {
  align-items: center !important;
  padding-top: 24px !important;
  padding-bottom: 24px !important;
  padding-left: max(20px, calc((100vw - 1400px) / 2)) !important;
  padding-right: clamp(20px, 3vw, 48px) !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-steps-progress,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-title,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-subtitle,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-form,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main form.icm-donation-form {
  width: min(100%, 520px) !important;
  max-width: 520px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

@media (max-width: 900px) {
  body.single-product.postid-266994 .summary.entry-summary .icm-donation-main {
    padding: 24px 20px !important;
  }

  body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-steps-progress,
  body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-title,
  body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-subtitle,
  body.single-product.postid-266994 .summary.entry-summary .icm-donation-main .icm-donation-form,
  body.single-product.postid-266994 .summary.entry-summary .icm-donation-main form.icm-donation-form {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --- Donate-only: match step line length + top spacing with checkout --- */
body.single-product.postid-266994 .summary.entry-summary {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-donation-main {
  padding-top: 0 !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress {
  margin-top: 0 !important;
  padding-top: 0 !important;
  margin-bottom: 40px !important;
}

body.single-product.postid-266994 .summary.entry-summary .icm-steps-progress .icm-step-node::after {
  top: 6px !important;
  left: calc(50% + 40px) !important;
  width: calc(100% - 80px) !important;
}

/* --- Request: hide checkout back button on /checkout/ --- */
body.woocommerce-checkout #icm-classic-checkout .icm-back-step,
body.woocommerce-checkout #icm-classic-checkout button.icm-back-step,
body.woocommerce-checkout #icm-classic-checkout .button.icm-back-step {
  display: none !important;
}

/* --- Request: hide related products on /donate/ --- */
body.single-product.postid-266994 .related.products,
body.single-product.postid-266994 section.related.products,
body.single-product.postid-266994 .upsells.products {
  display: none !important;
}

/* --- Thankyou gratitude copy block --- */
body.woocommerce-order-received #icm-thankyou .icm-thankyou-title,
body.woocommerce-order-received #icm-thankyou .icm-thankyou-message {
  width: min(100%, 520px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  text-align: center !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-title {
  margin: 0 0 12px !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-message {
  margin: 0 0 28px !important;
}

/* --- Thankyou: larger gratitude title + impact table colors --- */
body.woocommerce-order-received #icm-thankyou .icm-section-title.icm-thankyou-title {
  font-size: 42px !important;
  line-height: 1.12 !important;
  margin-bottom: 14px !important;
}

@media (max-width: 900px) {
  body.woocommerce-order-received #icm-thankyou .icm-section-title.icm-thankyou-title {
    font-size: 30px !important;
    line-height: 1.15 !important;
  }
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table th,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table td,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table tr {
  border-color: #df484f !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table thead th {
  background: #df484f !important;
  color: #ffffff !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table tbody td,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table tfoot th,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table tfoot td {
  background: #f5dddd !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-support-note {
  margin: 20px 0 0 !important;
  text-align: left !important;
  font-size: 16px !important;
  line-height: 1.45 !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-support-note a {
  color: #df484f !important;
  text-decoration: underline !important;
}

/* --- Thankyou side copy: match donate typography + anchoring exactly --- */
body.woocommerce-order-received #icm-thankyou .icm-donation-side-overlay .icm-donation-side-copy {
  color: #fff !important;
  text-align: right !important;
  max-width: 380px !important;
  font-family: inherit !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

body.woocommerce-order-received #icm-thankyou .icm-donation-side-overlay .icm-donation-side-copy h3 {
  color: #fff !important;
  font-size: clamp(28px, 4vw, 52px) !important;
  line-height: 1.05 !important;
  font-weight: 500 !important;
  margin: 0 0 10px !important;
  text-transform: none !important;
}

body.woocommerce-order-received #icm-thankyou .icm-donation-side-overlay .icm-donation-side-copy p {
  color: #fff !important;
  font-size: var(--icm-overlay-body-size) !important;
  line-height: 1.45 !important;
  font-weight: 400 !important;
  margin: 0 !important;
}

/* --- Thankyou side copy viewport anchor + manual adjuster --- */
body.woocommerce-order-received #icm-thankyou {
  /* Adjust these two values only */
  --icm-thankyou-vh-offset: 200px;   /* total top/bottom UI offset from viewport */
  --icm-thankyou-copy-adjust: 600px; /* positive = move up, negative = move down */
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-layout,
body.woocommerce-order-received #icm-thankyou .icm-thankyou-side {
  min-height: calc(100dvh - var(--icm-thankyou-vh-offset)) !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-side {
  position: relative !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-overlay {
  position: absolute !important;
  inset: 0 !important;
  display: block !important;
  padding-top: 24px !important;
  padding-left: clamp(20px, 3vw, 48px) !important;
  padding-right: max(20px, calc((100vw - 1400px) / 2)) !important;
  padding-bottom: calc(24px + var(--icm-thankyou-copy-adjust)) !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-copy {
  position: absolute !important;
  right: max(20px, calc((100vw - 1400px) / 2)) !important;
  bottom: calc(24px + var(--icm-thankyou-copy-adjust)) !important;
  left: auto !important;
  max-width: 380px !important;
  margin: 0 !important;
}

@media (max-width: 900px) {
  body.woocommerce-order-received #icm-thankyou {
    --icm-thankyou-vh-offset: 0px;
    --icm-thankyou-copy-adjust: 0px;
  }

  body.woocommerce-order-received #icm-thankyou .icm-thankyou-layout,
  body.woocommerce-order-received #icm-thankyou .icm-thankyou-side {
    min-height: auto !important;
  }

  body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-overlay {
    position: absolute !important;
  }

  body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-copy {
    position: absolute !important;
    right: 20px !important;
    bottom: 24px !important;
    max-width: min(380px, calc(100% - 40px)) !important;
  }
}


/* --- Donate + Checkout: more top breathing room above step nodes --- */
body.single-product.postid-266994 .icm-steps-progress,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress {
  padding-top: 18px !important;
}

/* --- Donate + Checkout: smaller step text on mobile --- */
@media (max-width: 900px) {
  body.single-product.postid-266994 .icm-steps-progress .icm-step-label,
  body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-label {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
}

/* --- Mobile stacked layout: real gap between top image panel and steps panel --- */
@media (max-width: 900px) {
  body.single-product.postid-266994 .icm-donation-layout,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-layout {
    row-gap: 20px !important;
  }

  body.single-product.postid-266994 .icm-donation-main,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main {
    padding-top: 20px !important;
  }

  body.single-product.postid-266994 .icm-steps-progress,
  body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress {
    margin-top: 8px !important;
  }
}

/* --- Mobile fix: use padding (not row-gap) between image and steps panel --- */
@media (max-width: 900px) {
  body.single-product.postid-266994 .icm-donation-layout,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-layout {
    row-gap: 0 !important;
  }

  body.single-product.postid-266994 .icm-donation-main,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main {
    padding-top: 36px !important;
  }

  body.single-product.postid-266994 .icm-steps-progress,
  body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress {
    margin-top: 0 !important;
  }
}

/* --- Global: top spacing for donation main panel (all breakpoints) --- */
.icm-donation-main {
  padding-top: 36px !important;
}

/* --- Final enforce: top padding on all donation main panels --- */
.icm-donation-main,
body.single-product.postid-266994 .summary.entry-summary .icm-donation-main,
body.woocommerce-order-received #icm-thankyou .icm-donation-main.icm-thankyou-main {
  padding-top: 36px !important;
}

/* --- Donate mobile: match checkout stacked image panel height --- */
@media (max-width: 900px) {
  body.single-product.postid-266994 .icm-donation-side {
    order: -1 !important;
    min-height: 300px !important;
    height: 300px !important;
  }

  body.single-product.postid-266994 .icm-donation-side .icm-donation-side-overlay {
    inset: 0 !important;
  }
}

/* --- Checkout: remove top padding on steps indicator --- */
body.woocommerce-checkout #icm-classic-checkout .icm-steps-indicator,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress {
  padding-top: 0 !important;
}

/* --- Thankyou: compact + smaller/lighter order overview/details --- */
body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview,
body.woocommerce-order-received #icm-thankyou .woocommerce-thankyou-order-details,
body.woocommerce-order-received #icm-thankyou .order_details,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table th,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table td {
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.3 !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview {
  margin: 10px 0 14px !important;
  padding: 10px 12px !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview li {
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-weight: 400 !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview li:last-child {
  margin-bottom: 0 !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview li strong,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview li b,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details th,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details td,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details tfoot th,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details tfoot td,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details .product-name,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details .product-total {
  font-weight: 400 !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table th,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-details table.shop_table td {
  padding: 8px 10px !important;
}

body.woocommerce-order-received #icm-thankyou .woocommerce-order-details {
  margin: 10px 0 12px !important;
}

/* --- Checkout: step indicator top padding reduced (not removed) --- */
body.woocommerce-checkout #icm-classic-checkout .icm-steps-indicator,
body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress {
  padding-top: 5px !important;
}

/* --- Thankyou: requested li inner padding --- */
body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview.woocommerce-thankyou-order-details.order_details li,
body.woocommerce-order-received #icm-thankyou .woocommerce-order-overview li,
body.woocommerce-order-received #icm-thankyou .order_details li {
  padding: 5px !important;
}

/* --- Thankyou: top-anchored, auto-height copy box pinned to lower-right --- */
body.woocommerce-order-received #icm-thankyou {
  --icm-thankyou-copy-top: 24px;
  --icm-thankyou-copy-bottom: 24px;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-overlay {
  padding-top: var(--icm-thankyou-copy-top) !important;
  padding-bottom: var(--icm-thankyou-copy-bottom) !important;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-copy {
  position: absolute !important;
  top: var(--icm-thankyou-copy-top) !important;
  bottom: var(--icm-thankyou-copy-bottom) !important;
  right: max(20px, calc((100vw - 1400px) / 2)) !important;
  left: auto !important;
  width: min(380px, calc(100% - 40px)) !important;
  max-width: 380px !important;
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  align-items: flex-end !important;
}

@media (max-width: 900px) {
  body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-copy {
    right: 20px !important;
    width: min(380px, calc(100% - 40px)) !important;
  }
}

/* --- Thankyou viewport anchor (JS-driven): top = viewport - copyHeight - fixed subtract --- */
body.woocommerce-order-received #icm-thankyou {
  --icm-thankyou-fixed-subtract: 80px; /* adjust this fixed subtraction */
  --icm-thankyou-min-top: 24px;
  --icm-thankyou-auto-top: 24px;
}

body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-copy {
  top: var(--icm-thankyou-auto-top) !important;
  bottom: auto !important;
}

/* --- Checkout mobile: My Information fields stack full width --- */
@media (max-width: 900px) {
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields__field-wrapper .form-row-first,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields__field-wrapper .form-row-last,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .woocommerce-billing-fields__field-wrapper .form-row-wide,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main #customer_details .form-row,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .col2-set .col-1 .form-row {
    width: 100% !important;
    float: none !important;
    clear: both !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main input.input-text,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main select,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .select2,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .select2-container,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-main .select2-selection {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* --- Unified right-column image: donate + checkout + order-received --- */
body.single-product.postid-266994 .icm-donation-side,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-image,
body.woocommerce-order-received #icm-thankyou .icm-thankyou-side {
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72)), url('https://icm.kpability.com/wp-content/uploads/2026/03/herretail.webp') !important;
  background-size: cover !important;
  background-position: center !important;
}

/* --- Order-received mobile: keep right image column visible --- */
@media (max-width: 900px) {
  body.woocommerce-order-received #icm-thankyou .icm-thankyou-side {
    display: block !important;
    order: -1 !important;
    position: relative !important;
    min-height: 300px !important;
    height: 300px !important;
  }

  body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-overlay {
    position: absolute !important;
    inset: 0 !important;
    padding: 24px 20px !important;
  }
}

/* --- Mobile: side copy anchored to bottom (donate + checkout + order-received) --- */
@media (max-width: 900px) {
  body.single-product.postid-266994 .icm-donation-side-overlay,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-image .icm-donation-side-overlay,
  body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-overlay {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: flex-end !important;
  }

  body.single-product.postid-266994 .icm-donation-side .icm-donation-side-copy,
  body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-image .icm-donation-side-copy,
  body.woocommerce-order-received #icm-thankyou .icm-thankyou-side .icm-donation-side-copy {
    position: absolute !important;
    top: auto !important;
    bottom: 24px !important;
    right: 20px !important;
    left: auto !important;
    width: min(380px, calc(100% - 40px)) !important;
    max-width: min(380px, calc(100% - 40px)) !important;
    margin: 0 !important;
  }

  body.single-product.postid-266994 .icm-steps-progress .icm-step-label,
  body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-label {
    font-size: 12px !important;
    line-height: 1.2 !important;
  }
}

/* --- Checkout step 2 cleanup + right summary styling --- */
body.woocommerce-checkout #icm-classic-checkout #order_review_heading {
  display: none !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary {
  background: #f7f4ef !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .icm-donor-contact {
  background: #f7f4ef !important;
  border: 1px solid #df484f !important;
  padding: 10px 12px !important;
  margin: 10px 0 12px !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .icm-donor-contact p {
  margin: 0 0 6px !important;
  font-size: 14px !important;
  line-height: 1.3 !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .icm-donor-contact p:last-child {
  margin-bottom: 0 !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .icm-donor-contact__label {
  font-weight: 500 !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .woocommerce-checkout-review-order-table th,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .woocommerce-checkout-review-order-table td {
  font-size: 14px !important;
  font-weight: 400 !important;
}

/* --- Final requested adjustments --- */

/* 1) Mobile step labels = 14px on all flows */
@media (max-width: 900px) {
  body.single-product.postid-266994 .icm-steps-progress .icm-step-label,
  body.woocommerce-checkout #icm-classic-checkout .icm-steps-progress .icm-step-label,
  body.woocommerce-order-received #icm-thankyou .icm-steps-progress .icm-step-label {
    font-size: 14px !important;
    line-height: 1.2 !important;
  }
}

/* 2) Remove hidden/empty order review topbar */
body.woocommerce-checkout #icm-classic-checkout .icm-order-review-topbar {
  display: none !important;
}

/* 3) Donor contact block: no red border, white background */
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .icm-donor-contact {
  border: 0 !important;
  background: #ffffff !important;
}


/* --- Payment methods: consistent label padding (all gateways) + fancy radios --- */
body.woocommerce-checkout #icm-classic-checkout #order_review .wc_payment_method > label,
body.woocommerce-checkout #icm-classic-checkout #order_review li.payment_method_bacs > label,
body.woocommerce-checkout #icm-classic-checkout #order_review li.payment_method_stripe > label {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 100% !important;
  padding: 8px 10px !important;
  margin: 0 !important;
  border: 1px solid #999999 !important;
  background: #fff !important;
  color: #111 !important;
  gap: 8px !important;
  line-height: 1.2 !important;
}

/* Reset any previous full-line stripe label behavior */
#icm-classic-checkout .icm-checkout-main #order_review li.wc_payment_method.payment_method_stripe > label {
  display: inline-flex !important;
  width: auto !important;
}

/* Custom radio indicator (native input may be hidden by gateway) */
body.woocommerce-checkout #icm-classic-checkout #order_review .wc_payment_method > input.input-radio + label::before {
  content: '' !important;
  width: 14px !important;
  height: 14px !important;
  border: 1px solid #999999 !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-sizing: border-box !important;
  flex: 0 0 14px !important;
}

body.woocommerce-checkout #icm-classic-checkout #order_review .wc_payment_method > input.input-radio:checked + label {
  border-color: #df484f !important;
  color: #111 !important;
  background: #fff !important;
}

body.woocommerce-checkout #icm-classic-checkout #order_review .wc_payment_method > input.input-radio:checked + label::before {
  border-color: #df484f !important;
  background: radial-gradient(circle at center, #df484f 0 4px, #fff 4px 100%) !important;
}

/* Keep details panel padding consistent for all methods */
body.woocommerce-checkout #icm-classic-checkout #order_review .wc_payment_method > .payment_box {
  padding-left: 10px !important;
  padding-right: 10px !important;
}

/* --- Checkout payment methods: hide native outer radio, keep custom label indicator --- */
body.woocommerce-checkout #icm-classic-checkout #order_review .wc_payment_methods > li.wc_payment_method > input.input-radio {
  position: absolute !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  pointer-events: none !important;
}

body.woocommerce-checkout #icm-classic-checkout #order_review .wc_payment_methods > li.wc_payment_method > label {
  cursor: pointer !important;
}

/* --- Checkout side summary edit actions (below order table slot) --- */
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .icm-checkout-side-actions {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 10px !important;
  margin-top: 12px !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .icm-side-edit-btn,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .button.icm-side-edit-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  width: 100% !important;
  padding: 10px 12px !important;
  margin: 0 !important;
  border: 1px solid #999999 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #111111 !important;
  text-decoration: none !important;
  font-weight: 400 !important;
}

body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .icm-side-edit-btn:hover,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .button.icm-side-edit-btn:hover,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .icm-side-edit-btn:focus,
body.woocommerce-checkout #icm-classic-checkout .icm-checkout-side-summary .button.icm-side-edit-btn:focus {
  border-color: #df484f !important;
  background: #ffffff !important;
  color: #111111 !important;
  outline: none !important;
}

/* --- Cart page visual parity with donate + checkout --- */
body.woocommerce-cart .fl-content-full.container,
body.woocommerce-cart .fl-content.col-md-12,
body.woocommerce-cart .woocommerce,
body.woocommerce-cart .cart,
body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart_totals {
  border-radius: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .woocommerce-cart-form table.shop_table {
  background: #f7f4ef !important;
  border: 1px solid #999999 !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td,
body.woocommerce-cart .cart-collaterals .cart_totals table th,
body.woocommerce-cart .cart-collaterals .cart_totals table td {
  border-color: #999999 !important;
  color: #111111 !important;
  font-weight: 400 !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th,
body.woocommerce-cart .cart-collaterals .cart_totals h2 {
  background: #f7f4ef !important;
  color: #111111 !important;
  font-weight: 500 !important;
}

body.woocommerce-cart .woocommerce-cart-form input,
body.woocommerce-cart .woocommerce-cart-form select,
body.woocommerce-cart .woocommerce-cart-form .input-text,
body.woocommerce-cart .woocommerce-cart-form .qty,
body.woocommerce-cart .cart-collaterals .cart_totals input,
body.woocommerce-cart .cart-collaterals .cart_totals select {
  border: 1px solid #999999 !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #111111 !important;
}

body.woocommerce-cart .woocommerce-cart-form input:focus,
body.woocommerce-cart .woocommerce-cart-form select:focus,
body.woocommerce-cart .woocommerce-cart-form .input-text:focus,
body.woocommerce-cart .woocommerce-cart-form .qty:focus,
body.woocommerce-cart .cart-collaterals .cart_totals input:focus,
body.woocommerce-cart .cart-collaterals .cart_totals select:focus {
  border-color: #df484f !important;
  outline: none !important;
}

body.woocommerce-cart .woocommerce-cart-form button,
body.woocommerce-cart .woocommerce-cart-form .button,
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
body.woocommerce-cart .cart-collaterals .button {
  background: #df484f !important;
  color: #ffffff !important;
  border: 1px solid #df484f !important;
  border-radius: 0 !important;
  font-weight: 400 !important;
}

body.woocommerce-cart .wc-proceed-to-checkout .checkout-button {
  width: 100% !important;
}

body.woocommerce-cart .woocommerce-cart-form .coupon .button,
body.woocommerce-cart .woocommerce-cart-form button[name='update_cart'] {
  min-height: 42px !important;
  padding: 10px 14px !important;
}

@media (max-width: 900px) {
  body.woocommerce-cart .fl-content-full.container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body.woocommerce-cart .woocommerce-cart-form,
  body.woocommerce-cart .cart-collaterals .cart_totals {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
}

/* --- Cart tone-down: reduce heavy borders --- */
body.woocommerce-cart .woocommerce-cart-form,
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .woocommerce-cart-form table.shop_table,
body.woocommerce-cart .cart-collaterals .cart_totals table,
body.woocommerce-cart .woocommerce-cart-form table.shop_table th,
body.woocommerce-cart .woocommerce-cart-form table.shop_table td,
body.woocommerce-cart .cart-collaterals .cart_totals table th,
body.woocommerce-cart .cart-collaterals .cart_totals table td {
  border-width: 0 !important;
  box-shadow: none !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr,
body.woocommerce-cart .cart-collaterals .cart_totals table tr {
  border-bottom: 1px solid #e4ddd4 !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr:last-child,
body.woocommerce-cart .cart-collaterals .cart_totals table tr:last-child {
  border-bottom: 0 !important;
}

body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th {
  border-bottom: 1px solid #e4ddd4 !important;
}

/* --- Cart totals spacing tweak --- */
body.woocommerce-cart .cart-collaterals .cart_totals {
  padding: 16px !important;
}

body.woocommerce-cart .cart-collaterals .cart_totals table.shop_table,
body.woocommerce-cart .cart-collaterals .cart_totals table {
  margin-bottom: 0 !important;
}

/* --- Cart only: remove Beaver content top margin --- */
body.woocommerce-cart .fl-content.col-md-12 {
  margin-top: 0 !important;
}

/* --- Cart only: smaller post title --- */
body.woocommerce-cart .fl-post-header .fl-post-title {
  font-size: 28px !important;
  line-height: 1.15 !important;
}




