.sa-cart,
.sa-checkout {
  background: var(--sa-color-surface);
}

.sa-cart__layout,
.sa-checkout__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr);
  gap: var(--sa-space-7);
  align-items: start;
  padding-block: var(--sa-space-7);
}

.sa-cart__main,
.sa-checkout__main,
.sa-cart__side,
.sa-checkout__side {
  display: grid;
  gap: var(--sa-space-5);
}

.sa-cart-panel,
.sa-checkout-panel {
  border: 1px solid var(--sa-color-line);
  border-radius: var(--sa-radius-md);
  padding: var(--sa-space-5);
  background: var(--sa-color-surface);
  box-shadow: var(--sa-shadow-soft);
}

.sa-cart-panel__title,
.sa-checkout-panel__title {
  margin: 0 0 var(--sa-space-3);
  font-size: 1.25rem;
}

.sa-cart-panel__text,
.sa-checkout-panel__text {
  margin: 0;
  color: var(--sa-color-muted);
}

.sa-cart-panel {
  overflow-x: auto;
}

.sa-cart-table {
  width: 100%;
  border-collapse: collapse;
}

.sa-cart-table th,
.sa-cart-table td {
  border-bottom: 1px solid var(--sa-color-line);
  padding: var(--sa-space-3);
  text-align: left;
}

.sa-cart-table th {
  color: var(--sa-color-muted);
  font-size: 0.875rem;
  text-transform: uppercase;
}

.sa-cart-empty {
  display: grid;
  gap: var(--sa-space-4);
  min-height: 220px;
  align-content: center;
  text-align: center;
}

.sa-cart-totals__row,
.sa-order-review__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sa-space-4);
  border-bottom: 1px solid var(--sa-color-line);
  padding-block: var(--sa-space-3);
}

.sa-cart-totals__row:last-child,
.sa-order-review__row:last-child {
  border-bottom: 0;
  font-weight: 900;
}

.sa-coupon-shell {
  display: grid;
  gap: var(--sa-space-3);
}

.sa-coupon-shell__line,
.sa-checkout-field-shell {
  border: 1px dashed var(--sa-color-line);
  border-radius: var(--sa-radius-sm);
  padding: var(--sa-space-3);
  background: var(--sa-color-soft);
  color: var(--sa-color-muted);
}

.sa-checkout-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--sa-space-4);
}

.sa-checkout-form__full {
  grid-column: 1 / -1;
}

.sa-payment-shell__method {
  border: 1px solid var(--sa-color-line);
  border-radius: var(--sa-radius-sm);
  padding: var(--sa-space-3);
  background: var(--sa-color-soft);
}

.sa-payment-shell__method + .sa-payment-shell__method {
  margin-top: var(--sa-space-3);
}

.sa-checkout-trust-list {
  display: grid;
  gap: var(--sa-space-3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.sa-checkout-trust-list li {
  border: 1px solid var(--sa-color-line);
  border-radius: var(--sa-radius-sm);
  padding: var(--sa-space-3);
  background: var(--sa-color-soft);
  font-weight: 700;
}

.sa-support-sidebar details {
  border-top: 1px solid var(--sa-color-line);
  padding-block: var(--sa-space-3);
}

.sa-support-sidebar summary {
  cursor: pointer;
  font-weight: 800;
}

@media (max-width: 980px) {
  .sa-cart__layout,
  .sa-checkout__layout,
  .sa-checkout-form {
    grid-template-columns: 1fr;
  }

  .sa-cart-table thead {
    display: none;
  }

  .sa-cart-table tr,
  .sa-cart-table td {
    display: block;
  }

  .sa-cart-table td {
    padding-inline: 0;
  }
}

/* Cart Elementor parity rebuild. */
.sa-cart-live {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: #fff;
  color: #000;
  font-family: AvenirNextLTPro, Avenir, Arial, sans-serif;
}

.sa-cart-live::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(300px, 24vw, 430px);
  background: #fff001;
}

.sa-cart-live::after {
  content: "";
  position: absolute;
  top: 0;
  right: -2vw;
  left: -2vw;
  z-index: 1;
  height: clamp(300px, 24vw, 430px);
  background: url("/wp-content/uploads/2025/02/Onda-gialla-1.png") 50% 100% / 108% auto no-repeat;
  filter: drop-shadow(0 22px 16px rgba(0, 0, 0, .34));
  pointer-events: none;
}

.sa-cart-live__notices,
.sa-cart-live__wrap,
.sa-cart-empty-live {
  position: relative;
  z-index: 2;
}

.sa-cart-live__notices {
  width: min(910px, calc(100vw - 36px));
  margin: 0 auto;
  padding-top: 22px;
}

.sa-cart-live__wrap,
.sa-cart-empty-live {
  display: block !important;
  width: min(910px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 66px 0 78px;
}

.sa-cart-panel,
.sa-cart-empty-panel {
  width: 100%;
  overflow: hidden;
  border: 2px solid #000;
  background: #fff;
  box-shadow: -22px 24px 14px rgba(0, 0, 0, .42);
}

.sa-cart-panel__titlebar {
  display: grid;
  min-height: 70px;
  align-items: center;
  border-bottom: 2px solid #000;
  background: #83f592;
  padding: 0 30px;
}

.sa-cart-panel__titlebar h1 {
  margin: 0;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: clamp(34px, 2.8vw, 52px);
  font-weight: 950;
  line-height: .95;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.sa-cart-panel__notes {
  display: grid;
  min-height: 154px;
  align-content: center;
  gap: 4px;
  border-bottom: 2px solid #000;
  padding: 24px 48px;
  background: #fff;
  font-size: 16px;
  line-height: 1.25;
}

.sa-cart-panel__notes p {
  margin: 0;
}

.sa-cart-panel__notes span {
  display: inline-block;
  width: 24px;
  color: #f3cf00;
  text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
}

.sa-cart-table {
  display: grid;
  background: #fff;
}

.sa-cart-table__head,
.sa-cart-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
}

.sa-cart-table__head {
  min-height: 62px;
  border-bottom: 2px solid #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
}

.sa-cart-table__head > div,
.sa-cart-table__row > div {
  border-right: 2px solid #000;
}

.sa-cart-table__head > div:last-child,
.sa-cart-table__row > div:last-child {
  border-right: 0;
}

.sa-cart-table__head > div {
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.sa-cart-table__row {
  min-height: 260px;
  border-bottom: 2px solid #000;
}

.sa-cart-product {
  display: grid;
  grid-template-columns: 22px 120px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px 30px;
}

.sa-cart-product__remove {
  align-self: center;
  color: #00a94f !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.sa-cart-product__image {
  display: block;
  width: 120px;
  height: 100px;
  border: 2px solid #000;
  background: #eef4dc;
}

.sa-cart-product__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sa-cart-product__copy {
  min-width: 0;
  padding-top: 24px;
}

.sa-cart-product__name {
  display: block;
  margin-bottom: 24px;
  color: #02a94f !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.sa-cart-product__copy dl.variation {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 1.1;
}

.sa-cart-product__copy dl.variation dt {
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-weight: 950;
}

.sa-cart-product__copy dl.variation dd {
  margin: 0;
  color: #b6adb4;
  font-size: 17px;
  font-weight: 300;
}

.sa-cart-product__copy dl.variation p {
  margin: 0;
}

.sa-cart-price,
.sa-cart-subtotal {
  padding: 40px 30px;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
}

.sa-cart-panel__footer {
  display: grid;
  min-height: 320px;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 52px;
  padding: 30px;
  background: #fff;
}

.sa-cart-coupon {
  display: grid;
  align-content: start;
  gap: 11px;
  max-width: 400px;
}

.sa-cart-coupon input {
  width: 100%;
  height: 48px;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  padding: 0 12px !important;
  background: #fff;
  color: #6d7480;
  font-family: AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 17px;
}

.sa-cart-coupon .button,
.sa-cart-summary .checkout-button,
.sa-cart-empty-panel__actions a,
.sa-cart-promo-card__button {
  display: inline-flex !important;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  padding: 8px 18px !important;
  color: #000 !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none !important;
}

.sa-cart-coupon .button,
.sa-cart-promo-card__button {
  background: #fff001 !important;
  box-shadow: -10px 10px 8px rgba(0, 0, 0, .34) !important;
}

.sa-cart-summary {
  display: grid;
  align-content: start;
  gap: 11px;
}

.sa-cart-summary__total {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 34px 0 0;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 31px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.sa-cart-summary__total strong {
  font: inherit;
}

.sa-cart-summary .wc-proceed-to-checkout {
  display: grid;
  gap: 14px;
  padding: 0 !important;
}

.sa-cart-summary .checkout-button {
  width: 100%;
  min-height: 50px !important;
  background: #83f592 !important;
  box-shadow: -8px 8px 8px rgba(0, 0, 0, .35) !important;
  font-size: 19px !important;
}

.sa-cart-summary .checkout-button::after {
  display: none !important;
}

.sa-cart-summary .wc-proceed-to-checkout::after {
  content: "OPPURE";
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-top: 3px;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

/* Unified cart -> billing/document -> payment -> confirmation flow. */
.sa-checkout-steps {
  margin: 22px 0 34px;
  color: #10291d;
  font-family: AvenirNextLTPro, Avenir, Arial, sans-serif;
}

.sa-checkout-steps ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sa-checkout-step {
  position: relative;
  min-width: 0;
}

.sa-checkout-step__inner {
  display: flex;
  align-items: center;
  gap: 11px;
  min-height: 74px;
  padding: 12px 14px;
  border: 2px solid rgba(16, 41, 29, .24);
  border-radius: 13px;
  background: rgba(255, 255, 255, .78);
  color: #10291d;
  text-decoration: none !important;
  transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

a.sa-checkout-step__inner:hover,
a.sa-checkout-step__inner:focus-visible {
  border-color: #10291d;
  transform: translateY(-2px);
}

.sa-checkout-step__number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  border: 2px solid #10291d;
  border-radius: 50%;
  background: #fff;
  font-size: 17px;
  font-weight: 900;
}

.sa-checkout-step__text {
  display: grid;
  min-width: 0;
  line-height: 1.15;
}

.sa-checkout-step__text strong {
  font-size: 14px;
  font-weight: 900;
  text-transform: uppercase;
}

.sa-checkout-step__text small {
  margin-top: 4px;
  color: #53645b;
  font-size: 11px;
  font-weight: 700;
}

.sa-checkout-step.is-active .sa-checkout-step__inner {
  border-color: #10291d;
  background: #10291d;
  color: #fff;
  box-shadow: 5px 5px 0 rgba(16, 41, 29, .18);
}

.sa-checkout-step.is-active .sa-checkout-step__number {
  background: #fff001;
  color: #10291d;
}

.sa-checkout-step.is-active .sa-checkout-step__text small {
  color: #dce7df;
}

.sa-checkout-step.is-complete .sa-checkout-step__inner {
  border-color: #4f9658;
  background: #e9f7ed;
}

.sa-checkout-step.is-complete .sa-checkout-step__number {
  border-color: #4f9658;
  background: #4f9658;
  color: #fff;
}

.sa-checkout-live .sa-checkout-steps {
  margin-top: 0;
}

.sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info {
  border-color: #10291d;
  background: #fff !important;
  box-shadow: 6px 6px 0 rgba(16, 41, 29, .18);
}

.sa-checkout-live .woocommerce-form-login-toggle a {
  display: inline-flex;
  margin-left: 5px;
  color: #10291d;
  font-weight: 900;
}

.sa-checkout-live .woocommerce-form-login {
  margin: 18px 0 26px !important;
  border: 3px solid #10291d !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: 7px 7px 0 rgba(16, 41, 29, .16);
}

.sa-checkout-document-intro {
  grid-column: 1 / -1;
  order: -30;
  margin: 0 0 24px;
  padding: 20px;
  border: 2px solid #10291d;
  border-radius: 12px;
  background: #f8f6ee;
}

.sa-checkout-document-intro span {
  color: #4f9658;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sa-checkout-document-intro h3 {
  margin: 5px 0 7px !important;
  font-size: 24px !important;
}

.sa-checkout-document-intro p {
  margin: 0;
  color: #45564c;
  font-size: 13px;
  font-weight: 650;
}

.sa-checkout-live .sa-checkout-document-field {
  display: block !important;
  padding: 14px !important;
  border: 2px solid #10291d;
  background: #fff;
}

.sa-checkout-live .sa-checkout-document-field.is-customer-type {
  order: -29;
}

.sa-checkout-live .sa-checkout-document-field.is-document-type {
  order: -28;
}

.sa-checkout-step-actions {
  padding: 22px;
  border: 3px solid #10291d;
  border-radius: 12px;
  background: #fff;
  box-shadow: 8px 8px 0 rgba(16, 41, 29, .17);
}

.sa-checkout-step-actions__buttons {
  display: grid;
  grid-template-columns: minmax(180px, .55fr) minmax(260px, 1fr);
  gap: 12px;
}

.sa-checkout-primary-button,
.sa-checkout-secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  padding: 14px 18px;
  border: 3px solid #10291d;
  border-radius: 10px;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 17px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
  cursor: pointer;
}

.sa-checkout-primary-button {
  background: #fff001;
  color: #10291d;
}

.sa-checkout-secondary-button {
  background: #fff;
  color: #10291d;
}

.sa-checkout-primary-button:hover,
.sa-checkout-primary-button:focus-visible,
.sa-checkout-secondary-button:hover,
.sa-checkout-secondary-button:focus-visible {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 rgba(16, 41, 29, .22);
}

.sa-checkout-step-error {
  margin: 0 0 14px;
  padding: 12px 14px;
  border: 2px solid #b42318;
  border-radius: 8px;
  background: #fff0ed;
  color: #8b271b;
  font-weight: 850;
}

.sa-checkout-step-error[hidden] {
  display: none !important;
}

.sa-checkout-live.is-details-step #payment {
  display: none !important;
}

.sa-checkout-live.is-payment-step #customer_details {
  display: none !important;
}

.sa-checkout-live.is-payment-step .woocommerce-form-login-toggle,
.sa-checkout-live.is-payment-step .woocommerce-form-login,
.sa-checkout-live.is-payment-step .woocommerce-form-coupon-toggle,
.sa-checkout-live.is-payment-step > .checkout_coupon {
  display: none !important;
}

.sa-checkout-live.is-payment-step form.checkout {
  display: block;
}

.sa-checkout-live.is-payment-step #order_review_heading,
.sa-checkout-live.is-payment-step .woocommerce-checkout-review-order {
  width: min(100%, 980px);
  margin-right: auto;
  margin-left: auto;
}

.sa-checkout-live.is-payment-step #order_review_heading {
  margin-bottom: -52px;
}

.sa-checkout-live.is-payment-step .woocommerce-checkout-review-order {
  position: static;
  margin-top: 0;
}

.sa-checkout-live.is-payment-step #payment {
  display: block;
}

