.mf-b2b .product,
.mf-b2b .type-product {
  list-style: none;
}

.mf-b2b .woocommerce-notices-wrapper,
.mf-b2b .woocommerce-message,
.mf-b2b .woocommerce-info,
.mf-b2b .woocommerce-error,
.mf-b2b .woocommerce-NoticeGroup {
  width: 100%;
  max-width: none;
}

.mf-b2b .woocommerce-message,
.mf-b2b .woocommerce-info,
.mf-b2b .woocommerce-error {
  margin: 0 0 1rem;
  border: 1px solid var(--mf-color-border);
  border-radius: var(--mf-radius-md);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--mf-shadow-card);
  color: var(--mf-color-charcoal);
  padding: 1rem 1.2rem 1rem 5.8rem;
  position: relative;
  list-style: none;
  line-height: 1.55;
}

.mf-b2b ul.woocommerce-message,
.mf-b2b ul.woocommerce-info,
.mf-b2b ul.woocommerce-error {
  padding-left: 5.8rem !important;
  padding-inline-start: 5.8rem !important;
}

.mf-b2b .woocommerce-message::before,
.mf-b2b .woocommerce-info::before,
.mf-b2b .woocommerce-error::before {
  color: var(--mf-color-bronze);
  position: absolute;
  left: 2rem;
  top: 1.1rem;
  transform: none;
  line-height: 1;
}

.mf-b2b .woocommerce-message li,
.mf-b2b .woocommerce-info li,
.mf-b2b .woocommerce-error li {
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1.55;
}

.mf-b2b .onsale {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: auto;
  min-height: auto;
  padding: 7px 10px;
  border-radius: 10px;
  background: var(--mf-color-bronze);
}

.mf-b2b .price {
  color: var(--mf-color-charcoal);
}

.mf-b2b .amount {
  color: inherit;
}

.mf-b2b .woocommerce-breadcrumb,
.mf-b2b .mf-single-product-shell__topbar,
.mf-b2b .related.products {
  display: none !important;
}

.mf-b2b .woocommerce-ordering select,
.mf-b2b .variations select,
.mf-b2b .quantity .qty,
.mf-b2b .woocommerce form .form-row input.input-text,
.mf-b2b .woocommerce form .form-row textarea,
.mf-b2b .woocommerce form .form-row select,
.mf-b2b .select2-container--default .select2-selection--single,
.mf-b2b .select2-container--default .select2-selection--multiple {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--mf-color-border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--mf-color-charcoal);
  box-shadow: none;
}

.mf-b2b .woocommerce-ordering select,
.mf-b2b .variations select,
.mf-b2b .quantity .qty,
.mf-b2b .woocommerce form .form-row input.input-text,
.mf-b2b .woocommerce form .form-row textarea,
.mf-b2b .woocommerce form .form-row select {
  padding: 0 14px;
  font-size: 0.96rem;
}

.mf-b2b .woocommerce form .form-row textarea {
  min-height: 140px;
  padding: 14px;
}

.mf-b2b .select2-container--default .select2-selection--single .select2-selection__rendered {
  line-height: 48px;
  padding-left: 14px;
  color: var(--mf-color-charcoal);
}

.mf-b2b .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 48px;
  right: 10px;
}

.mf-b2b .quantity .qty {
  width: 96px;
}

.mf-b2b .reset_variations {
  color: var(--mf-color-bronze);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mf-b2b .woocommerce-variation-add-to-cart,
.mf-b2b form.cart {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}

.mf-b2b form.cart .single_add_to_cart_button,
.mf-b2b .wc-block-cart__submit-button,
.mf-b2b .wc-block-components-checkout-place-order-button,
.mf-b2b .checkout-button.button,
.mf-b2b .woocommerce a.button,
.mf-b2b .woocommerce button.button,
.mf-b2b .woocommerce input.button {
  min-height: 52px;
  border: 0;
  border-radius: 12px;
  background: var(--mf-color-charcoal);
  color: #fff;
  box-shadow: none;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background 160ms ease, transform 160ms ease, opacity 160ms ease;
}

.mf-b2b form.cart .single_add_to_cart_button:hover,
.mf-b2b .wc-block-cart__submit-button:hover,
.mf-b2b .wc-block-components-checkout-place-order-button:hover,
.mf-b2b .checkout-button.button:hover,
.mf-b2b .woocommerce a.button:hover,
.mf-b2b .woocommerce button.button:hover,
.mf-b2b .woocommerce input.button:hover {
  background: var(--mf-color-bronze);
  transform: translateY(-1px);
}

.mf-b2b .wc-block-cart__submit-button,
.mf-b2b .wc-block-components-checkout-place-order-button,
.mf-b2b .checkout-button.button {
  width: 100%;
  padding-inline: 1.25rem;
}

.mf-b2b .wc-block-components-checkout-place-order-button:disabled,
.mf-b2b .wc-block-cart__submit-button:disabled {
  opacity: 0.48;
  transform: none;
}

.mf-b2b .wc-block-components-checkout-step,
.mf-b2b .wc-block-components-totals-wrapper,
.mf-b2b .wc-block-components-order-summary,
.mf-b2b .wc-block-components-order-summary__content,
.mf-b2b .wc-block-components-sidebar-layout,
.mf-b2b .wc-block-cart__totals-title,
.mf-b2b .wc-block-components-checkout-place-order-button {
  box-shadow: none;
}

.mf-b2b .wp-block-woocommerce-cart.alignwide,
.mf-b2b .wp-block-woocommerce-checkout.alignwide,
.mf-b2b .wc-block-components-sidebar-layout,
.mf-b2b .wc-block-components-main,
.mf-b2b .wc-block-components-sidebar,
.mf-b2b .wc-block-checkout__form,
.mf-b2b .wc-block-components-form {
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
}

.mf-b2b .wc-block-components-checkout-step__title,
.mf-b2b .wc-block-components-checkout-order-summary__title-text,
.mf-b2b .wc-block-cart__totals-title {
  font-family: var(--mf-font-serif);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  letter-spacing: -0.02em;
}

.mf-b2b .wc-block-components-checkout-step__heading-content,
.mf-b2b .wc-block-components-checkout-step__description,
.mf-b2b .wc-block-components-order-summary-item__description {
  color: var(--mf-color-muted);
}

.mf-b2b .wc-block-cart-items__row,
.mf-b2b .wc-block-components-order-summary-item,
.mf-b2b .wc-block-components-totals-item {
  border-color: var(--mf-color-border);
}

.mf-b2b .wc-block-components-product-name,
.mf-b2b .wc-block-components-product-metadata {
  color: var(--mf-color-charcoal);
}

.mf-b2b .wc-block-components-product-metadata {
  color: var(--mf-color-muted);
}

.mf-b2b .woocommerce-PaymentMethods,
.mf-b2b .woocommerce-PaymentMethods li {
  list-style: none;
}

.mf-b2b .woocommerce-PaymentMethods label {
  text-decoration: none !important;
}

.mf-b2b .woocommerce-PaymentMethods label img {
  margin-left: auto;
}

.mf-b2b .stripe-icon,
.mf-b2b .stripe-cards-icon,
.mf-b2b .wc-stripe-card-icons,
.mf-b2b .wc-stripe-payment-icons,
.mf-b2b img[src*="stripe"],
.mf-b2b [class*="stripe"] a[href*="stripe.com"] {
  display: none !important;
  visibility: hidden !important;
}

@media (max-width: 780px) {
  .mf-b2b .variations_form table.variations th,
  .mf-b2b .variations_form table.variations td {
    display: block;
    width: 100%;
  }
}
