/* ============================================================
   Mountain Tree — Modern Shop Layer
   Scope: WooCommerce shop/category/product/cart/account pages only.
   Intentionally does not style .mt-mh or .mt-drawer; the burger header
   stays owned by assets/site-header/site-header.css.
   ============================================================ */

:root {
  --mtm-green: #34a96a;
  --mtm-green-dark: #248f53;
  --mtm-green-soft: #eaf7ef;
  --mtm-green-soft-text: #17633c;
  --mtm-ink: #111715;
  --mtm-muted: #66736d;
  --mtm-paper: #f4f7f2;
  --mtm-panel: #ffffff;
  --mtm-line: rgba(17, 23, 21, 0.1);
  --mtm-shadow: 0 10px 30px rgba(12, 26, 18, 0.07);
  --mtm-soft-shadow: 0 1px 2px rgba(12, 26, 18, 0.05);
}

/* WPML language menu: centered, stable hover target, all active languages visible */
html body .mt-mh__lang {
    position: relative !important;
}

html body .mt-mh__lang::after {
    content: "";
    position: absolute;
    left: -18px !important;
    right: -18px !important;
    top: 100% !important;
    height: 20px !important;
}

html body .mt-mh__lang-menu {
    left: 50% !important;
    right: auto !important;
    top: calc(100% + 2px) !important;
    min-width: 118px !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 3px !important;
    transform: translate(-50%, -4px) !important;
}

html body .mt-mh__lang:hover .mt-mh__lang-menu,
html body .mt-mh__lang:focus-within .mt-mh__lang-menu,
html body .mt-mh__lang.is-open .mt-mh__lang-menu {
    transform: translate(-50%, 0) !important;
}

html body .mt-mh__lang-menu a {
    min-height: 30px !important;
    padding: 7px 6px !important;
}

/* Final guard: keep shop typography aligned with brand fonts after consent. */
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing),
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :where(p, li, td, th, label, input, select, textarea, button, .button, .price, .woocommerce-breadcrumb, .woocommerce-message, .woocommerce-info, .woocommerce-error) {
  font-family: "poppins", "Inter", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :where(h1, h2, h3, h4, .product_title, .woocommerce-loop-product__title, .cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .mt-shop-hero h1, .mt-sng-variation-copy h3, .mt-sng-variant-overview h3) {
  font-family: "univia-pro", "Poppins", "Inter Tight", "Inter", Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

/* WPML language menu: final override after legacy header rules */
html body .mt-mh__lang {
  position: relative !important;
}

html body .mt-mh__lang::after {
  content: "";
  position: absolute;
  left: -18px !important;
  right: -18px !important;
  top: 100% !important;
  height: 20px !important;
}

html body .mt-mh__lang-menu {
  left: 50% !important;
  right: auto !important;
  top: calc(100% + 2px) !important;
  min-width: 118px !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 3px !important;
  transform: translate(-50%, -4px) !important;
}

html body .mt-mh__lang:hover .mt-mh__lang-menu,
html body .mt-mh__lang:focus-within .mt-mh__lang-menu,
html body .mt-mh__lang.is-open .mt-mh__lang-menu {
  transform: translate(-50%, 0) !important;
}

html body .mt-mh__lang-menu a {
  min-height: 30px !important;
  padding: 7px 6px !important;
}

/* EN/WPML guard: Enfold can re-introduce a right sidebar on translated shop pages. */
html body#top:is(.woocommerce, .woocommerce-page) aside.sidebar,
html body#top:is(.woocommerce, .woocommerce-page) #sidebar,
html body#top.post-type-archive-product aside.sidebar,
html body#top.tax-product_cat aside.sidebar,
html body#top.tax-product_tag aside.sidebar {
  display: none !important;
  width: 0 !important;
  max-width: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
}

html body#top:is(.woocommerce, .woocommerce-page) .content,
html body#top:is(.woocommerce, .woocommerce-page) .template-shop.content,
html body#top.post-type-archive-product .content,
html body#top.post-type-archive-product .template-shop.content,
html body#top.tax-product_cat .content,
html body#top.tax-product_cat .template-shop.content,
html body#top.tax-product_tag .content,
html body#top.tax-product_tag .template-shop.content {
  width: 100% !important;
  max-width: 100% !important;
  border-right: 0 !important;
  border-left: 0 !important;
}
/* Final back-button alignment pass. */
html body#top.single-product .template-shop {
  padding-top: 0 !important;
}

html body#top.single-product .mt-back-to-shop {
  margin: 54px 0 18px !important;
  font-family: "poppins", "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
}

html body#top.woocommerce-cart .return-to-shop {
  order: -4 !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 18px 0 12px !important;
}

html body#top.woocommerce-cart .return-to-shop a.button,
html body#top.woocommerce-cart .return-to-shop a.wc-backward,
html body#top.woocommerce-cart .entry-content-wrapper .woocommerce .return-to-shop a.button,
html body#top.woocommerce-cart .entry-content-wrapper .woocommerce .return-to-shop a.wc-backward {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 34px !important;
  width: auto !important;
  max-width: max-content !important;
  margin: 0 !important;
  padding: 8px 16px 8px 12px !important;
  border: 1px solid rgba(17, 23, 21, 0.08) !important;
  border-radius: 999px !important;
  background: rgba(255, 255, 255, 0.74) !important;
  box-shadow: none !important;
  color: #6b7a72 !important;
  font-family: "poppins", "Poppins", "Inter", ui-sans-serif, system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

html body#top.woocommerce-cart .return-to-shop a.button::before,
html body#top.woocommerce-cart .return-to-shop a.wc-backward::before {
  content: none !important;
}

html body#top.woocommerce-cart .return-to-shop a.button:hover,
html body#top.woocommerce-cart .return-to-shop a.wc-backward:hover {
  border-color: rgba(52, 169, 106, 0.24) !important;
  background: rgba(255, 255, 255, 0.86) !important;
  color: #248f53 !important;
}

html body#top.woocommerce-cart .woocommerce-info:focus,
html body#top.woocommerce-cart .woocommerce-error:focus,
html body#top.woocommerce-cart .woocommerce-message:focus,
html body#top.woocommerce-cart .cart-empty:focus {
  outline: none !important;
  box-shadow: none !important;
}

@media (max-width: 767px) {
  html body#top.single-product .mt-back-to-shop {
    margin-top: 36px !important;
  }
}

html body#top.woocommerce-shop .mt-shop-hero h1,
html body#top.post-type-archive-product .mt-shop-hero h1,
html body#top.tax-product_cat .mt-shop-hero h1,
html body#top.woocommerce-shop .mt-shop-hero p,
html body#top.post-type-archive-product .mt-shop-hero p,
html body#top.tax-product_cat .mt-shop-hero p,
html body#top.woocommerce-shop .mt-shop-hero .mt-shop-hero__eyebrow,
html body#top.post-type-archive-product .mt-shop-hero .mt-shop-hero__eyebrow,
html body#top.tax-product_cat .mt-shop-hero .mt-shop-hero__eyebrow {
  color: #fff !important;
  text-shadow: none !important;
}

/* ─── Brand typography pass: Univia Pro headings + Poppins UI/text after consent ─── */
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) {
  --mt-shop-font-heading: "univia-pro", "Poppins", "Inter Tight", "Inter", Arial, sans-serif;
  --mt-shop-font-body: "poppins", "Inter", Arial, sans-serif;
  font-family: var(--mt-shop-font-body) !important;
  font-weight: 400 !important;
  letter-spacing: 0 !important;
}

html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) p,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) li,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) td,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) th,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) label,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) input,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) select,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) textarea,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) button,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .button,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .price,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-breadcrumb,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-message,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-info,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-error {
  font-family: var(--mt-shop-font-body) !important;
  letter-spacing: 0 !important;
}

html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) h1,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) h2,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) h3,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) h4,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .product_title,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-loop-product__title,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .cart_totals h2,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) #order_review_heading,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-billing-fields h3,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-shipping-fields h3,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-MyAccount-content h2,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-MyAccount-content h3,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-shop-hero h1,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-sng-variation-copy h3,
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-sng-variant-overview h3 {
  font-family: var(--mt-shop-font-heading) !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  color: #24322b !important;
}

html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .product_title,
html body#top.single-product:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) h1.product_title {
  font-weight: 600 !important;
  line-height: 1.08 !important;
}

html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .woocommerce-loop-product__title {
  font-weight: 600 !important;
  line-height: 1.24 !important;
}

html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-shop-hero h1 {
  font-weight: 700 !important;
}

/* SNG variation specs: replace wide in-variation tables with compact, wrapping rows. */
html body#top.single-product .woocommerce-variation-description .mt-sng-variation-copy {
  max-width: 100%;
  overflow: hidden;
}

html body#top.single-product .woocommerce-variation-description .mt-sng-variation-copy h3 {
  margin: 10px 0 10px !important;
  color: #24322b !important;
  font-size: clamp(20px, 2vw, 24px) !important;
  line-height: 1.2 !important;
  font-weight: 650 !important;
}

html body#top.single-product .woocommerce-variation-description .mt-sng-variation-copy p {
  margin: 0 0 14px !important;
  color: #3f4d45 !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}

html body#top.single-product .woocommerce-variation-description .mt-sng-variant-specs {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 14px 0 16px !important;
  padding: 0 !important;
  border-top: 1px solid rgba(36, 50, 43, 0.12) !important;
  overflow: hidden !important;
}

html body#top.single-product .woocommerce-variation-description .mt-sng-spec-row {
  display: grid !important;
  grid-template-columns: minmax(128px, 0.32fr) minmax(0, 1fr) !important;
  gap: 18px !important;
  align-items: start !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  border-bottom: 1px solid rgba(36, 50, 43, 0.1) !important;
}

html body#top.single-product .woocommerce-variation-description .mt-sng-spec-row dt,
html body#top.single-product .woocommerce-variation-description .mt-sng-spec-row dd {
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  color: #34423a !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  text-align: left !important;
  overflow-wrap: anywhere !important;
  word-break: normal !important;
  hyphens: auto !important;
}

html body#top.single-product .woocommerce-variation-description .mt-sng-spec-row dt {
  color: rgba(52, 66, 58, 0.72) !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body#top.single-product .woocommerce-variation-description .mt-sng-spec-row dd {
  font-weight: 450 !important;
}

@media (max-width: 760px) {
  html body#top.single-product .woocommerce-variation-description .mt-sng-spec-row {
    grid-template-columns: 1fr !important;
    gap: 3px !important;
    padding: 9px 0 !important;
  }

  html body#top.single-product .woocommerce-variation-description .mt-sng-spec-row dd {
    font-size: 15px !important;
  }
}

/* ─── Logged-out B2B price placeholder: compact, never real dealer prices ─── */
html body#top.b2bking_logged_out .price.mt-login-for-price,
html body#top.woocommerce.b2bking_logged_out ul.products li.product .price.mt-login-for-price {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: max-content !important;
  min-height: 22px !important;
  margin: 0 !important;
  padding: 3px 8px !important;
  border: 1px solid rgba(52,169,106,0.16) !important;
  border-radius: 999px !important;
  background: rgba(52,169,106,0.06) !important;
  color: var(--mtm-green-dark, #248f53) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 430 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body#top.single-product.b2bking_logged_out .summary p.price.mt-login-for-price,
html body#top.single-product.b2bking_logged_out div.product .summary .price.mt-login-for-price {
  min-height: 30px !important;
  margin: 0 0 18px !important;
  padding: 6px 11px !important;
  font-size: 0.84rem !important;
  line-height: 1.2 !important;
}

html body#top.single-product.b2bking_logged_out .summary > p.price.mt-login-for-price.mt-hidden {
  visibility: visible !important;
}

html body#top.single-product.b2bking_logged_out .summary .woocommerce-variation-price .price.mt-login-for-price {
  display: none !important;
}

@media (max-width: 640px) {
  html body.woocommerce-cart .template-page {
    padding-top: 78px !important;
  }

  html body.woocommerce-cart .woocommerce-message {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body.woocommerce-cart .woocommerce-message .button,
  html body.woocommerce-cart .woocommerce-message .wc-forward {
    width: 100% !important;
    margin-left: 0 !important;
  }

  html body.woocommerce-cart table.cart td.actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  html body.woocommerce-cart table.cart td.actions .coupon {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  html body.woocommerce-cart table.cart td.actions .coupon input.input-text,
  html body.woocommerce-cart table.cart td.actions .coupon .button,
  html body.woocommerce-cart table.cart td.actions > .button[name="update_cart"],
  html body.woocommerce-cart table.cart td.actions > button[name="update_cart"],
  html body.woocommerce-cart .b2bking_add_cart_to_purchase_list_button,
  html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
  }

  html body.woocommerce-cart .wc-proceed-to-checkout {
    justify-content: stretch !important;
  }

  html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_header,
  html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_line {
    min-width: 560px !important;
    grid-template-columns: minmax(280px, 1fr) 88px 120px !important;
  }

  html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_header_product,
  html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_header_qty,
  html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_header_subtotal {
    white-space: nowrap !important;
  }

  html body#top.archive.woocommerce-shop.woocommerce-page ul.products li.product .inner_product.main_color.wrapped_style.noLightbox.av-product-class-minimal,
  html body#top.post-type-archive-product.woocommerce-shop ul.products li.product .inner_product.main_color.wrapped_style.noLightbox.av-product-class-minimal,
  html body#top.tax-product_cat.woocommerce-page ul.products li.product .inner_product.main_color.wrapped_style.noLightbox.av-product-class-minimal {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body#top.archive.woocommerce-shop.woocommerce-page ul.products li.product .thumbnail_container,
  html body#top.post-type-archive-product.woocommerce-shop ul.products li.product .thumbnail_container,
  html body#top.tax-product_cat.woocommerce-page ul.products li.product .thumbnail_container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 176px !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    padding: 14px 14px 10px !important;
    border-right: none !important;
    border-bottom: 0 !important;
  }

  html body#top.archive.woocommerce-shop.woocommerce-page ul.products li.product img,
  html body#top.post-type-archive-product.woocommerce-shop ul.products li.product img,
  html body#top.tax-product_cat.woocommerce-page ul.products li.product img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    padding: 0 !important;
    transform: none !important;
  }
}

html body.woocommerce,
html body.woocommerce-page {
  background: var(--mtm-paper) !important;
}

html body.woocommerce #main,
html body.woocommerce-page #main,
html body.woocommerce .main_color,
html body.woocommerce-page .main_color,
html body.woocommerce .container_wrap,
html body.woocommerce-page .container_wrap,
html body.woocommerce .container_wrap_first,
html body.woocommerce-page .container_wrap_first {
  background: var(--mtm-paper) !important;
  background-image: none !important;
  box-shadow: none !important;
}

html body.woocommerce #wrap_all,
html body.woocommerce-page #wrap_all {
  overflow: visible !important;
}

html body.woocommerce .title_container,
html body.woocommerce-page .title_container {
  display: none !important;
}

html body.single-product,
html body.single-product #main,
html body.single-product #wrap_all,
html body.single-product .main_color,
html body.single-product .container_wrap,
html body.single-product .container_wrap_first {
  background: #f6f8f4 !important;
  background-color: #f6f8f4 !important;
  background-image: none !important;
}

html body.post-type-archive-product .container_wrap_first > .container,
html body.tax-product_cat .container_wrap_first > .container,
html body.tax-product_tag .container_wrap_first > .container {
  width: min(94vw, 1380px) !important;
  max-width: 1380px !important;
}

html body.woocommerce-shop .template-shop.content,
html body.post-type-archive-product .template-shop.content,
html body.tax-product_cat .template-shop.content,
html body.tax-product_tag .template-shop.content,
html body.woocommerce-shop .content,
html body.post-type-archive-product .content,
html body.tax-product_cat .content,
html body.tax-product_tag .content {
  border-right: 0 !important;
  border-left: 0 !important;
}

html body.woocommerce-shop .sidebar,
html body.post-type-archive-product .sidebar,
html body.tax-product_cat .sidebar,
html body.tax-product_tag .sidebar {
  border: 0 !important;
}

/* ─── Shop + category hero: compact, more catalog than landing page ─── */
html body.woocommerce-shop .mt-shop-hero,
html body.post-type-archive-product .mt-shop-hero {
  min-height: 360px !important;
  margin-top: -52px !important;
  margin-bottom: 26px !important;
  padding: 124px max(28px, 5vw) 72px !important;
  border-radius: 0 !important;
  background-position: center 42% !important;
}

html body.woocommerce-shop .mt-shop-hero__inner {
  width: min(94vw, 1380px) !important;
  max-width: 1380px !important;
  padding: 0 !important;
}

html body.woocommerce-shop .mt-shop-hero h1 {
  max-width: 660px !important;
  font-size: clamp(2rem, 4vw, 3.6rem) !important;
  letter-spacing: -0.03em !important;
}

html body.woocommerce-shop .mt-shop-hero p {
  max-width: 620px !important;
  color: rgba(255,255,255,0.9) !important;
}

html body.tax-product_cat .mt-cat-hero {
  min-height: 300px !important;
  margin-top: -52px !important;
  margin-bottom: 0 !important;
  padding: 116px max(28px, 5vw) 58px !important;
}

html body.tax-product_cat .mt-cat-hero__inner {
  width: min(94vw, 1380px) !important;
  max-width: 1380px !important;
}

@media (min-width: 783px) {
  html body.admin-bar.woocommerce-shop .mt-shop-hero,
  html body.admin-bar.post-type-archive-product .mt-shop-hero {
    margin-top: -84px !important;
  }

  html body.admin-bar.tax-product_cat .mt-cat-hero {
    margin-top: -84px !important;
  }
}

html body.tax-product_cat .mt-cat-hero h1 {
  font-size: clamp(2rem, 4vw, 3.35rem) !important;
}

html body#top.tax-product_cat #main > .container_wrap,
html body#top.tax-product_tag #main > .container_wrap,
html body#top.tax-product_cat .container_wrap,
html body#top.tax-product_tag .container_wrap,
html body#top.tax-product_cat .template-shop,
html body#top.tax-product_tag .template-shop {
  border-top: 0 !important;
}

html body#top.tax-product_cat .mt-category-breadcrumb-strip,
html body#top.tax-product_tag .mt-category-breadcrumb-strip {
  width: min(94vw, 1380px) !important;
  max-width: 1380px !important;
  margin: 16px auto 12px !important;
  padding: 0 !important;
}

html body#top.tax-product_cat .mt-category-breadcrumb-strip .mt-breadcrumb,
html body#top.tax-product_tag .mt-category-breadcrumb-strip .mt-breadcrumb {
  margin: 0 !important;
}

/* ─── Category tiles: keep visual signal, reduce postcard feel ─── */
html body.woocommerce-shop .mt-shop-categories {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 14px !important;
  margin: 0 0 18px !important;
}

html body.woocommerce-shop .mt-shop-categories a {
  min-height: 128px !important;
  aspect-ratio: 16 / 7 !important;
  border-radius: 10px !important;
  padding: 18px !important;
  box-shadow: var(--mtm-soft-shadow) !important;
}

html body.woocommerce-shop .mt-shop-categories a strong {
  font-size: 1rem !important;
}

html body.woocommerce-shop .mt-shop-categories .count {
  font-size: 0.76rem !important;
}

html body#top.woocommerce-shop .mt-shop-categories a,
html body#top.woocommerce-shop .mt-shop-categories a strong,
html body#top.woocommerce-shop .mt-shop-categories a span,
html body#top.woocommerce-shop .mt-shop-categories .count {
  color: var(--mtm-paper) !important;
}

html body#top.woocommerce-shop .mt-shop-categories a strong {
  font-weight: 560 !important;
}

/* ─── Toolbar / chips ─── */
html body.woocommerce .mt-shop-toolbar,
html body.woocommerce .mt-chipbar__inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  padding: 10px !important;
  margin: 0 0 28px !important;
  background: rgba(255,255,255,0.82) !important;
  border: 1px solid var(--mtm-line) !important;
  border-radius: 14px !important;
  box-shadow: var(--mtm-soft-shadow) !important;
  backdrop-filter: blur(12px) saturate(1.2);
  -webkit-backdrop-filter: blur(12px) saturate(1.2);
}

html body.woocommerce .mt-shop-toolbar {
  flex-wrap: wrap !important;
}

html body.woocommerce .mt-shop-toolbar::before,
html body.woocommerce .mt-chipbar__inner::before {
  content: "Katalog filtern";
  flex: 0 0 auto;
  color: var(--mtm-muted);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.74rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 4px 0 2px;
}

html[lang^="en"] body.woocommerce .mt-shop-toolbar::before,
html[lang^="en"] body.woocommerce .mt-chipbar__inner::before {
  content: "Filter catalogue";
}

html body.woocommerce .woocommerce-ordering,
html body.woocommerce .woocommerce-result-count {
  margin: 0 !important;
  float: none !important;
}