.sa-checkout-back-details {
  width: 100%;
  margin: 12px 0 0;
}

.sa-checkout-live.is-order-complete .sa-checkout-live__runtime .woocommerce {
  padding: 28px;
  border: 3px solid #10291d;
  border-radius: 14px;
  background: #fff;
  box-shadow: 9px 9px 0 rgba(16, 41, 29, .18);
}

@media (max-width: 980px) {
  .sa-checkout-steps ol {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .sa-checkout-steps ol,
  .sa-checkout-step-actions__buttons {
    grid-template-columns: 1fr;
  }

  .sa-checkout-step__inner {
    min-height: 64px;
  }

  .sa-checkout-step__text small {
    display: none;
  }

  .sa-checkout-step-actions,
  .sa-checkout-document-intro {
    padding: 16px;
  }
}

.sa-cart-summary .wc-proceed-to-checkout::after {
  border-top: 2px solid #000;
  padding-top: 0;
}

.sa-cart-summary [id*="paypal"],
.sa-cart-summary [class*="paypal"],
.sa-cart-summary [class*="ppcp"],
.sa-cart-summary [class*="wcpay"] {
  max-width: 100%;
}

.sa-cart-empty-panel {
  padding-bottom: 10px;
}

.sa-cart-empty-panel .sa-cart-panel__titlebar {
  justify-items: center;
  text-align: center;
}

.sa-cart-empty-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 278px));
  justify-content: center;
  gap: 150px;
  padding: 40px 12px 50px;
}

.sa-cart-empty-panel__actions a {
  min-height: 54px !important;
  background: #83f592 !important;
  font-size: 25px !important;
}

.sa-cart-empty-panel__or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 0 12px;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 15px;
  font-weight: 950;
}

.sa-cart-empty-panel__or::before,
.sa-cart-empty-panel__or::after {
  content: "";
  height: 1px;
  background: #000;
}

.sa-cart-empty-panel__promo {
  padding: 42px 12px 0;
}

.sa-cart-empty-panel__promo h2 {
  margin: 0 auto 30px;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: clamp(36px, 3.2vw, 50px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: 0 !important;
  text-align: center;
  text-transform: uppercase;
}

.sa-cart-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.sa-cart-promo-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.sa-cart-promo-card__image {
  display: grid;
  width: 230px;
  max-width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid #000;
  background: #ecf2dc;
}

.sa-cart-promo-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sa-cart-promo-card h3 {
  min-height: 46px;
  margin: 0;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.1;
}

.sa-cart-promo-card__price {
  min-height: 36px;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 16px;
  font-weight: 950;
}

.sa-cart-promo-card__price del {
  color: #fff001;
  opacity: 1;
}

.sa-cart-promo-card__price ins {
  color: #000;
  text-decoration: none;
}

.sa-cart-promo-card__button {
  width: 202px;
  min-height: 39px !important;
  font-size: 17px !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  .sa-cart-live__wrap,
  .sa-cart-empty-live {
    padding: 36px 0 56px;
  }

  .sa-cart-panel__titlebar {
    min-height: 62px;
    padding: 0 18px;
  }

  .sa-cart-panel__notes {
    min-height: 0;
    padding: 24px 18px;
  }

  .sa-cart-table__head {
    display: none;
  }

  .sa-cart-table__row,
  .sa-cart-panel__footer {
    grid-template-columns: 1fr;
  }

  .sa-cart-table__row > div {
    border-right: 0;
    border-bottom: 1px solid #000;
  }

  .sa-cart-product {
    grid-template-columns: 22px 96px minmax(0, 1fr);
    padding: 16px;
  }

  .sa-cart-product__image {
    width: 96px;
    height: 96px;
  }

  .sa-cart-product__copy {
    padding-top: 8px;
  }

  .sa-cart-price,
  .sa-cart-subtotal {
    display: flex;
    justify-content: space-between;
    padding: 16px;
  }

  .sa-cart-price::before {
    content: "Prezzo";
  }

  .sa-cart-subtotal::before {
    content: "Subtotale";
  }

  .sa-cart-panel__footer {
    gap: 24px;
    padding: 18px;
  }

  .sa-cart-coupon {
    max-width: none;
  }

  .sa-cart-summary__total {
    justify-content: flex-start;
    margin-top: 0;
    font-size: 28px;
  }

  .sa-cart-empty-panel__actions {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 18px 36px;
  }

  .sa-cart-promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sa-cart-live__wrap,
  .sa-cart-empty-live,
  .sa-cart-live__notices {
    width: min(100% - 20px, 910px);
  }

  .sa-cart-panel,
  .sa-cart-empty-panel {
    box-shadow: -8px 10px 8px rgba(0, 0, 0, .35);
  }

  .sa-cart-panel__titlebar h1 {
    font-size: 32px;
  }

  .sa-cart-product {
    grid-template-columns: 18px 76px minmax(0, 1fr);
    gap: 10px;
  }

  .sa-cart-product__image {
    width: 76px;
    height: 76px;
  }

  .sa-cart-product__name {
    font-size: 18px;
  }

  .sa-cart-product__copy dl.variation {
    grid-template-columns: 1fr;
    row-gap: 3px;
  }
}

/* Live checkout parity. */
.sa-checkout-live {
  background: #fff001;
  color: #000;
  font-family: AvenirNextLTPro, Avenir, Arial, sans-serif;
}

.sa-checkout-live .sa-container {
  max-width: 1680px;
}

.sa-checkout-live__head {
  padding: clamp(42px, 5vw, 82px) 0 22px;
}

.sa-checkout-live__eyebrow {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.sa-checkout-live h1,
.sa-checkout-live h2,
.sa-checkout-live h3,
.sa-checkout-live #order_review_heading {
  margin: 0;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.sa-checkout-live h1 {
  max-width: 1100px;
  font-size: clamp(42px, 5.8vw, 96px);
  line-height: .92;
}

.sa-checkout-live h2,
.sa-checkout-live h3,
.sa-checkout-live #order_review_heading {
  margin-bottom: 22px;
  font-size: clamp(24px, 2.2vw, 38px);
  line-height: 1;
}

.sa-checkout-live__notices {
  margin-bottom: 18px;
}

.sa-checkout-live__runtime {
  padding-bottom: clamp(56px, 7vw, 104px);
}

.sa-checkout-live .woocommerce {
  display: block;
}

.sa-checkout-live form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 520px);
  gap: clamp(28px, 3.5vw, 60px);
  align-items: start;
}

.sa-checkout-live form.checkout::before,
.sa-checkout-live form.checkout::after {
  display: none;
}

.sa-checkout-live #customer_details,
.sa-checkout-live .woocommerce-checkout-review-order {
  min-width: 0;
}

.sa-checkout-live #customer_details {
  grid-column: 1;
  grid-row: 1 / span 2;
  display: grid;
  gap: 28px;
}

.sa-checkout-live #customer_details .col-1,
.sa-checkout-live #customer_details .col-2 {
  float: none;
  width: 100%;
  min-width: 0;
  border: 3px solid #000;
  background: #fff;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .22);
  padding: clamp(22px, 3vw, 38px);
}

.sa-checkout-live .woocommerce-billing-fields__field-wrapper,
.sa-checkout-live .woocommerce-shipping-fields__field-wrapper,
.sa-checkout-live .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 18px;
}

.sa-checkout-live .form-row {
  float: none !important;
  width: 100% !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.sa-checkout-live .form-row-wide,
.sa-checkout-live #billing_country_field,
.sa-checkout-live #billing_address_1_field,
.sa-checkout-live #billing_address_2_field,
.sa-checkout-live #billing_email_field,
.sa-checkout-live #order_comments_field {
  grid-column: 1 / -1;
}

.sa-checkout-live label {
  display: block;
  margin-bottom: 7px;
  color: #000;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.15;
}

.sa-checkout-live abbr.required {
  color: #000;
  text-decoration: none;
}

.sa-checkout-live input.input-text,
.sa-checkout-live input[type="text"],
.sa-checkout-live input[type="tel"],
.sa-checkout-live input[type="email"],
.sa-checkout-live input[type="password"],
.sa-checkout-live select,
.sa-checkout-live textarea,
.sa-checkout-live .select2-container .select2-selection--single {
  width: 100%;
  min-height: 52px;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #000 !important;
  box-shadow: none !important;
  font: 600 16px/1.25 AvenirNextLTPro, Avenir, Arial, sans-serif;
}

.sa-checkout-live input.input-text,
.sa-checkout-live input[type="text"],
.sa-checkout-live input[type="tel"],
.sa-checkout-live input[type="email"],
.sa-checkout-live input[type="password"],
.sa-checkout-live select,
.sa-checkout-live textarea {
  padding: 12px 14px;
}

.sa-checkout-live textarea {
  min-height: 116px;
  resize: vertical;
}

.sa-checkout-live .select2-container .select2-selection--single {
  height: 52px;
}

.sa-checkout-live .select2-container .select2-selection__rendered {
  padding-left: 14px;
  line-height: 50px;
}

.sa-checkout-live .select2-container .select2-selection__arrow {
  height: 50px;
}

.sa-checkout-live input:focus,
.sa-checkout-live select:focus,
.sa-checkout-live textarea:focus,
.sa-checkout-live .select2-container--focus .select2-selection--single {
  outline: 3px solid #7cf68e !important;
  outline-offset: 0;
}

.sa-checkout-live .woocommerce-checkout-review-order {
  grid-column: 2;
  grid-row: 1;
  position: sticky;
  top: 18px;
  margin-top: 74px;
  border: 3px solid #000;
  background: #7cf68e;
  box-shadow: 10px 10px 0 rgba(0, 0, 0, .22);
  padding: clamp(22px, 2.8vw, 34px);
}

.sa-checkout-live #order_review_heading {
  align-self: start;
  grid-column: 2;
  grid-row: 1;
  margin: 0;
  padding: clamp(22px, 2.8vw, 34px) clamp(22px, 2.8vw, 34px) 0;
  position: relative;
  z-index: 2;
}

.sa-checkout-live table.shop_table {
  width: 100%;
  margin: 52px 0 24px !important;
  border: 0 !important;
  border-collapse: collapse;
  background: transparent;
}

.sa-checkout-live table.shop_table th,
.sa-checkout-live table.shop_table td {
  border: 0 !important;
  border-bottom: 2px solid #000 !important;
  padding: 14px 0 !important;
  color: #000;
  font-size: 16px;
  line-height: 1.25;
  vertical-align: top;
}

.sa-checkout-live table.shop_table th {
  padding-right: 18px !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-weight: 900;
  text-align: left;
}

.sa-checkout-live table.shop_table td {
  font-weight: 700;
  text-align: right;
}

.sa-checkout-live table.shop_table thead th {
  font-size: 13px;
  text-transform: uppercase;
}

.sa-checkout-live table.shop_table .product-name {
  text-align: left;
}

.sa-checkout-live table.shop_table .product-total {
  text-align: right;
}

.sa-checkout-live .cart_item .product-name {
  font-weight: 900;
}

.sa-checkout-live .product-quantity {
  font-weight: 900;
}

.sa-checkout-live .woocommerce-checkout-payment {
  border: 0 !important;
  border-radius: 0 !important;
  background: #fff !important;
}

.sa-checkout-live #payment ul.payment_methods {
  border-bottom: 2px solid #000 !important;
  padding: 0 !important;
}

.sa-checkout-live #payment ul.payment_methods li {
  border-top: 2px solid #000;
  padding: 16px 0;
  color: #000;
  font-weight: 800;
  line-height: 1.35;
}

.sa-checkout-live #payment div.payment_box {
  margin: 12px 0 0;
  border: 2px solid #000;
  border-radius: 0;
  background: #f5f5f5;
  color: #000;
}

.sa-checkout-live #payment div.payment_box::before {
  display: none;
}

.sa-checkout-live #payment .place-order {
  padding: 20px 0 0 !important;
}

.sa-checkout-live .woocommerce-privacy-policy-text {
  max-height: 150px;
  overflow: auto;
  border: 2px solid #000;
  background: #fff;
  padding: 14px;
  color: #000;
  font-size: 13px;
  line-height: 1.35;
}

.sa-checkout-live .woocommerce-privacy-policy-text h2,
.sa-checkout-live .woocommerce-privacy-policy-text h3 {
  margin: 12px 0 8px;
  font-size: 16px;
  line-height: 1.1;
}

.sa-checkout-live .woocommerce-terms-and-conditions-wrapper {
  color: #000;
  font-size: 14px;
  line-height: 1.35;
}

.sa-checkout-live .woocommerce-terms-and-conditions-wrapper a {
  color: #000;
  font-weight: 900;
  text-decoration: underline;
}

.sa-checkout-live #place_order,
.sa-checkout-live button.button,
.sa-checkout-live a.button {
  min-height: 60px;
  border: 3px solid #000 !important;
  border-radius: 0 !important;
  background: #fff001 !important;
  color: #000 !important;
  box-shadow: none !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: clamp(20px, 1.7vw, 30px);
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-transform: uppercase;
}

.sa-checkout-live #place_order {
  width: 100%;
  margin-top: 18px;
  padding: 16px 20px;
}

.sa-checkout-live #place_order:hover,
.sa-checkout-live button.button:hover,
.sa-checkout-live a.button:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 #000 !important;
}

.sa-checkout-live .woocommerce-error,
.sa-checkout-live .woocommerce-info,
.sa-checkout-live .woocommerce-message {
  border: 3px solid #000;
  border-radius: 0;
  background: #fff;
  color: #000;
  box-shadow: 8px 8px 0 rgba(0, 0, 0, .18);
  font-weight: 800;
}

.sa-checkout-live .woocommerce-error::before,
.sa-checkout-live .woocommerce-info::before,
.sa-checkout-live .woocommerce-message::before {
  color: #000;
}

.sa-checkout-live .woocommerce-invalid input,
.sa-checkout-live .woocommerce-invalid select,
.sa-checkout-live .woocommerce-invalid textarea,
.sa-checkout-live .woocommerce-invalid .select2-selection {
  border-color: #e60023 !important;
}

