/* WooCommerce Blocks — cart, checkout & stepper */

.ifil-wc-page__inner {
  max-width: 1200px;
  --ifil-wc-gap: 24px;
}

.ifil-wc-page__content {
  margin-top: 0;
}

/* --- Checkout stepper --- */

.ifil-checkout-stepper {
  margin-bottom: var(--ifil-wc-gap);
  padding: 20px;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.ifil-checkout-stepper__list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ifil-checkout-stepper__step {
  position: relative;
  flex: 1;
  min-width: 0;
}

.ifil-checkout-stepper__step:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 18px;
  left: calc(50% + 22px);
  width: calc(100% - 44px);
  height: 2px;
  background: var(--panel-border);
  pointer-events: none;
}

.ifil-checkout-stepper__step.is-complete:not(:last-child)::after {
  background: var(--btn-primary-bg);
}

.ifil-checkout-stepper__link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
}

a.ifil-checkout-stepper__link:hover .ifil-checkout-stepper__label {
  color: var(--brand-primary-text);
}

.ifil-checkout-stepper__marker {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 2px solid var(--panel-border);
  border-radius: 50%;
  background: #fff;
  color: var(--muted-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ifil-checkout-stepper__marker i {
  font-size: 0.75rem;
}

.ifil-checkout-stepper__label {
  max-width: 120px;
  color: var(--muted-text);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  transition: color 0.25s ease;
}

.ifil-checkout-stepper__step.is-active .ifil-checkout-stepper__marker {
  border-color: var(--btn-primary-bg);
  background: var(--btn-primary-bg);
  color: #fff;
  box-shadow: 0 4px 14px rgba(122, 132, 80, 0.28);
}

.ifil-checkout-stepper__step.is-active .ifil-checkout-stepper__label {
  color: var(--dark-text);
  font-weight: 600;
}

.ifil-checkout-stepper__step.is-complete .ifil-checkout-stepper__marker {
  border-color: var(--btn-primary-bg);
  background: var(--btn-primary-bg);
  color: #fff;
}

.ifil-checkout-stepper__step.is-complete .ifil-checkout-stepper__label {
  color: var(--dark-text);
}

@media (min-width: 640px) {
  .ifil-checkout-stepper {
    padding: 24px 28px;
  }

  .ifil-checkout-stepper__marker {
    width: 40px;
    height: 40px;
    font-size: 0.9375rem;
  }

  .ifil-checkout-stepper__step:not(:last-child)::after {
    top: 20px;
    left: calc(50% + 26px);
    width: calc(100% - 52px);
  }

  .ifil-checkout-stepper__label {
    max-width: none;
    font-size: 0.875rem;
  }
}

/* --- Cart & checkout blocks layout --- */

.ifil-wc-page .wc-block-cart,
.ifil-wc-page .wc-block-checkout {
  font-family: var(--font-body);
  width: 100%;
}

.ifil-wc-page .wp-block-woocommerce-cart,
.ifil-wc-page .wp-block-woocommerce-checkout {
  width: 100%;
  padding-top: 0 !important;
}

.ifil-wc-page .wc-block-cart,
.ifil-wc-page .wc-block-checkout {
  padding-top: 0 !important;
}

.ifil-wc-page .wc-block-components-sidebar-layout {
  display: flex !important;
  flex-wrap: nowrap !important;
  align-items: flex-start;
  gap: 0 !important;
  margin: 0 !important;
}

.ifil-wc-page .wc-block-components-sidebar-layout .wc-block-components-main {
  box-sizing: border-box;
  flex: 0 0 calc(65% - 12px);
  width: calc(65% - 12px) !important;
  min-width: 0;
  margin: 0 var(--ifil-wc-gap) 0 0 !important;
  padding: 20px !important;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.ifil-wc-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
  box-sizing: border-box;
  flex: 0 0 calc(35% - 12px);
  width: calc(35% - 12px) !important;
  min-width: 0;
  margin: 0 !important;
  padding: 20px !important;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
}

.ifil-wc-page .wc-block-components-title,
.ifil-wc-page .wc-block-cart__totals-title,
.ifil-wc-page .wc-block-components-checkout-order-summary__title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark-text);
  margin-bottom: 16px;
}

.ifil-wc-page .wc-block-components-product-name {
  font-weight: 500;
  color: var(--dark-text);
}

.ifil-wc-page .wc-block-components-form .wc-block-components-text-input input,
.ifil-wc-page .wc-block-components-form .wc-block-components-text-input label,
.ifil-wc-page .wc-block-components-form .wc-block-components-combobox input {
  font-family: var(--font-body);
}