html body.woocommerce .woocommerce-ordering select,
html body.woocommerce .mt-shop-toolbar-search input[type="search"],
html body.woocommerce .mt-chipbar-search input[type="search"] {
  height: 42px !important;
  min-height: 42px !important;
  border: 1px solid rgba(17,23,21,0.075) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 2px rgba(12,26,18,0.035) !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.88rem !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

html body.woocommerce .woocommerce-ordering {
  display: inline-flex !important;
  gap: 8px !important;
  align-items: center !important;
}

html body.woocommerce .product-sorting,
html body.woocommerce .avia-product-sorting {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body.woocommerce .product-sorting .sort-param,
html body.woocommerce .avia-product-sorting .sort-param {
  margin: 0 !important;
  padding: 0 !important;
}

html body.woocommerce .product-sorting .sort-param > li,
html body.woocommerce .avia-product-sorting .sort-param > li {
  margin: 0 !important;
  padding: 0 !important;
  position: relative !important;
}

html body.woocommerce .product-sorting .sort-param > li > span.currently-selected,
html body.woocommerce .avia-product-sorting .sort-param > li > span.currently-selected {
  display: flex !important;
  align-items: center !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 38px 0 16px !important;
  border: 1px solid rgba(17,23,21,0.075) !important;
  border-radius: 999px !important;
  background-color: #fff !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #7a8781 50%),
    linear-gradient(135deg, #7a8781 50%, transparent 50%) !important;
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50% !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 2px rgba(12,26,18,0.035) !important;
  color: #34413a !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.82rem !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

html body.woocommerce .product-sorting .sort-param > li > span.currently-selected strong,
html body.woocommerce .avia-product-sorting .sort-param > li > span.currently-selected strong {
  margin-left: 3px !important;
  color: var(--mtm-ink) !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

html body.woocommerce .product-sorting .sort-param > li > ul,
html body.woocommerce .avia-product-sorting .sort-param > li > ul {
  margin-top: 8px !important;
  padding: 8px !important;
  border: 1px solid rgba(17,23,21,0.09) !important;
  border-radius: 14px !important;
  background: #fff !important;
  box-shadow: 0 16px 40px rgba(12,26,18,0.13) !important;
}

html body.woocommerce .product-sorting .sort-param > li > ul li,
html body.woocommerce .avia-product-sorting .sort-param > li > ul li {
  padding: 0 !important;
}

html body.woocommerce .product-sorting .sort-param > li > ul a,
html body.woocommerce .avia-product-sorting .sort-param > li > ul a {
  border-radius: 9px !important;
  padding: 8px 10px !important;
}

html body.woocommerce .woocommerce-ordering select,
html body.woocommerce .woocommerce-ordering .orderby,
html body.woocommerce select[name="product_count"] {
  min-width: 0 !important;
  padding: 0 38px 0 16px !important;
  color: #34413a !important;
  cursor: pointer !important;
  border-radius: 999px !important;
  background-color: #fff !important;
  background-image:
    linear-gradient(45deg, transparent 50%, #7a8781 50%),
    linear-gradient(135deg, #7a8781 50%, transparent 50%) !important;
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 13px) 50% !important;
  background-size: 5px 5px, 5px 5px !important;
  background-repeat: no-repeat !important;
}

html body.woocommerce .mt-shop-toolbar-search {
  position: relative !important;
  height: 42px !important;
  padding: 0 !important;
  border: 1px solid rgba(17,23,21,0.075) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 2px rgba(12,26,18,0.035) !important;
  display: flex !important;
  align-items: center !important;
}

html body.woocommerce .mt-shop-toolbar-search::before,
html body.woocommerce .mt-chipbar-search::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 50%;
  width: 16px;
  height: 16px;
  transform: translateY(-50%);
  opacity: 0.5;
  pointer-events: none;
  background:
    radial-gradient(circle at 42% 42%, transparent 0 5px, #66736d 5.5px 6.8px, transparent 7.2px),
    linear-gradient(45deg, transparent 0 58%, #66736d 58% 70%, transparent 70%);
}

html body.woocommerce .mt-shop-toolbar-search,
html body.woocommerce .mt-chipbar-search {
  margin-left: auto !important;
  min-width: min(320px, 34vw) !important;
}

html body.woocommerce .mt-shop-toolbar-search input[type="search"],
html body.woocommerce .mt-chipbar-search input[type="search"] {
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  padding: 0 18px 0 40px !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 999px !important;
  outline: none !important;
}

html body.woocommerce .mt-chipbar__chips {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  overflow-x: auto !important;
  scrollbar-width: none;
}

html body.woocommerce .mt-chipbar__chips::-webkit-scrollbar {
  display: none;
}

html body.woocommerce .mt-chip {
  flex: 0 0 auto !important;
  padding: 10px 15px !important;
  border-radius: 999px !important;
  color: var(--mtm-muted) !important;
  text-decoration: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 650 !important;
}

html body.woocommerce .mt-chip.is-active {
  color: #fff !important;
  background: var(--mtm-green) !important;
}

/* ─── Product archive grid ─── */
html body#top.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  column-gap: 24px !important;
  row-gap: 34px !important;
  margin: 0 0 38px !important;
  padding: 0 !important;
  list-style: none !important;
}

html body#top.woocommerce ul.products li.product,
html body#top.woocommerce-page ul.products li.product {
  width: auto !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  clear: none !important;
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: left !important;
  overflow: visible !important;
  transform: none !important;
}

html body#top.woocommerce ul.products li.product:hover {
  transform: none !important;
  box-shadow: none !important;
}

html body#top.woocommerce ul.products li.product .inner_product,
html body#top.woocommerce ul.products li.product .inner_product.main_color,
html body#top.woocommerce ul.products li.product .inner_product.wrapped_style {
  height: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  background: var(--mtm-panel) !important;
  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: 0 1px 2px rgba(12,26,18,0.045), 0 0 0 1px rgba(17,23,21,0.045) !important;
  overflow: hidden !important;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease !important;
}

html body#top.woocommerce ul.products li.product:hover .inner_product {
  border-color: rgba(0,150,57,0.22) !important;
  box-shadow: var(--mtm-shadow) !important;
  transform: translateY(-2px) !important;
}

html body#top.woocommerce ul.products li.product .thumbnail_container {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background:
    linear-gradient(180deg, rgba(246,248,245,0.8), rgba(255,255,255,0.98)) !important;
  border-bottom: 0 !important;
  padding: 24px 24px 18px !important;
  aspect-ratio: 1 / 0.82 !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
}

html body#top.woocommerce ul.products li.product img,
html body#top.woocommerce ul.products li.product .attachment-shop_catalog,
html body#top.woocommerce ul.products li.product .wp-post-image {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  box-sizing: border-box !important;
  mix-blend-mode: multiply !important;
  transform: none !important;
}

html body#top.woocommerce ul.products li.product img[src*="woocommerce-placeholder"],
html body#top.woocommerce ul.products li.product .woocommerce-placeholder {
  opacity: 0.34 !important;
  mix-blend-mode: normal !important;
  filter: grayscale(1) !important;
}

html body#top.woocommerce ul.products li.product .inner_product_header,
html body#top.woocommerce ul.products li.product .inner_product_header_table,
html body#top.woocommerce ul.products li.product .inner_product_header_cell {
  display: block !important;
  min-height: 0 !important;
  border: none !important;
  background: transparent !important;
}

html body#top.woocommerce ul.products li.product .inner_product_header {
  padding: 6px 18px 20px !important;
}

html body#top.woocommerce ul.products li.product .inner_product_header_table,
html body#top.woocommerce ul.products li.product .inner_product_header_cell {
  width: 100% !important;
  height: auto !important;
  padding: 0 !important;
}

html body#top.woocommerce ul.products li.product .woocommerce-loop-product__title {
  display: -webkit-box !important;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden !important;
  min-height: 2.72em !important;
  margin: 0 0 8px !important;
  padding: 0 !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: 0.98rem !important;
  line-height: 1.36 !important;
  font-weight: 720 !important;
  letter-spacing: -0.01em !important;
}

html body#top.woocommerce ul.products li.product .price {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--mtm-green) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: 0.98rem !important;
  font-weight: 760 !important;
  line-height: 1.3 !important;
}

html body#top.woocommerce ul.products li.product .price .woocommerce-Price-suffix,
html body#top.woocommerce ul.products li.product .price .woocommerce-price-suffix,
html body#top.woocommerce ul.products li.product .price small {
  display: inline !important;
  margin-left: 4px !important;
  color: var(--mtm-muted) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.72rem !important;
  font-weight: 450 !important;
}

html body#top.woocommerce ul.products li.product .mt-price-on-request {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 24px !important;
  padding: 4px 10px !important;
  border-radius: 999px !important;
  background: rgba(0,150,57,0.08) !important;
  color: var(--mtm-green-dark) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
}

html body#top.woocommerce ul.products li.product .button,
html body#top.woocommerce ul.products li.product a.button,
html body#top.woocommerce ul.products li.product a.add_to_cart_button,
html body#top.woocommerce ul.products li.product .stock,
html body#top.woocommerce ul.products li.product .avia-arrow,
html body#top.woocommerce ul.products li.product .cart-loading {
  display: none !important;
}

/* ─── Pagination ─── */
html body.woocommerce nav.woocommerce-pagination ul,
html body.woocommerce .pagination {
  border: none !important;
}

html body.woocommerce nav.woocommerce-pagination ul li a,
html body.woocommerce nav.woocommerce-pagination ul li span,
html body.woocommerce .pagination a,
html body.woocommerce .pagination span {
  min-width: 34px !important;
  height: 34px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  background: #fff !important;
  color: var(--mtm-muted) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.8rem !important;
}

html body.woocommerce nav.woocommerce-pagination ul li span.current,
html body.woocommerce .pagination .current {
  background: var(--mtm-green) !important;
  color: #fff !important;
  border-color: var(--mtm-green) !important;
}

/* ─── Single product: modern B2B panel, mobile-first safe layout ─── */
html body.single-product .template-shop {
  padding: 34px 0 72px !important;
}

html body.single-product .template-shop > .container {
  width: min(92vw, 1320px) !important;
  max-width: 1320px !important;
  padding: 0 !important;
}

html body.single-product .mt-back-to-shop {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 34px !important;
  margin: 0 0 22px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.74) !important;
  color: var(--mtm-muted) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

html body.single-product .mt-back-to-shop:hover {
  color: var(--mtm-green-dark) !important;
  border-color: rgba(0,150,57,0.2) !important;
}

html body.single-product .template-shop .product,
html body.single-product div.product {
  display: grid !important;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr) !important;
  gap: clamp(28px, 4vw, 58px) !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: clamp(24px, 3.6vw, 48px) !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.94) !important;
  box-shadow: 0 18px 60px rgba(12,26,18,0.08) !important;
  box-sizing: border-box !important;
}

html body.single-product .single-product-main-image,
html body.single-product .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
}

html body.single-product .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__wrapper > a {
  display: block !important;
  width: 100% !important;
  background: #f8faf7 !important;
  border: 1px solid rgba(17,23,21,0.07) !important;
  border-radius: 14px !important;
  overflow: hidden !important;
}

html body.single-product .woocommerce-product-gallery img,
html body.single-product .woocommerce-product-gallery .wp-post-image {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1 !important;
  object-fit: contain !important;
  padding: clamp(26px, 4vw, 58px) !important;
  box-sizing: border-box !important;
  mix-blend-mode: multiply !important;
}

html body.single-product .woocommerce-product-gallery img[src*="woocommerce-placeholder"],
html body.single-product .woocommerce-product-gallery .woocommerce-placeholder {
  opacity: 0.34 !important;
  filter: grayscale(1) !important;
  mix-blend-mode: normal !important;
}

html body.single-product .summary,
html body.single-product div.product .summary,
html body.single-product .entry-summary {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: clamp(4px, 0.6vw, 10px) 0 0 !important;
}

html body.single-product .product_title {
  max-width: 680px !important;
  margin: 0 0 14px !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(1.85rem, 2.35vw, 2.65rem) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
}

html body.single-product .summary p.price,
html body.single-product div.product .summary .price {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: baseline !important;
  gap: 6px 10px !important;
  margin: 0 0 28px !important;
  padding: 14px 0 0 !important;
  border-top: 1px solid rgba(17,23,21,0.08) !important;
  color: var(--mtm-green) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(1.45rem, 1.85vw, 2rem) !important;
  font-weight: 780 !important;
}

/* B2BKing replaces prices for logged-out visitors with a text notice.
   Treat that notice like helper copy, not like a product price. */
html body#top.single-product.b2bking_logged_out .summary p.price,
html body#top.single-product.b2bking_logged_out div.product .summary .price {
  display: inline-flex !important;
  align-items: center !important;
  width: auto !important;
  max-width: 560px !important;
  min-height: 34px !important;
  margin: 0 0 22px !important;
  padding: 8px 13px !important;
  border: 1px solid rgba(52,169,106,0.18) !important;
  border-radius: 999px !important;
  background: rgba(52,169,106,0.08) !important;
  color: var(--mtm-green-dark, #248f53) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 460 !important;
  line-height: 1.28 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce.b2bking_logged_out ul.products li.product .price {
  display: block !important;
  margin: 0 !important;
  color: var(--mtm-muted, #6d7b73) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.76rem !important;
  font-weight: 440 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

html body.single-product .summary p.price .amount,
html body.single-product div.product .summary .price .amount {
  font-size: inherit !important;
  line-height: 1.1 !important;
}

html body.single-product .summary p.price .woocommerce-price-suffix,
html body.single-product div.product .summary .price .woocommerce-price-suffix {
  color: var(--mtm-muted) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
}

html body.single-product .variations_form,
html body.single-product form.cart {
  max-width: 100% !important;
}

html body.single-product form.cart.variations_form {
  display: block !important;
  width: 100% !important;
}

html body.single-product table.variations,
html body.single-product table.variations tbody,
html body.single-product table.variations tr,
html body.single-product table.variations th,
html body.single-product table.variations td {
  display: block !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
}

html body.single-product table.variations tr {
  margin-bottom: 18px !important;
}

html body.single-product table.variations label {
  display: block !important;
  margin: 0 0 8px !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 760 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  text-align: left !important;
}

html body.single-product table.variations th,
html body.single-product table.variations td,
html body.single-product table.variations .label,
html body.single-product table.variations .value {
  text-align: left !important;
}

html body.single-product table.variations select {
  width: min(100%, 520px) !important;
  height: 48px !important;
  border: 1px solid rgba(17,23,21,0.13) !important;
  border-radius: 12px !important;
  background-color: #fff !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  box-shadow: var(--mtm-soft-shadow) !important;
}

html body.single-product .single_variation_wrap {
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  overflow: visible !important;
}

html body.single-product .woocommerce-variation-add-to-cart,
html body.single-product form.cart:not(.variations_form) {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
  max-width: 100% !important;
  margin-top: 16px !important;
  overflow: visible !important;
}

html body.single-product form.cart .quantity {
  flex: 0 0 auto !important;
  margin: 0 !important;
}

html body.single-product .single_add_to_cart_button {
  flex: 0 1 auto !important;
  min-width: 220px !important;
  max-width: 100% !important;
  height: 48px !important;
  margin: 0 !important;
  padding: 0 28px !important;
  border-radius: 999px !important;
  background: var(--mtm-green) !important;
  box-shadow: 0 10px 24px rgba(0,150,57,0.2) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: 1rem !important;
  font-weight: 760 !important;
  white-space: nowrap !important;
}

html body.single-product .single_add_to_cart_button:hover {
  background: var(--mtm-green-dark) !important;
}

html body.single-product .product_meta {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: flex-start !important;
  gap: 8px 24px !important;
  margin-top: 30px !important;
  padding: 22px 0 10px !important;
  border-top: 1px solid var(--mtm-line) !important;
  color: var(--mtm-muted) !important;
  line-height: 1.6 !important;
  overflow: visible !important;
}

html body.single-product .sku_wrapper,
html body.single-product .posted_in {
  display: inline-flex !important;
  align-items: baseline !important;
  min-height: 24px !important;
  margin: 0 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.88rem !important;
  line-height: 1.6 !important;
  white-space: normal !important;
}

html body.single-product .woocommerce-tabs {
  margin: 24px 0 0 !important;
  padding-top: 18px !important;
  border-top: 1px solid rgba(17,23,21,0.08) !important;
}

html body.single-product.mt-product-no-description .woocommerce-tabs {
  display: none !important;
}

html body.single-product .woocommerce-tabs .tabs,
html body.single-product .woocommerce-tabs .wc-tabs,
html body.single-product .woocommerce-tabs .panel:empty {
  display: none !important;
}

html body.single-product .related.products,
html body.single-product .up-sells {
  grid-column: 1 / -1 !important;
  margin-top: 52px !important;
  padding-top: 42px !important;
  border-top: 1px solid var(--mtm-line) !important;
}

html body.single-product .related.products > h2,
html body.single-product .up-sells > h2 {
  margin-bottom: 24px !important;
  color: var(--mtm-ink) !important;
  font-size: clamp(1.35rem, 2vw, 1.8rem) !important;
}

html body.single-product .related.products ul.products,
html body.single-product .up-sells ul.products {
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

/* ─── Accessory dilution: keep visible, but make category merchandising less dominant ─── */
html body.tax-product_cat.term-teichprodukte ul.products li.product.product_cat-accessoires {
  opacity: 0.82;
}

/* ─── Cart / checkout: remove Enfold's empty title-band spacing ─── */
html body.woocommerce-cart #main,
html body.woocommerce-checkout #main {
  padding-top: 0 !important;
}

html body.woocommerce-cart,
html body.woocommerce-checkout,
html body.woocommerce-cart #main,
html body.woocommerce-checkout #main,
html body.woocommerce-cart .main_color,
html body.woocommerce-checkout .main_color,
html body.woocommerce-cart .container_wrap,
html body.woocommerce-checkout .container_wrap,
html body.woocommerce-cart .container_wrap_first,
html body.woocommerce-checkout .container_wrap_first {
  background: #f6f8f4 !important;
  background-image: none !important;
}

@media (min-width: 783px) {
  html body.admin-bar.woocommerce-cart,
  html body.admin-bar.woocommerce-checkout,
  html body.admin-bar.woocommerce-account {
    padding-top: 52px !important;
  }
}

html body.woocommerce-cart .container_wrap_first > .container,
html body.woocommerce-checkout .container_wrap_first > .container {
  width: min(92vw, 1320px) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

html body.woocommerce-cart .container_wrap_first,
html body.woocommerce-checkout .container_wrap_first {
  border-top: 0 !important;
}

html body.woocommerce-cart .template-page,
html body.woocommerce-checkout .template-page {
  width: 100% !important;
  padding: 24px 0 56px !important;
}

html body.woocommerce-cart .template-page {
  padding-top: 18px !important;
}

html body.woocommerce-cart .entry-content-wrapper,
html body.woocommerce-checkout .entry-content-wrapper {
  width: 100% !important;
}

html body.woocommerce-cart .entry-content-wrapper > .woocommerce,
html body.woocommerce-checkout .entry-content-wrapper > .woocommerce {
  max-width: none !important;
}

html body.woocommerce-cart .entry-content-wrapper .woocommerce,
html body.woocommerce-cart .woocommerce {
  display: flex !important;
  flex-direction: column !important;
}

html body.woocommerce-cart .mt-cart-head {
  order: -3 !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

html body.woocommerce-cart .mt-cart-head .mt-content-back-wrap,
html body.woocommerce-account .mt-account-head .mt-content-back-wrap {
  margin: 0 0 12px !important;
  padding: 0 !important;
}

html body.woocommerce-cart .mt-cart-head .mt-content-back,
html body.woocommerce-account .mt-account-head .mt-content-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: auto !important;
  max-width: max-content !important;
  min-height: 34px !important;
  padding: 8px 16px 8px 12px !important;
  border-radius: 99px !important;
  background: transparent !important;
  color: #6b7a72 !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0.01em !important;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease !important;
}

html body.woocommerce-cart .mt-cart-head .mt-content-back:hover,
html body.woocommerce-account .mt-account-head .mt-content-back:hover {
  background: rgba(0,150,57,0.08) !important;
  color: #006b28 !important;
}

html body.woocommerce-cart .mt-cart-head h1 {
  margin: 0 !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(1.55rem, 2vw, 2.05rem) !important;
  line-height: 1.12 !important;
  font-weight: 780 !important;
  letter-spacing: 0 !important;
}

html body.woocommerce-cart .cart-empty,
html body.woocommerce-cart .return-to-shop {
  width: min(100%, 760px) !important;
}

html body.woocommerce-cart .cart-empty {
  margin: 0 0 18px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-left: 4px solid var(--mtm-green) !important;
  border-radius: 13px !important;
  background: #f5faf5 !important;
  color: var(--mtm-ink) !important;
}

html body.woocommerce-cart .return-to-shop {
  order: -1 !important;
  margin: 0 0 12px !important;
}

html body.woocommerce-cart .return-to-shop a.button,
html body.woocommerce-cart .return-to-shop a.wc-backward {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  min-height: 34px !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.74) !important;
  box-shadow: none !important;
  color: var(--mtm-muted) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  text-decoration: none !important;
}

html body.woocommerce-cart .return-to-shop a.button::before,
html body.woocommerce-cart .return-to-shop a.wc-backward::before {
  content: "←";
}

html body.woocommerce-cart .return-to-shop a.button:hover,
html body.woocommerce-cart .return-to-shop a.wc-backward:hover {
  border-color: rgba(0,150,57,0.2) !important;
  color: var(--mtm-green-dark) !important;
}

/* Filled cart: make WooCommerce/Enfold/B2BKing actions feel like one UI. */
html body.woocommerce-cart .woocommerce-message {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  min-height: 50px !important;
  margin: 0 0 24px !important;
  padding: 10px 16px !important;
  border: 1px solid rgba(0,150,57,0.22) !important;
  border-left: 4px solid var(--mtm-green) !important;
  border-radius: 13px !important;
  background: #f1faf2 !important;
  color: #31433a !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.94rem !important;
  line-height: 1.45 !important;
}

html body.woocommerce-cart .woocommerce-message::before,
html body.woocommerce-cart .woocommerce-message::after {
  display: none !important;
}

html body.woocommerce-cart .entry-content-wrapper .woocommerce a.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .checkout-button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .wc-forward,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .b2bking_add_cart_to_purchase_list_button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 1px solid transparent !important;
  border-radius: 999px !important;
  background: var(--mtm-green) !important;
  color: #fff !important;
  box-shadow: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 720 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease !important;
}

html body.woocommerce-cart .entry-content-wrapper .woocommerce a.button:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .checkout-button:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .wc-forward:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .b2bking_add_cart_to_purchase_list_button:hover {
  background: var(--mtm-green-dark) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button:disabled,
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button:disabled[disabled],
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button:disabled,
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button:disabled[disabled] {
  background: rgba(0,150,57,0.36) !important;
  color: rgba(255,255,255,0.94) !important;
  cursor: not-allowed !important;
  opacity: 1 !important;
  transform: none !important;
}

html body.woocommerce-cart .woocommerce-message .button,
html body.woocommerce-cart .woocommerce-message .wc-forward {
  position: static !important;
  float: none !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  margin-left: auto !important;
  min-height: 38px !important;
  padding: 0 18px !important;
  background: #fff !important;
  border-color: rgba(0,150,57,0.24) !important;
  color: var(--mtm-green-dark) !important;
}

html body.woocommerce-cart .woocommerce-message .button:hover,
html body.woocommerce-cart .woocommerce-message .wc-forward:hover {
  background: var(--mtm-green) !important;
  color: #fff !important;
}

html body.woocommerce-cart table.shop_table,
html body.woocommerce-cart table.cart,
html body.woocommerce-cart .cart_totals table {
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,0.9) !important;
  overflow: hidden !important;
  box-shadow: 0 12px 34px rgba(12,26,18,0.05) !important;
}

html body.woocommerce-cart table.shop_table th,
html body.woocommerce-cart table.shop_table td {
  border-color: rgba(17,23,21,0.08) !important;
}

html body.woocommerce-cart table.shop_table thead th {
  background: #f8faf7 !important;
}

html body.woocommerce-cart table.shop_table tbody tr,
html body.woocommerce-cart table.shop_table tbody tr:nth-child(odd),
html body.woocommerce-cart table.shop_table tbody tr:nth-child(even),
html body.woocommerce-cart table.shop_table tbody td,
html body.woocommerce-cart table.shop_table tfoot tr,
html body.woocommerce-cart table.shop_table tfoot th,
html body.woocommerce-cart table.shop_table tfoot td {
  background: #fff !important;
  background-image: none !important;
}

html body.woocommerce-cart .cart_totals table tr.order-total th,
html body.woocommerce-cart .cart_totals table tr.order-total td {
  background: #fbfcfa !important;
}

html body.woocommerce-cart table.cart td.actions {
  padding: 14px !important;
  background: #fbfcfa !important;
}

html body.woocommerce-cart table.cart td.actions .coupon {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 0 12px !important;
  float: none !important;
}

html body.woocommerce-cart table.cart td.actions .coupon input.input-text {
  width: min(260px, 100%) !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(17,23,21,0.12) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.9rem !important;
  box-shadow: none !important;
}

html body.woocommerce-cart table.cart td.actions > .button[name="update_cart"],
html body.woocommerce-cart table.cart td.actions > button[name="update_cart"] {
  float: none !important;
}

html body.woocommerce-cart .b2bking_add_cart_to_purchase_list_button {
  margin-top: 2px !important;
  background: #fff !important;
  border-color: rgba(17,23,21,0.1) !important;
  color: var(--mtm-green-dark) !important;
}

html body.woocommerce-cart .b2bking_add_cart_to_purchase_list_button:hover {
  background: #f1faf2 !important;
  color: var(--mtm-green-dark) !important;
}

html body.woocommerce-cart .cart_totals {
  width: min(100%, 640px) !important;
  float: none !important;
  margin-top: 28px !important;
}

html body.woocommerce-cart .wc-proceed-to-checkout {
  display: flex !important;
  justify-content: flex-start !important;
  padding-top: 14px !important;
}

html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
  min-height: 46px !important;
  padding: 0 24px !important;
  font-size: 0.94rem !important;
}

/* ─── Account area ─── */
html body.woocommerce-account #main {
  padding-top: 0 !important;
}

html body.woocommerce-account .title_container {
  display: none !important;
}

html body.woocommerce-account .title_container .container {
  width: min(92vw, 1320px) !important;
  max-width: 1320px !important;
  min-height: 172px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 28px !important;
  padding: 0 !important;
}

html body.woocommerce-account .title_container .main-title {
  margin: 0 !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(2rem, 3.4vw, 3.4rem) !important;
  line-height: 1 !important;
  font-weight: 820 !important;
  letter-spacing: -0.025em !important;
}

html body.woocommerce-account .title_container .breadcrumb {
  position: static !important;
  margin: 0 !important;
  color: var(--mtm-muted) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.82rem !important;
}