@media (max-width: 1100px) {
  .sa-checkout-live form.checkout {
    grid-template-columns: 1fr;
  }

  .sa-checkout-live #order_review_heading {
    grid-column: auto;
    grid-row: auto;
    margin: 0 0 -48px;
  }

  .sa-checkout-live .woocommerce-checkout-review-order {
    grid-column: auto;
    grid-row: auto;
    position: static;
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .sa-checkout-live__head {
    padding-top: 38px;
  }

  .sa-checkout-live h1 {
    font-size: clamp(40px, 13vw, 58px);
  }

  .sa-checkout-live #customer_details .col-1,
  .sa-checkout-live #customer_details .col-2,
  .sa-checkout-live .woocommerce-checkout-review-order {
    padding: 20px 16px;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, .2);
  }

  .sa-checkout-live .woocommerce-billing-fields__field-wrapper,
  .sa-checkout-live .woocommerce-shipping-fields__field-wrapper,
  .sa-checkout-live .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
  }

  .sa-checkout-live table.shop_table th,
  .sa-checkout-live table.shop_table td {
    display: block;
    width: 100%;
    padding: 10px 0 !important;
    text-align: left !important;
  }

  .sa-checkout-live table.shop_table td {
    border-bottom-width: 1px !important;
  }

  .sa-checkout-live #payment ul.payment_methods li {
    overflow-wrap: anywhere;
  }

  .sa-checkout-live #place_order {
    font-size: 22px;
  }
}

/* Live cart parity. */
.sa-cart-live {
  background: #fff;
  color: #000;
  font-family: AvenirNextLTPro, Avenir, Arial, sans-serif;
}

.sa-cart-live__notices {
  padding-top: 24px;
}

.sa-cart-live__head,
.sa-cart-empty-live__copy {
  color: #000;
}

.sa-cart-live__eyebrow {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.sa-cart-live h1,
.sa-cart-empty-live h1,
.sa-cart-empty-live h2,
.sa-cart-live .cart_totals h2 {
  margin: 0;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.sa-cart-live h1,
.sa-cart-empty-live h1 {
  font-size: clamp(40px, 5vw, 86px);
  line-height: .95;
}

.sa-cart-empty-live {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(320px, 520px);
  gap: clamp(32px, 6vw, 90px);
  align-items: center;
  min-height: 680px;
  padding-block: 80px;
}

.sa-cart-empty-live__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 42px;
}

.sa-cart-empty-live__actions a,
.sa-cart-empty-live__promo a,
.sa-cart-live .checkout-button,
.sa-cart-live .button,
.sa-cart-live button.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  border: 3px solid #000 !important;
  border-radius: 0 !important;
  background: #fff001 !important;
  box-shadow: -8px 8px 0 rgba(0, 0, 0, .35);
  color: #000 !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
}

.sa-cart-empty-live__actions a {
  min-width: 240px;
  padding: 16px 24px;
}

.sa-cart-empty-live__or {
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: clamp(26px, 3vw, 46px);
  font-weight: 900;
}

.sa-cart-empty-live__promo {
  border: 3px solid #000;
  background: #7cf68e;
  padding: clamp(28px, 4vw, 46px);
}

.sa-cart-empty-live__promo h2 {
  font-size: clamp(28px, 3vw, 44px);
  line-height: 1;
}

.sa-cart-empty-live__promo p {
  margin: 18px 0 28px;
  font-size: 20px;
  line-height: 1.25;
}

.sa-cart-empty-live__promo a {
  min-width: 220px;
  padding: 16px 24px;
  background: #000 !important;
  box-shadow: none;
  color: #fff001 !important;
}

.sa-cart-live__wrap {
  padding-block: 56px 76px;
}

.sa-cart-live__head {
  margin-bottom: 34px;
}

.sa-cart-live__woocommerce {
  border: 3px solid #000;
  background: #eee;
  padding: clamp(20px, 3.2vw, 46px);
}

.sa-cart-live .woocommerce {
  display: flow-root;
}

.sa-cart-live table.shop_table {
  border: 0 !important;
  border-collapse: collapse !important;
  border-radius: 0 !important;
  background: #fff;
  color: #000;
}

.sa-cart-live table.shop_table th,
.sa-cart-live table.shop_table td {
  border-top: 0 !important;
  border-bottom: 2px solid #000 !important;
  padding: 18px 14px !important;
  color: #000;
}

.sa-cart-live table.shop_table th {
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 15px;
  font-weight: 900;
  text-transform: uppercase;
}

.sa-cart-live .product-thumbnail img {
  width: 96px;
  max-width: 96px;
  border: 2px solid #000;
  background: #fff;
}

.sa-cart-live .product-name a,
.sa-cart-live .product-remove a {
  color: #000 !important;
  font-weight: 900;
  text-decoration: none;
}

.sa-cart-live .product-name dl.variation {
  margin: 10px 0 0;
  color: #000;
  font-size: 13px;
}

.sa-cart-live .quantity .qty {
  min-height: 46px;
  border: 2px solid #000;
  border-radius: 0;
  color: #000;
  font-weight: 900;
  text-align: center;
}

.sa-cart-live .coupon {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.sa-cart-live .coupon label {
  position: static !important;
  width: auto !important;
  height: auto !important;
  clip: auto !important;
  clip-path: none !important;
  overflow: visible !important;
  align-self: center;
  color: #000;
  font-weight: 900;
}

.sa-cart-live .coupon .input-text,
.sa-cart-live input[type="text"],
.sa-cart-live input[type="number"] {
  min-height: 54px;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  padding: 0 14px;
  background: #fff;
  color: #000;
}

.sa-cart-live .cart-collaterals {
  margin-top: 34px;
}

.sa-cart-live .cart-collaterals .cart_totals {
  float: none !important;
  width: min(520px, 100%) !important;
  margin-left: auto;
  border: 3px solid #000;
  background: #7cf68e;
  padding: 26px;
}

.sa-cart-live .cart_totals h2 {
  margin-bottom: 18px;
  font-size: clamp(26px, 2.6vw, 38px);
  line-height: 1;
}

.sa-cart-live .wc-proceed-to-checkout {
  padding: 20px 0 0 !important;
}

.sa-cart-live .checkout-button {
  width: 100%;
  min-height: 62px;
  background: #fff001 !important;
}

.sa-cart-live .woocommerce-cart-form__contents .actions {
  background: #fff;
}

@media (max-width: 980px) {
  .sa-cart-empty-live {
    grid-template-columns: 1fr;
    gap: 34px;
    min-height: 0;
    padding-block: 48px;
  }

  .sa-cart-empty-live__or {
    text-align: left;
  }

  .sa-cart-live__wrap {
    padding-block: 42px 58px;
  }

  .sa-cart-live__woocommerce {
    padding: 18px;
  }

  .sa-cart-live table.shop_table_responsive tr {
    display: block;
    border: 2px solid #000;
    margin-bottom: 16px;
    background: #fff;
  }

  .sa-cart-live table.shop_table_responsive tr td {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid #000 !important;
    text-align: right !important;
  }

  .sa-cart-live table.shop_table_responsive tr td::before {
    color: #000;
    font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
    font-weight: 900;
  }

  .sa-cart-live table.shop_table_responsive tr td.product-thumbnail,
  .sa-cart-live table.shop_table_responsive tr td.actions {
    display: block;
    text-align: left !important;
  }

  .sa-cart-live .cart_totals table.shop_table,
  .sa-cart-live .cart_totals table.shop_table tbody,
  .sa-cart-live .cart_totals table.shop_table tr,
  .sa-cart-live .cart_totals table.shop_table th,
  .sa-cart-live .cart_totals table.shop_table td {
    display: block;
    width: 100% !important;
  }

  .sa-cart-live .cart_totals table.shop_table tr {
    border: 0;
    margin: 0;
  }

  .sa-cart-live .cart_totals table.shop_table th,
  .sa-cart-live .cart_totals table.shop_table td {
    text-align: left !important;
  }

  .sa-cart-live .cart_totals table.shop_table td::before {
    display: none;
  }

  .sa-cart-live .cart_totals .woocommerce-shipping-methods {
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .sa-cart-live .cart_totals .woocommerce-shipping-destination,
  .sa-cart-live .cart_totals .woocommerce-shipping-calculator {
    word-break: normal;
    overflow-wrap: anywhere;
  }

  .sa-cart-live .coupon,
  .sa-cart-live .coupon .input-text,
  .sa-cart-live .coupon .button,
  .sa-cart-live .woocommerce-cart-form__contents .actions > .button {
    width: 100% !important;
  }
}

/* Cart Elementor parity rebuild. */
.sa-cart-live {
  position: relative;
  overflow: hidden;
  min-height: 760px;
  background: #fff;
  color: #000;
  font-family: AvenirNextLTPro, Avenir, Arial, sans-serif;
}

.sa-cart-live::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 0;
  height: clamp(300px, 24vw, 430px);
  background: #fff001;
}

.sa-cart-live::after {
  content: "";
  position: absolute;
  top: 0;
  right: -2vw;
  left: -2vw;
  z-index: 1;
  height: clamp(300px, 24vw, 430px);
  background: url("/wp-content/uploads/2025/02/Onda-gialla-1.png") 50% 100% / 108% auto no-repeat;
  filter: drop-shadow(0 22px 16px rgba(0, 0, 0, .34));
  pointer-events: none;
}

.sa-cart-live__notices,
.sa-cart-live__wrap,
.sa-cart-empty-live {
  position: relative;
  z-index: 2;
}

.sa-cart-live__notices {
  width: min(910px, calc(100vw - 36px));
  margin: 0 auto;
  padding-top: 22px;
}

.sa-cart-live__wrap,
.sa-cart-empty-live {
  display: block !important;
  width: min(910px, calc(100vw - 36px));
  margin: 0 auto;
  padding: 66px 0 78px;
}

.sa-cart-panel,
.sa-cart-empty-panel {
  width: 100%;
  overflow: hidden;
  border: 2px solid #000;
  background: #fff;
  box-shadow: -22px 24px 14px rgba(0, 0, 0, .42);
}

.sa-cart-panel__titlebar {
  display: grid;
  min-height: 70px;
  align-items: center;
  border-bottom: 2px solid #000;
  background: #83f592;
  padding: 0 30px;
}

.sa-cart-panel__titlebar h1 {
  margin: 0;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: clamp(34px, 2.8vw, 52px);
  font-weight: 950;
  line-height: .95;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.sa-cart-panel__notes {
  display: grid;
  min-height: 154px;
  align-content: center;
  gap: 4px;
  border-bottom: 2px solid #000;
  padding: 24px 48px;
  background: #fff;
  font-size: 16px;
  line-height: 1.25;
}

.sa-cart-panel__notes p {
  margin: 0;
}

.sa-cart-panel__notes span {
  display: inline-block;
  width: 24px;
  color: #f3cf00;
  text-shadow: -1px 0 #000, 0 1px #000, 1px 0 #000, 0 -1px #000;
}

.sa-cart-table {
  display: grid;
  background: #fff;
}

.sa-cart-table__head,
.sa-cart-table__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px 180px;
}

.sa-cart-table__head {
  min-height: 62px;
  border-bottom: 2px solid #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
}

.sa-cart-table__head > div,
.sa-cart-table__row > div {
  border-right: 2px solid #000;
}

.sa-cart-table__head > div:last-child,
.sa-cart-table__row > div:last-child {
  border-right: 0;
}

.sa-cart-table__head > div {
  display: flex;
  align-items: center;
  padding: 0 30px;
}

.sa-cart-table__row {
  min-height: 260px;
  border-bottom: 2px solid #000;
}

.sa-cart-product {
  display: grid;
  grid-template-columns: 22px 120px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 16px 30px;
}

.sa-cart-product__remove {
  align-self: center;
  color: #00a94f !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 24px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
}

.sa-cart-product__image {
  display: block;
  width: 120px;
  height: 100px;
  border: 2px solid #000;
  background: #eef4dc;
}

.sa-cart-product__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sa-cart-product__copy {
  min-width: 0;
  padding-top: 24px;
}

.sa-cart-product__name {
  display: block;
  margin-bottom: 24px;
  color: #02a94f !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 21px;
  font-weight: 950;
  line-height: 1.1;
  text-decoration: none;
  text-transform: uppercase;
}

.sa-cart-product__copy dl.variation {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  column-gap: 18px;
  row-gap: 8px;
  margin: 0;
  font-size: 13px;
  line-height: 1.1;
}

.sa-cart-product__copy dl.variation dt {
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-weight: 950;
}

.sa-cart-product__copy dl.variation dd {
  margin: 0;
  color: #b6adb4;
  font-size: 17px;
  font-weight: 300;
}

.sa-cart-product__copy dl.variation p {
  margin: 0;
}

.sa-cart-price,
.sa-cart-subtotal {
  padding: 40px 30px;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 21px;
  font-weight: 950;
  line-height: 1;
}

.sa-cart-panel__footer {
  display: grid;
  min-height: 320px;
  grid-template-columns: minmax(0, 1fr) 344px;
  gap: 52px;
  padding: 30px;
  background: #fff;
}

.sa-cart-coupon {
  display: grid;
  align-content: start;
  gap: 11px;
  max-width: 400px;
}

.sa-cart-coupon input {
  width: 100%;
  height: 48px;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  padding: 0 12px !important;
  background: #fff;
  color: #6d7480;
  font-family: AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 17px;
}

.sa-cart-coupon .button,
.sa-cart-summary .checkout-button,
.sa-cart-empty-panel__actions a,
.sa-cart-promo-card__button {
  display: inline-flex !important;
  min-height: 44px !important;
  align-items: center;
  justify-content: center;
  border: 2px solid #000 !important;
  border-radius: 0 !important;
  padding: 8px 18px !important;
  color: #000 !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif !important;
  font-size: 19px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-align: center;
  text-decoration: none !important;
  text-transform: none !important;
}

.sa-cart-coupon .button,
.sa-cart-promo-card__button {
  background: #fff001 !important;
  box-shadow: -10px 10px 8px rgba(0, 0, 0, .34) !important;
}

.sa-cart-summary {
  display: grid;
  align-content: start;
  gap: 11px;
}

.sa-cart-summary__total {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin: 34px 0 0;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 31px;
  font-weight: 950;
  line-height: 1;
  text-transform: uppercase;
}

.sa-cart-summary__total strong {
  font: inherit;
}

.sa-cart-summary .wc-proceed-to-checkout {
  display: grid;
  gap: 14px;
  padding: 0 !important;
}

.sa-cart-summary .checkout-button {
  width: 100%;
  min-height: 50px !important;
  background: #83f592 !important;
  box-shadow: -8px 8px 8px rgba(0, 0, 0, .35) !important;
  font-size: 19px !important;
}

.sa-cart-summary .checkout-button::after {
  display: none !important;
}

.sa-cart-summary .wc-proceed-to-checkout::after {
  content: "OPPURE";
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  align-items: center;
  margin-top: 3px;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 15px;
  font-weight: 950;
  line-height: 1;
}

.sa-cart-summary .wc-proceed-to-checkout::after {
  border-top: 2px solid #000;
  padding-top: 0;
}

.sa-cart-summary [id*="paypal"],
.sa-cart-summary [class*="paypal"],
.sa-cart-summary [class*="ppcp"],
.sa-cart-summary [class*="wcpay"] {
  max-width: 100%;
}

.sa-cart-empty-panel {
  padding-bottom: 10px;
}

.sa-cart-empty-panel .sa-cart-panel__titlebar {
  justify-items: center;
  text-align: center;
}

.sa-cart-empty-panel__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 278px));
  justify-content: center;
  gap: 150px;
  padding: 40px 12px 50px;
}