.ifil-wc-page .wc-block-components-text-input input:focus,
.ifil-wc-page .wc-block-components-combobox input:focus {
  border-color: var(--btn-primary-bg);
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--btn-primary-bg) 22%, transparent);
}

/* --- Checkout: usuń wewnętrzne ramki WC (mamy własne boxy) --- */

.ifil-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block,
.ifil-wc-page--checkout .wc-block-components-address-card,
.ifil-wc-page--checkout .wc-block-components-skeleton--checkout-payment,
.ifil-wc-page--checkout .wc-block-components-skeleton--checkout-shipping {
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.ifil-wc-page--checkout .wc-block-components-address-card {
  padding: 14px 0 !important;
  background: transparent !important;
}

.ifil-wc-page--checkout .wc-block-checkout__payment-method .wc-block-components-radio-control-accordion-option:after,
.ifil-wc-page--checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option:after {
  border: none !important;
  border-radius: 0 !important;
}

.ifil-wc-page--checkout .wc-block-components-radio-control-accordion-option,
.ifil-wc-page--checkout .wc-block-checkout__payment-method .wc-block-components-radio-control__option {
  border: 1px solid var(--panel-border) !important;
  border-radius: 12px !important;
  margin-bottom: 8px !important;
  overflow: hidden;
}

.ifil-wc-page--checkout .wc-block-components-radio-control__option-checked,
.ifil-wc-page--checkout .wc-block-components-radio-control-accordion-option--checked-option-highlighted,
.ifil-wc-page--checkout .wc-block-components-radio-control-accordion-option:first-child:after {
  border-color: color-mix(in srgb, var(--btn-primary-bg) 45%, var(--panel-border)) !important;
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--btn-primary-bg) 14%, transparent) !important;
}

.ifil-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-totals-block {
  border-top: 2px solid color-mix(in srgb, var(--brand-primary-bg) 28%, var(--panel-border)) !important;
  margin-top: 12px !important;
  padding-top: 12px !important;
  padding-bottom: 0 !important;
}