html body.woocommerce-account .container_wrap_first > .container {
  width: min(92vw, 1320px) !important;
  max-width: 1320px !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

html body.woocommerce-account .template-page {
  width: 100% !important;
  padding: 56px 0 72px !important;
}

html body.woocommerce-account .entry-content-wrapper {
  width: 100% !important;
}

html body.woocommerce-account .mt-account-head {
  width: 100% !important;
  margin: 0 0 26px !important;
  padding: 0 !important;
}

html body.woocommerce-account .mt-account-head h1 {
  margin: 0 !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(1.7rem, 2.3vw, 2.35rem) !important;
  line-height: 1.12 !important;
  font-weight: 790 !important;
  letter-spacing: 0 !important;
}

html body.woocommerce-account .entry-content-wrapper > .woocommerce {
  display: grid !important;
  grid-template-columns: 260px minmax(0, 1fr) !important;
  gap: 34px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  align-items: start !important;
}

/* Logged-out account login: one calm card, no Woo/Enfold split layout. */
html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce {
  display: block !important;
  box-sizing: border-box !important;
  width: min(100%, 430px) !important;
  max-width: 430px !important;
  margin: 0 auto !important;
  padding: 24px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.9) !important;
  box-shadow: 0 14px 34px rgba(12,26,18,0.055) !important;
}