.sa-cart-empty-panel__actions a {
  min-height: 54px !important;
  background: #83f592 !important;
  font-size: 25px !important;
}

.sa-cart-empty-panel__or {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: center;
  padding: 0 12px;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 15px;
  font-weight: 950;
}

.sa-cart-empty-panel__or::before,
.sa-cart-empty-panel__or::after {
  content: "";
  height: 1px;
  background: #000;
}

.sa-cart-empty-panel__promo {
  padding: 42px 12px 0;
}

.sa-cart-empty-panel__promo h2 {
  margin: 0 auto 30px;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: clamp(36px, 3.2vw, 50px);
  font-weight: 950;
  line-height: .98;
  letter-spacing: 0 !important;
  text-align: center;
  text-transform: uppercase;
}

.sa-cart-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.sa-cart-promo-card {
  display: grid;
  justify-items: center;
  gap: 18px;
  text-align: center;
}

.sa-cart-promo-card__image {
  display: grid;
  width: 230px;
  max-width: 100%;
  aspect-ratio: 1;
  place-items: center;
  border: 2px solid #000;
  background: #ecf2dc;
}

.sa-cart-promo-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.sa-cart-promo-card h3 {
  min-height: 46px;
  margin: 0;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 19px;
  font-weight: 950;
  line-height: 1.1;
}

.sa-cart-promo-card__price {
  min-height: 36px;
  color: #000;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 16px;
  font-weight: 950;
}

.sa-cart-promo-card__price del {
  color: #fff001;
  opacity: 1;
}

.sa-cart-promo-card__price ins {
  color: #000;
  text-decoration: none;
}

.sa-cart-promo-card__button {
  width: 202px;
  min-height: 39px !important;
  font-size: 17px !important;
  box-shadow: none !important;
}

@media (max-width: 980px) {
  .sa-cart-live__wrap,
  .sa-cart-empty-live {
    padding: 36px 0 56px;
  }

  .sa-cart-panel__titlebar {
    min-height: 62px;
    padding: 0 18px;
  }

  .sa-cart-panel__notes {
    min-height: 0;
    padding: 24px 18px;
  }

  .sa-cart-table__head {
    display: none;
  }

  .sa-cart-table__row,
  .sa-cart-panel__footer {
    grid-template-columns: 1fr;
  }

  .sa-cart-table__row > div {
    border-right: 0;
    border-bottom: 1px solid #000;
  }

  .sa-cart-product {
    grid-template-columns: 22px 96px minmax(0, 1fr);
    padding: 16px;
  }

  .sa-cart-product__image {
    width: 96px;
    height: 96px;
  }

  .sa-cart-product__copy {
    padding-top: 8px;
  }

  .sa-cart-price,
  .sa-cart-subtotal {
    display: flex;
    justify-content: space-between;
    padding: 16px;
  }

  .sa-cart-price::before {
    content: "Prezzo";
  }

  .sa-cart-subtotal::before {
    content: "Subtotale";
  }

  .sa-cart-panel__footer {
    gap: 24px;
    padding: 18px;
  }

  .sa-cart-coupon {
    max-width: none;
  }

  .sa-cart-summary__total {
    justify-content: flex-start;
    margin-top: 0;
    font-size: 28px;
  }

  .sa-cart-empty-panel__actions {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 28px 18px 36px;
  }

  .sa-cart-promo-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sa-cart-live__wrap,
  .sa-cart-empty-live,
  .sa-cart-live__notices {
    width: min(100% - 20px, 910px);
  }

  .sa-cart-panel,
  .sa-cart-empty-panel {
    box-shadow: -8px 10px 8px rgba(0, 0, 0, .35);
  }

  .sa-cart-panel__titlebar h1 {
    font-size: 32px;
  }

  .sa-cart-product {
    grid-template-columns: 18px 76px minmax(0, 1fr);
    gap: 10px;
  }

  .sa-cart-product__image {
    width: 76px;
    height: 76px;
  }

  .sa-cart-product__name {
    font-size: 18px;
  }

  .sa-cart-product__copy dl.variation {
    grid-template-columns: 1fr;
    row-gap: 3px;
  }
}

/* Cart final parity corrections. */
.sa-cart-live .sa-cart-panel,
.sa-cart-live .sa-cart-empty-panel {
  border-radius: 0 !important;
  padding: 0 !important;
}

/* Stripe Express Checkout: let Stripe decide eligibility and visibility. */
.sa-cart-live #wc-stripe-express-checkout-element,
.sa-cart-live #wc-stripe-express-checkout-element-link,
.sa-checkout-live #wc-stripe-express-checkout-element,
.sa-checkout-live #wc-stripe-express-checkout-element-link {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  gap: 10px;
  margin: 12px 0 16px !important;
  border: 1px solid rgb(16 41 29 / 18%);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.sa-cart-live #wc-stripe-express-checkout-element > div,
.sa-cart-live #wc-stripe-express-checkout-element-link > div,
.sa-checkout-live #wc-stripe-express-checkout-element > div,
.sa-checkout-live #wc-stripe-express-checkout-element-link > div {
  flex: 1 1 260px;
  min-width: 0;
}

.sa-cart-live #wc-stripe-express-checkout-element iframe,
.sa-cart-live #wc-stripe-express-checkout-element-link iframe,
.sa-checkout-live #wc-stripe-express-checkout-element iframe,
.sa-checkout-live #wc-stripe-express-checkout-element-link iframe {
  width: 100% !important;
  height: 44px !important;
  min-height: 44px;
  border: 0 !important;
  border-radius: 6px;
}

@media (max-width: 640px) {
  .sa-cart-live #wc-stripe-express-checkout-element,
  .sa-cart-live #wc-stripe-express-checkout-element-link,
  .sa-checkout-live #wc-stripe-express-checkout-element,
  .sa-checkout-live #wc-stripe-express-checkout-element-link {
    gap: 8px;
    padding: 8px;
  }

  .sa-cart-live #wc-stripe-express-checkout-element > div,
  .sa-cart-live #wc-stripe-express-checkout-element-link > div,
  .sa-checkout-live #wc-stripe-express-checkout-element > div,
  .sa-checkout-live #wc-stripe-express-checkout-element-link > div {
    flex-basis: 100%;
    width: 100%;
  }
}

.sa-cart-live .wc-ppcp-cart-payments__container {
  margin-top: 12px !important;
}

.sa-cart-live .wc-ppcp-cart-payment__methods {
  display: grid !important;
  gap: 10px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.sa-cart-live .wc-ppcp-cart-payment-method.or,
.sa-cart-live .wc-ppcp-cart-or {
  margin: 0 !important;
  color: #000 !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  line-height: 1 !important;
  text-align: center !important;
}

/* ==================================================================
   CRO carrello e checkout: upgrade quantità, cross-sell, order bump
   ================================================================== */

/* Upgrade quantità nel carrello */

.sa-cart-upsell {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 14px;
  background: #fffbe0;
  border: 1px dashed #10291d;
  border-radius: 12px;
  color: #10291d;
  font-size: 13px;
  line-height: 1.35;
  text-decoration: none;
  transition: background .15s ease;
}

.sa-cart-upsell:hover,
.sa-cart-upsell:focus-visible {
  background: #fff001;
}

.sa-cart-upsell__badge {
  flex-shrink: 0;
  padding: 4px 9px;
  background: #10291d;
  border-radius: 999px;
  color: #fff001;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 12px;
  font-weight: 950;
}

.sa-cart-upsell__text {
  flex: 1;
  min-width: 180px;
}

.sa-cart-upsell__cta {
  flex-shrink: 0;
  padding: 7px 16px;
  background: #2b9348;
  border-radius: 999px;
  color: #fff;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.sa-cart-cross {
  margin: 8px 0 0;
  color: rgb(16 41 29 / 70%);
  font-size: 13px;
}

.sa-cart-cross a {
  color: #2b9348 !important;
  font-weight: 700;
  text-decoration: underline !important;
  text-underline-offset: 2px;
}

/* "Completa il tuo ordine" (carrello) */

.sa-cart-bumps {
  margin: 22px 0 6px;
  padding: 18px 20px;
  background: #faf6ec;
  border: 1px solid rgb(16 41 29 / 14%);
  border-radius: 16px;
}

.sa-cart-bumps h2 {
  margin: 0 0 14px;
  color: #10291d;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 16px;
  font-weight: 950;
  text-transform: uppercase;
}

.sa-cart-bumps__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
}

.sa-cart-bump {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid rgb(16 41 29 / 14%);
  border-radius: 12px;
}

.sa-cart-bump__image img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: 8px;
}

.sa-cart-bump__body {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 2px;
}

.sa-cart-bump__name {
  color: #10291d !important;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.25;
  text-decoration: none !important;
}

.sa-cart-bump__price {
  color: #2b9348;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 14px;
  font-weight: 950;
}

.sa-cart-bump__add {
  flex-shrink: 0;
  padding: 9px 18px;
  background: #fff001;
  border: 1px solid #10291d;
  border-radius: 999px;
  color: #10291d !important;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none !important;
  text-transform: uppercase;
  transition: transform .15s ease;
}

.sa-cart-bump__add:hover,
.sa-cart-bump__add:focus-visible {
  transform: translateY(-2px);
}

/* ==================================================================
   Cart design system - authoritative layer (2026-07)
   ================================================================== */

.sa-cart-live {
  --sa-cart-green: #10291d;
  --sa-cart-accent: #fff001;
  --sa-cart-cream: #faf6ec;
  --sa-cart-border: rgb(16 41 29 / 18%);
  min-height: 56vh;
  padding: 54px 20px 72px;
  background: var(--sa-cart-cream) !important;
  color: var(--sa-cart-green);
  font-family: AvenirNextLTPro, Avenir, Arial, sans-serif;
}

.sa-cart-live::before,
.sa-cart-live::after {
  display: none !important;
}

.sa-cart-live__notices,
.sa-cart-live__wrap,
.sa-cart-empty-live {
  position: relative;
  z-index: 1;
  width: min(100%, 1180px) !important;
  margin-inline: auto;
}

.sa-cart-live__wrap,
.sa-cart-empty-live {
  padding: 0 !important;
}

.sa-cart-live .sa-cart-panel,
.sa-cart-live .sa-cart-empty-panel {
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.sa-cart.has-items .sa-cart-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
  align-items: start;
}

.sa-cart.has-items .sa-cart-panel > .sa-checkout-steps {
  grid-column: 1 / -1;
  margin: 0;
}

.sa-cart-panel__titlebar {
  grid-column: 1 / -1;
  display: flex;
  min-height: 0;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  border: 0;
  padding: 0 0 24px;
  background: transparent !important;
}

.sa-cart-panel__eyebrow,
.sa-cart-empty-panel__eyebrow {
  margin: 0 0 6px;
  color: #2b9348;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.sa-cart-panel__titlebar h1 {
  margin: 0;
  color: var(--sa-cart-green);
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 42px;
  font-weight: 950;
  line-height: 1.05;
  letter-spacing: 0 !important;
  text-transform: uppercase;
}

.sa-cart-panel__continue {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 8px;
  border-bottom: 2px solid var(--sa-cart-green);
  color: var(--sa-cart-green) !important;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none !important;
}

.sa-cart-panel__notes {
  grid-column: 1 / -1;
  display: grid;
  min-height: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border: 0;
  padding: 0;
  background: transparent;
}

.sa-cart-panel__notes p {
  position: relative;
  margin: 0;
  border: 1px solid var(--sa-cart-border);
  border-radius: 6px;
  padding: 12px 14px 12px 42px;
  background: #fff;
  color: var(--sa-cart-green);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.sa-cart-panel__notes p::before {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 14px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: var(--sa-cart-accent);
  color: var(--sa-cart-green);
  font-family: Arial, sans-serif;
  font-size: 12px;
  font-weight: 900;
  transform: translateY(-50%);
}

.sa-cart-table {
  grid-column: 1;
  overflow: hidden;
  border: 1px solid var(--sa-cart-border);
  border-radius: 8px;
  background: #fff;
}

.sa-cart-table__head,
.sa-cart-table__row {
  grid-template-columns: minmax(0, 1fr) 150px;
}

.sa-cart-table__head {
  border: 0;
  background: var(--sa-cart-green);
  color: #fff;
}

.sa-cart-table__head > div {
  border: 0 !important;
  padding: 14px 18px;
  font-size: 12px;
  text-transform: uppercase;
}

.sa-cart-table__row {
  min-height: 0;
  border: 0;
  border-bottom: 1px solid var(--sa-cart-border);
}

.sa-cart-table__row:last-child {
  border-bottom: 0;
}

.sa-cart-table__row > div {
  min-width: 0;
  border: 0 !important;
}

.sa-cart-product {
  grid-template-columns: 32px 96px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 18px;
}

.sa-cart-product__remove {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--sa-cart-border);
  border-radius: 50%;
  color: var(--sa-cart-green) !important;
  font-size: 21px;
}

.sa-cart-product__remove:hover,
.sa-cart-product__remove:focus-visible {
  border-color: var(--sa-cart-green);
  background: var(--sa-cart-accent);
}

.sa-cart-product__image {
  width: 96px;
  height: 96px;
  border: 1px solid var(--sa-cart-border);
  border-radius: 6px;
  background: var(--sa-cart-cream);
}

.sa-cart-product__copy {
  padding: 0;
}

.sa-cart-product__name {
  margin: 0 0 10px;
  color: var(--sa-cart-green) !important;
  font-size: 17px;
  line-height: 1.2;
}