.ifil-wc-page--checkout .wc-block-components-sidebar .wc-block-components-order-summary,
.ifil-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block .wc-block-components-order-summary,
.ifil-wc-page--checkout .wp-block-woocommerce-checkout-order-summary-block.checkout-order-summary-block-fill-wrapper .wc-block-components-order-summary {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ifil-wc-page--checkout .wc-block-components-sidebar .wc-block-components-panel__content,
.ifil-wc-page--checkout .wc-block-checkout__sidebar .wc-block-components-panel__content {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ifil-wc-page--checkout .wc-block-components-totals-footer-item {
  margin-top: 12px !important;
  padding: 14px 16px !important;
  border-radius: 12px !important;
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--brand-bg) 72%, #fff),
    color-mix(in srgb, var(--brand-primary-bg) 10%, #fff)
  ) !important;
  border: 1px solid color-mix(in srgb, var(--brand-primary-bg) 22%, var(--panel-border)) !important;
}

.ifil-wc-page--checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__label,
.ifil-wc-page--checkout .wc-block-components-totals-footer-item .wc-block-components-totals-item__value {
  font-family: var(--font-heading) !important;
  font-size: 1.125rem !important;
  font-weight: 700 !important;
  color: var(--brand-primary-text) !important;
}

.ifil-wc-page--checkout .wc-block-components-totals-item:not(.wc-block-components-totals-footer-item) .wc-block-components-totals-item__value {
  font-weight: 600 !important;
  color: var(--dark-text) !important;
}

.ifil-wc-page--cart .wp-block-woocommerce-cart-order-summary-block {
  border: none !important;
  border-bottom: 1px solid color-mix(in srgb, var(--panel-border) 85%, transparent) !important;
  border-radius: 0 !important;
}

.ifil-wc-page--checkout .wc-block-components-checkout-order-summary__title {
  margin-top: 0 !important;
}

.ifil-wc-page--cart .wc-block-components-sidebar .wc-block-components-order-summary,
.ifil-wc-page--cart .wp-block-woocommerce-cart-order-summary-block .wc-block-components-order-summary {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* --- Checkout inputs (floating label compatible) --- */

.ifil-wc-page--checkout .wc-block-components-text-input,
.ifil-wc-page--checkout .wc-blocks-components-select {
  margin-top: 10px !important;
}

.ifil-wc-page--checkout .wc-block-components-checkout-step .wc-block-components-country-input:first-of-type,
.ifil-wc-page--checkout .wc-block-components-checkout-step .wc-block-components-text-input:first-of-type,
.ifil-wc-page--checkout .wc-block-components-checkout-step .wc-blocks-components-select:first-of-type,
.ifil-wc-page--checkout .wc-block-components-checkout-step__content > .wc-block-components-text-input:first-child,
.ifil-wc-page--checkout .wc-block-components-checkout-step__content > .wc-blocks-components-select:first-child {
  margin-top: 0 !important;
}

.ifil-wc-page--checkout .wc-block-components-text-input input[type="email"],
.ifil-wc-page--checkout .wc-block-components-text-input input[type="number"],
.ifil-wc-page--checkout .wc-block-components-text-input input[type="password"],
.ifil-wc-page--checkout .wc-block-components-text-input input[type="tel"],
.ifil-wc-page--checkout .wc-block-components-text-input input[type="text"],
.ifil-wc-page--checkout .wc-block-components-text-input input[type="url"] {
  height: 56px !important;
  min-height: 56px !important;
  padding: 16px 14px !important;
  border: 1px solid var(--panel-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--dark-text) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9375rem !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease,
    padding 0.2s ease !important;
}

.ifil-wc-page--checkout .wc-block-components-text-input.is-active input[type="email"],
.ifil-wc-page--checkout .wc-block-components-text-input.is-active input[type="number"],
.ifil-wc-page--checkout .wc-block-components-text-input.is-active input[type="password"],
.ifil-wc-page--checkout .wc-block-components-text-input.is-active input[type="tel"],
.ifil-wc-page--checkout .wc-block-components-text-input.is-active input[type="text"],
.ifil-wc-page--checkout .wc-block-components-text-input.is-active input[type="url"],
.ifil-wc-page--checkout .wc-block-components-text-input.has-value input[type="email"],
.ifil-wc-page--checkout .wc-block-components-text-input.has-value input[type="number"],
.ifil-wc-page--checkout .wc-block-components-text-input.has-value input[type="password"],
.ifil-wc-page--checkout .wc-block-components-text-input.has-value input[type="tel"],
.ifil-wc-page--checkout .wc-block-components-text-input.has-value input[type="text"],
.ifil-wc-page--checkout .wc-block-components-text-input.has-value input[type="url"],
.ifil-wc-page--checkout .wc-block-components-text-input:focus-within input[type="email"],
.ifil-wc-page--checkout .wc-block-components-text-input:focus-within input[type="number"],
.ifil-wc-page--checkout .wc-block-components-text-input:focus-within input[type="password"],
.ifil-wc-page--checkout .wc-block-components-text-input:focus-within input[type="tel"],
.ifil-wc-page--checkout .wc-block-components-text-input:focus-within input[type="text"],
.ifil-wc-page--checkout .wc-block-components-text-input:focus-within input[type="url"],
.ifil-wc-page--checkout .wc-block-components-text-input input:-webkit-autofill {
  padding: 26px 14px 8px !important;
}

.ifil-wc-page--checkout .wc-block-components-text-input label {
  position: absolute !important;
  left: 14px !important;
  top: 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: calc(100% - 28px) !important;
  transform: translateY(-50%) !important;
  transform-origin: top left !important;
  font-family: var(--font-body) !important;
  font-size: 0.9375rem !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  color: color-mix(in srgb, var(--dark-text) 58%, transparent) !important;
  pointer-events: none;
  transition: top 0.2s ease, transform 0.2s ease, color 0.2s ease !important;
}

.ifil-wc-page--checkout .wc-block-components-text-input.is-active label,
.ifil-wc-page--checkout .wc-block-components-text-input.has-value label,
.ifil-wc-page--checkout .wc-block-components-text-input:focus-within label,
.ifil-wc-page--checkout .wc-block-components-text-input input:-webkit-autofill + label {
  top: 8px !important;
  transform: scale(0.82) !important;
  color: var(--brand-primary-text) !important;
  font-weight: 500 !important;
}

.ifil-wc-page--checkout .wc-block-components-combobox input,
.ifil-wc-page--checkout .wc-block-gateway-container .wc-block-gateway-input {
  height: 56px !important;
  min-height: 56px !important;
  padding: 16px 14px !important;
  border: 1px solid var(--panel-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--dark-text) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9375rem !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.ifil-wc-page--checkout .wc-blocks-components-select__select {
  height: 56px !important;
  min-height: 56px !important;
  padding: 22px 40px 8px 14px !important;
  border: 1px solid var(--panel-border) !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: var(--dark-text) !important;
  font-family: var(--font-body) !important;
  font-size: 0.9375rem !important;
  line-height: 1.35 !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease !important;
}

.ifil-wc-page--checkout .wc-block-components-text-input input:hover,
.ifil-wc-page--checkout .wc-blocks-components-select__select:hover,
.ifil-wc-page--checkout .wc-block-gateway-container .wc-block-gateway-input:hover {
  border-color: color-mix(in srgb, var(--btn-primary-bg) 35%, var(--panel-border)) !important;
}

.ifil-wc-page--checkout .wc-block-components-sidebar .wc-block-components-panel,
.ifil-wc-page--checkout .wc-block-components-totals-wrapper {
  border: none !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

.ifil-wc-page--checkout .wc-block-components-notice-banner {
  border-radius: 12px !important;
}

.ifil-wc-page--checkout .wc-block-components-text-input input:focus,
.ifil-wc-page--checkout .wc-block-components-combobox input:focus,
.ifil-wc-page--checkout .wc-blocks-components-select__select:focus,
.ifil-wc-page--checkout .wc-block-gateway-container .wc-block-gateway-input:focus {
  border-color: var(--btn-primary-bg) !important;
  background: #fff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-primary-bg) 18%, transparent) !important;
}

.ifil-wc-page--checkout .wc-blocks-components-select label,
.ifil-wc-page--checkout .wc-blocks-components-select .wc-blocks-components-select__label {
  position: absolute !important;
  left: 14px !important;
  top: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
  max-width: calc(100% - 48px) !important;
  font-family: var(--font-body) !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: color-mix(in srgb, var(--dark-text) 72%, transparent) !important;
  pointer-events: none;
  z-index: 1;
}

.ifil-wc-page--checkout .wc-blocks-components-select .wc-blocks-components-select__container {
  position: relative !important;
  border-radius: 12px !important;
  background: transparent !important;
}

.ifil-wc-page--checkout .wc-blocks-components-select .wc-blocks-components-select__expand {
  right: 14px !important;
}

.ifil-wc-page--checkout .wc-block-components-form .wc-block-components-checkout-step {
  margin-bottom: 20px !important;
}

.ifil-wc-page--checkout .wc-block-components-form .wc-block-components-checkout-step__title {
  font-family: var(--font-heading) !important;
  font-size: 1.0625rem !important;
  font-weight: 700 !important;
  color: var(--dark-text) !important;
  margin: 0 !important;
}

.ifil-wc-page--checkout .wc-block-components-checkout-step__content {
  margin-top: 8px !important;
}

.ifil-wc-page--checkout .wc-block-components-checkout-step__content > * {
  margin-bottom: 10px !important;
}

.ifil-wc-page--checkout .wc-block-components-checkout-step__content > :last-child {
  margin-bottom: 0 !important;
}

.ifil-wc-page--checkout .wc-block-checkout__shipping-method-container {
  border-radius: 12px !important;
  background: color-mix(in srgb, var(--brand-bg) 65%, #fff) !important;
  padding: 4px !important;
}

.ifil-wc-page--checkout .wc-block-checkout__shipping-method-option {
  border-radius: 10px !important;
}

.ifil-wc-page--checkout .wc-block-checkout__shipping-method-option.wc-block-checkout__shipping-method-option--selected {
  background: #fff !important;
  box-shadow: 0 1px 4px rgba(var(--brand-shadow-rgb), 0.08) !important;
}

@container (max-width: 699px) {
  .ifil-wc-page .wc-block-components-sidebar-layout {
    flex-direction: column !important;
    flex-wrap: wrap !important;
  }

  .ifil-wc-page .wc-block-components-sidebar-layout .wc-block-components-main,
  .ifil-wc-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    flex: 1 1 100%;
    width: 100% !important;
    margin: 0 !important;
  }

  .ifil-wc-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    margin-top: var(--ifil-wc-gap) !important;
  }
}

@media (min-width: 1024px) {
  .ifil-wc-page .wc-block-components-sidebar-layout .wc-block-components-main,
  .ifil-wc-page .wc-block-components-sidebar-layout .wc-block-components-sidebar {
    padding: 28px !important;
  }
}

/* --- Buttons --- */

.ifil-wc-page .wc-block-components-button.wc-block-components-button--primary,
.ifil-wc-page .wc-block-components-button.contained:not(.is-link),
.ifil-wc-page .wc-block-cart__submit-button,
.ifil-wc-page .wc-block-components-checkout-place-order-button,
.woocommerce-cart .wc-block-components-button.wc-block-components-button--primary,
.woocommerce-cart .wc-block-components-button.contained:not(.is-link),
.woocommerce-cart .wc-block-cart__submit-button,
.woocommerce-checkout .wc-block-components-button.wc-block-components-button--primary,
.woocommerce-checkout .wc-block-components-button.contained:not(.is-link),
.woocommerce-checkout .wc-block-components-checkout-place-order-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: var(--btn-height) !important;
  margin: 0 !important;
  padding: 0 28px !important;
  border: none !important;
  border-radius: 9999px !important;
  background: var(--btn-primary-bg) !important;
  color: #ffffff !important;
  font-family: var(--font-body) !important;
  font-size: 0.9375rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
  box-shadow: 0 4px 14px rgba(122, 132, 80, 0.22) !important;
  transition: background-color 0.3s ease-in-out, transform 0.3s ease-in-out,
    box-shadow 0.3s ease-in-out !important;
}

.ifil-wc-page .wc-block-components-button.wc-block-components-button--primary:hover,
.ifil-wc-page .wc-block-components-button.contained:not(.is-link):hover,
.ifil-wc-page .wc-block-cart__submit-button:hover,
.ifil-wc-page .wc-block-components-checkout-place-order-button:hover,
.woocommerce-cart .wc-block-components-button.wc-block-components-button--primary:hover,
.woocommerce-cart .wc-block-components-button.contained:not(.is-link):hover,
.woocommerce-cart .wc-block-cart__submit-button:hover,
.woocommerce-checkout .wc-block-components-button.wc-block-components-button--primary:hover,
.woocommerce-checkout .wc-block-components-button.contained:not(.is-link):hover,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:hover {
  background: var(--btn-primary-bg-hov) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(122, 132, 80, 0.28) !important;
}

.ifil-wc-page .wc-block-components-button.wc-block-components-button--primary:focus,
.ifil-wc-page .wc-block-components-button.contained:not(.is-link):focus,
.ifil-wc-page .wc-block-cart__submit-button:focus,
.ifil-wc-page .wc-block-components-checkout-place-order-button:focus,
.woocommerce-cart .wc-block-components-button.wc-block-components-button--primary:focus,
.woocommerce-checkout .wc-block-components-button.wc-block-components-button--primary:focus {
  background: var(--btn-primary-bg-hov) !important;
  color: #ffffff !important;
  outline: none !important;
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--btn-primary-bg) 28%, transparent) !important;
}