html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce > h2 {
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--mtm-ink, #24312b) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: 1.34rem !important;
  font-weight: 650 !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .form-row,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login p {
  display: block !important;
  float: none !important;
  clear: both !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login label {
  display: block !important;
  margin: 0 0 7px !important;
  color: var(--mtm-text, #35413b) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login input.input-text,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login input[type="text"],
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login input[type="password"] {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(17,23,21,0.12) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.95) !important;
  color: var(--mtm-ink, #24312b) !important;
  box-shadow: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.94rem !important;
  font-weight: 400 !important;
  line-height: 40px !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .password-input {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .password-input button.show-password-input {
  display: none !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: auto !important;
  margin: 2px 0 16px !important;
  color: var(--mtm-text, #35413b) !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__rememberme input[type="checkbox"] {
  flex: 0 0 auto !important;
  width: 17px !important;
  height: 17px !important;
  margin: 0 !important;
  accent-color: var(--mtm-green, #34a96a) !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__submit {
  display: inline-flex !important;
  float: none !important;
  clear: both !important;
  position: static !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid rgba(52,169,106,0.22) !important;
  border-radius: 999px !important;
  background: rgba(52,169,106,0.12) !important;
  background-image: none !important;
  color: var(--mtm-green-dark, #248f53) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__submit:hover {
  border-color: rgba(52,169,106,0.34) !important;
  background: rgba(52,169,106,0.18) !important;
  color: var(--mtm-green-dark, #248f53) !important;
  box-shadow: none !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .lost_password {
  display: block !important;
  float: none !important;
  clear: both !important;
  position: static !important;
  width: 100% !important;
  margin: 12px 0 0 !important;
  padding: 0 !important;
  line-height: 1.2 !important;
  text-align: center !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .lost_password a {
  display: inline-block !important;
  position: static !important;
  color: var(--mtm-green-dark, #248f53) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .lost_password a:hover {
  color: var(--mtm-green, #34a96a) !important;
  text-decoration: none !important;
}

@media (max-width: 767px) {
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce {
    width: 335px !important;
    max-width: 335px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 20px !important;
  }

  html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__submit {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 350px) {
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce {
    width: 280px !important;
    max-width: 280px !important;
  }
}

/* Logged-out account: B2B-only dealer registration, no consumer choice. */
html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce.mt-b2b-registration-ready,
html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) {
  display: grid !important;
  grid-template-columns: minmax(300px, 420px) minmax(420px, 560px) !important;
  gap: 12px 30px !important;
  align-items: start !important;
  box-sizing: border-box !important;
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) > .woocommerce-notices-wrapper {
  grid-column: 1 / -1 !important;
}

html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) > h2 {
  margin: 0 !important;
  padding: 0 2px !important;
  color: var(--mtm-ink, #24312b) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: 1.24rem !important;
  font-weight: 650 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) > h2:nth-of-type(1) {
  grid-column: 1 !important;
  grid-row: 2 !important;
}

html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) > h2:nth-of-type(2) {
  grid-column: 2 !important;
  grid-row: 2 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register {
  display: block !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 16px 42px rgba(12,26,18,0.055) !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login {
  grid-column: 1 !important;
  grid-row: 3 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register {
  grid-column: 2 !important;
  grid-row: 3 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login p,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register p,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .form-row,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .form-row,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .b2bking_custom_registration_container {
  display: block !important;
  float: none !important;
  clear: both !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  margin: 0 0 14px !important;
  padding: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .b2bking_custom_registration_role_13 {
  display: block !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .mt-b2b-role-locked,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .b2bking_registration_roles_dropdown_section {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0,0,0,0) !important;
  border: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login label,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register label {
  display: block !important;
  margin: 0 0 7px !important;
  color: var(--mtm-text, #35413b) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.89rem !important;
  font-weight: 500 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login input.input-text,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login input[type="text"],
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login input[type="password"],
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register input.input-text,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register input[type="text"],
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register input[type="email"],
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register input[type="password"],
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register input[type="tel"],
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register select,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register textarea {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(17,23,21,0.12) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.96) !important;
  color: var(--mtm-ink, #24312b) !important;
  box-shadow: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.94rem !important;
  font-weight: 400 !important;
  line-height: 40px !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register textarea {
  height: 84px !important;
  min-height: 84px !important;
  padding-top: 11px !important;
  padding-bottom: 11px !important;
  line-height: 1.35 !important;
}

html body#top.woocommerce-account:not(.logged-in) #customer_login form.woocommerce-form-register .b2bking_country_or_state select,
html body#top.woocommerce-account:not(.logged-in) #customer_login form.woocommerce-form-register .b2bking_country_or_state .select2-selection,
html body#top.woocommerce-account:not(.logged-in) #customer_login form.woocommerce-form-register .b2bking_country_or_state .select2-selection--single {
  box-sizing: border-box !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border: 1px solid rgba(17,23,21,0.12) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.96) !important;
  color: var(--mtm-ink, #24312b) !important;
  box-shadow: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.94rem !important;
  line-height: 40px !important;
}

html body#top.woocommerce-account:not(.logged-in) #customer_login form.woocommerce-form-register .b2bking_country_or_state .select2-selection__rendered {
  padding: 0 !important;
  color: var(--mtm-ink, #24312b) !important;
  line-height: 40px !important;
}

html body#top.woocommerce-account:not(.logged-in) #customer_login select.country_to_state,
html body#top.woocommerce-account:not(.logged-in) #customer_login select.state_select,
html body#top.woocommerce-account:not(.logged-in) #customer_login #b2bking_custom_field_25,
html body#top.woocommerce-account:not(.logged-in) #customer_login #billing_state {
  display: block !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(17,23,21,0.12) !important;
  border-radius: 14px !important;
  background-color: rgba(255,255,255,0.96) !important;
  color: var(--mtm-ink, #24312b) !important;
  box-shadow: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.94rem !important;
  font-weight: 400 !important;
  line-height: 40px !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .password-input,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .password-input {
  display: block !important;
  width: 100% !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .password-input button.show-password-input,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .password-input button.show-password-input {
  display: none !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__rememberme {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  width: auto !important;
  margin: 2px 0 16px !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__rememberme input[type="checkbox"] {
  flex: 0 0 auto !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__submit,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register button[name="register"] {
  display: inline-flex !important;
  float: none !important;
  clear: both !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid rgba(52,169,106,0.22) !important;
  border-radius: 999px !important;
  background: rgba(52,169,106,0.12) !important;
  background-image: none !important;
  color: var(--mtm-green-dark, #248f53) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .woocommerce-form-login__submit:hover,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register button[name="register"]:hover {
  border-color: rgba(52,169,106,0.34) !important;
  background: rgba(52,169,106,0.18) !important;
  color: var(--mtm-green-dark, #248f53) !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login .lost_password {
  margin: 12px 0 0 !important;
  text-align: center !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .mt-register-note,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .woocommerce-privacy-policy-text,
html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .woocommerce-privacy-policy-text p {
  margin: 0 0 14px !important;
  color: var(--mtm-muted, #6d7b73) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register .woocommerce-privacy-policy-text a {
  color: var(--mtm-green-dark, #248f53) !important;
  text-decoration: none !important;
}

@media (max-width: 980px) {
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce.mt-b2b-registration-ready,
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) {
    grid-template-columns: minmax(0, 1fr) !important;
    max-width: 560px !important;
    gap: 12px !important;
  }

  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) > h2:nth-of-type(1),
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) > h2:nth-of-type(2),
  html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login,
  html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register {
    grid-column: 1 !important;
    grid-row: auto !important;
  }
}

@media (max-width: 767px) {
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce.mt-b2b-registration-ready,
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) {
    display: block !important;
    width: 335px !important;
    max-width: 335px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) > h2 {
    margin: 0 0 12px !important;
  }

  html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-login {
    margin: 0 0 26px !important;
  }

  html body#top.woocommerce-account:not(.logged-in) form.woocommerce-form-register {
    margin: 0 !important;
  }
}

@media (max-width: 350px) {
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce.mt-b2b-registration-ready,
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(form.woocommerce-form-register) {
    width: 280px !important;
    max-width: 280px !important;
  }
}

/* WooCommerce wraps login/register in #customer_login; this is the real layout. */
html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(#customer_login) {
  display: block !important;
  width: min(100%, 1040px) !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-account:not(.logged-in) #customer_login {
  display: grid !important;
  grid-template-columns: minmax(300px, 420px) minmax(420px, 560px) !important;
  gap: 30px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 1040px !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-account:not(.logged-in) #customer_login .u-column1,
html body#top.woocommerce-account:not(.logged-in) #customer_login .u-column2 {
  display: block !important;
  float: none !important;
  clear: none !important;
  box-sizing: border-box !important;
  width: 100% !important;
  max-width: none !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-account:not(.logged-in) #customer_login .u-column1 > h2,
html body#top.woocommerce-account:not(.logged-in) #customer_login .u-column2 > h2 {
  margin: 0 0 12px !important;
  padding: 0 2px !important;
  color: var(--mtm-ink, #24312b) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: 1.24rem !important;
  font-weight: 650 !important;
  line-height: 1.18 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-account:not(.logged-in) #customer_login form.woocommerce-form-login,
html body#top.woocommerce-account:not(.logged-in) #customer_login form.woocommerce-form-register {
  margin: 0 !important;
}

@media (max-width: 980px) {
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(#customer_login),
  html body#top.woocommerce-account:not(.logged-in) #customer_login {
    width: min(100%, 560px) !important;
    max-width: 560px !important;
  }

  html body#top.woocommerce-account:not(.logged-in) #customer_login {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 26px !important;
  }
}

@media (max-width: 767px) {
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(#customer_login),
  html body#top.woocommerce-account:not(.logged-in) #customer_login {
    display: block !important;
    width: 335px !important;
    max-width: 335px !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body#top.woocommerce-account:not(.logged-in) #customer_login .u-column1 {
    margin: 0 0 26px !important;
  }
}

@media (max-width: 350px) {
  html body#top.woocommerce-account:not(.logged-in) .entry-content > .woocommerce:has(#customer_login),
  html body#top.woocommerce-account:not(.logged-in) #customer_login {
    width: 280px !important;
    max-width: 280px !important;
  }
}

html body.woocommerce-account .woocommerce-MyAccount-navigation {
  width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  border: 0 !important;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation ul {
  position: sticky !important;
  top: 110px !important;
  display: grid !important;
  gap: 4px !important;
  margin: 0 !important;
  padding: 10px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 16px !important;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: 0 14px 42px rgba(12,26,18,0.07) !important;
  list-style: none !important;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation li {
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation a {
  display: flex !important;
  align-items: center !important;
  min-height: 42px !important;
  padding: 0 14px !important;
  border-radius: 11px !important;
  color: #34413a !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 690 !important;
  text-decoration: none !important;
  transition: background .16s ease, color .16s ease, transform .16s ease !important;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation a:hover,
html body.woocommerce-account .woocommerce-MyAccount-navigation .is-active a {
  background: var(--mtm-green) !important;
  color: #fff !important;
  transform: translateY(-1px) !important;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
  margin-top: 6px !important;
  padding-top: 8px !important;
  border-top: 1px solid rgba(17,23,21,0.08) !important;
}

html body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout a {
  color: var(--mtm-muted) !important;
  font-weight: 640 !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content {
  width: 100% !important;
  min-width: 0 !important;
  float: none !important;
  margin: 0 !important;
  padding: clamp(24px, 3.2vw, 42px) !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.94) !important;
  box-shadow: 0 18px 60px rgba(12,26,18,0.08) !important;
  color: #34413a !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.96rem !important;
  line-height: 1.65 !important;
  box-sizing: border-box !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content p {
  max-width: 820px !important;
  margin: 0 0 18px !important;
  color: #34413a !important;
  font-size: 0.98rem !important;
  line-height: 1.7 !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content a:not(.button) {
  color: var(--mtm-green-dark) !important;
  font-weight: 720 !important;
  text-decoration: none !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content > p:first-child {
  max-width: none !important;
  margin: 0 0 26px !important;
  padding: 18px 20px !important;
  border-left: 4px solid var(--mtm-green) !important;
  border-radius: 12px !important;
  background: #f5faf5 !important;
  color: var(--mtm-ink) !important;
  font-size: 1rem !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content h2,
html body.woocommerce-account .woocommerce-MyAccount-content h3,
html body.woocommerce-account .woocommerce-MyAccount-content legend {
  margin: 8px 0 16px !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(1.2rem, 1.6vw, 1.55rem) !important;
  line-height: 1.2 !important;
  font-weight: 790 !important;
  letter-spacing: -0.01em !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content form,
html body.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Addresses {
  max-width: none !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content form .form-row {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content label {
  margin: 0 0 7px !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 750 !important;
  line-height: 1.35 !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content input.input-text,
html body.woocommerce-account .woocommerce-MyAccount-content input[type="text"],
html body.woocommerce-account .woocommerce-MyAccount-content input[type="email"],
html body.woocommerce-account .woocommerce-MyAccount-content input[type="password"],
html body.woocommerce-account .woocommerce-MyAccount-content input[type="tel"],
html body.woocommerce-account .woocommerce-MyAccount-content select,
html body.woocommerce-account .woocommerce-MyAccount-content textarea {
  width: 100% !important;
  min-height: 48px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid rgba(17,23,21,0.12) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(12,26,18,0.035) !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  box-sizing: border-box !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content input:focus,
html body.woocommerce-account .woocommerce-MyAccount-content select:focus,
html body.woocommerce-account .woocommerce-MyAccount-content textarea:focus {
  outline: none !important;
  border-color: rgba(0,150,57,0.38) !important;
  box-shadow: 0 0 0 4px rgba(0,150,57,0.08) !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content fieldset {
  margin: 26px 0 0 !important;
  padding: 24px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 14px !important;
  background: #f8faf7 !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content em {
  display: block !important;
  margin-top: 7px !important;
  color: var(--mtm-muted) !important;
  font-size: 0.86rem !important;
  line-height: 1.45 !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content .button,
html body.woocommerce-account .woocommerce-MyAccount-content button.button,
html body.woocommerce-account .woocommerce-MyAccount-content a.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 22px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--mtm-green) !important;
  box-shadow: 0 10px 24px rgba(0,150,57,0.18) !important;
  color: #fff !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: 0.96rem !important;
  font-weight: 760 !important;
  text-decoration: none !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
html body.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
html body.woocommerce-account .woocommerce-MyAccount-content a.button:hover {
  background: var(--mtm-green-dark) !important;
}

html body.woocommerce-account .woocommerce-info,
html body.woocommerce-account .woocommerce-message,
html body.woocommerce-account .woocommerce-error {
  margin: 0 0 18px !important;
  padding: 18px 20px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-left: 4px solid var(--mtm-green) !important;
  border-radius: 13px !important;
  background: #f5faf5 !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  line-height: 1.55 !important;
}

html body.woocommerce-account table.shop_table,
html body.woocommerce-account .woocommerce-MyAccount-content table {
  width: 100% !important;
  overflow: hidden !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 14px !important;
  background: rgba(255,255,255,0.9) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  box-shadow: 0 12px 34px rgba(12,26,18,0.05) !important;
}

html body.woocommerce-account table.shop_table th,
html body.woocommerce-account table.shop_table td,
html body.woocommerce-account .woocommerce-MyAccount-content table th,
html body.woocommerce-account .woocommerce-MyAccount-content table td {
  padding: 14px 16px !important;
  border-color: rgba(17,23,21,0.07) !important;
  color: #34413a !important;
  font-family: "Inter", system-ui, sans-serif !important;
}

html body.woocommerce-account table.shop_table th,
html body.woocommerce-account .woocommerce-MyAccount-content table th {
  background: #f8faf7 !important;
  color: var(--mtm-ink) !important;
  font-size: 0.78rem !important;
  font-weight: 780 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
}

html body.woocommerce-account table.shop_table tbody tr,
html body.woocommerce-account table.shop_table tbody tr:nth-child(odd),
html body.woocommerce-account table.shop_table tbody tr:nth-child(even),
html body.woocommerce-account table.shop_table tbody td,
html body.woocommerce-account .woocommerce-MyAccount-content table tbody tr,
html body.woocommerce-account .woocommerce-MyAccount-content table tbody tr:nth-child(odd),
html body.woocommerce-account .woocommerce-MyAccount-content table tbody tr:nth-child(even),
html body.woocommerce-account .woocommerce-MyAccount-content table tbody td {
  background: #fff !important;
  background-image: none !important;
}

html body.woocommerce-account .woocommerce-Addresses {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 18px !important;
  margin-top: 24px !important;
}

html body.woocommerce-account .woocommerce-Address {
  width: auto !important;
  float: none !important;
  min-height: 190px !important;
  padding: 22px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 14px !important;
  background: #f8faf7 !important;
  box-sizing: border-box !important;
}

html body.woocommerce-account .woocommerce-Address-title {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

html body.woocommerce-account .woocommerce-Address-title h2,
html body.woocommerce-account .woocommerce-Address-title h3 {
  margin: 0 !important;
}

html body.woocommerce-account .woocommerce-Address-title a {
  display: inline-flex !important;
  align-items: center !important;
  min-height: 32px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  background: rgba(0,150,57,0.08) !important;
  color: var(--mtm-green-dark) !important;
  font-size: 0.82rem !important;
  font-weight: 750 !important;
}

html body.woocommerce-account .woocommerce-Address address {
  margin: 18px 0 0 !important;
  color: #4b5751 !important;
  font-style: normal !important;
  line-height: 1.65 !important;
}

html body.woocommerce-account .b2bking_purchase_list_top_container {
  align-items: center !important;
  gap: 18px !important;
  margin-bottom: 18px !important;
}

html body.woocommerce-account .b2bking_purchase_lists_top_title {
  color: var(--mtm-ink) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(1.65rem, 2.2vw, 2.15rem) !important;
  line-height: 1.1 !important;
  font-weight: 790 !important;
  letter-spacing: -0.015em !important;
}

html body.woocommerce-account #b2bking_purchase_list_new_button {
  min-height: 42px !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: var(--mtm-green) !important;
  box-shadow: 0 10px 24px rgba(0,150,57,0.18) !important;
  color: #fff !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 760 !important;
}

html body.woocommerce-account.woocommerce-bulkorder #b2bking_myaccount_bulkorder_container {
  width: 100% !important;
  max-width: none !important;
}

html body.woocommerce-account.woocommerce-bulkorder #b2bking_myaccount_bulkorder_title {
  margin: 0 0 18px !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(1.35rem, 1.8vw, 1.75rem) !important;
  line-height: 1.15 !important;
  font-weight: 780 !important;
  letter-spacing: 0 !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container {
  width: 100% !important;
  display: block !important;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_top {
  display: none !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content {
  padding: 0 !important;
  background: transparent !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 88px 120px !important;
  gap: 18px !important;
  width: 100% !important;
  height: auto !important;
  margin: 0 0 10px !important;
  padding: 0 0 8px !important;
  border-bottom: 0 !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_header_product,
html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_header_qty,
html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_header_subtotal {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  color: #4b5751 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 780 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_header_product {
  display: grid !important;
  gap: 8px !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_line {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 88px 120px !important;
  align-items: center !important;
  gap: 18px !important;
  width: 100% !important;
  height: auto !important;
  min-height: 58px !important;
  padding: 9px 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_line_product,
html body.woocommerce-account.woocommerce-bulkorder #b2bking_bulkorder_searchby_select,
html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_line_qty {
  width: 100% !important;
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  border: 1px solid rgba(17,23,21,0.1) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: none !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.92rem !important;
}

html body.woocommerce-account.woocommerce-bulkorder #b2bking_bulkorder_searchby_select {
  display: block !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-weight: 500 !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_newline_container {
  border-bottom: 0 !important;
}

html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_content_line_subtotal {
  display: block !important;
  width: auto !important;
  margin: 0 !important;
  color: var(--mtm-green-dark) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.95rem !important;
  font-weight: 750 !important;
}

html body.woocommerce-account .dataTables_wrapper {
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #34413a !important;
  font-family: "Inter", system-ui, sans-serif !important;
}

html body.woocommerce-account .dataTables_wrapper::after {
  content: "";
  display: table;
  clear: both;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_length,
html body.woocommerce-account .dataTables_wrapper .dataTables_filter {
  display: flex !important;
  align-items: center !important;
  min-height: 44px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
  color: var(--mtm-muted) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.82rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_filter {
  justify-content: flex-end !important;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_length label,
html body.woocommerce-account .dataTables_wrapper .dataTables_filter label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
  color: var(--mtm-muted) !important;
  font-size: 0 !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_length label::before {
  content: "Zeige";
  font-size: 0.82rem;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_length label::after {
  content: "Einträge";
  font-size: 0.82rem;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_filter label::before {
  content: "Suche";
  font-size: 0.82rem;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_length select,
html body.woocommerce-account .dataTables_wrapper .dataTables_filter input[type="search"] {
  height: 42px !important;
  min-height: 42px !important;
  margin: 0 !important;
  border: 1px solid rgba(17,23,21,0.1) !important;
  border-radius: 999px !important;
  background: #fff !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8), 0 1px 2px rgba(12,26,18,0.035) !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.92rem !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
  vertical-align: middle !important;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_length select {
  width: auto !important;
  min-width: 76px !important;
  padding: 0 34px 0 15px !important;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_filter input[type="search"] {
  width: min(230px, 32vw) !important;
  padding: 0 15px !important;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_info,
html body.woocommerce-account .dataTables_wrapper .dataTables_paginate {
  margin-top: 14px !important;
  color: var(--mtm-muted) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  line-height: 1.4 !important;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_paginate .paginate_button {
  min-height: 34px !important;
  margin: 0 0 0 6px !important;
  padding: 8px 12px !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 999px !important;
  background: #fff !important;
  color: var(--mtm-muted) !important;
  font-weight: 700 !important;
}

html body.woocommerce-account .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html body.woocommerce-account .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  background: var(--mtm-green) !important;
  color: #fff !important;
  border-color: var(--mtm-green) !important;
}

/* ─── Responsive ─── */
@media (max-width: 1180px) {
  html body.woocommerce-account .entry-content-wrapper > .woocommerce {
    grid-template-columns: 230px minmax(0, 1fr) !important;
    gap: 24px !important;
  }

  html body#top.woocommerce ul.products,
  html body.single-product .related.products ul.products,
  html body.single-product .up-sells ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 900px) {
  html body.woocommerce-account .title_container .container {
    min-height: 150px !important;
    align-items: flex-start !important;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 30px 0 !important;
  }

  html body.woocommerce-account .title_container .breadcrumb {
    display: none !important;
  }

  html body.woocommerce-account .template-page {
    padding: 24px 0 52px !important;
  }

  html body.woocommerce-account .entry-content-wrapper > .woocommerce {
    display: block !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 16px !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation ul {
    position: static !important;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    gap: 8px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 8px !important;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation ul::-webkit-scrollbar {
    display: none;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation li {
    flex: 0 0 auto !important;
    scroll-snap-align: start;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation a {
    min-height: 38px !important;
    white-space: nowrap !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 22px !important;
  }

  html body.woocommerce-account .woocommerce-Addresses {
    grid-template-columns: 1fr !important;
  }

  html body.woocommerce-account .b2bking_purchase_list_top_container {
    align-items: flex-start !important;
    flex-direction: column !important;
  }

  html body.woocommerce-account .dataTables_wrapper .dataTables_length,
  html body.woocommerce-account .dataTables_wrapper .dataTables_filter {
    float: none !important;
    width: 100% !important;
    justify-content: flex-start !important;
  }

  html body.woocommerce-account .dataTables_wrapper .dataTables_filter input[type="search"] {
    width: 100% !important;
  }

  html body.woocommerce-shop .mt-shop-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  html body#top.woocommerce ul.products,
  html body.single-product .related.products ul.products,
  html body.single-product .up-sells ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 18px !important;
  }

  html body.single-product .template-shop .product,
  html body.single-product div.product {
    display: block !important;
    width: min(92vw, 680px) !important;
    margin-top: 28px !important;
  }

  html body.single-product .single-product-main-image,
  html body.single-product .woocommerce-product-gallery {
    margin-bottom: 26px !important;
  }
}

@media (max-width: 640px) {
  html body.woocommerce-account .title_container {
    min-height: 116px !important;
  }

  html body.woocommerce-account .title_container .container {
    min-height: 116px !important;
    padding: 24px 0 !important;
  }

  html body.woocommerce-account .title_container .main-title {
    font-size: 2rem !important;
  }

  html body.woocommerce-account .container_wrap_first > .container {
    width: min(92vw, 520px) !important;
  }

  html body.woocommerce-account .template-page {
    padding: 72px 0 42px !important;
  }

  html body.woocommerce-cart .template-page {
    padding-top: 78px !important;
  }

  html body.woocommerce-cart .woocommerce-message {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  html body.woocommerce-cart .woocommerce-message .button,
  html body.woocommerce-cart .woocommerce-message .wc-forward {
    width: 100% !important;
    margin-left: 0 !important;
  }

  html body.woocommerce-cart table.shop_table,
  html body.woocommerce-cart table.cart,
  html body.woocommerce-cart .cart_totals table {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  html body.woocommerce-cart table.cart td.actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
  }

  html body.woocommerce-cart table.cart td.actions .coupon {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 10px !important;
    margin: 0 !important;
  }

  html body.woocommerce-cart table.cart td.actions .coupon input.input-text,
  html body.woocommerce-cart table.cart td.actions .coupon .button,
  html body.woocommerce-cart table.cart td.actions > .button[name="update_cart"],
  html body.woocommerce-cart table.cart td.actions > button[name="update_cart"],
  html body.woocommerce-cart .b2bking_add_cart_to_purchase_list_button,
  html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    width: 100% !important;
  }

  html body.woocommerce-cart .wc-proceed-to-checkout {
    justify-content: stretch !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content {
    padding: 18px !important;
    border-radius: 16px !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content > p:first-child,
  html body.woocommerce-account .woocommerce-info,
  html body.woocommerce-account .woocommerce-message,
  html body.woocommerce-account .woocommerce-error {
    padding: 15px 16px !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content fieldset,
  html body.woocommerce-account .woocommerce-Address {
    padding: 18px !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content table,
  html body.woocommerce-account table.shop_table {
    display: block !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
  }

  html body.admin-bar.woocommerce .mt-mh,
  html body.admin-bar.woocommerce-page .mt-mh {
    top: 0 !important;
  }

  html body.admin-bar.woocommerce .mt-drawer,
  html body.admin-bar.woocommerce-page .mt-drawer {
    top: 0 !important;
    height: 100dvh !important;
  }

  html body.woocommerce-shop .mt-shop-hero {
    min-height: 280px !important;
    padding: 112px 22px 38px !important;
    margin-top: 0 !important;
  }

  html body.woocommerce-shop .mt-shop-hero h1 {
    font-size: 1.75rem !important;
  }

  html body.woocommerce-shop .mt-shop-hero p {
    font-size: 0.9rem !important;
    line-height: 1.45 !important;
  }

  html body.tax-product_cat .mt-cat-hero {
    min-height: 230px !important;
    padding: 112px 22px 36px !important;
    margin-top: 0 !important;
  }

  html body.woocommerce-shop .mt-shop-categories {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  html body.woocommerce-shop .mt-shop-categories a {
    min-height: 96px !important;
    aspect-ratio: auto !important;
    padding: 13px !important;
  }

  html body.woocommerce .mt-shop-toolbar,
  html body.woocommerce .mt-chipbar__inner {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    padding: 10px !important;
    margin-bottom: 20px !important;
  }

  html body.woocommerce .mt-shop-toolbar::before,
  html body.woocommerce .mt-chipbar__inner::before {
    margin: 0 0 2px !important;
    font-size: 0.7rem !important;
  }

  html body.woocommerce .woocommerce-ordering {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  html body.woocommerce .product-sorting,
  html body.woocommerce .avia-product-sorting {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 8px !important;
    width: 100% !important;
  }

  html body.woocommerce .product-sorting .sort-param,
  html body.woocommerce .avia-product-sorting .sort-param,
  html body.woocommerce .product-sorting .sort-param > li,
  html body.woocommerce .avia-product-sorting .sort-param > li,
  html body.woocommerce .product-sorting .sort-param > li > span.currently-selected,
  html body.woocommerce .avia-product-sorting .sort-param > li > span.currently-selected {
    width: 100% !important;
    max-width: 100% !important;
  }

  html body.woocommerce .woocommerce-ordering select,
  html body.woocommerce .woocommerce-ordering .orderby,
  html body.woocommerce select[name="product_count"] {
    width: 100% !important;
    height: 44px !important;
  }

  html body.woocommerce .mt-shop-toolbar-search,
  html body.woocommerce .mt-chipbar-search {
    min-width: 0 !important;
    width: 100% !important;
    margin: 0 !important;
  }

  html body#top.woocommerce ul.products {
    grid-template-columns: 1fr !important;
    row-gap: 16px !important;
  }

  html body#top ul.products li.product .inner_product,
  html body#top.woocommerce ul.products li.product .inner_product,
  html body#top.woocommerce-page ul.products li.product .inner_product {
    display: grid !important;
    grid-template-columns: 112px minmax(0, 1fr) !important;
    align-items: stretch !important;
  }

  html body#top ul.products li.product .thumbnail_container,
  html body#top.woocommerce ul.products li.product .thumbnail_container,
  html body#top.woocommerce-page ul.products li.product .thumbnail_container {
    aspect-ratio: auto !important;
    min-height: 128px !important;
    padding: 12px !important;
    border-right: 0 !important;
    border-bottom: none !important;
  }

  html body#top ul.products li.product img,
  html body#top ul.products li.product .attachment-shop_catalog,
  html body#top ul.products li.product .wp-post-image,
  html body#top.woocommerce ul.products li.product img,
  html body#top.woocommerce ul.products li.product .attachment-shop_catalog,
  html body#top.woocommerce ul.products li.product .wp-post-image {
    padding: 0 !important;
    transform: none !important;
  }

  html body#top ul.products li.product .inner_product_header,
  html body#top.woocommerce ul.products li.product .inner_product_header,
  html body#top.woocommerce-page ul.products li.product .inner_product_header {
    padding: 15px 15px 14px !important;
    align-self: center !important;
  }

  html body#top.woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 0.94rem !important;
    min-height: 0 !important;
    -webkit-line-clamp: 3;
  }

  html body.single-product .product_title {
    font-size: 1.75rem !important;
  }

  html body.single-product .woocommerce-variation-add-to-cart,
  html body.single-product form.cart:not(.variations_form) {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
    justify-items: stretch !important;
  }

  html body.single-product form.cart .quantity {
    justify-self: start !important;
  }

  html body.single-product .single_add_to_cart_button {
    width: 100% !important;
    min-width: 0 !important;
    justify-content: center !important;
  }

  html body.single-product .related.products ul.products,
  html body.single-product .up-sells ul.products {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 640px) {
  html body#top.archive.woocommerce-shop.woocommerce-page ul.products li.product .inner_product.main_color.wrapped_style.noLightbox.av-product-class-minimal,
  html body#top.post-type-archive-product.woocommerce-shop ul.products li.product .inner_product.main_color.wrapped_style.noLightbox.av-product-class-minimal,
  html body#top.tax-product_cat.woocommerce-page ul.products li.product .inner_product.main_color.wrapped_style.noLightbox.av-product-class-minimal {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
  }
}

/* Higher-specificity product shell override for Enfold's product defaults. */
html body#top.single-product.woocommerce div.product.product,
html body#top.single-product.woocommerce-page div.product.product {
  display: grid !important;
  grid-template-columns: minmax(340px, 0.9fr) minmax(420px, 1.1fr) !important;
  gap: clamp(28px, 4vw, 58px) !important;
  align-items: start !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: clamp(24px, 3.6vw, 48px) !important;
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 18px !important;
  background: rgba(255,255,255,0.94) !important;
  box-shadow: 0 18px 60px rgba(12,26,18,0.08) !important;
  box-sizing: border-box !important;
}

@media (max-width: 900px) {
  html body#top.single-product.woocommerce div.product.product,
  html body#top.single-product.woocommerce-page div.product.product {
    display: block !important;
    width: 100% !important;
    margin: 20px auto 0 !important;
    padding: 18px !important;
  }
}

@media (max-width: 640px) {
  html body.single-product .template-shop {
    padding-top: 72px !important;
  }
}

/* Gentle green pass for shop action pills. */
html body.woocommerce,
html body.woocommerce-page {
  --mtm-green: #34a96a;
  --mtm-green-dark: #248f53;
  --mtm-green-soft: #eaf7ef;
  --mtm-green-soft-text: #17633c;
}

html body#top.woocommerce ul.products li.product .button,
html body#top.woocommerce ul.products li.product a.button,
html body#top.woocommerce ul.products li.product a.add_to_cart_button,
html body.single-product .single_add_to_cart_button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce a.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .checkout-button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .wc-forward,
html body.woocommerce-account .woocommerce-MyAccount-content .button,
html body.woocommerce-account .woocommerce-MyAccount-content button.button,
html body.woocommerce-account .woocommerce-MyAccount-content a.button,
html body.woocommerce-account #b2bking_purchase_list_new_button,
html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_newline_button,
html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_bottom_add_button,
html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_bottom_save_button,
html body.woocommerce-account .dataTables_wrapper .dataTables_paginate .paginate_button.current,
html body.woocommerce-account .dataTables_wrapper .dataTables_paginate .paginate_button:hover,
html body .woocommerce form button[type="submit"],
html body.single-product .mt-price-on-request-cta .mt-poa-button {
  border-color: var(--mtm-green) !important;
  background: var(--mtm-green) !important;
  box-shadow: 0 7px 18px rgba(52,169,106,0.14) !important;
  color: #fff !important;
}

html body#top.woocommerce ul.products li.product .button:hover,
html body#top.woocommerce ul.products li.product a.button:hover,
html body#top.woocommerce ul.products li.product a.add_to_cart_button:hover,
html body.single-product .single_add_to_cart_button:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce a.button:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .checkout-button:hover,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .wc-forward:hover,
html body.woocommerce-account .woocommerce-MyAccount-content .button:hover,
html body.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
html body.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
html body.woocommerce-account #b2bking_purchase_list_new_button:hover,
html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_newline_button:hover,
html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_bottom_add_button:hover,
html body.woocommerce-account.woocommerce-bulkorder .b2bking_bulkorder_form_container_bottom_save_button:hover,
html body .woocommerce form button[type="submit"]:hover,
html body.single-product .mt-price-on-request-cta .mt-poa-button:hover {
  border-color: var(--mtm-green-dark) !important;
  background: var(--mtm-green-dark) !important;
  box-shadow: 0 9px 22px rgba(36,143,83,0.16) !important;
  color: #fff !important;
}

html body.woocommerce-cart .return-to-shop a.button,
html body.woocommerce-cart .woocommerce-message .button,
html body.woocommerce-cart .woocommerce-message .wc-forward,
html body.woocommerce-cart .b2bking_add_cart_to_purchase_list_button,
html body button#b2bking_checkout_registration_validate_vat_button,
html body .b2bking_validate_vat_button,
html body button.b2bking_validate_vat_button_registration {
  border-color: rgba(52,169,106,0.28) !important;
  background: var(--mtm-green-soft) !important;
  box-shadow: none !important;
  color: var(--mtm-green-soft-text) !important;
}

html body.woocommerce-cart .return-to-shop a.button:hover,
html body.woocommerce-cart .woocommerce-message .button:hover,
html body.woocommerce-cart .woocommerce-message .wc-forward:hover,
html body.woocommerce-cart .b2bking_add_cart_to_purchase_list_button:hover,
html body button#b2bking_checkout_registration_validate_vat_button:hover,
html body .b2bking_validate_vat_button:hover,
html body button.b2bking_validate_vat_button_registration:hover {
  border-color: rgba(52,169,106,0.34) !important;
  background: #dcf1e5 !important;
  color: #115734 !important;
}

html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button:disabled,
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button:disabled[disabled],
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button:disabled,
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button:disabled[disabled] {
  background: rgba(52,169,106,0.12) !important;
  box-shadow: none !important;
  color: rgba(36,143,83,0.72) !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button {
  border-color: var(--mtm-green) !important;
  background: var(--mtm-green) !important;
  box-shadow: 0 7px 18px rgba(52,169,106,0.14) !important;
  color: #fff !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button:hover,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button:hover,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button:hover {
  border-color: var(--mtm-green-dark) !important;
  background: var(--mtm-green-dark) !important;
  box-shadow: 0 9px 22px rgba(36,143,83,0.16) !important;
}

/* Shop shell: stable page height, centered content, footer pushed down on short views. */
html body.woocommerce,
html body.woocommerce-page,
html body.woocommerce #wrap_all,
html body.woocommerce-page #wrap_all {
  background: var(--mtm-paper) !important;
  background-image: none !important;
}

html body.woocommerce #main,
html body.woocommerce-page #main {
  display: flex !important;
  flex-direction: column !important;
  min-height: calc(100svh - var(--wp-admin--admin-bar--height, 0px) - 52px) !important;
  background: var(--mtm-paper) !important;
  background-image: none !important;
}

html body.woocommerce #main > .container_wrap_first,
html body.woocommerce-page #main > .container_wrap_first {
  flex: 1 0 auto !important;
}

html body.woocommerce #main > .mt-foot,
html body.woocommerce-page #main > .mt-foot {
  flex: 0 0 auto !important;
  margin-top: auto !important;
}

html body.single-product .container_wrap_first > .container,
html body.woocommerce-cart .container_wrap_first > .container,
html body.woocommerce-checkout .container_wrap_first > .container,
html body.woocommerce-account .container_wrap_first > .container {
  width: min(calc(100vw - clamp(32px, 8vw, 120px)), 1320px) !important;
  max-width: 1320px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

html body.woocommerce-cart .template-page,
html body.woocommerce-checkout .template-page,
html body.woocommerce-account .template-page,
html body.single-product .template-shop {
  box-sizing: border-box !important;
}

@media (max-width: 640px) {
  html body.woocommerce #main,
  html body.woocommerce-page #main {
    min-height: 100svh !important;
  }

  html body.single-product .container_wrap_first > .container,
  html body.woocommerce-cart .container_wrap_first > .container,
  html body.woocommerce-checkout .container_wrap_first > .container,
  html body.woocommerce-account .container_wrap_first > .container {
    width: min(92vw, 520px) !important;
  }
}

/* Initial color only: make action pills feel like the address "add" pills. */
html body#top.woocommerce ul.products li.product .button:not(:hover):not(:focus):not(:active),
html body#top.woocommerce ul.products li.product a.button:not(:hover):not(:focus):not(:active),
html body#top.woocommerce ul.products li.product a.add_to_cart_button:not(:hover):not(:focus):not(:active),
html body.single-product .single_add_to_cart_button:not(:hover):not(:focus):not(:active),
html body.single-product .mt-price-on-request-cta .mt-poa-button:not(:hover):not(:focus):not(:active),
html body.woocommerce-cart .entry-content-wrapper .woocommerce a.button:not(:hover):not(:focus):not(:active),
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button:not(:hover):not(:focus):not(:active):not(:disabled),
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button:not(:hover):not(:focus):not(:active):not(:disabled),
html body.woocommerce-cart .entry-content-wrapper .woocommerce .checkout-button:not(:hover):not(:focus):not(:active),
html body.woocommerce-cart .entry-content-wrapper .woocommerce .wc-forward:not(:hover):not(:focus):not(:active),
html body.woocommerce-account .woocommerce-MyAccount-content .button:not(:hover):not(:focus):not(:active),
html body.woocommerce-account .woocommerce-MyAccount-content button.button:not(:hover):not(:focus):not(:active),
html body.woocommerce-account .woocommerce-MyAccount-content a.button:not(:hover):not(:focus):not(:active),
html body.woocommerce-account #b2bking_purchase_list_new_button:not(:hover):not(:focus):not(:active),
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button:not(:hover):not(:focus):not(:active),
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button:not(:hover):not(:focus):not(:active),
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button:not(:hover):not(:focus):not(:active),
html body .woocommerce form button[type="submit"]:not(:hover):not(:focus):not(:active) {
  background: rgba(52,169,106,0.12) !important;
  border-color: rgba(52,169,106,0.18) !important;
  color: var(--mtm-green-dark) !important;
}

html body.woocommerce .entry-content-wrapper .woocommerce .button:not(:hover):not(:focus):not(:active) svg,
html body.woocommerce .entry-content-wrapper .woocommerce .button:not(:hover):not(:focus):not(:active) svg *,
html body.woocommerce-account .woocommerce-MyAccount-content button:not(:hover):not(:focus):not(:active) svg,
html body.woocommerce-account .woocommerce-MyAccount-content button:not(:hover):not(:focus):not(:active) svg * {
  fill: currentColor !important;
  stroke: currentColor !important;
}

/* Global Woo notices: "Warenkorb anzeigen" and similar action buttons. */
html body#top.woocommerce .woocommerce-message,
html body#top.woocommerce-page .woocommerce-message,
html body#top.woocommerce .woocommerce-info,
html body#top.woocommerce-page .woocommerce-info {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  min-height: 52px !important;
  margin: 18px 0 24px !important;
  padding: 10px 18px !important;
  border: 1px solid rgba(52,169,106,0.22) !important;
  border-left: 4px solid var(--mtm-green, #34a96a) !important;
  border-radius: 13px !important;
  background: rgba(52,169,106,0.08) !important;
  color: var(--mtm-text, #35413b) !important;
  box-shadow: none !important;
  outline: 0 !important;
  outline-offset: 0 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.94rem !important;
  font-weight: 400 !important;
  line-height: 1.45 !important;
}

html body#top.woocommerce .woocommerce-message:focus,
html body#top.woocommerce .woocommerce-message:focus-visible,
html body#top.woocommerce-page .woocommerce-message:focus,
html body#top.woocommerce-page .woocommerce-message:focus-visible,
html body#top.woocommerce .woocommerce-info:focus,
html body#top.woocommerce .woocommerce-info:focus-visible,
html body#top.woocommerce-page .woocommerce-info:focus,
html body#top.woocommerce-page .woocommerce-info:focus-visible {
  outline: 0 !important;
  box-shadow: none !important;
}

html body#top.woocommerce .woocommerce-message::before,
html body#top.woocommerce .woocommerce-message::after,
html body#top.woocommerce-page .woocommerce-message::before,
html body#top.woocommerce-page .woocommerce-message::after,
html body#top.woocommerce .woocommerce-info::before,
html body#top.woocommerce .woocommerce-info::after,
html body#top.woocommerce-page .woocommerce-info::before,
html body#top.woocommerce-page .woocommerce-info::after {
  display: none !important;
  content: none !important;
}

html body#top.woocommerce .woocommerce-message .button,
html body#top.woocommerce .woocommerce-message .wc-forward,
html body#top.woocommerce-page .woocommerce-message .button,
html body#top.woocommerce-page .woocommerce-message .wc-forward,
html body#top.woocommerce .woocommerce-info .button,
html body#top.woocommerce .woocommerce-info .wc-forward,
html body#top.woocommerce-page .woocommerce-info .button,
html body#top.woocommerce-page .woocommerce-info .wc-forward {
  position: static !important;
  display: inline-flex !important;
  float: none !important;
  clear: none !important;
  flex: 0 0 auto !important;
  align-self: center !important;
  align-items: center !important;
  justify-content: center !important;
  width: auto !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 36px !important;
  margin: 0 0 0 auto !important;
  padding: 0 16px !important;
  border: 1px solid rgba(52,169,106,0.20) !important;
  border-radius: 999px !important;
  background: rgba(52,169,106,0.12) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: var(--mtm-green-dark) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
  text-decoration: none !important;
  text-shadow: none !important;
  text-transform: none !important;
  white-space: nowrap !important;
  transform: none !important;
}

html body#top.woocommerce .woocommerce-message .button:hover,
html body#top.woocommerce .woocommerce-message .wc-forward:hover,
html body#top.woocommerce-page .woocommerce-message .button:hover,
html body#top.woocommerce-page .woocommerce-message .wc-forward:hover,
html body#top.woocommerce .woocommerce-info .button:hover,
html body#top.woocommerce .woocommerce-info .wc-forward:hover,
html body#top.woocommerce-page .woocommerce-info .button:hover,
html body#top.woocommerce-page .woocommerce-info .wc-forward:hover {
  border-color: rgba(52,169,106,0.34) !important;
  background: rgba(52,169,106,0.18) !important;
  color: var(--mtm-green-dark) !important;
  box-shadow: none !important;
  text-decoration: none !important;
  transform: none !important;
}

@media (max-width: 640px) {
  html body#top.woocommerce .woocommerce-message,
  html body#top.woocommerce-page .woocommerce-message,
  html body#top.woocommerce .woocommerce-info,
  html body#top.woocommerce-page .woocommerce-info {
    display: grid !important;
    gap: 10px !important;
    padding: 12px 14px !important;
  }

  html body#top.woocommerce .woocommerce-message .button,
  html body#top.woocommerce .woocommerce-message .wc-forward,
  html body#top.woocommerce-page .woocommerce-message .button,
  html body#top.woocommerce-page .woocommerce-message .wc-forward,
  html body#top.woocommerce .woocommerce-info .button,
  html body#top.woocommerce .woocommerce-info .wc-forward,
  html body#top.woocommerce-page .woocommerce-info .button,
  html body#top.woocommerce-page .woocommerce-info .wc-forward {
    margin: 0 !important;
    justify-self: start !important;
  }
}

@media (max-width: 640px) {
  html body.woocommerce-cart table.cart,
  html body.woocommerce-cart table.cart tbody,
  html body.woocommerce-cart table.cart tr,
  html body.woocommerce-cart table.cart td {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body.woocommerce-cart table.cart {
    overflow: visible !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.woocommerce-cart table.cart thead {
    display: none !important;
  }

  html body.woocommerce-cart table.cart tbody {
    overflow: visible !important;
  }

  html body.woocommerce-cart table.cart tr.cart_item {
    position: relative !important;
    display: grid !important;
    grid-template-columns: 72px minmax(0, 1fr) !important;
    gap: 10px 14px !important;
    margin: 0 0 14px !important;
    padding: 16px !important;
    border: 1px solid rgba(17,23,21,0.08) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 10px 28px rgba(12,26,18,0.045) !important;
  }

  html body.woocommerce-cart table.cart tr.cart_item td {
    float: none !important;
    clear: none !important;
    min-height: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
  }

  html body.woocommerce-cart table.cart td.product-remove {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 2 !important;
    width: 30px !important;
    height: 30px !important;
  }

  html body.woocommerce-cart table.cart td.product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 30px !important;
    height: 30px !important;
    border-radius: 999px !important;
    background: #f2f6f1 !important;
    color: var(--mtm-green-dark) !important;
    font-size: 18px !important;
    line-height: 1 !important;
    text-decoration: none !important;
  }

  html body.woocommerce-cart table.cart td.product-thumbnail {
    grid-column: 1 !important;
    grid-row: 1 / span 4 !important;
    align-self: start !important;
  }

  html body.woocommerce-cart table.cart td.product-thumbnail a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 72px !important;
    aspect-ratio: 1 !important;
    border: 1px solid rgba(17,23,21,0.07) !important;
    border-radius: 12px !important;
    background: #fff !important;
  }

  html body.woocommerce-cart table.cart td.product-thumbnail img {
    width: auto !important;
    height: auto !important;
    max-width: 58px !important;
    max-height: 58px !important;
    object-fit: contain !important;
  }

  html body.woocommerce-cart table.cart td.product-name,
  html body.woocommerce-cart table.cart td.product-price,
  html body.woocommerce-cart table.cart td.product-quantity,
  html body.woocommerce-cart table.cart td.product-subtotal {
    grid-column: 2 !important;
  }

  html body.woocommerce-cart table.cart td.product-name {
    padding-right: 32px !important;
    color: var(--mtm-ink) !important;
    font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
    font-size: 1rem !important;
    font-weight: 760 !important;
    line-height: 1.2 !important;
  }

  html body.woocommerce-cart table.cart td.product-name a {
    color: inherit !important;
    text-decoration: none !important;
  }

  html body.woocommerce-cart table.cart td.product-price,
  html body.woocommerce-cart table.cart td.product-quantity,
  html body.woocommerce-cart table.cart td.product-subtotal {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(17,23,21,0.07) !important;
    color: #34413a !important;
    font-size: 0.94rem !important;
    line-height: 1.2 !important;
  }

  html body.woocommerce-cart table.cart td.product-price::before,
  html body.woocommerce-cart table.cart td.product-quantity::before,
  html body.woocommerce-cart table.cart td.product-subtotal::before {
    content: attr(data-title) !important;
    flex: 0 0 auto !important;
    color: #66736d !important;
    font-size: 0.72rem !important;
    font-weight: 780 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
  }

  html body.woocommerce-cart table.cart td.product-quantity .quantity {
    margin-left: auto !important;
  }

  html body.woocommerce-cart table.cart td.product-quantity label,
  html body.woocommerce-cart table.cart td.product-quantity .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0,0,0,0) !important;
    white-space: nowrap !important;
  }

  html body.woocommerce-cart table.cart tr:not(.cart_item) {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
  }

  html body.woocommerce-cart table.cart td.actions {
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    margin-top: 14px !important;
    padding: 16px !important;
    border: 1px solid rgba(17,23,21,0.08) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 10px 28px rgba(12,26,18,0.045) !important;
  }

  html body.woocommerce-cart .cart_totals {
    width: 100% !important;
    max-width: 100% !important;
    float: none !important;
  }

  html body.woocommerce-cart .cart_totals table {
    display: table !important;
    overflow: visible !important;
  }
}

@media (max-width: 640px) {
  html body.woocommerce-account .woocommerce-MyAccount-navigation {
    margin-bottom: 16px !important;
  }

  html body.woocommerce-account .mt-account-nav-toggle {
    display: none;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation.mt-account-nav-ready .mt-account-nav-toggle {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-height: 48px !important;
    padding: 0 16px !important;
    border: 1px solid rgba(17,23,21,0.08) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 10px 28px rgba(12,26,18,0.045) !important;
    color: var(--mtm-ink) !important;
    font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
    font-size: 0.98rem !important;
    font-weight: 760 !important;
    text-align: left !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation.mt-account-nav-ready .mt-account-nav-toggle::after {
    content: "";
    width: 9px;
    height: 9px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-2px);
    transition: transform .18s ease;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation.mt-account-nav-ready.is-open .mt-account-nav-toggle::after {
    transform: rotate(225deg) translate(-1px, -1px);
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation.mt-account-nav-ready ul {
    display: none !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 4px !important;
    overflow: visible !important;
    margin-top: 8px !important;
    padding: 8px !important;
    border: 1px solid rgba(17,23,21,0.08) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.94) !important;
    box-shadow: 0 10px 28px rgba(12,26,18,0.045) !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation.mt-account-nav-ready.is-open ul {
    display: flex !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation.mt-account-nav-ready li {
    width: 100% !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation.mt-account-nav-ready a {
    width: 100% !important;
    min-height: 42px !important;
    justify-content: flex-start !important;
  }
}

/* ─── Mobile polish: cart cards + account drawer ─── */
@media (max-width: 640px) {
  html body.woocommerce-cart table.cart td.product-remove a.remove {
    border: 1px solid rgba(52,169,106,0.2) !important;
    background: rgba(52,169,106,0.12) !important;
    color: var(--mtm-green-dark) !important;
    font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
    position: relative !important;
    overflow: hidden !important;
    text-indent: 0 !important;
    font-size: 0 !important;
    font-weight: 800 !important;
    line-height: 28px !important;
    opacity: 1 !important;
  }

  html body.woocommerce-cart table.cart td.product-remove a.remove::before {
    content: "\00d7" !important;
    position: absolute !important;
    inset: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--mtm-green-dark) !important;
    font-size: 20px !important;
    line-height: 1 !important;
    text-indent: 0 !important;
  }

  html body.woocommerce-cart .cart_totals table,
  html body.woocommerce-cart .cart_totals table tbody,
  html body.woocommerce-cart .cart_totals table tr,
  html body.woocommerce-cart .cart_totals table th,
  html body.woocommerce-cart .cart_totals table td {
    box-sizing: border-box !important;
  }

  html body.woocommerce-cart .cart_totals table {
    display: block !important;
    overflow: hidden !important;
    border: 1px solid rgba(17,23,21,0.08) !important;
    border-radius: 16px !important;
    background: rgba(255,255,255,0.96) !important;
    box-shadow: 0 10px 28px rgba(12,26,18,0.045) !important;
  }

  html body.woocommerce-cart .cart_totals table tbody {
    display: block !important;
    width: 100% !important;
  }

  html body.woocommerce-cart .cart_totals table tr {
    display: grid !important;
    grid-template-columns: minmax(112px, 0.82fr) minmax(0, 1.18fr) !important;
    gap: 12px !important;
    width: 100% !important;
    padding: 15px 16px !important;
    border-bottom: 1px solid rgba(17,23,21,0.07) !important;
    background: transparent !important;
  }

  html body.woocommerce-cart .cart_totals table tr:last-child {
    border-bottom: 0 !important;
  }

  html body.woocommerce-cart .cart_totals table th,
  html body.woocommerce-cart .cart_totals table td {
    display: block !important;
    width: auto !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    text-align: left !important;
  }

  html body.woocommerce-cart .cart_totals table th {
    color: #66736d !important;
    font-size: 0.73rem !important;
    font-weight: 780 !important;
    letter-spacing: 0.06em !important;
    line-height: 1.3 !important;
    text-transform: uppercase !important;
  }

  html body.woocommerce-cart .cart_totals table td {
    color: #3f4a45 !important;
    font-size: 0.96rem !important;
    line-height: 1.45 !important;
  }

  html body.woocommerce-cart .cart_totals table .order-total td {
    color: var(--mtm-green-dark) !important;
    font-weight: 800 !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation.mt-account-nav-ready .mt-account-nav-toggle::after {
    flex: 0 0 auto !important;
    width: 9px !important;
    height: 9px !important;
    margin: -5px 3px 0 12px !important;
    transform: rotate(45deg) !important;
    transform-origin: 50% 50% !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-navigation.mt-account-nav-ready.is-open .mt-account-nav-toggle::after {
    margin-top: 5px !important;
    transform: rotate(-135deg) !important;
  }

  html body.woocommerce-account .woocommerce-MyAccount-content,
  html body.woocommerce-account .woocommerce-MyAccount-content * {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  html body.woocommerce-account .woocommerce-Addresses {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }

  html body.woocommerce-account .woocommerce-Address {
    width: 100% !important;
    min-width: 0 !important;
    overflow: hidden !important;
  }

  html body.woocommerce-account .woocommerce-Address-title {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }

  html body.woocommerce-account .woocommerce-Address-title h2,
  html body.woocommerce-account .woocommerce-Address-title h3 {
    min-width: 0 !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html body.woocommerce-account .woocommerce-Address-title a {
    flex: 0 1 auto !important;
    max-width: 100% !important;
    min-height: 32px !important;
    height: auto !important;
    padding: 7px 12px !important;
    white-space: normal !important;
    line-height: 1.15 !important;
    text-align: center !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  html body.woocommerce-account .woocommerce-Address address {
    overflow-wrap: anywhere !important;
  }
}

/* ─── Friendly shop typography + compact mobile cart controls ─── */
html body.woocommerce,
html body.woocommerce-page {
  color: #2f3a35 !important;
}

html body.woocommerce h1,
html body.woocommerce h2,
html body.woocommerce h3,
html body.woocommerce-page h1,
html body.woocommerce-page h2,
html body.woocommerce-page h3,
html body.single-product .product_title,
html body.woocommerce-cart .mt-cart-head h1,
html body.woocommerce-account .mt-account-head h1,
html body.woocommerce-account .woocommerce-MyAccount-content h2,
html body.woocommerce-account .woocommerce-MyAccount-content h3,
html body.woocommerce-account .woocommerce-MyAccount-content legend {
  color: #18221e !important;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

html body.single-product .product_title {
  font-size: clamp(1.42rem, 1.9vw, 1.78rem) !important;
  line-height: 1.18 !important;
}

html body.woocommerce-cart .mt-cart-head h1,
html body.woocommerce-account .mt-account-head h1 {
  font-size: clamp(1.45rem, 1.8vw, 1.9rem) !important;
  line-height: 1.16 !important;
}

html body#top.woocommerce ul.products li.product .woocommerce-loop-product__title,
html body#top.woocommerce ul.products li.product h2,
html body#top.woocommerce ul.products li.product h3 {
  color: #25302b !important;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 540 !important;
  letter-spacing: 0 !important;
}

html body.woocommerce-account .woocommerce-MyAccount-content table th,
html body.woocommerce-account .woocommerce-MyAccount-content table td,
html body.woocommerce-cart table.cart th,
html body.woocommerce-cart table.cart td,
html body.woocommerce-cart .cart_totals table th,
html body.woocommerce-cart .cart_totals table td {
  letter-spacing: 0 !important;
}

@media (max-width: 640px) {
  html body.woocommerce-cart table.cart tr.cart_item {
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 7px 13px !important;
    padding: 14px !important;
  }

  html body.woocommerce-cart table.cart td.product-thumbnail a {
    width: 68px !important;
  }

  html body.woocommerce-cart table.cart td.product-thumbnail {
    grid-column: 1 !important;
    grid-row: 1 / span 3 !important;
  }

  html body.woocommerce-cart table.cart td.product-thumbnail img {
    max-width: 54px !important;
    max-height: 54px !important;
  }

  html body.woocommerce-cart table.cart td.product-remove {
    position: static !important;
    grid-column: 1 !important;
    grid-row: 4 !important;
    align-self: center !important;
    justify-self: center !important;
    width: 68px !important;
    height: 26px !important;
  }

  html body.woocommerce-cart table.cart td.product-remove a.remove {
    width: auto !important;
    min-width: 0 !important;
    height: 26px !important;
    gap: 3px !important;
    padding: 0 8px !important;
    border-color: rgba(143,74,69,0.18) !important;
    background: rgba(143,74,69,0.06) !important;
    color: #8f4a45 !important;
    box-shadow: none !important;
  }

  html body.woocommerce-cart table.cart td.product-remove a.remove::before {
    content: "\00d7" !important;
    position: static !important;
    inset: auto !important;
    display: inline-flex !important;
    width: auto !important;
    height: auto !important;
    color: currentColor !important;
    font-size: 17px !important;
    line-height: 1 !important;
  }

  html body.woocommerce-cart table.cart td.product-remove a.remove::after {
    content: "Löschen" !important;
    display: inline-flex !important;
    color: currentColor !important;
    font-size: 11px !important;
    font-weight: 520 !important;
    line-height: 1 !important;
  }

  html body.woocommerce-cart table.cart td.product-name {
    padding-right: 0 !important;
    color: #1f2a25 !important;
    font-size: 0.94rem !important;
    font-weight: 560 !important;
    line-height: 1.2 !important;
  }

  html body.woocommerce-cart table.cart td.product-price,
  html body.woocommerce-cart table.cart td.product-quantity,
  html body.woocommerce-cart table.cart td.product-subtotal {
    min-height: 30px !important;
    padding-top: 5px !important;
    color: #404b46 !important;
    font-size: 0.91rem !important;
  }

  html body.woocommerce-cart table.cart td.product-price::before,
  html body.woocommerce-cart table.cart td.product-quantity::before,
  html body.woocommerce-cart table.cart td.product-subtotal::before {
    color: #748078 !important;
    font-size: 0.78rem !important;
    font-weight: 560 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body.woocommerce-cart table.cart td.product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 34px !important;
    margin-left: auto !important;
    overflow: hidden !important;
    border: 1px solid rgba(17,23,21,0.12) !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body.woocommerce-cart table.cart td.product-quantity .quantity input.qty {
    width: 36px !important;
    min-width: 36px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #25302b !important;
    font-size: 0.94rem !important;
    font-weight: 520 !important;
    line-height: 32px !important;
    text-align: center !important;
    box-shadow: none !important;
  }

  html body.woocommerce-cart table.cart td.product-quantity .quantity .minus,
  html body.woocommerce-cart table.cart td.product-quantity .quantity .plus,
  html body.woocommerce-cart table.cart td.product-quantity .quantity button {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #5f6b65 !important;
    font-size: 16px !important;
    font-weight: 520 !important;
    line-height: 32px !important;
    box-shadow: none !important;
  }

  html body.woocommerce-cart .cart_totals table th {
    font-size: 0.78rem !important;
    font-weight: 560 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
  }

  html body.woocommerce-cart table.cart td.product-remove {
    position: absolute !important;
    top: 12px !important;
    right: 12px !important;
    z-index: 2 !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 24px !important;
    height: 24px !important;
  }

  html body.woocommerce-cart table.cart td.product-remove a.remove {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 24px !important;
    min-width: 24px !important;
    height: 24px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #a35a55 !important;
    box-shadow: none !important;
    opacity: 0.72 !important;
  }

  html body.woocommerce-cart table.cart td.product-remove a.remove::before {
    content: "\00d7" !important;
    position: static !important;
    inset: auto !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    color: currentColor !important;
    font-size: 18px !important;
    font-weight: 420 !important;
    line-height: 1 !important;
  }

  html body.woocommerce-cart table.cart td.product-remove a.remove::after {
    content: none !important;
  }

  html body.woocommerce-cart table.cart td.product-remove a.remove:hover,
  html body.woocommerce-cart table.cart td.product-remove a.remove:focus-visible {
    background: rgba(163,90,85,0.08) !important;
    opacity: 1 !important;
  }

  html body.woocommerce-cart table.cart td.product-name {
    padding-right: 26px !important;
  }

  html body#top.woocommerce-cart table.cart td.product-name,
  html body#top.woocommerce-cart table.cart td.product-name a {
    padding-right: 30px !important;
  }

  html body#top.woocommerce-cart table.cart td.product-name a {
    display: block !important;
  }
}

/* ─── Single product refinement: flatter shell, softer actions, quieter gallery ─── */
html body.single-product,
html body.single-product #main,
html body.single-product .main_color,
html body.single-product .container_wrap,
html body.single-product .container_wrap_first {
  background: #f6f8f4 !important;
  background-image: none !important;
}

html body.single-product #main {
  padding-top: 0 !important;
}

html body.single-product .container_wrap_first {
  padding-top: 0 !important;
  border-top: 0 !important;
}

html body.single-product .template-shop {
  padding-top: clamp(10px, 1.4vw, 16px) !important;
}

html body.single-product .mt-back-to-shop {
  margin-bottom: 16px !important;
}

html body#top.single-product.woocommerce div.product.product,
html body#top.single-product.woocommerce-page div.product.product,
html body.single-product .template-shop .product,
html body.single-product div.product {
  box-shadow: none !important;
}

html body.single-product .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__wrapper > a,
html body.single-product .woocommerce-product-gallery .flex-viewport,
html body.single-product .woocommerce-product-gallery .flex-control-thumbs,
html body.single-product .woocommerce-product-gallery .flex-control-thumbs li,
html body.single-product .woocommerce-product-gallery .flex-control-thumbs img,
html body.single-product .single-product-main-image {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

html body.single-product .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__wrapper > a {
  background: #f1f3ef !important;
  background-color: #f1f3ef !important;
}

html body.single-product .woocommerce-product-gallery .flex-control-thumbs,
html body.single-product .thumbnails {
  margin-top: 12px !important;
  padding-top: 0 !important;
}

html body.single-product .woocommerce-product-gallery .flex-control-thumbs::before,
html body.single-product .woocommerce-product-gallery .flex-control-thumbs::after {
  display: none !important;
}

html body.single-product .single_add_to_cart_button,
html body.single-product .mt-price-on-request-cta .mt-poa-button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce a.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .checkout-button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .wc-forward,
html body.woocommerce-account .woocommerce-MyAccount-content .button,
html body.woocommerce-account .woocommerce-MyAccount-content button.button,
html body.woocommerce-account .woocommerce-MyAccount-content a.button {
  box-shadow: none !important;
}

html body.single-product .single_add_to_cart_button:not(:hover):not(:focus):not(:active),
html body.single-product .mt-price-on-request-cta .mt-poa-button:not(:hover):not(:focus):not(:active) {
  border: 1px solid rgba(52,169,106,0.2) !important;
  background: rgba(52,169,106,0.12) !important;
  color: var(--mtm-green-dark) !important;
  box-shadow: none !important;
}

html body.single-product .single_add_to_cart_button:hover,
html body.single-product .single_add_to_cart_button:focus-visible,
html body.single-product .mt-price-on-request-cta .mt-poa-button:hover,
html body.single-product .mt-price-on-request-cta .mt-poa-button:focus-visible {
  border-color: rgba(52,169,106,0.28) !important;
  background: rgba(52,169,106,0.18) !important;
  color: var(--mtm-green-dark) !important;
  box-shadow: none !important;
}

@media (min-width: 641px) {
  html body.single-product #main {
    margin-top: -32px !important;
  }

  html body.single-product .woocommerce-product-gallery .thumbnails,
  html body.single-product .single-product-main-image .thumbnails {
    margin-top: 12px !important;
    border-top: 0 !important;
  }
}

@media (max-width: 640px) {
  html body.single-product #main {
    margin-top: 0 !important;
  }

  html body.single-product .template-shop {
    padding-top: 66px !important;
  }

  html body.single-product .mt-back-to-shop {
    margin-bottom: 14px !important;
  }
}

/* ─── Desktop cart: same quiet controls as mobile ─── */
@media (min-width: 641px) {
  html body#top.woocommerce-cart table.cart td.product-remove {
    width: 44px !important;
    text-align: center !important;
  }

  html body#top.woocommerce-cart table.cart td.product-remove a.remove {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 26px !important;
    min-width: 26px !important;
    height: 26px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #a35a55 !important;
    font-size: 0 !important;
    font-weight: 420 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
    box-shadow: none !important;
    opacity: 0.72 !important;
  }

  html body#top.woocommerce-cart table.cart td.product-remove a.remove::before {
    content: "\00d7" !important;
    display: block !important;
    color: currentColor !important;
    font-size: 19px !important;
    font-weight: 420 !important;
    line-height: 1 !important;
    text-indent: 0 !important;
  }

  html body#top.woocommerce-cart table.cart td.product-remove a.remove::after {
    content: none !important;
  }

  html body#top.woocommerce-cart table.cart td.product-remove a.remove:hover,
  html body#top.woocommerce-cart table.cart td.product-remove a.remove:focus-visible {
    background: rgba(163,90,85,0.08) !important;
    color: #8f4a45 !important;
    opacity: 1 !important;
  }

  html body#top.woocommerce-cart table.cart td.product-quantity {
    text-align: center !important;
  }

  html body#top.woocommerce-cart table.cart td.product-quantity .quantity {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: 34px !important;
    margin: 0 auto !important;
    overflow: hidden !important;
    border: 1px solid rgba(17,23,21,0.12) !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html body#top.woocommerce-cart table.cart td.product-quantity .quantity input.qty {
    width: 38px !important;
    min-width: 38px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #25302b !important;
    font-size: 0.94rem !important;
    font-weight: 520 !important;
    line-height: 32px !important;
    text-align: center !important;
    box-shadow: none !important;
  }

  html body#top.woocommerce-cart table.cart td.product-quantity .quantity .minus,
  html body#top.woocommerce-cart table.cart td.product-quantity .quantity .plus,
  html body#top.woocommerce-cart table.cart td.product-quantity .quantity button {
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: transparent !important;
    color: #5f6b65 !important;
    font-size: 16px !important;
    font-weight: 520 !important;
    line-height: 32px !important;
    box-shadow: none !important;
  }

  html body#top.woocommerce-cart table.cart,
  html body#top.woocommerce-cart table.cart thead,
  html body#top.woocommerce-cart table.cart tbody,
  html body#top.woocommerce-cart table.cart tfoot,
  html body#top.woocommerce-cart table.cart tr,
  html body#top.woocommerce-cart table.cart th,
  html body#top.woocommerce-cart table.cart td {
    border: 0 !important;
    border-color: transparent !important;
  }

  html body#top.woocommerce-cart table.cart {
    border-collapse: separate !important;
    border-spacing: 0 !important;
  }

  html body#top.woocommerce-cart table.cart thead th {
    background: rgba(248,250,247,0.78) !important;
  }

  html body#top.woocommerce-cart table.cart tbody tr.cart_item + tr.cart_item td {
    padding-top: 6px !important;
  }

  html body#top.woocommerce-cart table.cart td.actions {
    margin-top: 8px !important;
    border-top: 10px solid #f6f8f4 !important;
  }
}

/* ─── Global shop surface + borderless cart totals ─── */
html body.woocommerce,
html body.woocommerce-page,
html body.woocommerce #wrap_all,
html body.woocommerce-page #wrap_all,
html body.woocommerce #main,
html body.woocommerce-page #main,
html body.woocommerce .main_color,
html body.woocommerce-page .main_color,
html body.woocommerce .container_wrap,
html body.woocommerce-page .container_wrap,
html body.woocommerce .container_wrap_first,
html body.woocommerce-page .container_wrap_first,
html body.woocommerce #main > .container_wrap_first,
html body.woocommerce-page #main > .container_wrap_first,
html body.single-product,
html body.single-product #wrap_all,
html body.single-product #main,
html body.single-product .main_color,
html body.single-product .container_wrap,
html body.single-product .container_wrap_first,
html body.single-product .content,
html body.single-product .entry-content-wrapper {
  background: var(--mtm-paper) !important;
  background-color: var(--mtm-paper) !important;
  background-image: none !important;
}

html body#top.woocommerce-cart .cart_totals table,
html body#top.woocommerce-cart .cart_totals table tbody,
html body#top.woocommerce-cart .cart_totals table tfoot,
html body#top.woocommerce-cart .cart_totals table tr,
html body#top.woocommerce-cart .cart_totals table th,
html body#top.woocommerce-cart .cart_totals table td {
  border: 0 !important;
  border-color: transparent !important;
}

html body#top.woocommerce-cart .cart_totals table {
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: rgba(255,255,255,0.92) !important;
}

html body#top.woocommerce-cart .cart_totals table tr,
html body#top.woocommerce-cart .cart_totals table th,
html body#top.woocommerce-cart .cart_totals table td,
html body#top.woocommerce-cart .cart_totals table tr.order-total th,
html body#top.woocommerce-cart .cart_totals table tr.order-total td {
  background: transparent !important;
  background-image: none !important;
}

@media (min-width: 641px) {
  html body#top.woocommerce-cart table.cart td.actions {
    border-top-color: var(--mtm-paper) !important;
  }
}

/* ─── Pills: shape is the signal, not bold type ─── */
html body#top.woocommerce ul.products li.product .button,
html body#top.woocommerce ul.products li.product a.button,
html body#top.woocommerce ul.products li.product a.add_to_cart_button,
html body.single-product .single_add_to_cart_button,
html body.single-product .mt-price-on-request-cta .mt-poa-button,
html body.woocommerce-cart .return-to-shop a.button,
html body.woocommerce-cart .woocommerce-message .button,
html body.woocommerce-cart .woocommerce-message .wc-forward,
html body.woocommerce-cart .entry-content-wrapper .woocommerce a.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .checkout-button,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .wc-forward,
html body.woocommerce-cart .entry-content-wrapper .woocommerce .b2bking_add_cart_to_purchase_list_button,
html body.woocommerce-account .woocommerce-MyAccount-content .button,
html body.woocommerce-account .woocommerce-MyAccount-content button.button,
html body.woocommerce-account .woocommerce-MyAccount-content a.button,
html body.woocommerce-account #b2bking_purchase_list_new_button,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button,
html body button#b2bking_checkout_registration_validate_vat_button,
html body .b2bking_validate_vat_button,
html body button.b2bking_validate_vat_button_registration,
html body .woocommerce form button[type="submit"] {
  font-weight: 520 !important;
}

html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button:disabled,
html body.woocommerce-cart .entry-content-wrapper .woocommerce button.button:disabled[disabled],
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button:disabled,
html body.woocommerce-cart .entry-content-wrapper .woocommerce input.button:disabled[disabled] {
  font-weight: 520 !important;
}

/* ─── Product detail gallery: lighter quiet image card ─── */
html body.single-product .woocommerce-product-gallery__wrapper,
html body.single-product .woocommerce-product-gallery__image,
html body.single-product .woocommerce-product-gallery__wrapper > a {
  background: #f8faf7 !important;
  background-color: #f8faf7 !important;
}

/* ─── Product detail density pass: fewer rules, less dead vertical space ─── */
html body#top.single-product.woocommerce div.product.product,
html body#top.single-product.woocommerce-page div.product.product,
html body.single-product .template-shop .product,
html body.single-product div.product {
  min-height: 0 !important;
  padding: clamp(24px, 2.7vw, 38px) !important;
  border: 0 !important;
}

html body.single-product .summary,
html body.single-product div.product .summary,
html body.single-product .entry-summary {
  padding-top: 0 !important;
}

html body.single-product .summary p.price,
html body.single-product div.product .summary .price {
  margin-bottom: 18px !important;
  padding-top: 6px !important;
  border-top: 0 !important;
}

html body.single-product .stock {
  margin-bottom: 12px !important;
}

html body.single-product .woocommerce-variation-add-to-cart,
html body.single-product form.cart:not(.variations_form),
html body.single-product form.cart {
  margin-top: 8px !important;
  margin-bottom: 14px !important;
}

html body.single-product .product_meta {
  margin-top: 14px !important;
  padding-top: 8px !important;
  padding-bottom: 4px !important;
  border-top: 0 !important;
}

html body.single-product .woocommerce-tabs {
  margin-top: 14px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

html body.single-product .woocommerce-tabs .tabs,
html body.single-product .woocommerce-tabs .wc-tabs {
  min-height: 0 !important;
  margin-bottom: 12px !important;
  border-bottom: 0 !important;
}

html body.single-product .woocommerce-tabs .panel {
  padding-top: 0 !important;
}

html body.single-product .related.products,
html body.single-product .up-sells {
  clear: none !important;
  margin-top: 22px !important;
  padding-top: 0 !important;
  border-top: 0 !important;
}

html body.single-product .template-shop {
  padding-bottom: 18px !important;
}

html body.single-product .avia-section.alternate_color .template-page.content {
  padding-top: 0 !important;
}

html body.single-product .product_column.product_column_4 {
  margin-top: 0 !important;
}

html body.single-product .related.products > h2,
html body.single-product .up-sells > h2 {
  margin-bottom: 18px !important;
}

html body#top.single-product .related.products > h2,
html body#top.single-product .up-sells > h2 {
  color: #25302b !important;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: clamp(1.18rem, 1.45vw, 1.42rem) !important;
  font-weight: 560 !important;
  line-height: 1.25 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce ul.products li.product .woocommerce-loop-product__title,
html body#top.woocommerce ul.products li.product h2,
html body#top.woocommerce ul.products li.product h3,
html body#top.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
html body#top.single-product .related.products ul.products li.product h2,
html body#top.single-product .related.products ul.products li.product h3,
html body#top.single-product .up-sells ul.products li.product .woocommerce-loop-product__title,
html body#top.single-product .up-sells ul.products li.product h2,
html body#top.single-product .up-sells ul.products li.product h3 {
  color: #35413b !important;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
  letter-spacing: 0 !important;
}

html body#top.single-product .woocommerce-tabs .tabs,
html body#top.single-product .woocommerce-tabs .wc-tabs,
html body#top.single-product div.product .woocommerce-tabs ul.tabs,
html body#top.single-product div.product .woocommerce-tabs ul.wc-tabs {
  margin-bottom: 10px !important;
  border-bottom: 0 !important;
}

html body#top.single-product.woocommerce div.product.product,
html body#top.single-product.woocommerce-page div.product.product,
html body.single-product .template-shop .product,
html body.single-product div.product {
  border: 1px solid rgba(17,23,21,0.08) !important;
}

@media (max-width: 640px) {
  html body#top.single-product.woocommerce div.product.product,
  html body#top.single-product.woocommerce-page div.product.product,
  html body.single-product .template-shop .product,
  html body.single-product div.product {
    padding: 18px !important;
    border: 0 !important;
  }

  html body.single-product .related.products,
  html body.single-product .up-sells {
    margin-top: 18px !important;
  }
}

/* ─── Shop-wide typography layer: excludes Landing/Home explicitly ─── */
html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) {
  --mtm-text: #35413b;
  --mtm-heading: #25302b;
  --mtm-soft-heading: #2f3b35;
  --mtm-subtle: #68756f;
  color: var(--mtm-text) !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  p, li, td, th, label,
  .woocommerce-message, .woocommerce-info, .woocommerce-error
) {
  color: var(--mtm-text) !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  h1, h2, h3,
  .entry-title, .page-title, .product_title,
  .mt-cart-head h1, .mt-account-head h1,
  .woocommerce-MyAccount-content h2,
  .woocommerce-MyAccount-content h3,
  .woocommerce-MyAccount-content legend,
  .related.products > h2,
  .up-sells > h2
) {
  color: var(--mtm-heading) !important;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-weight: 560 !important;
  letter-spacing: 0 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  h1, .entry-title, .page-title, .product_title,
  .mt-cart-head h1, .mt-account-head h1
) {
  font-size: clamp(1.45rem, 1.9vw, 1.85rem) !important;
  line-height: 1.18 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  h2,
  .related.products > h2,
  .up-sells > h2,
  .woocommerce-MyAccount-content h2
) {
  font-size: clamp(1.15rem, 1.45vw, 1.38rem) !important;
  line-height: 1.26 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  h3,
  .woocommerce-MyAccount-content h3,
  .woocommerce-MyAccount-content legend
) {
  font-size: clamp(1rem, 1.15vw, 1.12rem) !important;
  line-height: 1.32 !important;
}

html body#top:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) ul.products li.product :is(
  .woocommerce-loop-product__title, h2, h3
) {
  color: var(--mtm-text) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  table.shop_table th,
  table.shop_table td,
  .cart_totals table th,
  .cart_totals table td,
  .woocommerce-MyAccount-content table th,
  .woocommerce-MyAccount-content table td
) {
  color: var(--mtm-text) !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  table.shop_table th,
  .cart_totals table th,
  .woocommerce-MyAccount-content table th
) {
  color: var(--mtm-soft-heading) !important;
  font-weight: 540 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  .product_meta,
  .product_meta span,
  .product_meta a,
  .stock,
  small,
  .woocommerce-price-suffix
) {
  color: var(--mtm-subtle) !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) a:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: #147a45 !important;
}

/* Header/drawer owns its own inverted colors; keep shop typography out of it. */
html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-mh,
html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-drawer {
  color: #e6e8e6 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-mh .mt-mh__lang-menu a {
  color: #edf3ee !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-mh .mt-mh__lang-menu a:visited {
  color: #edf3ee !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-mh .mt-mh__lang-menu a:hover,
html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-mh .mt-mh__lang-menu a.is-active {
  color: #f6fbf7 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-drawer :is(li, p, span, label) {
  color: inherit !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-drawer__nav a {
  color: #e6e8e6 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-drawer__nav a:hover,
html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-drawer__nav a:focus-visible {
  color: #4fd27a !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-drawer__nav--legal a {
  color: #8a8e8a !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-drawer__nav--legal a:hover,
html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-drawer__nav--legal a:focus-visible {
  color: #cfd3d0 !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-mh a,
html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-mh button,
html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) .mt-drawer button {
  color: #fff !important;
}

/* Hard guard: burger drawer is global and must stay readable on dark glass. */
html body .mt-drawer,
html body .mt-drawer :is(li, p, span, label) {
  color: #e6e8e6 !important;
}

html body .mt-drawer__nav:not(.mt-drawer__nav--legal) a {
  color: #e6e8e6 !important;
  font-size: 14px !important;
  font-weight: 700 !important;
}

html body .mt-drawer__nav:not(.mt-drawer__nav--legal) a:hover,
html body .mt-drawer__nav:not(.mt-drawer__nav--legal) a:focus-visible {
  color: #4fd27a !important;
}

html body .mt-drawer__nav--legal a {
  color: #8a8e8a !important;
  font-size: 11px !important;
  font-weight: 700 !important;
}

html body .mt-drawer__nav--legal a:hover,
html body .mt-drawer__nav--legal a:focus-visible {
  color: #cfd3d0 !important;
}

html body#top nav#mt-drawer.mt-drawer ul.mt-drawer__nav:not(.mt-drawer__nav--legal) > li > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: #e6e8e6 !important;
}

html body#top nav#mt-drawer.mt-drawer ul.mt-drawer__nav:not(.mt-drawer__nav--legal) > li > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top nav#mt-drawer.mt-drawer ul.mt-drawer__nav:not(.mt-drawer__nav--legal) > li > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):focus-visible {
  color: #4fd27a !important;
}

html body#top nav#mt-drawer.mt-drawer ul.mt-drawer__nav--legal > li > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: #8a8e8a !important;
  font-weight: 500 !important;
}

html body#top nav#mt-drawer.mt-drawer ul.mt-drawer__nav--legal > li > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top nav#mt-drawer.mt-drawer ul.mt-drawer__nav--legal > li > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):focus-visible {
  color: #cfd3d0 !important;
}

html body#top nav#mt-drawer.mt-drawer > a.mt-drawer__shop:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: #fff !important;
}

/* Header icons keep their own state colors, independent from shop link styling. */
html body#top .mt-mh a.mt-mh__cart:not(.button):not(.mt-back-to-shop):not(.mt-content-back),
html body#top:not(.logged-in) .mt-mh a.mt-mh__login:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: #fff !important;
}

html body#top.logged-in .mt-mh a.mt-mh__login:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: #00b94a !important;
}

html body#top .mt-mh .mt-mh__cart-count {
  background: #00b94a !important;
  color: #fff !important;
}

html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back),
html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):visited {
  color: #edf3ee !important;
}

html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):focus-visible,
html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back).is-active {
  color: #f6fbf7 !important;
}

html body#top .mt-foot a:not(.button):not(.mt-back-to-shop):not(.mt-content-back),
html body#top #footer .mt-foot a:not(.button):not(.mt-back-to-shop):not(.mt-content-back),
html body#top #socket .mt-foot a:not(.button):not(.mt-back-to-shop):not(.mt-content-back),
html body#top ul.mt-foot__legal-links a:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: #f4f7f2 !important;
}

html body#top .mt-foot a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top #footer .mt-foot a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top #socket .mt-foot a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top ul.mt-foot__legal-links a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover {
  color: #4fd27a !important;
  text-decoration: none !important;
}

html body#top .mt-foot .mt-foot__copy {
  color: rgba(244,247,242,0.56) !important;
}

/* Account navigation owns its color states; broad shop links must not repaint it. */
html body#top.woocommerce-account .woocommerce-MyAccount-navigation a:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: #34413a !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-navigation a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top.woocommerce-account .woocommerce-MyAccount-navigation .is-active > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  background: var(--mtm-green) !important;
  color: #fff !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: var(--mtm-muted) !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover {
  color: #fff !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-content a:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: var(--mtm-green-dark) !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-navigation .is-active > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  box-shadow: none !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back),
html body#top.woocommerce-account .woocommerce-MyAccount-content a[href*="action=logout"]:not(.button):not(.mt-back-to-shop):not(.mt-content-back),
html body#top.woocommerce-account .woocommerce-MyAccount-content a[href*="customer-logout"]:not(.button):not(.mt-back-to-shop):not(.mt-content-back) {
  color: #a35a55 !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top.woocommerce-account .woocommerce-MyAccount-content a[href*="action=logout"]:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top.woocommerce-account .woocommerce-MyAccount-content a[href*="customer-logout"]:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover {
  color: #8f4a45 !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-navigation-link--customer-logout > a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover {
  background: rgba(163,90,85,0.08) !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-content .button,
html body#top.woocommerce-account .woocommerce-MyAccount-content button.button,
html body#top.woocommerce-account .woocommerce-MyAccount-content input.button,
html body#top.woocommerce-account .woocommerce-MyAccount-content a.button,
html body#top.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit,
html body#top.woocommerce-account .woocommerce-MyAccount-content #b2bking_purchase_list_new_button,
html body#top.woocommerce-account .woocommerce-MyAccount-content .b2bking_purchase_list_new_link button,
html body#top.woocommerce-account.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button,
html body#top.woocommerce-account.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button,
html body#top.woocommerce-account.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button {
  border: 1px solid rgba(52,169,106,0.28) !important;
  background: var(--mtm-green-soft) !important;
  box-shadow: none !important;
  color: var(--mtm-green-soft-text) !important;
  font-weight: 520 !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-content .button:hover,
html body#top.woocommerce-account .woocommerce-MyAccount-content button.button:hover,
html body#top.woocommerce-account .woocommerce-MyAccount-content input.button:hover,
html body#top.woocommerce-account .woocommerce-MyAccount-content a.button:hover,
html body#top.woocommerce-account .woocommerce-MyAccount-content .woocommerce-Address-title a.edit:hover,
html body#top.woocommerce-account .woocommerce-MyAccount-content #b2bking_purchase_list_new_button:hover,
html body#top.woocommerce-account .woocommerce-MyAccount-content .b2bking_purchase_list_new_link button:hover,
html body#top.woocommerce-account.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button:hover,
html body#top.woocommerce-account.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button:hover,
html body#top.woocommerce-account.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button:hover {
  border-color: rgba(52,169,106,0.34) !important;
  background: #dcf1e5 !important;
  box-shadow: none !important;
  color: #115734 !important;
}

@media (max-width: 640px) {
  html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
    h1, .entry-title, .page-title, .product_title,
    .mt-cart-head h1, .mt-account-head h1
  ) {
    font-size: clamp(1.32rem, 6vw, 1.62rem) !important;
  }

  html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
    h2,
    .related.products > h2,
    .up-sells > h2
  ) {
    font-size: clamp(1.08rem, 4.8vw, 1.28rem) !important;
  }
}

/* Hero text is intentionally reversed on image banners. */
html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  .mt-shop-hero,
  .mt-cat-hero
) {
  color: #fff !important;
}

html body:is(.woocommerce,.woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :is(
  .mt-shop-hero h1,
  .mt-shop-hero p,
  .mt-shop-hero span,
  .mt-shop-hero__eyebrow,
  .mt-cat-hero h1,
  .mt-cat-hero p,
  .mt-cat-hero span,
  .mt-cat-hero__eyebrow
) {
  color: #fff !important;
}

html body#top.woocommerce-shop .mt-shop-hero h1,
html body#top.post-type-archive-product .mt-shop-hero h1,
html body#top.tax-product_cat .mt-cat-hero h1,
html body#top.tax-product_tag .mt-cat-hero h1,
html body#top.woocommerce-shop .mt-shop-hero .mt-shop-hero__eyebrow,
html body#top.post-type-archive-product .mt-shop-hero .mt-shop-hero__eyebrow,
html body#top.tax-product_cat .mt-cat-hero .mt-cat-hero__eyebrow,
html body#top.tax-product_tag .mt-cat-hero .mt-cat-hero__eyebrow,
html body#top.woocommerce-shop .mt-shop-hero p,
html body#top.post-type-archive-product .mt-shop-hero p,
html body#top.tax-product_cat .mt-cat-hero p,
html body#top.tax-product_tag .mt-cat-hero p {
  color: #fff !important;
}

/* Shop main hero may be louder than the rest of the shop, but stays soft. */
html body#top.woocommerce-shop .mt-shop-hero h1,
html body#top.post-type-archive-product .mt-shop-hero h1 {
  max-width: 820px !important;
  margin: 0 0 18px !important;
  font-size: 3.95rem !important;
  font-weight: 800 !important;
  line-height: 1.02 !important;
  letter-spacing: 0 !important;
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.28) !important;
}

@media (min-width: 1440px) {
  html body#top.woocommerce-shop .mt-shop-hero h1,
  html body#top.post-type-archive-product .mt-shop-hero h1 {
    font-size: 4.35rem !important;
  }
}

@media (max-width: 1024px) {
  html body#top.woocommerce-shop .mt-shop-hero h1,
  html body#top.post-type-archive-product .mt-shop-hero h1 {
    max-width: 720px !important;
    font-size: 3.05rem !important;
    line-height: 1.03 !important;
  }
}

@media (max-width: 767px) {
  html body#top.woocommerce-shop .mt-shop-hero h1,
  html body#top.post-type-archive-product .mt-shop-hero h1 {
    font-size: 2.1rem !important;
    line-height: 1.06 !important;
  }
}

/* Final account pill guard: B2BKing and address pills must stay subtle. */
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content .woocommerce-Address-title a.edit:not(.button):not(.mt-back-to-shop):not(.mt-content-back),
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content #b2bking_purchase_list_new_button,
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content .b2bking_purchase_list_new_link button,
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button,
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button,
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button {
  border: 1px solid rgba(52,169,106,0.28) !important;
  background: var(--mtm-green-soft) !important;
  box-shadow: none !important;
  color: var(--mtm-green-soft-text) !important;
  font-weight: 520 !important;
}

html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content .woocommerce-Address-title a.edit:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content #b2bking_purchase_list_new_button:hover,
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content .b2bking_purchase_list_new_link button:hover,
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button:hover,
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button:hover,
html body#top.woocommerce-account.woocommerce-page .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button:hover {
  border-color: rgba(52,169,106,0.34) !important;
  background: #dcf1e5 !important;
  box-shadow: none !important;
  color: #115734 !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button {
  border: 1px solid rgba(52,169,106,0.28) !important;
  background: var(--mtm-green-soft) !important;
  box-shadow: none !important;
  color: var(--mtm-green-soft-text) !important;
  font-weight: 520 !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button:hover,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button:hover,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button:hover {
  border-color: rgba(52,169,106,0.34) !important;
  background: #dcf1e5 !important;
  box-shadow: none !important;
  color: #115734 !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_newline_button:not(:hover):not(:focus):not(:active),
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_add_button:not(:hover):not(:focus):not(:active),
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_form_container_bottom_save_button:not(:hover):not(:focus):not(:active) {
  border: 1px solid rgba(52,169,106,0.28) !important;
  background: var(--mtm-green-soft) !important;
  box-shadow: none !important;
  color: var(--mtm-green-soft-text) !important;
  font-weight: 520 !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content .b2bking_bulkorder_form_container_content_line_product {
  padding-right: 44px !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_clear,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_clear:hover,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_clear:focus,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_clear:active {
  position: absolute !important;
  top: 50% !important;
  right: calc(88px + 120px + 46px) !important;
  left: auto !important;
  transform: translateY(-50%) !important;
  width: 28px !important;
  min-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 999px !important;
  background: transparent !important;
  box-shadow: none !important;
  color: #a35a55 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-indent: -9999px !important;
  overflow: hidden !important;
  z-index: 3 !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_clear::before {
  content: "×" !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  height: 100% !important;
  color: #a35a55 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 22px !important;
  font-weight: 420 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_clear:hover,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_clear:focus-visible {
  background: rgba(163,90,85,0.08) !important;
  color: #8f4642 !important;
}

html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_clear:hover::before,
html body#top.woocommerce-account.woocommerce-page.woocommerce-bulkorder .woocommerce-MyAccount-content button.b2bking_bulkorder_clear:focus-visible::before {
  color: #8f4642 !important;
}

/* Product variations: compact controls and stable variation price layout. */
html body#top.single-product table.variations,
html body#top.single-product table.variations tbody,
html body#top.single-product table.variations tr,
html body#top.single-product table.variations th,
html body#top.single-product table.variations td,
html body#top.single-product table.variations .label,
html body#top.single-product table.variations .value {
  display: block !important;
  width: auto !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  float: none !important;
  clear: none !important;
  text-align: left !important;
}

html body#top.single-product table.variations tr {
  margin-bottom: 10px !important;
}

html body#top.single-product table.variations label {
  margin-bottom: 6px !important;
  font-size: 0.76rem !important;
  font-weight: 620 !important;
  letter-spacing: 0.04em !important;
}

html body#top.single-product table.variations select {
  float: none !important;
  width: fit-content !important;
  max-width: 100% !important;
  min-width: 9.5em !important;
  height: 38px !important;
  min-height: 38px !important;
  padding: 0 34px 0 12px !important;
  border-radius: 999px !important;
  font-size: 0.88rem !important;
  box-shadow: none !important;
}

html body#top.single-product table.variations .reset_variations {
  position: static !important;
  display: inline-block !important;
  width: auto !important;
  height: auto !important;
  margin: 8px 0 0 !important;
  font-size: 0.76rem !important;
  font-weight: 500 !important;
  color: var(--mtm-muted) !important;
}

html body#top.single-product .single_variation_wrap {
  margin-top: 6px !important;
}

html body#top.single-product .woocommerce-variation,
html body#top.single-product .woocommerce-variation-price {
  text-align: left !important;
  width: 100% !important;
  max-width: 100% !important;
}

html body#top.single-product .summary .woocommerce-variation-price .price,
html body#top.single-product div.product .summary .woocommerce-variation-price .price,
html body#top.single-product .single_variation .price {
  display: flex !important;
  justify-content: flex-start !important;
  align-items: baseline !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 8px 0 6px !important;
  padding: 0 !important;
  border: 0 !important;
  gap: 6px 10px !important;
  color: var(--mtm-green) !important;
  font-size: clamp(1.18rem, 1.35vw, 1.42rem) !important;
  font-weight: 620 !important;
  text-align: left !important;
}

html body#top.single-product .summary .woocommerce-variation-price .price .woocommerce-price-suffix,
html body#top.single-product div.product .summary .woocommerce-variation-price .price .woocommerce-price-suffix,
html body#top.single-product .single_variation .price .woocommerce-price-suffix {
  font-size: 0.82rem !important;
  font-weight: 500 !important;
}

html body#top.single-product form.cart .quantity,
html body#top.single-product .woocommerce-variation-add-to-cart .quantity {
  float: none !important;
  width: 98px !important;
  min-width: 98px !important;
  height: 36px !important;
  min-height: 36px !important;
  padding: 2px !important;
  border-radius: 999px !important;
}

html body#top.single-product form.cart .quantity input.qty,
html body#top.single-product .woocommerce-variation-add-to-cart .quantity input.qty {
  width: 34px !important;
  height: 30px !important;
  min-height: 30px !important;
  font-size: 0.88rem !important;
}

html body#top.single-product form.cart .quantity .minus,
html body#top.single-product form.cart .quantity .plus,
html body#top.single-product .woocommerce-variation-add-to-cart .quantity .minus,
html body#top.single-product .woocommerce-variation-add-to-cart .quantity .plus {
  width: 28px !important;
  height: 30px !important;
  min-height: 30px !important;
  font-size: 0.98rem !important;
  line-height: 1 !important;
}