.sa-cart-product__copy dl.variation {
  column-gap: 10px;
  row-gap: 4px;
  color: rgb(16 41 29 / 72%);
  font-size: 12px;
  line-height: 1.35;
}

.sa-cart-product__copy dl.variation dd {
  color: rgb(16 41 29 / 72%);
  font-size: 12px;
}

.sa-cart-price,
.sa-cart-subtotal {
  align-self: stretch;
  display: flex;
  align-items: center;
  padding: 18px;
  color: var(--sa-cart-green);
  font-size: 16px;
  line-height: 1.2;
}

.sa-cart-subtotal {
  background: rgb(250 246 236 / 70%);
}

.sa-cart-panel__footer {
  grid-column: 2;
  grid-row: 4 / span 3;
  position: sticky;
  top: 118px;
  display: flex;
  min-height: 0;
  flex-direction: column;
  gap: 22px;
  border-radius: 8px;
  padding: 24px;
  background: var(--sa-cart-green);
  color: #fff;
}

.sa-cart-summary {
  order: 1;
  gap: 0;
}

.sa-cart-summary h2,
.sa-cart-coupon h2 {
  margin: 0 0 18px;
  color: inherit;
  font-family: "Avenir bold", AvenirNextLTPro, Avenir, Arial, sans-serif;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.sa-cart-summary__line,
.sa-cart-summary__total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  border-bottom: 1px solid rgb(255 255 255 / 16%);
  padding: 11px 0;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  text-transform: none;
}

.sa-cart-summary__line strong {
  max-width: 58%;
  color: #fff;
  font-size: 14px;
  text-align: right;
}

.sa-cart-summary__line.is-discount strong {
  color: var(--sa-cart-accent);
}

.sa-cart-summary__total {
  margin: 8px 0 14px;
  border: 0;
  padding: 12px 0;
  font-size: 18px;
  text-transform: uppercase;
}

.sa-cart-summary__total strong {
  color: var(--sa-cart-accent);
  font-size: 28px;
}

.sa-cart-summary .wc-proceed-to-checkout {
  gap: 10px;
}

.sa-cart-summary .checkout-button {
  min-height: 52px !important;
  border: 2px solid var(--sa-cart-accent) !important;
  border-radius: 4px !important;
  background: var(--sa-cart-accent) !important;
  box-shadow: none !important;
  color: var(--sa-cart-green) !important;
  font-size: 16px !important;
  text-transform: uppercase !important;
}

.sa-cart-summary .checkout-button:hover,
.sa-cart-summary .checkout-button:focus-visible {
  background: #fff !important;
}

.sa-cart-summary .wc-proceed-to-checkout::after {
  content: none !important;
  display: none !important;
}

.sa-cart-summary__secure {
  margin: 12px 0 0;
  color: rgb(255 255 255 / 72%);
  font-size: 12px;
  line-height: 1.4;
  text-align: center;
}

.sa-cart-coupon {
  display: grid;
  width: 100%;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 0 0 16px;
  border: 0;
  padding: 0;
}

.sa-cart-coupon input {
  min-width: 0;
  width: 100%;
  height: 44px;
  border: 1px solid rgb(255 255 255 / 45%) !important;
  border-radius: 4px !important;
  background: #fff;
  color: var(--sa-cart-green);
  font-size: 14px;
}

.sa-cart-coupon .button {
  min-width: 88px;
  min-height: 44px !important;
  border: 1px solid var(--sa-cart-accent) !important;
  border-radius: 4px !important;
  padding-inline: 14px !important;
  background: var(--sa-cart-accent) !important;
  box-shadow: none !important;
  color: var(--sa-cart-green) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
}

.sa-cart-coupon .button:hover,
.sa-cart-coupon .button:focus-visible {
  background: #fff !important;
  color: var(--sa-cart-green) !important;
}

.sa-cart-upsell {
  border-radius: 6px;
}

.sa-cart-upsell__cta,
.sa-cart-upsell__badge {
  border-radius: 4px;
}

.sa-cart-bumps {
  grid-column: 1;
  margin: 0;
  border: 1px solid var(--sa-cart-border);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}

.sa-cart-bump,
.sa-cart-bump__image img,
.sa-cart-bump__add {
  border-radius: 6px;
}

/* Empty cart */
.sa-cart-empty-panel .sa-cart-panel__titlebar {
  display: block;
  border-radius: 8px;
  padding: 32px;
  background: var(--sa-cart-green) !important;
  text-align: left;
}

.sa-cart-empty-panel .sa-cart-panel__eyebrow {
  color: var(--sa-cart-accent);
}

.sa-cart-empty-panel .sa-cart-panel__titlebar h1 {
  color: #fff;
  font-size: 42px;
}

.sa-cart-empty-panel__intro {
  max-width: 600px;
  margin: 12px 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 16px;
  line-height: 1.55;
}

.sa-cart-empty-panel__actions {
  grid-template-columns: repeat(2, minmax(0, 280px));
  gap: 14px;
  justify-content: start;
  padding: 24px 0;
}

.sa-cart-empty-panel__actions a,
.sa-cart-promo-card__button {
  min-height: 48px !important;
  border: 2px solid var(--sa-cart-green) !important;
  border-radius: 4px !important;
  background: var(--sa-cart-accent) !important;
  box-shadow: none !important;
  color: var(--sa-cart-green) !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
}

.sa-cart-empty-panel__actions a + a {
  background: #fff !important;
}

.sa-cart-empty-panel__actions a:hover,
.sa-cart-empty-panel__actions a:focus-visible,
.sa-cart-promo-card__button:hover,
.sa-cart-promo-card__button:focus-visible {
  background: var(--sa-cart-green) !important;
  color: #fff !important;
}

.sa-cart-empty-panel__or {
  gap: 16px;
  padding: 0;
  color: rgb(16 41 29 / 58%);
  font-size: 11px;
}

.sa-cart-empty-panel__or::before,
.sa-cart-empty-panel__or::after {
  background: var(--sa-cart-border);
}

.sa-cart-empty-panel__promo {
  margin-top: 26px;
  border: 1px solid var(--sa-cart-border);
  border-radius: 8px;
  padding: 28px;
  background: #fff;
}

.sa-cart-empty-panel__promo .sa-cart-empty-panel__eyebrow {
  text-align: center;
}

.sa-cart-empty-panel__promo h2 {
  margin: 0 auto 24px;
  color: var(--sa-cart-green);
  font-size: 30px;
  line-height: 1.1;
}

.sa-cart-promo-grid {
  gap: 18px;
}

.sa-cart-promo-card {
  align-content: start;
  min-width: 0;
  max-width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--sa-cart-border);
  border-radius: 8px;
  padding: 14px;
  background: var(--sa-cart-cream);
}

.sa-cart-promo-card > * {
  min-width: 0;
  max-width: 100%;
}

.sa-cart-promo-card__image {
  width: 100%;
  height: auto !important;
  aspect-ratio: 4 / 3;
  align-self: start;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #fff;
}

.sa-cart-promo-card__image img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: contain;
}

.sa-cart-promo-card h3 {
  min-height: 42px;
  color: var(--sa-cart-green);
  font-size: 16px;
}

.sa-cart-promo-card__price {
  min-height: 28px;
  color: var(--sa-cart-green);
  font-size: 15px;
}

.sa-cart-promo-card__button {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin-top: auto;
}

.sa-cart-live__notices {
  margin-bottom: 24px;
}

.sa-cart-live .woocommerce-message,
.sa-cart-live .woocommerce-info,
.sa-cart-live .woocommerce-error {
  min-height: 0;
  margin: 0 0 10px !important;
  border: 1px solid var(--sa-cart-border) !important;
  border-left: 4px solid #2b9348 !important;
  border-radius: 6px;
  padding: 15px 18px 15px 48px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--sa-cart-green) !important;
  font-size: 14px;
  line-height: 1.45;
}

.sa-cart-live .woocommerce-message::before,
.sa-cart-live .woocommerce-info::before {
  top: 16px;
  left: 18px;
  color: #2b9348;
}

.sa-cart-live .woocommerce-message .button,
.sa-cart-live .woocommerce-info .button {
  min-height: 38px !important;
  border: 1px solid var(--sa-cart-green) !important;
  border-radius: 4px !important;
  padding: 8px 14px !important;
  background: var(--sa-cart-accent) !important;
  box-shadow: none !important;
  color: var(--sa-cart-green) !important;
  font-size: 12px !important;
  text-transform: uppercase !important;
}

@media (max-width: 980px) {
  .sa-cart-live {
    padding: 36px 18px 56px;
  }

  .sa-cart.has-items .sa-cart-panel {
    grid-template-columns: 1fr;
  }

  .sa-cart-panel__titlebar,
  .sa-cart-panel__notes,
  .sa-cart-table,
  .sa-cart-bumps,
  .sa-cart-panel__footer {
    grid-column: 1;
  }

  .sa-cart-panel__footer {
    grid-row: auto;
    position: static;
  }

  .sa-cart-promo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .sa-cart-live {
    padding: 28px 12px 44px;
  }

  .sa-cart-live .woocommerce-message,
  .sa-cart-live .woocommerce-info,
  .sa-cart-live .woocommerce-error {
    display: grid;
    gap: 12px;
    padding: 14px 14px 14px 44px !important;
  }

  .sa-cart-live .woocommerce-message .button,
  .sa-cart-live .woocommerce-info .button {
    float: none;
    width: 100%;
    order: 2;
  }

  .sa-cart-panel__titlebar {
    display: block;
    padding-bottom: 18px;
  }

  .sa-cart-panel__titlebar h1,
  .sa-cart-empty-panel .sa-cart-panel__titlebar h1 {
    font-size: 32px;
  }

  .sa-cart-panel__continue {
    margin-top: 12px;
  }

  .sa-cart-panel__notes {
    grid-template-columns: 1fr;
  }

  .sa-cart-table__head {
    display: none;
  }

  .sa-cart-table__row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .sa-cart-product {
    grid-column: 1 / -1;
    grid-template-columns: 30px 76px minmax(0, 1fr);
    gap: 10px;
    padding: 14px;
  }

  .sa-cart-product__remove {
    width: 30px;
    height: 30px;
  }

  .sa-cart-product__image {
    width: 76px;
    height: 76px;
  }

  .sa-cart-product__name {
    font-size: 15px;
  }

  .sa-cart-price,
  .sa-cart-subtotal {
    display: grid;
    gap: 5px;
    padding: 13px 14px;
    font-size: 14px;
  }

  .sa-cart-price::before,
  .sa-cart-subtotal::before {
    color: rgb(16 41 29 / 60%);
    font-size: 10px;
    text-transform: uppercase;
  }

  .sa-cart-panel__footer,
  .sa-cart-empty-panel .sa-cart-panel__titlebar,
  .sa-cart-empty-panel__promo {
    padding: 20px;
  }

  .sa-cart-empty-panel__actions,
  .sa-cart-promo-grid {
    grid-template-columns: 1fr;
  }

  .sa-cart-empty-panel__actions {
    gap: 10px;
  }

  .sa-cart-empty-panel__promo h2 {
    font-size: 24px;
  }

  .sa-cart-promo-card {
    grid-template-columns: 92px minmax(0, 1fr);
    column-gap: 14px;
    justify-items: start;
    text-align: left;
  }

  .sa-cart-promo-card__image {
    grid-row: 1 / span 3;
    width: 92px;
    aspect-ratio: 1;
  }

  .sa-cart-promo-card h3,
  .sa-cart-promo-card__price {
    min-height: 0;
    text-align: left;
  }

  .sa-cart-promo-card__button {
    grid-column: 1 / -1;
  }
}

/* Cart-only material trial upsell. */
.sa-cart-trials {
  grid-column: 1 / -1;
  width: 100%;
  box-sizing: border-box;
  margin-top: 16px;
  border: 1px solid rgb(16 41 29 / 18%);
  border-radius: 8px;
  padding: 16px;
  background: #f5f9ee;
}

.sa-cart-trials__eyebrow {
  margin: 0 0 4px;
  color: #2b9348;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.sa-cart-trials h3 {
  margin: 0;
  color: #10291d;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 15px;
  font-weight: 950;
  line-height: 1.25;
}

.sa-cart-trials h2 {
  margin: 0;
  color: #10291d;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 20px;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
}

.sa-cart-trials--standalone {
  grid-column: 1;
  margin-top: 0;
  padding: 18px;
}

.sa-cart-trials--standalone .sa-cart-trials__grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sa-cart-trial-group + .sa-cart-trial-group {
  margin-top: 16px;
}

.sa-cart-trial-group > h3 {
  margin-bottom: 8px;
}

.sa-cart-trials__intro {
  margin: 5px 0 12px;
  color: rgb(16 41 29 / 72%);
  font-size: 12px;
  line-height: 1.4;
}

.sa-cart-trials__grid {
  display: grid;
  gap: 8px;
}

.sa-cart-trial {
  display: grid;
  min-width: 0;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border: 1px solid rgb(16 41 29 / 14%);
  border-radius: 6px;
  padding: 9px;
  background: #fff;
}

.sa-cart-trial__image,
.sa-cart-trial__image img {
  display: block;
  width: 54px;
  height: 54px;
}

.sa-cart-trial__image {
  overflow: hidden;
  border-radius: 4px;
  background: #faf6ec;
}

.sa-cart-trial__image img {
  object-fit: contain;
}