.ifil-wc-page .wc-block-components-button.wc-block-components-button--primary:disabled,
.ifil-wc-page .wc-block-components-checkout-place-order-button:disabled,
.woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled {
  opacity: 0.55 !important;
  transform: none !important;
  box-shadow: none !important;
}

.ifil-wc-page .wc-block-components-button.outlined,
.woocommerce-checkout .wc-block-components-button.outlined {
  min-height: var(--btn-height) !important;
  margin: 0 !important;
  padding: 0 24px !important;
  line-height: 1 !important;
  border-radius: 9999px !important;
  border: 1px solid var(--panel-border) !important;
  background: #fff !important;
  color: var(--dark-text) !important;
  box-shadow: none !important;
}

.ifil-wc-page .wc-block-components-button.outlined:hover,
.woocommerce-checkout .wc-block-components-button.outlined:hover {
  border-color: var(--brand-primary-text) !important;
  color: var(--brand-primary-text) !important;
  background: var(--brand-bg) !important;
  transform: none !important;
}

/* --- Cart extras: rewards progress --- */

.ifil-cart-extras {
  display: grid;
  gap: 20px;
  margin-bottom: var(--ifil-wc-gap);
}

.ifil-rewards-progress--cart {
  padding: 20px;
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(var(--brand-shadow-rgb), 0.04);
}

.ifil-rewards-progress__message {
  margin: 0 0 14px;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--dark-text);
}

.wc-block-cart-item__prices,
.wc-block-components-order-summary-item__individual-prices,
.wc-block-components-product-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.wc-block-cart-item__prices .ifil-price-net,
.wc-block-components-order-summary-item__individual-prices .ifil-price-net,
.wc-block-components-product-price .ifil-price-net {
  font-size: 0.6875rem;
  font-weight: 500;
  line-height: 1.3;
  color: color-mix(in srgb, var(--dark-text) 58%, transparent);
  white-space: nowrap;
}