html body#top.single-product form.cart .quantity,
html body#top.single-product .woocommerce-variation-add-to-cart .quantity {
  display: inline-grid !important;
  grid-template-columns: 30px 34px 30px !important;
  align-items: center !important;
  justify-items: center !important;
  place-items: center !important;
  line-height: 1 !important;
  box-sizing: border-box !important;
}

html body#top.single-product form.cart .quantity input.qty,
html body#top.single-product .woocommerce-variation-add-to-cart .quantity input.qty,
html body#top.single-product form.cart .quantity input.minus,
html body#top.single-product form.cart .quantity input.plus,
html body#top.single-product .woocommerce-variation-add-to-cart .quantity input.minus,
html body#top.single-product .woocommerce-variation-add-to-cart .quantity input.plus {
  position: static !important;
  display: block !important;
  float: none !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  line-height: 30px !important;
  text-align: center !important;
  vertical-align: middle !important;
  -webkit-appearance: none !important;
  appearance: none !important;
}

/* Password visibility controls: visible label, no mystery pills below fields. */
html body#top.woocommerce-account .woocommerce-MyAccount-content .password-input {
  position: relative !important;
  display: block !important;
  width: 100% !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-content .password-input input[type="password"],
html body#top.woocommerce-account .woocommerce-MyAccount-content .password-input input[type="text"] {
  padding-right: 104px !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-content .password-input button.show-password-input {
  position: absolute !important;
  top: 50% !important;
  right: 8px !important;
  transform: translateY(-50%) !important;
  width: auto !important;
  min-width: 82px !important;
  height: 32px !important;
  min-height: 32px !important;
  margin: 0 !important;
  padding: 0 12px !important;
  border: 1px solid rgba(52,169,106,0.24) !important;
  border-radius: 999px !important;
  background: var(--mtm-green-soft) !important;
  box-shadow: none !important;
  color: var(--mtm-green-soft-text) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.78rem !important;
  font-weight: 520 !important;
  line-height: 1 !important;
  text-indent: 0 !important;
  overflow: visible !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-content .password-input button.show-password-input::before {
  content: "Anzeigen" !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-content .password-input button.show-password-input.display-password::before {
  content: "Verbergen" !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-content .password-input button.show-password-input::after {
  display: none !important;
  content: none !important;
}

html body#top.woocommerce-account .woocommerce-MyAccount-content .password-input button.show-password-input:hover {
  border-color: rgba(52,169,106,0.34) !important;
  background: #dcf1e5 !important;
  box-shadow: none !important;
  color: #115734 !important;
}

/* Shop-wide stock status colors. */
html body#top.woocommerce .stock,
html body#top.woocommerce-page .stock,
html body#top.single-product .summary .stock,
html body#top.single-product .woocommerce-variation-availability .stock {
  color: var(--mtm-green-dark) !important;
}

html body#top.woocommerce .stock.out-of-stock,
html body#top.woocommerce-page .stock.out-of-stock,
html body#top.single-product .summary .stock.out-of-stock,
html body#top.single-product .woocommerce-variation-availability .stock.out-of-stock,
html body#top.woocommerce .out-of-stock,
html body#top.woocommerce-page .out-of-stock {
  color: #a35a55 !important;
}