.sa-cart-trial__copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.sa-cart-trial__copy > strong {
  overflow: hidden;
  color: #10291d;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 12px;
  font-weight: 950;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sa-cart-trial__copy small {
  color: rgb(16 41 29 / 65%);
  font-size: 10px;
}

.sa-cart-trial__price {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  align-items: center;
  color: #10291d;
  font-size: 11px;
}

.sa-cart-trial__price del {
  color: rgb(16 41 29 / 52%);
}

.sa-cart-trial__price ins {
  color: #2b9348;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-weight: 950;
  text-decoration: none;
}

.sa-cart-trial__price b {
  border-radius: 4px;
  padding: 2px 5px;
  background: #10291d;
  color: #fff001;
  font-size: 9px;
}

.sa-cart-trial__add {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid #10291d;
  border-radius: 4px;
  padding: 7px 10px;
  background: #fff001;
  color: #10291d !important;
  font-family: "Avenir bold", AvenirNextLTPro, Arial, sans-serif;
  font-size: 10px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  text-decoration: none !important;
  text-transform: uppercase;
}

.sa-cart-trial__add:hover,
.sa-cart-trial__add:focus-visible {
  background: #10291d;
  color: #fff !important;
}

.sa-cart-trials__note {
  margin: 10px 0 0;
  color: rgb(16 41 29 / 58%);
  font-size: 10px;
  line-height: 1.35;
}

@media (max-width: 680px) {
  .sa-cart-trials--standalone .sa-cart-trials__grid {
    grid-template-columns: 1fr;
  }

  .sa-cart-trial {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .sa-cart-trial__image,
  .sa-cart-trial__image img {
    width: 48px;
    height: 48px;
  }

  .sa-cart-trial__add {
    grid-column: 1 / -1;
    width: 100%;
  }
}

/* Simplified checkout: one clear task per step, with the same visual language as the cart. */
.sa-checkout-live {
  --sa-checkout-ink: #10291d;
  --sa-checkout-green: #2b9348;
  --sa-checkout-yellow: #fff001;
  --sa-checkout-cream: #faf6ec;
  --sa-checkout-line: rgb(16 41 29 / 18%);
  padding: 0 0 72px;
  background: var(--sa-checkout-cream) !important;
  color: var(--sa-checkout-ink) !important;
}

.sa-checkout-live .sa-container {
  width: min(calc(100% - 40px), 1180px) !important;
  max-width: 1180px !important;
}

.sa-checkout-live__head {
  padding: 52px 0 24px;
}

.sa-checkout-live__eyebrow {
  margin-bottom: 6px;
  color: var(--sa-checkout-green);
  font-size: 13px;
  font-weight: 950;
}

.sa-checkout-live h1 {
  max-width: none;
  color: var(--sa-checkout-ink);
  font-size: clamp(40px, 4.5vw, 64px);
  line-height: 1;
}

.sa-checkout-live h2,
.sa-checkout-live h3,
.sa-checkout-live #order_review_heading {
  color: var(--sa-checkout-ink);
}

.sa-checkout-live .sa-checkout-steps {
  margin: 0 0 28px;
}

.sa-checkout-live__runtime {
  padding-bottom: 0;
}

.sa-checkout-live .woocommerce-form-coupon-toggle,
.sa-checkout-live > .checkout_coupon,
.sa-checkout-live .woocommerce > .checkout_coupon {
  display: none !important;
}

.sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info {
  margin: 0 0 22px !important;
  border: 1px solid var(--sa-checkout-line) !important;
  border-radius: 7px !important;
  padding: 16px 18px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--sa-checkout-ink) !important;
  font-size: 14px;
}

.sa-checkout-live .woocommerce-form-login {
  margin: 0 0 22px !important;
  border: 1px solid var(--sa-checkout-line) !important;
  border-radius: 8px !important;
  padding: 22px !important;
  box-shadow: none !important;
}

.sa-checkout-live form.checkout {
  display: block !important;
}

.sa-checkout-live.is-details-step #order_review_heading,
.sa-checkout-live.is-details-step .woocommerce-checkout-review-order {
  display: none !important;
}

.sa-checkout-live.is-details-step #customer_details {
  display: grid;
  width: 100%;
  margin-inline: auto;
  gap: 18px;
}

.sa-checkout-live #customer_details .col-1,
.sa-checkout-live #customer_details .col-2 {
  border: 1px solid var(--sa-checkout-line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  box-shadow: none;
}

.sa-checkout-live #customer_details h2,
.sa-checkout-live #customer_details h3 {
  margin-bottom: 22px;
  color: var(--sa-checkout-ink);
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.1;
}

.sa-checkout-live .woocommerce-billing-fields__field-wrapper,
.sa-checkout-live .woocommerce-shipping-fields__field-wrapper,
.sa-checkout-live .woocommerce-additional-fields__field-wrapper {
  column-gap: 16px;
}

.sa-checkout-live .woocommerce-billing-fields__field-wrapper.sa-checkout-billing-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: 18px;
  row-gap: 0;
}

.sa-checkout-live .sa-checkout-billing-grid > * {
  order: 50;
}

.sa-checkout-live .sa-checkout-field-section {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 9px 0 16px;
  border-bottom: 1px solid var(--sa-checkout-line);
  padding: 0 0 12px;
}

.sa-checkout-live .sa-checkout-field-section span {
  display: inline-flex;
  flex: 0 0 34px;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 2px solid var(--sa-checkout-ink);
  border-radius: 7px;
  background: var(--sa-checkout-yellow);
  color: var(--sa-checkout-ink);
  font-size: 14px;
  font-weight: 950;
}

.sa-checkout-live .sa-checkout-field-section h4 {
  margin: 0;
  color: var(--sa-checkout-ink);
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 950;
  line-height: 1.1;
  text-transform: uppercase;
}

.sa-checkout-live .sa-checkout-field-section.is-fiscal {
  order: 10;
  margin-top: 0;
}

.sa-checkout-live .sa-checkout-field-section.is-contact {
  order: 20;
  margin-top: 13px;
}

.sa-checkout-live .sa-checkout-field-section.is-address {
  order: 30;
  margin-top: 13px;
}

.sa-checkout-live #fattpro_customer_type_field,
.sa-checkout-live #fattpro_invoice_choice_field {
  grid-column: span 6;
}

.sa-checkout-live #fattpro_customer_type_field {
  order: 11;
}

.sa-checkout-live #fattpro_invoice_choice_field {
  order: 12;
}

.sa-checkout-live #billing_company_field {
  order: 13;
  grid-column: 1 / -1;
}

.sa-checkout-live #fattpro_partita_iva_field,
.sa-checkout-live #fattpro_codice_fiscale_field,
.sa-checkout-live #fattpro_sdi_field,
.sa-checkout-live #fattpro_pec_field {
  order: 14;
  grid-column: span 6;
}

.sa-checkout-live #billing_first_name_field,
.sa-checkout-live #billing_last_name_field {
  order: 21;
  grid-column: span 6;
}

.sa-checkout-live #billing_email_field {
  order: 22;
  grid-column: span 7;
}

.sa-checkout-live #billing_phone_field {
  order: 22;
  grid-column: span 5;
}

.sa-checkout-live #billing_country_field {
  order: 31;
  grid-column: span 4;
}

.sa-checkout-live #billing_address_1_field {
  order: 31;
  grid-column: span 8;
}

.sa-checkout-live #billing_address_2_field {
  order: 32;
  grid-column: 1 / -1;
}

.sa-checkout-live #billing_postcode_field {
  order: 33;
  grid-column: span 3;
}

.sa-checkout-live #billing_city_field {
  order: 33;
  grid-column: span 5;
}

.sa-checkout-live #billing_state_field {
  order: 33;
  grid-column: span 4;
}

.sa-checkout-live .sa-checkout-billing-grid .create-account {
  grid-column: 1 / -1;
}

.sa-checkout-live .form-row {
  margin-bottom: 15px !important;
}

.sa-checkout-live label {
  margin-bottom: 6px;
  color: var(--sa-checkout-ink);
  font-size: 13px;
}

.sa-checkout-live input.input-text,
.sa-checkout-live input[type="text"],
.sa-checkout-live input[type="tel"],
.sa-checkout-live input[type="email"],
.sa-checkout-live input[type="password"],
.sa-checkout-live select,
.sa-checkout-live textarea,
.sa-checkout-live .select2-container .select2-selection--single {
  min-height: 50px;
  border: 1px solid rgb(16 41 29 / 45%) !important;
  border-radius: 6px !important;
  color: var(--sa-checkout-ink) !important;
  font-size: 15px;
}

.sa-checkout-live .select2-container .select2-selection--single {
  height: 50px;
}

.sa-checkout-live .select2-container .select2-selection__rendered {
  line-height: 48px;
}

.sa-checkout-live .select2-container .select2-selection__arrow {
  height: 48px;
}

.sa-checkout-live input:focus,
.sa-checkout-live select:focus,
.sa-checkout-live textarea:focus,
.sa-checkout-live .select2-container--focus .select2-selection--single {
  border-color: var(--sa-checkout-green) !important;
  outline: 3px solid rgb(43 147 72 / 14%) !important;
}

.sa-checkout-live .sa-checkout-document-intro {
  display: none !important;
}

.sa-checkout-live .sa-checkout-document-intro h3 {
  margin: 4px 0 5px !important;
  font-size: 20px !important;
}

.sa-checkout-live .sa-checkout-document-field {
  border: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.sa-checkout-live .sa-checkout-step-actions {
  border: 0;
  border-radius: 0;
  padding: 4px 0 0;
  background: transparent;
  box-shadow: none;
}

.sa-checkout-live .sa-checkout-step-actions__buttons {
  grid-template-columns: minmax(180px, .45fr) minmax(280px, 1fr);
}

.sa-checkout-live .sa-checkout-primary-button,
.sa-checkout-live .sa-checkout-secondary-button,
.sa-checkout-live #place_order {
  min-height: 56px;
  border: 2px solid var(--sa-checkout-ink) !important;
  border-radius: 7px !important;
  box-shadow: none !important;
  font-size: 15px !important;
}

.sa-checkout-live .sa-checkout-primary-button,
.sa-checkout-live #place_order {
  background: var(--sa-checkout-yellow) !important;
  color: var(--sa-checkout-ink) !important;
}

.sa-checkout-live .sa-checkout-secondary-button {
  background: #fff !important;
  color: var(--sa-checkout-ink) !important;
}

.sa-checkout-live.is-payment-step #order_review_heading {
  display: none !important;
}

.sa-checkout-live.is-payment-step .woocommerce-checkout-review-order {
  position: static;
  display: block;
  width: min(100%, 820px);
  margin: 0 auto;
  border: 1px solid var(--sa-checkout-line);
  border-radius: 8px;
  padding: clamp(22px, 3vw, 32px);
  background: #fff;
  box-shadow: none;
}

.sa-checkout-live.is-payment-step table.shop_table {
  margin: 0 0 22px !important;
  border: 0 !important;
  border-radius: 7px;
  background: var(--sa-checkout-cream);
}

.sa-checkout-live.is-payment-step table.shop_table thead,
.sa-checkout-live.is-payment-step table.shop_table tbody,
.sa-checkout-live.is-payment-step table.shop_table tfoot .cart-subtotal {
  display: none !important;
}

.sa-checkout-live.is-payment-step table.shop_table tfoot th,
.sa-checkout-live.is-payment-step table.shop_table tfoot td {
  border-bottom: 1px solid var(--sa-checkout-line) !important;
  padding: 13px 16px !important;
  color: var(--sa-checkout-ink);
  font-size: 14px;
}

.sa-checkout-live.is-payment-step table.shop_table tfoot tr:last-child th,
.sa-checkout-live.is-payment-step table.shop_table tfoot tr:last-child td {
  border-bottom: 0 !important;
  font-size: 18px;
}

.sa-checkout-live #payment,
.sa-checkout-live .woocommerce-checkout-payment {
  border: 0 !important;
  background: transparent !important;
}

.sa-checkout-live #payment ul.payment_methods {
  display: grid;
  gap: 10px;
  border: 0 !important;
  padding: 0 !important;
}

.sa-checkout-live #payment ul.payment_methods li {
  margin: 0;
  border: 1px solid var(--sa-checkout-line);
  border-radius: 7px;
  padding: 14px 16px;
  background: #fff;
  color: var(--sa-checkout-ink);
}

.sa-checkout-live #payment div.payment_box {
  margin-bottom: 0;
  border: 0;
  border-radius: 6px;
  background: var(--sa-checkout-cream);
}

.sa-checkout-live #payment .place-order {
  padding-top: 14px !important;
}

.sa-checkout-live .woocommerce-privacy-policy-text {
  max-height: none;
  border: 0;
  border-radius: 6px;
  padding: 13px 15px;
  background: var(--sa-checkout-cream);
  color: rgb(16 41 29 / 72%);
}

.sa-checkout-live .woocommerce-terms-and-conditions-wrapper,
.sa-checkout-live .woocommerce-terms-and-conditions-wrapper a {
  color: var(--sa-checkout-ink);
}

.sa-checkout-live .sa-checkout-back-details {
  margin-top: 0;
}

@media (max-width: 700px) {
  .sa-checkout-live {
    padding-bottom: 48px;
  }

  .sa-checkout-live .sa-container {
    width: min(calc(100% - 24px), 1180px) !important;
  }

  .sa-checkout-live__head {
    padding: 34px 0 20px;
  }

  .sa-checkout-live h1 {
    font-size: clamp(36px, 12vw, 50px);
  }

  .sa-checkout-live #customer_details .col-1,
  .sa-checkout-live #customer_details .col-2,
  .sa-checkout-live.is-payment-step .woocommerce-checkout-review-order {
    border-radius: 7px;
    padding: 18px 15px;
    box-shadow: none;
  }

  .sa-checkout-live .woocommerce-billing-fields__field-wrapper.sa-checkout-billing-grid {
    grid-template-columns: 1fr;
  }

  .sa-checkout-live .sa-checkout-billing-grid > *,
  .sa-checkout-live #fattpro_customer_type_field,
  .sa-checkout-live #fattpro_invoice_choice_field,
  .sa-checkout-live #billing_company_field,
  .sa-checkout-live #fattpro_partita_iva_field,
  .sa-checkout-live #fattpro_codice_fiscale_field,
  .sa-checkout-live #fattpro_sdi_field,
  .sa-checkout-live #fattpro_pec_field,
  .sa-checkout-live #billing_first_name_field,
  .sa-checkout-live #billing_last_name_field,
  .sa-checkout-live #billing_email_field,
  .sa-checkout-live #billing_phone_field,
  .sa-checkout-live #billing_country_field,
  .sa-checkout-live #billing_address_1_field,
  .sa-checkout-live #billing_address_2_field,
  .sa-checkout-live #billing_postcode_field,
  .sa-checkout-live #billing_city_field,
  .sa-checkout-live #billing_state_field {
    grid-column: 1;
  }

  .sa-checkout-live .sa-checkout-step-actions__buttons {
    grid-template-columns: 1fr;
  }
}

/* Make the two fiscal-preference dropdowns visibly selectable. */
.sa-checkout-live #fattpro_customer_type,
.sa-checkout-live #fattpro_invoice_choice {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 48px !important;
  background-color: #fff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M2 2l6 6 6-6' fill='none' stroke='%2310291d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 16px center !important;
  background-size: 16px 10px !important;
  cursor: pointer;
}

/* Native social access and a compact checkout login card. */
.sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-color: rgb(16 41 29 / 28%) !important;
  padding: 17px 20px !important;
  box-shadow: 0 7px 20px rgb(16 41 29 / 6%) !important;
  font-size: 15px;
  font-weight: 750;
}

.sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info::before {
  position: static;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  margin: 0;
  border: 2px solid var(--sa-checkout-ink);
  border-radius: 50%;
  background: var(--sa-checkout-yellow);
  color: var(--sa-checkout-ink);
  font-size: 16px;
  line-height: 30px;
  text-align: center;
}

.sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info a {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-left: auto;
  border: 2px solid var(--sa-checkout-ink);
  border-radius: 7px;
  padding: 8px 14px;
  background: #fff;
  color: var(--sa-checkout-ink);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  text-transform: uppercase;
}

.sa-checkout-live .woocommerce-form-login {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 18px;
  border-color: rgb(16 41 29 / 24%) !important;
  padding: clamp(22px, 3vw, 32px) !important;
  background: #fff !important;
  box-shadow: 0 16px 36px rgb(16 41 29 / 9%) !important;
}

.sa-checkout-live .woocommerce-form-login:not([style*="display: none"]):not([style*="display:none"]) {
  display: grid !important;
}

.sa-checkout-live .woocommerce-form-login > p:first-of-type {
  grid-column: 1 / -1;
  order: 1;
  margin: 0 !important;
  color: rgb(16 41 29 / 72%);
  font-size: 14px;
  line-height: 1.55;
}

.sa-checkout-live .woocommerce-form-login .sa-social-login {
  grid-column: 1 / -1;
  order: 2;
}

.sa-checkout-live .woocommerce-form-login > .form-row-first,
.sa-checkout-live .woocommerce-form-login > .form-row-last {
  grid-column: span 1;
  order: 3;
  margin: 0 !important;
}

.sa-checkout-live .woocommerce-form-login > .form-row:not(.form-row-first):not(.form-row-last) {
  grid-column: 1 / -1;
  order: 4;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0 !important;
}

.sa-checkout-live .woocommerce-form-login > .lost_password {
  grid-column: 1 / -1;
  order: 5;
  margin: 0 !important;
  font-size: 13px;
}

.sa-checkout-live .woocommerce-form-login > .clear {
  display: none !important;
}

.sa-checkout-live .woocommerce-form-login button.button {
  order: 1;
  min-width: 180px;
  min-height: 48px;
  margin: 0 !important;
  border-radius: 7px !important;
}

.sa-checkout-live .woocommerce-form-login .woocommerce-form-login__rememberme {
  order: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  margin: 0;
}

.sa-checkout-live .woocommerce-form-login > .form-row:not(.form-row-first):not(.form-row-last) > input[type="hidden"] {
  display: none !important;
}

.sa-checkout-live .woocommerce-form-login > .form-row:not(.form-row-first):not(.form-row-last)::before,
.sa-checkout-live .woocommerce-form-login > .form-row:not(.form-row-first):not(.form-row-last)::after {
  display: none !important;
}

.sa-checkout-live .sa-social-login {
  border: 1px solid rgb(16 41 29 / 18%);
  border-radius: 8px;
  padding: 18px;
  background: var(--sa-checkout-cream);
}

.sa-checkout-live .sa-social-login__heading {
  display: flex;
  align-items: baseline;
  gap: 9px;
  margin-bottom: 13px;
}

.sa-checkout-live .sa-social-login__heading strong {
  color: var(--sa-checkout-ink);
  font-size: 16px;
  font-weight: 950;
}

.sa-checkout-live .sa-social-login__heading span {
  color: rgb(16 41 29 / 64%);
  font-size: 13px;
}

.sa-checkout-live .sa-social-login__buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 11px;
}

.sa-checkout-live .sa-social-login__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  border: 1px solid rgb(16 41 29 / 28%);
  border-radius: 7px;
  padding: 10px 16px;
  background: #fff;
  color: var(--sa-checkout-ink);
  box-shadow: 0 4px 12px rgb(16 41 29 / 5%);
  font-size: 14px;
  font-weight: 900;
  text-decoration: none !important;
}

.sa-checkout-live .sa-social-login__button:hover,
.sa-checkout-live .sa-social-login__button:focus-visible {
  border-color: var(--sa-checkout-green);
  box-shadow: 0 0 0 3px rgb(43 147 72 / 12%);
  transform: translateY(-1px);
}

.sa-checkout-live .sa-social-login__icon,
.sa-checkout-live .sa-social-login__icon svg {
  display: block;
  width: 24px;
  height: 24px;
}

.sa-checkout-live .sa-social-login__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
  color: rgb(16 41 29 / 56%);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

.sa-checkout-live .sa-social-login__divider::before,
.sa-checkout-live .sa-social-login__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgb(16 41 29 / 18%);
}

.sa-checkout-live .mo-openid-app-icons {
  display: none !important;
}

@media (max-width: 700px) {
  .sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info {
    display: block;
  }

  .sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info::before {
    display: none;
  }

  .sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info a {
    width: 100%;
    margin: 12px 0 0;
  }

  .sa-checkout-live .woocommerce-form-login,
  .sa-checkout-live .sa-social-login__buttons {
    grid-template-columns: 1fr;
  }

  .sa-checkout-live .woocommerce-form-login > .form-row-first,
  .sa-checkout-live .woocommerce-form-login > .form-row-last {
    grid-column: 1;
  }

  .sa-checkout-live .woocommerce-form-login > .form-row:not(.form-row-first):not(.form-row-last) {
    align-items: stretch;
    flex-direction: column;
  }

  .sa-checkout-live .woocommerce-form-login button.button {
    order: 2;
    width: 100%;
  }

  .sa-checkout-live .woocommerce-form-login .woocommerce-form-login__rememberme {
    order: 1;
    min-height: auto;
  }

  .sa-checkout-live .sa-social-login__heading {
    display: block;
  }

  .sa-checkout-live .sa-social-login__heading span {
    display: block;
    margin-top: 4px;
  }
}

@media (min-width: 901px) {
  .sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info {
    min-height: 58px;
    padding: 10px 16px !important;
  }

  .sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info::before {
    flex-basis: 28px;
    width: 28px;
    height: 28px;
    font-size: 14px;
    line-height: 24px;
  }

  .sa-checkout-live .woocommerce-form-login-toggle .woocommerce-info a {
    min-height: 34px;
    padding: 6px 12px;
    font-size: 12px;
  }

  .sa-checkout-live .woocommerce-form-login {
    gap: 10px 16px;
    padding: 16px 18px !important;
  }

  .sa-checkout-live .woocommerce-form-login > p:first-of-type {
    display: none;
  }

  .sa-checkout-live .woocommerce-form-login .sa-social-login {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 12px 18px;
    padding: 10px 12px;
  }

  .sa-checkout-live .woocommerce-form-login .sa-social-login__heading {
    margin: 0;
    white-space: nowrap;
  }

  .sa-checkout-live .woocommerce-form-login .sa-social-login__heading span,
  .sa-checkout-live .woocommerce-form-login .sa-social-login__divider {
    display: none;
  }

  .sa-checkout-live .woocommerce-form-login .sa-social-login__buttons {
    grid-template-columns: repeat(auto-fit, minmax(155px, 1fr));
    gap: 8px;
  }

  .sa-checkout-live .woocommerce-form-login .sa-social-login__button {
    min-height: 40px;
    padding: 7px 11px;
    font-size: 13px;
  }

  .sa-checkout-live .woocommerce-form-login .sa-social-login__icon,
  .sa-checkout-live .woocommerce-form-login .sa-social-login__icon svg {
    width: 20px;
    height: 20px;
  }

  .sa-checkout-live .woocommerce-form-login > .form-row-first,
  .sa-checkout-live .woocommerce-form-login > .form-row-last {
    margin-bottom: 0 !important;
  }

  .sa-checkout-live .woocommerce-form-login > .form-row-first label,
  .sa-checkout-live .woocommerce-form-login > .form-row-last label {
    margin-bottom: 4px;
    font-size: 12px;
  }

  .sa-checkout-live .woocommerce-form-login > .form-row-first input,
  .sa-checkout-live .woocommerce-form-login > .form-row-last input {
    min-height: 42px;
    padding: 8px 11px;
    font-size: 14px;
  }

  .sa-checkout-live .woocommerce-form-login > .form-row:not(.form-row-first):not(.form-row-last) {
    grid-column: 1;
    align-self: center;
    flex-wrap: nowrap;
    gap: 12px;
  }

  .sa-checkout-live .woocommerce-form-login > .lost_password {
    grid-column: 2;
    order: 4;
    align-self: center;
    justify-self: end;
    margin: 0 !important;
  }

  .sa-checkout-live .woocommerce-form-login button.button {
    min-width: 132px;
    min-height: 42px;
    padding: 8px 18px !important;
    font-size: 17px !important;
  }

  .sa-checkout-live .woocommerce-form-login .woocommerce-form-login__rememberme {
    min-height: 42px;
    font-size: 13px;
  }
}

/* Payment step: focused final review without cross-sells. */
.sa-checkout-live.is-payment-step .woocommerce-checkout-review-order {
  width: min(100%, 960px);
  border: 1px solid rgb(16 41 29 / 16%);
  border-radius: 14px;
  padding: clamp(24px, 3.5vw, 42px);
  box-shadow: 0 18px 46px rgb(16 41 29 / 8%);
}

.sa-checkout-payment-summary-heading,
.sa-checkout-payment-methods-heading {
  color: var(--sa-checkout-ink);
}

.sa-checkout-payment-summary-heading span,
.sa-checkout-payment-methods-heading span {
  display: block;
  margin-bottom: 5px;
  color: var(--sa-checkout-green);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.sa-checkout-payment-summary-heading h2,
.sa-checkout-payment-methods-heading h2 {
  margin: 0;
  color: var(--sa-checkout-ink);
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 950;
  line-height: 1.1;
}

.sa-checkout-payment-summary-heading {
  margin-bottom: 16px;
}

.sa-checkout-payment-methods-heading {
  margin: 30px 0 16px;
  padding-top: 28px;
  border-top: 1px solid rgb(16 41 29 / 16%);
}

.sa-checkout-payment-methods-heading p {
  margin: 7px 0 0;
  color: rgb(16 41 29 / 68%);
  font-size: 15px;
}

.sa-checkout-live.is-payment-step table.shop_table {
  overflow: hidden;
  margin-bottom: 0 !important;
  border: 1px solid rgb(16 41 29 / 13%) !important;
  border-radius: 10px;
  background: var(--sa-checkout-cream);
}

.sa-checkout-live.is-payment-step table.shop_table tfoot th,
.sa-checkout-live.is-payment-step table.shop_table tfoot td {
  padding: 16px 18px !important;
  font-size: 15px;
}

.sa-checkout-live.is-payment-step table.shop_table tfoot td {
  text-align: right;
}

.sa-checkout-live.is-payment-step table.shop_table tfoot tr:last-child th,
.sa-checkout-live.is-payment-step table.shop_table tfoot tr:last-child td {
  padding-top: 19px !important;
  padding-bottom: 19px !important;
  font-size: 21px;
  font-weight: 950;
}

.sa-checkout-live.is-payment-step table.shop_table tfoot tr:last-child td {
  color: var(--sa-checkout-green);
}

.sa-checkout-live.is-payment-step #payment ul.payment_methods {
  gap: 12px;
}

.sa-checkout-live.is-payment-step #payment ul.payment_methods li {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(16 41 29 / 20%);
  border-radius: 10px;
  padding: 0;
  background: #fff;
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}

.sa-checkout-live.is-payment-step #payment ul.payment_methods li:has(input[name="payment_method"]:checked) {
  border-color: var(--sa-checkout-green);
  background: rgb(43 147 72 / 5%);
  box-shadow: 0 0 0 3px rgb(43 147 72 / 10%);
}

.sa-checkout-live.is-payment-step #payment ul.payment_methods li > input[name="payment_method"] {
  position: absolute;
  top: 22px;
  left: 19px;
  width: 18px;
  height: 18px;
  margin: 0 !important;
  accent-color: var(--sa-checkout-green);
}

.sa-checkout-live.is-payment-step #payment ul.payment_methods li > label {
  display: flex;
  min-height: 62px;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 18px 20px 18px 50px;
  color: var(--sa-checkout-ink);
  cursor: pointer;
  font-size: 15px;
  font-weight: 900;
}

.sa-checkout-live.is-payment-step #payment ul.payment_methods li > label img {
  max-width: 104px;
  max-height: 32px;
  margin: 0;
  object-fit: contain;
}

.sa-checkout-live.is-payment-step #payment div.payment_box {
  margin: 0 18px 18px 50px;
  border: 1px solid rgb(16 41 29 / 10%);
  border-radius: 8px;
  padding: 16px 18px;
  background: var(--sa-checkout-cream);
  color: rgb(16 41 29 / 80%);
  font-size: 14px;
  line-height: 1.55;
}

.sa-checkout-live.is-payment-step #payment div.payment_box::before {
  display: none;
}

.sa-checkout-live.is-payment-step #payment div.payment_box p:last-child {
  margin-bottom: 0;
}

.sa-checkout-live.is-payment-step #payment .place-order {
  display: grid;
  grid-template-columns: minmax(190px, .42fr) minmax(300px, 1fr);
  gap: 12px;
  margin-top: 26px;
  border-top: 1px solid rgb(16 41 29 / 16%);
  padding: 28px 0 0 !important;
}

.sa-checkout-live.is-payment-step #payment .woocommerce-terms-and-conditions-wrapper,
.sa-checkout-live.is-payment-step #payment .woocommerce-privacy-policy-text {
  grid-column: 1 / -1;
}

.sa-checkout-live.is-payment-step #payment .woocommerce-privacy-policy-text {
  margin: 0;
  border: 1px solid rgb(16 41 29 / 10%);
  border-radius: 8px;
  padding: 15px 17px;
  background: var(--sa-checkout-cream);
  font-size: 13px;
  line-height: 1.55;
}

.sa-checkout-live.is-payment-step #payment .woocommerce-terms-and-conditions-wrapper .form-row {
  margin: 12px 0 2px !important;
  padding: 0 !important;
}

.sa-checkout-live.is-payment-step #payment .woocommerce-terms-and-conditions-wrapper label {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--sa-checkout-ink);
  font-size: 14px;
  line-height: 1.45;
}

.sa-checkout-live.is-payment-step #payment .woocommerce-terms-and-conditions-wrapper input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0 !important;
  accent-color: var(--sa-checkout-green);
}

.sa-checkout-live.is-payment-step #payment .woocommerce-terms-and-conditions-wrapper .woocommerce-invalid label {
  color: #9f2f25;
}