/* Cart polish: compact headings and one calm actions band matching the table header. */
html body#top.woocommerce-cart .mt-cart-head h1 {
  font-size: clamp(1.22rem, 1.45vw, 1.52rem) !important;
  line-height: 1.18 !important;
  font-weight: 560 !important;
}

html body#top.woocommerce-cart .cart_totals h2 {
  font-size: clamp(1.02rem, 1.18vw, 1.18rem) !important;
  line-height: 1.22 !important;
  font-weight: 560 !important;
  margin-bottom: 8px !important;
}

html body#top.woocommerce-cart table.cart thead th {
  background: rgba(248,250,247,0.78) !important;
}

html body#top.woocommerce-cart table.cart tr:not(.cart_item),
html body#top.woocommerce-cart table.cart tr:not(.cart_item) td,
html body#top.woocommerce-cart table.cart td.actions {
  background: rgba(248,250,247,0.78) !important;
  background-image: none !important;
}

html body#top.woocommerce-cart table.cart td.actions {
  border-top: 10px solid rgba(248,250,247,0.78) !important;
}

/* ─── Checkout: calm two-column B2B form ─── */
html body#top.woocommerce-checkout .template-page {
  padding-top: 18px !important;
}

html body#top.woocommerce-checkout .entry-content-wrapper .woocommerce {
  display: block !important;
}

html body#top.woocommerce-checkout .mt-checkout-head {
  margin: 0 0 18px !important;
  padding: 0 !important;
}

html body#top.woocommerce-checkout .mt-checkout-head .mt-content-back-wrap {
  margin: 0 0 10px !important;
  padding: 0 !important;
}

html body#top.woocommerce-checkout .mt-checkout-head .mt-content-back {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  width: auto !important;
  min-height: 32px !important;
  padding: 7px 14px 7px 10px !important;
  border-radius: 99px !important;
  background: transparent !important;
  color: #6b7a72 !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

html body#top.woocommerce-checkout .mt-checkout-head .mt-content-back:hover {
  background: rgba(0,150,57,0.08) !important;
  color: var(--mtm-green-dark) !important;
}

html body#top.woocommerce-checkout .mt-checkout-head h1 {
  margin: 0 !important;
  color: var(--mtm-heading, #25302b) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(1.28rem, 1.5vw, 1.62rem) !important;
  line-height: 1.16 !important;
  font-weight: 560 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info,
html body#top.woocommerce-checkout .woocommerce-info,
html body#top.woocommerce-checkout .woocommerce-message,
html body#top.woocommerce-checkout .woocommerce-error {
  display: block !important;
  min-height: 0 !important;
  margin: 0 0 14px !important;
  padding: 10px 14px !important;
  border: 1px solid rgba(52,169,106,0.2) !important;
  border-left: 3px solid var(--mtm-green) !important;
  border-radius: 10px !important;
  background: rgba(234,247,239,0.72) !important;
  color: #31433a !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.38 !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout .woocommerce-form-coupon-toggle {
  display: none !important;
}

html body#top.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::before,
html body#top.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info::after,
html body#top.woocommerce-checkout .woocommerce-info::before,
html body#top.woocommerce-checkout .woocommerce-info::after,
html body#top.woocommerce-checkout .woocommerce-message::before,
html body#top.woocommerce-checkout .woocommerce-message::after,
html body#top.woocommerce-checkout .woocommerce-error::before,
html body#top.woocommerce-checkout .woocommerce-error::after {
  display: none !important;
}

html body#top.woocommerce-checkout .woocommerce-form-coupon-toggle .woocommerce-info a,
html body#top.woocommerce-checkout .woocommerce-info a {
  color: var(--mtm-green-dark) !important;
  font-weight: 520 !important;
  text-decoration: none !important;
}

html body#top.woocommerce-checkout form.checkout_coupon,
html body#top.woocommerce-checkout form.woocommerce-form-coupon {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  gap: 8px !important;
  align-items: center !important;
  width: min(100%, 420px) !important;
  margin: 8px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout form.checkout_coupon > p:not(.form-row),
html body#top.woocommerce-checkout form.woocommerce-form-coupon > p:not(.form-row),
html body#top.woocommerce-checkout form.checkout_coupon .clear,
html body#top.woocommerce-checkout form.woocommerce-form-coupon .clear {
  display: none !important;
}

html body#top.woocommerce-checkout form.checkout_coupon .form-row,
html body#top.woocommerce-checkout form.woocommerce-form-coupon .form-row {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

html body#top.woocommerce-checkout form.checkout {
  display: block !important;
}

html body#top.woocommerce-checkout form.checkout::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

html body#top.woocommerce-checkout .woocommerce-billing-fields,
html body#top.woocommerce-checkout #order_review {
  border: 1px solid rgba(17,23,21,0.08) !important;
  border-radius: 13px !important;
  background: rgba(255,255,255,0.9) !important;
  box-shadow: 0 10px 28px rgba(12,26,18,0.045) !important;
}

html body#top.woocommerce-checkout .woocommerce-billing-fields {
  padding: clamp(16px, 1.8vw, 24px) !important;
}

html body#top.woocommerce-checkout .woocommerce-shipping-fields,
html body#top.woocommerce-checkout .woocommerce-additional-fields {
  margin: 14px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout #ship-to-different-address {
  margin: 0 0 12px !important;
  padding: 0 !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  font-weight: 520 !important;
}

html body#top.woocommerce-checkout #ship-to-different-address label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 9px !important;
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 2px !important;
  color: var(--mtm-text, #35413b) !important;
  line-height: 1.2 !important;
}

html body#top.woocommerce-checkout #ship-to-different-address-checkbox,
html body#top.woocommerce-checkout .woocommerce-form__input-checkbox,
html body#top.woocommerce-checkout input[type="checkbox"] {
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  accent-color: var(--mtm-green) !important;
}

html body#top.woocommerce-checkout .woocommerce-additional-fields {
  padding-top: 4px !important;
}

html body#top.woocommerce-checkout #order_comments_field {
  margin: 6px 0 0 !important;
}

html body#top.woocommerce-checkout .woocommerce-additional-fields::after {
  content: "" !important;
  display: table !important;
  clear: both !important;
}

html body#top.woocommerce-checkout #order_review {
  padding: 0 !important;
  overflow: hidden !important;
}

html body#top.woocommerce-checkout .checkout h3,
html body#top.woocommerce-checkout #order_review_heading {
  margin: 0 0 12px !important;
  color: var(--mtm-heading, #25302b) !important;
  font-family: "Inter Tight", "Inter", system-ui, sans-serif !important;
  font-size: clamp(1rem, 1.08vw, 1.14rem) !important;
  line-height: 1.22 !important;
  font-weight: 560 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-checkout .checkout label {
  margin-bottom: 6px !important;
  color: var(--mtm-text, #35413b) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  line-height: 1.25 !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
}

html body#top.woocommerce-checkout .checkout .form-row {
  margin: 0 0 13px !important;
  padding: 0 !important;
}

html body#top.woocommerce-checkout form.checkout_coupon input.input-text,
html body#top.woocommerce-checkout form.woocommerce-form-coupon input.input-text,
html body#top.woocommerce-checkout .checkout input.input-text,
html body#top.woocommerce-checkout .checkout textarea,
html body#top.woocommerce-checkout .checkout select,
html body#top.woocommerce-checkout .select2-container--default .select2-selection--single {
  min-height: 38px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid rgba(17,23,21,0.12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.92) !important;
  color: var(--mtm-ink) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.9rem !important;
  line-height: 1.2 !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout form.checkout_coupon input.input-text,
html body#top.woocommerce-checkout form.woocommerce-form-coupon input.input-text {
  min-height: 34px !important;
  font-size: 0.84rem !important;
}

html body#top.woocommerce-checkout .checkout textarea {
  min-height: 54px !important;
  height: 64px !important;
  padding-top: 12px !important;
  padding-bottom: 12px !important;
  border-radius: 14px !important;
}

html body#top.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__rendered {
  color: var(--mtm-ink) !important;
  line-height: 38px !important;
  padding-left: 0 !important;
  padding-right: 22px !important;
}

html body#top.woocommerce-checkout .select2-container--default .select2-selection--single .select2-selection__arrow {
  height: 38px !important;
  right: 9px !important;
}

html body#top.woocommerce-checkout .checkout input.input-text:focus,
html body#top.woocommerce-checkout .checkout textarea:focus,
html body#top.woocommerce-checkout .checkout select:focus,
html body#top.woocommerce-checkout form.checkout_coupon input.input-text:focus,
html body#top.woocommerce-checkout .select2-container--default.select2-container--open .select2-selection--single {
  border-color: rgba(52,169,106,0.42) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(52,169,106,0.09) !important;
}

html body#top.woocommerce-checkout table.shop_table,
html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: rgba(255,255,255,0.92) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html body#top.woocommerce-checkout table.shop_table th,
html body#top.woocommerce-checkout table.shop_table td,
html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
  padding: 12px 15px !important;
  border: 0 !important;
  background: transparent !important;
  background-image: none !important;
  color: var(--mtm-text, #35413b) !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.88rem !important;
  line-height: 1.34 !important;
}

html body#top.woocommerce-checkout table.shop_table thead th,
html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table thead th {
  background: rgba(248,250,247,0.78) !important;
  color: var(--mtm-subtle, #68756f) !important;
  font-size: 0.74rem !important;
  font-weight: 620 !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

html body#top.woocommerce-checkout table.shop_table tfoot th,
html body#top.woocommerce-checkout table.shop_table tfoot td,
html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot th,
html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table tfoot td {
  background: rgba(248,250,247,0.78) !important;
}

html body#top.woocommerce-checkout table.shop_table tr.order-total th,
html body#top.woocommerce-checkout table.shop_table tr.order-total td,
html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total th,
html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table tr.order-total td {
  color: var(--mtm-green-dark) !important;
  font-size: 0.98rem !important;
  font-weight: 560 !important;
}

html body#top.woocommerce-checkout #payment {
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: rgba(248,250,247,0.78) !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout #payment ul.payment_methods,
html body#top.woocommerce-checkout #payment div.form-row {
  padding: 14px 15px !important;
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout #payment ul.payment_methods li,
html body#top.woocommerce-checkout #payment .payment_method_bacs,
html body#top.woocommerce-checkout #payment .wc_payment_method {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout #payment div.payment_box {
  margin: 9px 0 0 !important;
  padding: 11px 13px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: rgba(255,255,255,0.76) !important;
  color: var(--mtm-text, #35413b) !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout #payment div.payment_box::before {
  display: none !important;
}

html body#top.woocommerce-checkout .woocommerce-privacy-policy-text {
  margin: 2px 0 12px !important;
  color: var(--mtm-muted) !important;
  font-size: 0.82rem !important;
  line-height: 1.45 !important;
}

html body#top.woocommerce-checkout .woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 12px !important;
}

html body#top.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text {
  color: var(--mtm-text, #35413b) !important;
  font-size: 0.84rem !important;
  line-height: 1.35 !important;
}

html body#top.woocommerce-checkout .woocommerce-terms-and-conditions-checkbox-text a,
html body#top.woocommerce-checkout .woocommerce-privacy-policy-text a {
  color: var(--mtm-green-dark) !important;
  text-decoration: none !important;
}

html body#top.woocommerce-checkout #place_order,
html body#top.woocommerce-checkout form.checkout_coupon .button,
html body#top.woocommerce-checkout form.woocommerce-form-coupon .button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  width: auto !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid rgba(52,169,106,0.18) !important;
  border-radius: 999px !important;
  background: rgba(52,169,106,0.12) !important;
  color: var(--mtm-green-dark) !important;
  box-shadow: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.88rem !important;
  font-weight: 520 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

html body#top.woocommerce-checkout form.checkout_coupon .button,
html body#top.woocommerce-checkout form.woocommerce-form-coupon .button {
  min-height: 34px !important;
  padding: 0 16px !important;
  font-size: 0.82rem !important;
  border-color: rgba(52,169,106,0.18) !important;
  background: rgba(52,169,106,0.12) !important;
  color: var(--mtm-green-dark) !important;
  box-shadow: none !important;
  transform: none !important;
}

html body#top.woocommerce-checkout #place_order:hover,
html body#top.woocommerce-checkout form.checkout_coupon .button:hover,
html body#top.woocommerce-checkout form.woocommerce-form-coupon .button:hover {
  border-color: rgba(52,169,106,0.3) !important;
  background: var(--mtm-green) !important;
  color: #fff !important;
}

html body#top.woocommerce-checkout #place_order {
  min-height: 42px !important;
  width: 100% !important;
}

@media (min-width: 980px) {
  html body#top.woocommerce-checkout form.checkout #customer_details {
    float: left !important;
    width: calc(100% - 460px) !important;
    max-width: 860px !important;
    margin: 0 !important;
  }

  html body#top.woocommerce-checkout form.checkout #order_review_heading,
  html body#top.woocommerce-checkout form.checkout #order_review {
    float: right !important;
    clear: right !important;
    width: 420px !important;
    margin-left: 28px !important;
  }

  html body#top.woocommerce-checkout form.checkout #order_review_heading {
    margin-top: 0 !important;
    margin-bottom: 12px !important;
  }
}

@media (max-width: 979px) {
  html body#top.woocommerce-checkout form.checkout #customer_details,
  html body#top.woocommerce-checkout form.checkout #order_review_heading,
  html body#top.woocommerce-checkout form.checkout #order_review,
  html body#top.woocommerce-checkout .col2-set .col-1,
  html body#top.woocommerce-checkout .col2-set .col-2 {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body#top.woocommerce-checkout form.checkout #order_review_heading {
    margin-top: 22px !important;
  }
}

@media (max-width: 640px) {
  html body#top.woocommerce-checkout .template-page {
    padding-top: 68px !important;
  }

  html body#top.woocommerce-checkout .mt-checkout-head {
    margin-bottom: 14px !important;
  }

  html body#top.woocommerce-checkout form.checkout_coupon,
  html body#top.woocommerce-checkout form.woocommerce-form-coupon {
    grid-template-columns: minmax(0, 1fr) auto !important;
    width: 100% !important;
    margin-top: 8px !important;
    margin-bottom: 0 !important;
  }

  html body#top.woocommerce-checkout form.checkout_coupon .button,
  html body#top.woocommerce-checkout form.woocommerce-form-coupon .button {
    width: auto !important;
  }

  html body#top.woocommerce-checkout .woocommerce-billing-fields {
    padding: 14px !important;
  }

  html body#top.woocommerce-checkout .checkout .form-row {
    margin-bottom: 11px !important;
  }

  html body#top.woocommerce-checkout table.shop_table th,
  html body#top.woocommerce-checkout table.shop_table td,
  html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table th,
  html body#top.woocommerce-checkout table.woocommerce-checkout-review-order-table td {
    padding: 11px 12px !important;
    font-size: 0.84rem !important;
  }
}

/* Checkout layout wrapper injected by functions.php. */
html body#top.woocommerce-checkout .mt-checkout-layout {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 440px) !important;
  gap: 28px !important;
  align-items: start !important;
  width: 100% !important;
}

html body#top.woocommerce-checkout .mt-checkout-fields,
html body#top.woocommerce-checkout .mt-checkout-summary {
  min-width: 0 !important;
}

html body#top.woocommerce-checkout .mt-checkout-fields #customer_details {
  display: grid !important;
  grid-template-columns: minmax(360px, 426px) minmax(320px, 1fr) !important;
  gap: 28px !important;
  align-items: start !important;
  width: 100% !important;
}

html body#top.woocommerce-checkout .mt-checkout-fields #customer_details .col-1,
html body#top.woocommerce-checkout .mt-checkout-fields #customer_details .col-2 {
  float: none !important;
  clear: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  min-width: 0 !important;
}

html body#top.woocommerce-checkout .mt-checkout-summary #order_review_heading {
  margin: 0 0 12px !important;
}

html body#top.woocommerce-checkout .mt-checkout-summary #order_review {
  width: 100% !important;
  margin: 0 !important;
}

@media (max-width: 1179px) {
  html body#top.woocommerce-checkout .mt-checkout-layout,
  html body#top.woocommerce-checkout .mt-checkout-fields #customer_details {
    display: block !important;
  }

  html body#top.woocommerce-checkout .mt-checkout-summary {
    margin-top: 22px !important;
  }
}

/* Checkout desktop repair: keep order summary beside the form, not below it. */
@media (min-width: 1180px) {
  html body#top.woocommerce-checkout form.checkout {
    display: block !important;
  }

  html body#top.woocommerce-checkout form.checkout::after {
    display: none !important;
  }

  html body#top.woocommerce-checkout form.checkout #customer_details {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  html body#top.woocommerce-checkout form.checkout #customer_details.col2-set {
    display: grid !important;
    grid-template-columns: minmax(360px, 426px) minmax(340px, 1fr) !important;
    column-gap: 28px !important;
    align-items: start !important;
  }

  html body#top.woocommerce-checkout form.checkout #customer_details .col-1,
  html body#top.woocommerce-checkout form.checkout #customer_details .col-2 {
    float: none !important;
    clear: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  html body#top.woocommerce-checkout form.checkout #order_review_heading {
    grid-column: 2 !important;
    grid-row: 1 !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 0 12px !important;
    min-width: 0 !important;
  }

  html body#top.woocommerce-checkout form.checkout #order_review {
    grid-column: 2 !important;
    grid-row: 2 !important;
    float: none !important;
    clear: none !important;
    width: auto !important;
    margin: 0 !important;
    min-width: 0 !important;
  }

  html body#top.woocommerce-checkout form.checkout_coupon,
  html body#top.woocommerce-checkout form.woocommerce-form-coupon {
    width: min(100%, 430px) !important;
    grid-template-columns: minmax(0, 1fr) max-content !important;
  }

  html body#top.woocommerce-checkout form.checkout_coupon .form-row-last,
  html body#top.woocommerce-checkout form.woocommerce-form-coupon .form-row-last {
    width: auto !important;
    justify-self: end !important;
  }

  html body#top.woocommerce-checkout form.checkout_coupon .button,
  html body#top.woocommerce-checkout form.woocommerce-form-coupon .button {
    width: auto !important;
    min-width: 104px !important;
    white-space: nowrap !important;
  }
}

/* Final coupon alignment: same axis, quiet shop-pill, no Enfold glow. */
html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon,
html body#top.woocommerce-checkout form.checkout_coupon,
html body#top.woocommerce-checkout form.woocommerce-form-coupon {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 104px !important;
  align-items: center !important;
  gap: 12px !important;
  width: min(100%, 392px) !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon p,
html body#top.woocommerce-checkout form.checkout_coupon p,
html body#top.woocommerce-checkout form.woocommerce-form-coupon p,
html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row,
html body#top.woocommerce-checkout form.checkout_coupon .form-row,
html body#top.woocommerce-checkout form.woocommerce-form-coupon .form-row {
  display: block !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1 !important;
  align-self: center !important;
}

html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-first,
html body#top.woocommerce-checkout form.checkout_coupon .form-row-first,
html body#top.woocommerce-checkout form.woocommerce-form-coupon .form-row-first {
  grid-column: 1 !important;
}

html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon .form-row-last,
html body#top.woocommerce-checkout form.checkout_coupon .form-row-last,
html body#top.woocommerce-checkout form.woocommerce-form-coupon .form-row-last {
  grid-column: 2 !important;
}

html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon input.input-text,
html body#top.woocommerce-checkout form.checkout_coupon input.input-text,
html body#top.woocommerce-checkout form.woocommerce-form-coupon input.input-text {
  display: block !important;
  width: 100% !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid rgba(17,23,21,0.12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.92) !important;
  color: var(--mtm-ink) !important;
  box-shadow: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 32px !important;
}

html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon button.button,
html body#top.woocommerce-checkout form.checkout_coupon button.button,
html body#top.woocommerce-checkout form.woocommerce-form-coupon button.button,
html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon input.button,
html body#top.woocommerce-checkout form.checkout_coupon input.button,
html body#top.woocommerce-checkout form.woocommerce-form-coupon input.button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 104px !important;
  height: 34px !important;
  min-width: 104px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(52,169,106,0.18) !important;
  border-radius: 999px !important;
  background: rgba(52,169,106,0.12) !important;
  background-image: none !important;
  color: var(--mtm-green-dark) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 520 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon button.button:hover,