.sa-checkout-live.is-payment-step #payment .woocommerce-terms-and-conditions-wrapper .woocommerce-invalid input[type="checkbox"] {
  outline: 2px solid #b43b30;
  outline-offset: 3px;
}

.sa-checkout-live .sa-checkout-terms-error {
  grid-column: 1 / -1;
  margin: 7px 0 0;
  color: #a53429;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.sa-checkout-live.is-payment-step .sa-checkout-back-details,
.sa-checkout-live.is-payment-step #place_order {
  width: 100%;
  min-height: 58px;
  margin: 0 !important;
}

.sa-checkout-live.is-payment-step .sa-checkout-back-details {
  grid-column: 1;
}

.sa-checkout-live.is-payment-step #place_order {
  grid-column: 2;
}

@media (max-width: 700px) {
  .sa-checkout-live.is-payment-step .woocommerce-checkout-review-order {
    border-radius: 10px;
    padding: 22px 16px;
    box-shadow: 0 12px 30px rgb(16 41 29 / 7%);
  }

  .sa-checkout-payment-methods-heading {
    margin-top: 24px;
    padding-top: 23px;
  }

  .sa-checkout-live.is-payment-step table.shop_table tfoot th,
  .sa-checkout-live.is-payment-step table.shop_table tfoot td {
    padding: 14px 12px !important;
  }

  .sa-checkout-live.is-payment-step #payment ul.payment_methods li > label {
    padding-right: 14px;
    padding-left: 47px;
    font-size: 14px;
  }

  .sa-checkout-live.is-payment-step #payment ul.payment_methods li > input[name="payment_method"] {
    left: 16px;
  }

  .sa-checkout-live.is-payment-step #payment div.payment_box {
    margin-right: 12px;
    margin-left: 12px;
  }

  .sa-checkout-live.is-payment-step #payment .place-order {
    grid-template-columns: 1fr;
  }

  .sa-checkout-live.is-payment-step .sa-checkout-back-details,
  .sa-checkout-live.is-payment-step #place_order {
    grid-column: 1;
  }

  .sa-checkout-live.is-payment-step .sa-checkout-back-details {
    order: 2;
  }

  .sa-checkout-live.is-payment-step #place_order {
    order: 1;
  }
}

/* Order received: modular, readable confirmation page. */
.sa-checkout-live.is-order-complete {
  --sa-thankyou-green: #10291d;
  --sa-thankyou-accent: #fff001;
  --sa-thankyou-soft: #faf6ec;
  --sa-thankyou-line: rgb(16 41 29 / 16%);
}

.sa-checkout-live.is-order-complete .sa-checkout-live__runtime {
  width: min(100%, 1100px);
  margin: 0 auto;
}

.sa-checkout-live.is-order-complete .sa-checkout-live__runtime .woocommerce {
  display: block;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.sa-checkout-live.is-order-complete .woocommerce-order {
  display: grid;
  gap: 22px;
}

.sa-checkout-live.is-order-complete .woocommerce-thankyou-order-received {
  position: relative;
  min-height: 88px;
  margin: 0 !important;
  border-radius: 14px;
  padding: 25px 28px 25px 86px;
  background: var(--sa-thankyou-green);
  color: #fff;
  box-shadow: 0 14px 34px rgb(16 41 29 / 12%);
  font-size: clamp(18px, 2.2vw, 23px);
  font-weight: 950;
  line-height: 1.35;
}

.sa-checkout-live.is-order-complete .woocommerce-thankyou-order-received::before {
  content: '\2713';
  position: absolute;
  top: 50%;
  left: 26px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  background: var(--sa-thankyou-accent);
  color: var(--sa-thankyou-green);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-50%);
}

.sa-checkout-live.is-order-complete .woocommerce-order-overview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0 !important;
  padding: 0 !important;
}

.sa-checkout-live.is-order-complete .woocommerce-order-overview::before,
.sa-checkout-live.is-order-complete .woocommerce-order-overview::after {
  display: none;
}

.sa-checkout-live.is-order-complete .woocommerce-order-overview li {
  float: none;
  min-width: 0;
  margin: 0;
  border: 1px solid var(--sa-thankyou-line) !important;
  border-radius: 10px;
  padding: 16px 17px;
  background: #fff;
  color: rgb(16 41 29 / 62%);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .055em;
  line-height: 1.35;
  text-transform: uppercase;
}

.sa-checkout-live.is-order-complete .woocommerce-order-overview li strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 7px;
  color: var(--sa-thankyou-green);
  font-size: 16px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.3;
  text-transform: none;
}

.sa-checkout-live.is-order-complete .woocommerce-order > p:not(.woocommerce-thankyou-order-received) {
  margin: 0 !important;
  border-left: 5px solid var(--sa-thankyou-accent);
  border-radius: 0 10px 10px 0;
  padding: 17px 19px;
  background: #fff;
  color: rgb(16 41 29 / 76%);
  font-size: 15px;
  line-height: 1.55;
}

.sa-checkout-live.is-order-complete .woocommerce-bacs-bank-details {
  margin: 0;
  border-radius: 14px;
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--sa-thankyou-green);
  color: #fff;
  box-shadow: 0 14px 34px rgb(16 41 29 / 10%);
}

.sa-checkout-live.is-order-complete .woocommerce-bacs-bank-details h2,
.sa-checkout-live.is-order-complete .woocommerce-bacs-bank-details h3 {
  margin: 0;
  color: #fff;
  font-weight: 950;
  line-height: 1.15;
}

.sa-checkout-live.is-order-complete .woocommerce-bacs-bank-details h2 {
  font-size: clamp(22px, 3vw, 30px);
}

.sa-checkout-live.is-order-complete .woocommerce-bacs-bank-details h3 {
  margin-top: 7px;
  color: var(--sa-thankyou-accent);
  font-size: 17px;
}

.sa-checkout-live.is-order-complete .wc-bacs-bank-details {
  display: grid;
  grid-template-columns: 1.2fr 1.25fr .8fr;
  gap: 10px;
  margin: 22px 0 0 !important;
  padding: 0 !important;
}

.sa-checkout-live.is-order-complete .wc-bacs-bank-details::before,
.sa-checkout-live.is-order-complete .wc-bacs-bank-details::after {
  display: none;
}

.sa-checkout-live.is-order-complete .wc-bacs-bank-details li {
  float: none;
  min-width: 0;
  margin: 0;
  border: 1px solid rgb(255 255 255 / 20%) !important;
  border-radius: 9px;
  padding: 15px 16px;
  background: rgb(255 255 255 / 7%);
  color: rgb(255 255 255 / 68%);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.sa-checkout-live.is-order-complete .wc-bacs-bank-details li strong {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details,
.sa-checkout-live.is-order-complete .woocommerce-customer-details {
  margin: 0;
  border: 1px solid var(--sa-thankyou-line);
  border-radius: 14px;
  padding: clamp(23px, 3.5vw, 36px);
  background: #fff;
  box-shadow: 0 12px 30px rgb(16 41 29 / 6%);
}

.sa-checkout-live.is-order-complete .woocommerce-order-details h2,
.sa-checkout-live.is-order-complete .woocommerce-customer-details h2,
.sa-checkout-live.is-order-complete .woocommerce-customer-details h3 {
  margin: 0 0 20px;
  color: var(--sa-thankyou-green);
  font-size: clamp(21px, 2.7vw, 28px);
  font-weight: 950;
  line-height: 1.15;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details {
  width: 100%;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate;
  border-spacing: 0;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details th,
.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details td {
  border: 0 !important;
  border-bottom: 1px solid var(--sa-thankyou-line) !important;
  padding: 15px 12px !important;
  color: var(--sa-thankyou-green);
  font-size: 14px;
  line-height: 1.5;
  vertical-align: top;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details thead th {
  padding-top: 10px !important;
  color: rgb(16 41 29 / 58%);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .product-name a {
  color: var(--sa-thankyou-green);
  font-size: 16px;
  font-weight: 950;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta {
  display: grid;
  gap: 5px;
  margin: 11px 0 0;
  padding: 0;
  color: rgb(16 41 29 / 72%);
  font-size: 13px;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta li {
  margin: 0;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details tfoot tr:last-child th,
.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details tfoot tr:last-child td {
  border-bottom: 0 !important;
  padding-top: 19px !important;
  color: var(--sa-thankyou-green);
  font-size: 18px;
  font-weight: 950;
}

.sa-checkout-live.is-order-complete .woocommerce-customer-details .woocommerce-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.sa-checkout-live.is-order-complete .woocommerce-customer-details .woocommerce-column {
  float: none;
  width: auto;
  max-width: none;
  margin: 0;
}

.sa-checkout-live.is-order-complete .woocommerce-customer-details .woocommerce-column h2 {
  margin-bottom: 12px;
  font-size: 18px;
}

.sa-checkout-live.is-order-complete .woocommerce-customer-details address {
  height: calc(100% - 34px);
  margin: 0;
  border: 1px solid var(--sa-thankyou-line);
  border-radius: 10px;
  padding: 18px;
  background: var(--sa-thankyou-soft);
  color: rgb(16 41 29 / 78%);
  font-size: 14px;
  line-height: 1.55;
}

.sa-checkout-live.is-order-complete .woocommerce-verify-email {
  width: min(100%, 720px);
  margin: 22px auto 0;
  border: 1px solid var(--sa-thankyou-line);
  border-radius: 14px;
  padding: clamp(24px, 4vw, 38px);
  background: #fff;
  box-shadow: 0 14px 34px rgb(16 41 29 / 8%);
}

.sa-checkout-live.is-order-complete .woocommerce-verify-email > p:first-of-type {
  margin: 0 0 22px;
  color: rgb(16 41 29 / 72%);
  font-size: 15px;
  line-height: 1.55;
}

.sa-checkout-live.is-order-complete .woocommerce-verify-email .form-row {
  float: none;
  width: 100%;
  margin: 0 0 15px !important;
  padding: 0 !important;
}

.sa-checkout-live.is-order-complete .woocommerce-verify-email label {
  display: block;
  margin-bottom: 7px;
  color: var(--sa-thankyou-green);
  font-size: 13px;
  font-weight: 900;
}

.sa-checkout-live.is-order-complete .woocommerce-verify-email input[type="email"] {
  width: 100%;
  min-height: 54px;
  border: 1px solid rgb(16 41 29 / 32%);
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  color: var(--sa-thankyou-green);
  font-size: 16px;
}

.sa-checkout-live.is-order-complete .woocommerce-verify-email button {
  width: 100%;
  min-height: 54px;
  border: 2px solid var(--sa-thankyou-green) !important;
  border-radius: 8px !important;
  background: var(--sa-thankyou-accent) !important;
  color: var(--sa-thankyou-green) !important;
  font-size: 15px !important;
  font-weight: 950 !important;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .sa-checkout-live.is-order-complete .woocommerce-order-overview {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sa-checkout-live.is-order-complete .wc-bacs-bank-details,
  .sa-checkout-live.is-order-complete .woocommerce-customer-details .woocommerce-columns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .sa-checkout-live.is-order-complete .woocommerce-thankyou-order-received {
    padding: 20px 18px 20px 68px;
    border-radius: 10px;
  }

  .sa-checkout-live.is-order-complete .woocommerce-thankyou-order-received::before {
    left: 16px;
    width: 38px;
    height: 38px;
    font-size: 21px;
  }

  .sa-checkout-live.is-order-complete .woocommerce-order-overview {
    grid-template-columns: 1fr;
  }

  .sa-checkout-live.is-order-complete .woocommerce-bacs-bank-details,
  .sa-checkout-live.is-order-complete .woocommerce-order-details,
  .sa-checkout-live.is-order-complete .woocommerce-customer-details,
  .sa-checkout-live.is-order-complete .woocommerce-verify-email {
    border-radius: 10px;
    padding: 20px 16px;
  }

  .sa-checkout-live.is-order-complete .woocommerce-order-details {
    overflow-x: auto;
  }

  .sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details th,
  .sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details td {
    padding-right: 8px !important;
    padding-left: 8px !important;
    font-size: 13px;
  }
}

/* Thank-you readability: compact configuration details and aligned addresses. */
.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details {
  table-layout: fixed;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details thead th:last-child,
.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .product-total {
  width: 24%;
  text-align: right;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details tbody td {
  padding-top: 19px !important;
  padding-bottom: 19px !important;
  background: #fcfbf7;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details tbody .product-total {
  font-size: 17px;
  font-weight: 950;
  white-space: nowrap;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
  margin-top: 14px;
  border: 1px solid rgb(16 41 29 / 12%);
  border-radius: 9px;
  padding: 13px 14px;
  background: #fff;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta li {
  display: grid !important;
  grid-template-columns: minmax(105px, auto) minmax(0, 1fr);
  align-items: baseline;
  gap: 7px;
  min-width: 0;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta li:last-child {
  grid-column: 1 / -1;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta strong,
.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta p {
  margin: 0 !important;
  line-height: 1.35;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta strong {
  color: var(--sa-thankyou-green);
  font-size: 12px;
  font-weight: 900;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta p {
  overflow-wrap: anywhere;
  color: rgb(16 41 29 / 76%);
  font-size: 13px;
  font-weight: 750;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details tfoot th {
  width: 45%;
  font-weight: 850;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details tfoot td {
  text-align: right;
  font-weight: 850;
}

.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details tfoot tr:last-child th,
.sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details tfoot tr:last-child td {
  background: #f1f7f2;
}

.sa-checkout-live.is-order-complete .woocommerce-customer-details .woocommerce-columns {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch;
}

.sa-checkout-live.is-order-complete .woocommerce-customer-details .woocommerce-columns::before,
.sa-checkout-live.is-order-complete .woocommerce-customer-details .woocommerce-columns::after {
  display: none !important;
  content: none !important;
}

.sa-checkout-live.is-order-complete .woocommerce-customer-details .woocommerce-column {
  display: flex;
  min-width: 0;
  flex-direction: column;
}

.sa-checkout-live.is-order-complete .woocommerce-customer-details address {
  height: auto;
  flex: 1;
}

@media (max-width: 820px) {
  .sa-checkout-live.is-order-complete .woocommerce-customer-details .woocommerce-columns {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 700px) {
  .sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details {
    table-layout: auto;
  }

  .sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta {
    grid-template-columns: 1fr;
  }

  .sa-checkout-live.is-order-complete .woocommerce-order-details table.order_details .wc-item-meta li:last-child {
    grid-column: auto;
  }
}