html body#top.woocommerce-checkout form.checkout_coupon button.button:hover,
html body#top.woocommerce-checkout form.woocommerce-form-coupon button.button:hover,
html body#top.woocommerce-checkout form.checkout_coupon.woocommerce-form-coupon input.button:hover,
html body#top.woocommerce-checkout form.checkout_coupon input.button:hover,
html body#top.woocommerce-checkout form.woocommerce-form-coupon input.button:hover {
  border-color: rgba(52,169,106,0.3) !important;
  background: rgba(52,169,106,0.18) !important;
  color: var(--mtm-green-dark) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Custom coupon form: exact geometry, no Woo/Enfold drift. */
html body#top.woocommerce-checkout form.mt-checkout-coupon {
  display: grid !important;
  grid-template-columns: 190px 104px !important;
  align-items: center !important;
  gap: 12px !important;
  width: max-content !important;
  max-width: 100% !important;
  margin: 18px 0 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

html body#top.woocommerce-checkout form.mt-checkout-coupon p,
html body#top.woocommerce-checkout form.mt-checkout-coupon .form-row {
  display: block !important;
  float: none !important;
  clear: none !important;
  width: auto !important;
  min-width: 0 !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 34px !important;
  align-self: center !important;
}

html body#top.woocommerce-checkout form.mt-checkout-coupon input#mt_coupon_code {
  display: block !important;
  width: 190px !important;
  height: 34px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid rgba(17,23,21,0.12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,0.92) !important;
  background-image: none !important;
  color: var(--mtm-ink) !important;
  box-shadow: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.86rem !important;
  font-weight: 400 !important;
  line-height: 32px !important;
}

html body#top.woocommerce-checkout form.mt-checkout-coupon button.mt-coupon-apply {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 104px !important;
  height: 34px !important;
  min-width: 104px !important;
  min-height: 34px !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid rgba(52,169,106,0.18) !important;
  border-radius: 999px !important;
  background: rgba(52,169,106,0.12) !important;
  background-image: none !important;
  color: var(--mtm-green-dark) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  transform: none !important;
  font-family: "Inter", system-ui, sans-serif !important;
  font-size: 0.84rem !important;
  font-weight: 520 !important;
  line-height: 1 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  white-space: nowrap !important;
}

html body#top.woocommerce-checkout form.mt-checkout-coupon button.mt-coupon-apply:hover {
  border-color: rgba(52,169,106,0.3) !important;
  background: rgba(52,169,106,0.18) !important;
  color: var(--mtm-green-dark) !important;
  box-shadow: none !important;
  transform: none !important;
}

@media (max-width: 420px) {
  html body#top.woocommerce-checkout form.mt-checkout-coupon {
    grid-template-columns: minmax(0, 1fr) 96px !important;
    width: 100% !important;
  }

  html body#top.woocommerce-checkout form.mt-checkout-coupon input#mt_coupon_code,
  html body#top.woocommerce-checkout form.mt-checkout-coupon button.mt-coupon-apply {
    width: 100% !important;
    min-width: 0 !important;
  }
}

/* Checkout mobile: Woo's first/last rows must not stay as desktop columns. */
@media (max-width: 767px) {
  html body#top.woocommerce-checkout,
  html body#top.woocommerce-checkout #wrap_all,
  html body#top.woocommerce-checkout #main {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  html body#top.woocommerce-checkout #main .container,
  html body#top.woocommerce-checkout #main .content,
  html body#top.woocommerce-checkout #main main.template-page {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  html body#top.woocommerce-checkout #main .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  html body#top.woocommerce-checkout #main .content,
  html body#top.woocommerce-checkout #main main.template-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  html body#top.woocommerce-checkout .mt-checkout-fields,
  html body#top.woocommerce-checkout .mt-checkout-fields #customer_details,
  html body#top.woocommerce-checkout .woocommerce .col2-set,
  html body#top.woocommerce-checkout .woocommerce-page .col2-set,
  html body#top.woocommerce-checkout .woocommerce .col2-set .col-1,
  html body#top.woocommerce-checkout .woocommerce .col2-set .col-2,
  html body#top.woocommerce-checkout .woocommerce-page .col2-set .col-1,
  html body#top.woocommerce-checkout .woocommerce-page .col2-set .col-2,
  html body#top.woocommerce-checkout .woocommerce-billing-fields,
  html body#top.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
  html body#top.woocommerce-checkout .woocommerce-shipping-fields,
  html body#top.woocommerce-checkout .woocommerce-shipping-fields__field-wrapper,
  html body#top.woocommerce-checkout .woocommerce-additional-fields,
  html body#top.woocommerce-checkout .woocommerce-additional-fields__field-wrapper {
    display: block !important;
    float: none !important;
    clear: both !important;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
  }

  html body#top.woocommerce-checkout .woocommerce form .form-row-first,
  html body#top.woocommerce-checkout .woocommerce form .form-row-last,
  html body#top.woocommerce-checkout form.checkout .form-row-first,
  html body#top.woocommerce-checkout form.checkout .form-row-last {
    float: none !important;
    clear: both !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  html body#top.woocommerce-checkout form.checkout .form-row input.input-text,
  html body#top.woocommerce-checkout form.checkout .form-row textarea,
  html body#top.woocommerce-checkout form.checkout .form-row select,
  html body#top.woocommerce-checkout form.checkout .select2-container {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* ─── Single product related/up-sell cards: balanced media + text layout ─── */
html body#top.single-product .related.products ul.products,
html body#top.single-product .up-sells ul.products {
  align-items: stretch !important;
}

html body#top.single-product .related.products ul.products li.product,
html body#top.single-product .up-sells ul.products li.product {
  display: flex !important;
  float: none !important;
  height: auto !important;
  min-height: 0 !important;
}

html body#top.single-product .related.products ul.products li.product .inner_product,
html body#top.single-product .up-sells ul.products li.product .inner_product {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 300px !important;
  padding: 0 !important;
  overflow: hidden !important;
}

html body#top.single-product .related.products ul.products li.product a.woocommerce-LoopProduct-link,
html body#top.single-product .up-sells ul.products li.product a.woocommerce-LoopProduct-link {
  display: flex !important;
  flex-direction: column !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 0 !important;
  text-decoration: none !important;
}

html body#top.single-product .related.products ul.products li.product .thumbnail_container,
html body#top.single-product .up-sells ul.products li.product .thumbnail_container {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  height: clamp(150px, 13vw, 210px) !important;
  min-height: clamp(150px, 13vw, 210px) !important;
  margin: 0 !important;
  padding: 18px 18px 10px !important;
  background: transparent !important;
  box-sizing: border-box !important;
}

html body#top.single-product .related.products ul.products li.product img,
html body#top.single-product .related.products ul.products li.product .attachment-shop_catalog,
html body#top.single-product .related.products ul.products li.product .wp-post-image,
html body#top.single-product .up-sells ul.products li.product img,
html body#top.single-product .up-sells ul.products li.product .attachment-shop_catalog,
html body#top.single-product .up-sells ul.products li.product .wp-post-image {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  margin: 0 auto !important;
  padding: 0 !important;
}

html body#top.single-product .related.products ul.products li.product .inner_product_header,
html body#top.single-product .up-sells ul.products li.product .inner_product_header {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 104px !important;
  margin: 0 !important;
  padding: 10px 18px 16px !important;
  border: 0 !important;
  background: transparent !important;
  text-align: center !important;
}

html body#top.single-product .related.products ul.products li.product .inner_product_header_table,
html body#top.single-product .related.products ul.products li.product .inner_product_header_cell,
html body#top.single-product .up-sells ul.products li.product .inner_product_header_table,
html body#top.single-product .up-sells ul.products li.product .inner_product_header_cell {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

html body#top.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
html body#top.single-product .related.products ul.products li.product h2,
html body#top.single-product .related.products ul.products li.product h3,
html body#top.single-product .up-sells ul.products li.product .woocommerce-loop-product__title,
html body#top.single-product .up-sells ul.products li.product h2,
html body#top.single-product .up-sells ul.products li.product h3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  min-height: 3.96em !important;
  margin: 0 0 10px !important;
  padding: 0 !important;
  color: #35413b !important;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 0.9rem !important;
  font-weight: 500 !important;
  line-height: 1.32 !important;
  letter-spacing: 0 !important;
  text-align: center !important;
}

html body#top.single-product .related.products ul.products li.product .price,
html body#top.single-product .up-sells ul.products li.product .price {
  align-self: center !important;
  margin-top: 0 !important;
  text-align: center !important;
}

html body#top.single-product.b2bking_logged_out .related.products ul.products li.product .price.mt-login-for-price,
html body#top.single-product.b2bking_logged_out .up-sells ul.products li.product .price.mt-login-for-price {
  min-height: 22px !important;
  padding: 3px 8px !important;
  font-size: 0.7rem !important;
  line-height: 1.18 !important;
}

@media (max-width: 767px) {
  html body#top.single-product .related.products ul.products li.product .inner_product,
  html body#top.single-product .up-sells ul.products li.product .inner_product {
    min-height: 280px !important;
  }

  html body#top.single-product .related.products ul.products li.product .thumbnail_container,
  html body#top.single-product .up-sells ul.products li.product .thumbnail_container {
    height: 140px !important;
    min-height: 140px !important;
  }

  html body#top.single-product .related.products ul.products li.product .inner_product_header,
  html body#top.single-product .up-sells ul.products li.product .inner_product_header {
    min-height: 88px !important;
    padding-top: 8px !important;
  }

  html body#top.single-product .related.products ul.products li.product .woocommerce-loop-product__title,
  html body#top.single-product .related.products ul.products li.product h2,
  html body#top.single-product .related.products ul.products li.product h3,
  html body#top.single-product .up-sells ul.products li.product .woocommerce-loop-product__title,
  html body#top.single-product .up-sells ul.products li.product h2,
  html body#top.single-product .up-sells ul.products li.product h3 {
    min-height: 3.6em !important;
    margin-bottom: 8px !important;
  }
}

/* ─── Product description specification tables ─── */
html body#top.single-product .woocommerce-tabs table.mt-product-specs,
html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs {
  width: 100% !important;
  max-width: 760px !important;
  margin: 18px 0 8px !important;
  border: 1px solid rgba(17, 23, 21, 0.075) !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, 0.72) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}

html body#top.single-product .woocommerce-tabs table.mt-product-specs tbody,
html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs tbody {
  display: table-row-group !important;
}

html body#top.single-product .woocommerce-tabs table.mt-product-specs tr,
html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs tr {
  background: transparent !important;
}

html body#top.single-product .woocommerce-tabs table.mt-product-specs tr + tr th,
html body#top.single-product .woocommerce-tabs table.mt-product-specs tr + tr td,
html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs tr + tr th,
html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs tr + tr td {
  border-top: 1px solid rgba(17, 23, 21, 0.06) !important;
}

html body#top.single-product .woocommerce-tabs table.mt-product-specs th,
html body#top.single-product .woocommerce-tabs table.mt-product-specs td,
html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs th,
html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs td {
  padding: 13px 18px !important;
  border-right: 0 !important;
  border-bottom: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  color: #35413b !important;
  font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif !important;
  font-size: 0.92rem !important;
  line-height: 1.35 !important;
  vertical-align: middle !important;
}

html body#top.single-product .woocommerce-tabs table.mt-product-specs th,
html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs th {
  width: 34% !important;
  color: #65746c !important;
  font-size: 0.76rem !important;
  font-weight: 620 !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  background: rgba(246, 250, 246, 0.78) !important;
}

html body#top.single-product .woocommerce-tabs table.mt-product-specs td,
html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs td {
  font-weight: 450 !important;
}

html body#top.single-product .mt-product-specs-wrap {
  max-width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch;
}

html body#top.single-product .mt-product-downloads {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  margin-top: 10px !important;
}

html body#top.single-product table.mt-product-specs--matrix {
  min-width: 720px !important;
}

html body#top.single-product .woocommerce-tabs a.mt-product-download,
html body#top.single-product .woocommerce-Tabs-panel a.mt-product-download {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 42px !important;
  margin-top: 10px !important;
  padding: 10px 22px !important;
  border: 1px solid rgba(52, 169, 106, 0.22) !important;
  border-radius: 999px !important;
  background: rgba(52, 169, 106, 0.12) !important;
  box-shadow: none !important;
  color: var(--mtm-green-dark, #248f53) !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
}

html body#top.single-product .woocommerce-tabs a.mt-product-download:hover,
html body#top.single-product .woocommerce-Tabs-panel a.mt-product-download:hover {
  border-color: rgba(52, 169, 106, 0.34) !important;
  background: rgba(52, 169, 106, 0.18) !important;
  color: var(--mtm-green-dark, #248f53) !important;
}

@media (max-width: 640px) {
  html body#top.single-product .woocommerce-tabs table.mt-product-specs,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs,
  html body#top.single-product .woocommerce-tabs table.mt-product-specs tbody,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs tbody,
  html body#top.single-product .woocommerce-tabs table.mt-product-specs tr,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs tr,
  html body#top.single-product .woocommerce-tabs table.mt-product-specs th,
  html body#top.single-product .woocommerce-tabs table.mt-product-specs td,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs th,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  html body#top.single-product .woocommerce-tabs table.mt-product-specs th,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs th {
    padding: 12px 16px 4px !important;
    background: transparent !important;
    font-size: 12px !important;
    line-height: 1.25 !important;
  }

  html body#top.single-product .woocommerce-tabs table.mt-product-specs td,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs td {
    padding: 0 16px 12px !important;
    font-size: 15px !important;
    line-height: 1.35 !important;
  }

  html body#top.single-product .woocommerce-tabs table.mt-product-specs--matrix,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs--matrix,
  html body#top.single-product .woocommerce-tabs table.mt-product-specs--matrix tbody,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs--matrix tbody,
  html body#top.single-product .woocommerce-tabs table.mt-product-specs--matrix tr,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs--matrix tr,
  html body#top.single-product .woocommerce-tabs table.mt-product-specs--matrix td,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs--matrix td {
    display: block !important;
    width: 100% !important;
  }

  html body#top.single-product .woocommerce-tabs table.mt-product-specs--matrix,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs--matrix {
    min-width: 0 !important;
  }

  html body#top.single-product .woocommerce-tabs table.mt-product-specs--matrix tr:first-child,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs--matrix tr:first-child {
    display: none !important;
  }

  html body#top.single-product .woocommerce-tabs table.mt-product-specs--matrix tr,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs--matrix tr {
    padding: 12px 0 !important;
  }

  html body#top.single-product .woocommerce-tabs table.mt-product-specs--matrix td,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs--matrix td {
    display: flex !important;
    justify-content: space-between !important;
    gap: 18px !important;
    padding: 6px 16px !important;
    border-top: 0 !important;
    font-size: 14px !important;
    line-height: 1.35 !important;
  }

  html body#top.single-product .woocommerce-tabs table.mt-product-specs--matrix td::before,
  html body#top.single-product .woocommerce-Tabs-panel table.mt-product-specs--matrix td::before {
    content: attr(data-label);
    flex: 0 0 45%;
    color: rgba(48, 61, 54, 0.72);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
  }
}

/* Final guard: keep shop typography aligned with brand fonts after consent. */
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing),
html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :where(p, li, td, th, label, input, select, textarea, button, .button, .price, .woocommerce-breadcrumb, .woocommerce-message, .woocommerce-info, .woocommerce-error) {
  font-family: "poppins", "Inter", Arial, sans-serif !important;
  letter-spacing: 0 !important;
}

/* Actual last layer for breadcrumb links after broad shop link rules. */
html body#top:is(.woocommerce, .woocommerce-page) .mt-breadcrumb {
  color: #6b7a72 !important;
  font-family: "poppins", "Poppins", "Inter", Arial, sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
  letter-spacing: 0 !important;
}

html body#top.single-product #main {
  position: relative !important;
}

html body#top.single-product .template-shop {
  padding-top: 0 !important;
}

html body#top.single-product .mt-product-breadcrumb-wrap {
  box-sizing: border-box !important;
  clear: both !important;
  display: block !important;
  min-height: 28px !important;
  width: min(1180px, calc(100% - 32px)) !important;
  margin: 54px auto 18px !important;
  padding: 0 !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  transform: none !important;
  z-index: 10000 !important;
}

html body#top.single-product .mt-product-breadcrumb-wrap .mt-breadcrumb--product,
html body#top.single-product .mt-product-breadcrumb-wrap .mt-breadcrumb__list,
html body#top.single-product .mt-product-breadcrumb-wrap .mt-breadcrumb__item {
  opacity: 1 !important;
  position: static !important;
  visibility: visible !important;
}

html body#top.single-product .mt-product-breadcrumb-wrap .mt-breadcrumb--product {
  display: block !important;
  margin: 0 !important;
}

html body#top.woocommerce-cart .mt-cart-head .mt-breadcrumb,
html body#top.woocommerce-account .mt-account-head .mt-breadcrumb,
html body#top.woocommerce-checkout .mt-checkout-head .mt-breadcrumb {
  margin: 0 0 12px !important;
}

html body#top:is(.woocommerce, .woocommerce-page) .mt-breadcrumb a.mt-breadcrumb__link {
  min-height: 24px !important;
  padding: 0 !important;
  color: #178a4d !important;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  font: inherit !important;
  text-decoration: none !important;
}

html body#top:is(.woocommerce, .woocommerce-page) .mt-breadcrumb a.mt-breadcrumb__link:hover,
html body#top:is(.woocommerce, .woocommerce-page) .mt-breadcrumb a.mt-breadcrumb__link:focus-visible {
  color: #0f6f40 !important;
  background: transparent !important;
  text-decoration: none !important;
}

html body#top:is(.woocommerce, .woocommerce-page) .mt-breadcrumb__current {
  color: #24322d !important;
  font: inherit !important;
}

/* Final price color guard: real shop prices stay consistently green. */
html body#top:is(.woocommerce, .woocommerce-page) :where(
  .price,
  .price .amount,
  .price bdi,
  .woocommerce-Price-amount,
  .woocommerce-Price-amount bdi,
  .woocommerce-variation-price .price,
  .woocommerce-variation-price .price .amount,
  .single_variation_wrap .price,
  .single_variation_wrap .price .amount
) {
  color: var(--mtm-green, #178a4d) !important;
}

html body#top:is(.woocommerce, .woocommerce-page) :where(
  .price .woocommerce-price-suffix,
  .price .woocommerce-Price-suffix,
  .price small,
  .woocommerce-Price-suffix
) {
  color: var(--mtm-muted, #6b7a72) !important;
}

html body#top.tax-product_cat .mt-cat-hero .mt-breadcrumb,
html body#top.tax-product_tag .mt-cat-hero .mt-breadcrumb {
  max-width: 1180px !important;
  margin: 0 0 16px !important;
  color: rgba(255, 255, 255, 0.72) !important;
}

html body#top.tax-product_cat .mt-cat-hero .mt-breadcrumb a.mt-breadcrumb__link,
html body#top.tax-product_tag .mt-cat-hero .mt-breadcrumb a.mt-breadcrumb__link,
html body#top.tax-product_cat .mt-cat-hero .mt-breadcrumb__current,
html body#top.tax-product_tag .mt-cat-hero .mt-breadcrumb__current {
  color: rgba(255, 255, 255, 0.82) !important;
}

html body#top.tax-product_cat .mt-cat-hero .mt-breadcrumb a.mt-breadcrumb__link:hover,
html body#top.tax-product_cat .mt-cat-hero .mt-breadcrumb a.mt-breadcrumb__link:focus-visible,
html body#top.tax-product_tag .mt-cat-hero .mt-breadcrumb a.mt-breadcrumb__link:hover,
html body#top.tax-product_tag .mt-cat-hero .mt-breadcrumb a.mt-breadcrumb__link:focus-visible {
  color: #9ee6bd !important;
}

html body#top.tax-product_cat .mt-cat-hero .mt-breadcrumb__item + .mt-breadcrumb__item::before,
html body#top.tax-product_tag .mt-cat-hero .mt-breadcrumb__item + .mt-breadcrumb__item::before {
  color: rgba(255, 255, 255, 0.48) !important;
}

@media (max-width: 767px) {
  html body#top.single-product .mt-product-breadcrumb-wrap {
    width: calc(100% - 32px) !important;
    margin-top: 52px !important;
    margin-bottom: 14px !important;
    top: auto !important;
  }

  html body#top:is(.woocommerce, .woocommerce-page) .mt-breadcrumb {
    font-size: 12px !important;
  }
}

html body#top:is(.woocommerce, .woocommerce-page):not(.home):not(.front-page):not(.page-template-template-landing) :where(h1, h2, h3, h4, .product_title, .woocommerce-loop-product__title, .cart_totals h2, #order_review_heading, .woocommerce-billing-fields h3, .woocommerce-shipping-fields h3, .woocommerce-MyAccount-content h2, .woocommerce-MyAccount-content h3, .mt-shop-hero h1, .mt-sng-variation-copy h3, .mt-sng-variant-overview h3) {
  font-family: "univia-pro", "Poppins", "Inter Tight", "Inter", Arial, sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
}

/* WPML language menu: readable five-language flyout, kept open while crossing from icon to menu */
html body#top .mt-mh .mt-mh__lang {
  position: relative !important;
}

html body#top .mt-mh .mt-mh__lang::after {
  content: "" !important;
  position: absolute !important;
  left: -20px !important;
  right: -20px !important;
  top: 100% !important;
  height: 22px !important;
}

html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu {
  position: absolute !important;
  left: 50% !important;
  right: auto !important;
  top: calc(100% + 3px) !important;
  min-width: 132px !important;
  padding: 7px !important;
  border: 1px solid rgba(255,255,255,0.14) !important;
  border-radius: 14px !important;
  background: rgba(8, 12, 10, 0.97) !important;
  box-shadow: 0 14px 36px rgba(0,0,0,0.42) !important;
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 4px !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translate(-50%, -4px) !important;
  transition: opacity .14s ease, transform .14s ease, visibility 0s linear .14s !important;
  z-index: 100300 !important;
}

html body#top .mt-mh .mt-mh__lang:hover .mt-mh__lang-menu,
html body#top .mt-mh .mt-mh__lang:focus-within .mt-mh__lang-menu,
html body#top .mt-mh .mt-mh__lang.is-open .mt-mh__lang-menu,
html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu:hover {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  transform: translate(-50%, 0) !important;
  transition-delay: 0s !important;
}

html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button),
html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):visited {
  min-height: 30px !important;
  padding: 7px 6px !important;
  border-radius: 9px !important;
  color: #f4f7f4 !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-decoration: none !important;
}

html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):hover,
html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):focus-visible,
html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button).is-active {
  color: #ffffff !important;
  background: rgba(79, 210, 122, 0.20) !important;
}

/* WPML language menu: high-contrast final paint layer */
html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu {
  background: rgba(244, 250, 246, 0.98) !important;
  border-color: rgba(12, 80, 48, 0.18) !important;
  box-shadow: 0 16px 34px rgba(0,0,0,0.28) !important;
}

html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button),
html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):visited {
  color: #1f342b !important;
  background: transparent !important;
  font-size: 12px !important;
  font-weight: 600 !important;
}

html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):hover,
html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):focus-visible,
html body#top .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button).is-active {
  color: #087a43 !important;
  background: rgba(23, 155, 83, 0.12) !important;
}

/* WPML language menu: override shop link guards */
html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back),
html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):visited {
  color: #1f342b !important;
  background: transparent !important;
}

html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):hover,
html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back):focus-visible,
html body#top:is(.woocommerce, .woocommerce-page) .mt-mh .mt-mh__lang .mt-mh__lang-menu a:not(.button):not(.mt-back-to-shop):not(.mt-content-back).is-active {
  color: #087a43 !important;
  background: rgba(23, 155, 83, 0.12) !important;
}
