/* ================================
   MHC CERAMICA - SHOP ARCHIVE FINAL
   Inspired by clean RTSB / ShopBuilder archive
================================ */

:root {
  --mhc-white: #ffffff;
  --mhc-bg: #ffffff;
  --mhc-image-bg: #f6f6f6;
  --mhc-soft-bg: #fafafa;
  --mhc-brown: #813003;
  --mhc-brown-soft: #a8643f;
  --mhc-sand: #e2d6cf;
  --mhc-dark: #222222;
  --mhc-muted: rgba(34, 34, 34, 0.58);
  --mhc-border: rgba(34, 34, 34, 0.10);

  --mhc-font-title: "Cormorant Garamond", Georgia, serif;
  --mhc-font-body: "Poppins", "Montserrat", Arial, sans-serif;

  --mhc-shadow-soft: 0 10px 28px rgba(34, 34, 34, 0.06);
  --mhc-shadow-hover: 0 18px 45px rgba(34, 34, 34, 0.10);
}

/* ================================
   GLOBAL BACKGROUND
================================ */

body.woocommerce-shop,
body.post-type-archive-product,
body.tax-product_cat,
body.tax-product_tag,
body.woocommerce-page {
  background: #ffffff !important;
}

body.woocommerce-shop #page,
body.post-type-archive-product #page,
body.tax-product_cat #page,
body.tax-product_tag #page,
body.woocommerce-page #page,
body.woocommerce-shop .site,
body.post-type-archive-product .site,
body.tax-product_cat .site,
body.tax-product_tag .site,
body.woocommerce-page .site {
  background: #ffffff !important;
}

.woocommerce,
.woocommerce-page {
  font-family: var(--mhc-font-body);
  color: var(--mhc-dark);
}

.woocommerce .site-main,
.woocommerce-page .site-main,
.woocommerce main.site-main,
.woocommerce-page main.site-main,
.woocommerce .content-area,
.woocommerce-page .content-area {
  background: #ffffff !important;
  padding-bottom: 70px;
}

/* ================================
   SHOP LAYOUT (PRODUITS GAUCHE / FILTRES DROITE)
================================ */

.mhc-shop-layout {
  display: flex;
  align-items: flex-start;
  gap: 34px;
}

.mhc-shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 16px;
  padding: 12px 14px;
  background: #ffffff;
  border: 1px solid rgba(43, 42, 39, 0.10);
  border-radius: 16px;
  box-shadow: 0 14px 40px rgba(43, 42, 39, 0.06);
}

.mhc-shop-toolbar .woocommerce-result-count {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--mhc-muted);
}

.mhc-shop-toolbar .woocommerce-ordering {
  margin: 0;
}

.mhc-shop-toolbar .woocommerce-ordering select {
  border: 1px solid rgba(43, 42, 39, 0.14);
  background: #ffffff;
  color: var(--mhc-text);
  border-radius: 14px;
  padding: 10px 14px;
  font-family: var(--mhc-font-body);
  font-size: 14px;
  font-weight: 500;
  outline: none;
  box-shadow: none;
}

.mhc-shop-active-filters {
  margin: 0 0 18px;
}

.mhc-shop-active-filters .woocommerce-widget-layered-nav-filters {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.mhc-shop-active-filters .woocommerce-widget-layered-nav-filters ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0;
  padding: 0;
}

.mhc-shop-active-filters .woocommerce-widget-layered-nav-filters ul li {
  margin: 0;
  padding: 0;
  list-style: none;
}

.mhc-shop-active-filters .woocommerce-widget-layered-nav-filters ul li a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #1f3a2e;
  color: #ffffff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 14px 30px rgba(31, 58, 46, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mhc-shop-active-filters .woocommerce-widget-layered-nav-filters ul li a:hover {
  transform: translateY(-1px);
  background: #16291f;
  box-shadow: 0 18px 36px rgba(31, 58, 46, 0.22);
}

.mhc-shop-active-filters .woocommerce-widget-layered-nav-filters ul li a::after {
  content: "×";
  font-size: 16px;
  line-height: 1;
  opacity: 0.9;
}

.mhc-shop-active-filters .woocommerce-widget-layered-nav-filters .clear-all {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--mhc-muted);
  text-decoration: none;
  margin-left: auto;
}

.mhc-shop-active-filters .woocommerce-widget-layered-nav-filters .clear-all:hover {
  color: #813003;
  text-decoration: underline;
}

.mhc-shop-active-filters .woocommerce-widget-layered-nav-filters .clear-all::after {
  content: none;
}

.mhc-sidebar-head {
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(43, 42, 39, 0.08);
}

.mhc-sidebar-title {
  margin: 0;
  font-family: var(--mhc-font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--mhc-text);
}

.mhc-shop-main {
  flex: 1 1 auto;
  min-width: 0;
}

.mhc-shop-sidebar {
  flex: 0 0 320px;
  align-self: flex-start;
  position: sticky;
  top: 110px;
}

.mhc-shop-sidebar-empty {
  margin: 0 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(129, 48, 3, 0.06);
  border: 1px dashed rgba(129, 48, 3, 0.22);
  color: var(--mhc-text);
  font-size: 13px;
  line-height: 1.5;
}

.mhc-filter-widget {
  background: #ffffff;
  border: 1px solid rgba(43, 42, 39, 0.10);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 14px 40px rgba(43, 42, 39, 0.06);
}

/* Si les widgets ne sont pas dans "Filtres boutique (MHC)" (ex: Woo sidebar par défaut ou blocks),
   on applique le même style à tout widget/block dans la sidebar. */
.mhc-shop-sidebar .widget,
.mhc-shop-sidebar .wp-block-woocommerce-product-categories,
.mhc-shop-sidebar .wp-block-woocommerce-filter-wrapper,
.mhc-shop-sidebar .wp-block-woocommerce-price-filter,
.mhc-shop-sidebar .wp-block-woocommerce-attribute-filter,
.mhc-shop-sidebar .wp-block-woocommerce-rating-filter,
.mhc-shop-sidebar .wc-block-product-categories,
.mhc-shop-sidebar .wc-block-components-price-slider {
  background: #ffffff;
  border: 1px solid rgba(43, 42, 39, 0.10);
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 14px 40px rgba(43, 42, 39, 0.06);
}

.mhc-filter-widget + .mhc-filter-widget {
  margin-top: 16px;
}

.mhc-shop-sidebar .widget + .widget,
.mhc-shop-sidebar .wp-block-woocommerce-product-categories + .wp-block-woocommerce-product-categories,
.mhc-shop-sidebar .wp-block-woocommerce-filter-wrapper + .wp-block-woocommerce-filter-wrapper {
  margin-top: 16px;
}

.mhc-filter-title {
  margin: 0 0 12px;
  font-family: var(--mhc-font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--mhc-text);
}

.mhc-shop-sidebar .widget-title,
.mhc-shop-sidebar h2.widget-title,
.mhc-shop-sidebar .wc-block-product-categories__title,
.mhc-shop-sidebar .wc-block-components-filter-reset-button,
.mhc-shop-sidebar .wp-block-woocommerce-product-categories > h2,
.mhc-shop-sidebar .wp-block-woocommerce-price-filter > h2,
.mhc-shop-sidebar .wp-block-woocommerce-attribute-filter > h2,
.mhc-shop-sidebar .wp-block-woocommerce-rating-filter > h2 {
  margin: 0 0 12px;
  font-family: var(--mhc-font-title);
  font-size: 20px;
  font-weight: 600;
  color: var(--mhc-text);
}

/* Contenu widgets (compat Woo widgets + Woo blocks) */
.mhc-filter-widget,
.mhc-filter-widget * {
  box-sizing: border-box;
}

.mhc-shop-sidebar * {
  box-sizing: border-box;
}

.mhc-filter-widget ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mhc-shop-sidebar ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mhc-filter-widget li {
  margin: 0;
  padding: 0;
}

.mhc-filter-widget a {
  color: var(--mhc-text);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mhc-shop-sidebar a {
  color: var(--mhc-text);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mhc-filter-widget a:hover {
  color: #813003;
}

.mhc-shop-sidebar a:hover {
  color: #813003;
}

/* Listes WooCommerce (catégories / attributs) */
.mhc-filter-widget .product-categories li,
.mhc-filter-widget .woocommerce-widget-layered-nav-list__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 8px;
  border-radius: 12px;
}

.mhc-filter-widget .product-categories li:hover,
.mhc-filter-widget .woocommerce-widget-layered-nav-list__item:hover {
  background: rgba(129, 48, 3, 0.05);
}

.mhc-filter-widget .product-categories li a,
.mhc-filter-widget .woocommerce-widget-layered-nav-list__item a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}

.mhc-filter-widget .product-categories li .count,
.mhc-filter-widget .woocommerce-widget-layered-nav-list__item .count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(43, 42, 39, 0.06);
  color: var(--mhc-muted);
  font-size: 12px;
  font-weight: 600;
}

/* État actif */
.mhc-filter-widget .product-categories li.current-cat,
.mhc-filter-widget .woocommerce-widget-layered-nav-list__item--chosen {
  background: rgba(129, 48, 3, 0.08);
}

.mhc-filter-widget .product-categories li.current-cat > a,
.mhc-filter-widget .woocommerce-widget-layered-nav-list__item--chosen a {
  color: #813003;
}

/* Recherche produit */
.mhc-filter-widget .woocommerce-product-search,
.mhc-filter-widget form.woocommerce-product-search {
  display: flex;
  gap: 10px;
}

.mhc-filter-widget input[type="search"],
.mhc-filter-widget input[type="text"],
.mhc-filter-widget input[type="email"],
.mhc-filter-widget select {
  width: 100%;
  border: 1px solid rgba(43, 42, 39, 0.14);
  border-radius: 14px;
  padding: 12px 12px;
  font-family: var(--mhc-font-body);
  font-size: 14px;
  color: var(--mhc-text);
  background: #ffffff;
  outline: none;
}

.mhc-shop-sidebar input[type="search"],
.mhc-shop-sidebar input[type="text"],
.mhc-shop-sidebar input[type="email"],
.mhc-shop-sidebar select {
  width: 100%;
  border: 1px solid rgba(43, 42, 39, 0.14);
  border-radius: 14px;
  padding: 12px 12px;
  font-family: var(--mhc-font-body);
  font-size: 14px;
  color: var(--mhc-text);
  background: #ffffff;
  outline: none;
}

.mhc-filter-widget input[type="search"]:focus,
.mhc-filter-widget input[type="text"]:focus,
.mhc-filter-widget input[type="email"]:focus,
.mhc-filter-widget select:focus {
  border-color: rgba(129, 48, 3, 0.45);
  box-shadow: 0 0 0 4px rgba(129, 48, 3, 0.10);
}

.mhc-filter-widget button,
.mhc-filter-widget .button {
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  background: #813003;
  color: #ffffff;
  font-family: var(--mhc-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.mhc-shop-sidebar button,
.mhc-shop-sidebar .button,
.mhc-shop-sidebar input[type="submit"] {
  border: none;
  border-radius: 14px;
  padding: 12px 14px;
  background: #813003;
  color: #ffffff;
  font-family: var(--mhc-font-body);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

/* ================================
   WOOCOMMERCE BLOCK: PRODUCT FILTERS (PREMIUM)
================================ */

.mhc-shop-sidebar .wc-block-product-filters {
  width: 100%;
  color: var(--mhc-text);
}

/* Sur desktop, afficher le contenu (pas de modal) */
@media (min-width: 901px) {
  .mhc-shop-sidebar .wc-block-product-filters__open-overlay {
    display: none !important;
  }

  .mhc-shop-sidebar .wc-block-product-filters__overlay,
  .mhc-shop-sidebar .wc-block-product-filters__overlay-wrapper,
  .mhc-shop-sidebar .wc-block-product-filters__overlay-dialog {
    position: static !important;
    inset: auto !important;
    width: auto !important;
    height: auto !important;
    max-width: none !important;
    max-height: none !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .mhc-shop-sidebar .wc-block-product-filters__overlay-header,
  .mhc-shop-sidebar .wc-block-product-filters__overlay-footer {
    display: none !important;
  }

  .mhc-shop-sidebar .wc-block-product-filters__overlay-content {
    padding: 0 !important;
  }
}

/* Titres */
.mhc-shop-sidebar .wc-block-product-filters .wp-block-heading {
  font-family: var(--mhc-font-title);
  color: var(--mhc-text);
}

.mhc-shop-sidebar .wc-block-product-filters h2.wp-block-heading {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 12px !important;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(43, 42, 39, 0.08);
}

.mhc-shop-sidebar .wc-block-product-filters h3.wp-block-heading {
  font-size: 16px;
  font-weight: 600;
  margin: 18px 0 10px !important;
}

/* Active filters chips */
.mhc-shop-sidebar .wc-block-product-filter-removable-chips__items {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 12px !important;
  padding: 0 !important;
}

.mhc-shop-sidebar .wc-block-product-filter-removable-chips__items > * {
  list-style: none !important;
  margin: 0 !important;
}

.mhc-shop-sidebar .wc-block-product-filter-removable-chips__items button,
.mhc-shop-sidebar .wc-block-product-filter-removable-chips__items a {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 9px 14px !important;
  border-radius: 999px !important;
  background: #1f3a2e !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  font-family: var(--mhc-font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  line-height: 1 !important;
  box-shadow: 0 14px 30px rgba(31, 58, 46, 0.16);
}

.mhc-shop-sidebar .wc-block-product-filter-removable-chips__items button:hover,
.mhc-shop-sidebar .wc-block-product-filter-removable-chips__items a:hover {
  background: #16291f !important;
  transform: translateY(-1px);
  box-shadow: 0 18px 36px rgba(31, 58, 46, 0.22);
}

/* Clear filters */
.mhc-shop-sidebar .wc-block-product-filter-clear-button .wp-block-button__link {
  width: 100%;
  background: transparent !important;
  color: var(--mhc-muted) !important;
  border: 1px solid rgba(43, 42, 39, 0.16) !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  font-family: var(--mhc-font-body) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
}

.mhc-shop-sidebar .wc-block-product-filter-clear-button .wp-block-button__link:hover {
  border-color: rgba(129, 48, 3, 0.35) !important;
  color: #813003 !important;
  background: rgba(129, 48, 3, 0.06) !important;
}

/* Checkbox lists (Category / Status / Attributes) */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__item {
  border-radius: 14px;
  padding: 10px 10px;
  transition: background 0.2s ease;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__item:hover {
  background: rgba(129, 48, 3, 0.05);
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  cursor: pointer;
  font-family: var(--mhc-font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--mhc-text);
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  border: 1px solid rgba(43, 42, 39, 0.18);
  background: #ffffff;
  flex: 0 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input {
  margin: 0;
  width: 18px;
  height: 18px;
  accent-color: #813003;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__mark {
  width: 12px;
  height: 12px;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.15s ease, transform 0.15s ease;
  color: #ffffff;
}

@supports selector(:has(*)) {
  .mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }

  .mhc-shop-sidebar .wc-block-product-filter-checkbox-list__mark {
    opacity: 0;
    transform: scale(0.9);
  }

  .mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper:has(.wc-block-product-filter-checkbox-list__input:checked) {
    background: #813003;
    border-color: #813003;
  }

  .mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper:has(.wc-block-product-filter-checkbox-list__input:checked) .wc-block-product-filter-checkbox-list__mark {
    opacity: 1;
    transform: scale(1);
  }
}

/* Price slider block */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range {
  height: 8px !important;
  border-radius: 999px !important;
  background: rgba(43, 42, 39, 0.10) !important;
  margin: 8px 0 14px !important;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range .range-bar {
  height: 8px !important;
  border-radius: 999px !important;
  background: #813003 !important;
  opacity: 0.95;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"] {
  appearance: none;
  background: transparent;
  pointer-events: auto;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb {
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #813003;
  box-shadow: 0 10px 20px rgba(129, 48, 3, 0.18);
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: #ffffff;
  border: 2px solid #813003;
  box-shadow: 0 10px 20px rgba(129, 48, 3, 0.18);
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__left input,
.mhc-shop-sidebar .wc-block-product-filter-price-slider__right input {
  width: 100%;
  border: 1px solid rgba(43, 42, 39, 0.14) !important;
  border-radius: 14px !important;
  padding: 10px 12px !important;
  font-family: var(--mhc-font-body) !important;
  font-size: 16px !important;
  color: var(--mhc-text) !important;
  background: #ffffff !important;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__left input:focus,
.mhc-shop-sidebar .wc-block-product-filter-price-slider__right input:focus {
  border-color: rgba(129, 48, 3, 0.45) !important;
  box-shadow: 0 0 0 4px rgba(129, 48, 3, 0.10) !important;
  outline: none !important;
}

.mhc-filter-widget button:hover,
.mhc-filter-widget .button:hover {
  background: #222222;
  transform: translateY(-1px);
  box-shadow: 0 14px 26px rgba(34, 34, 34, 0.14);
}

/* Price filter (widget classique) */
.mhc-filter-widget .widget_price_filter .price_slider_wrapper {
  margin-top: 10px;
}

.mhc-filter-widget .widget_price_filter .ui-slider {
  position: relative;
  height: 6px;
  border-radius: 999px;
  background: rgba(43, 42, 39, 0.12);
}

.mhc-filter-widget .widget_price_filter .ui-slider-range {
  background: #813003;
  border-radius: 999px;
}

.mhc-filter-widget .widget_price_filter .ui-slider-handle {
  top: 50%;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  border: 2px solid #813003;
  background: #ffffff;
  transform: translateY(-50%);
}

.mhc-filter-widget .widget_price_filter .price_label {
  font-size: 13px;
  color: var(--mhc-muted);
}

/* Laisser la grille prendre toute la largeur de la colonne gauche */
body.woocommerce-shop .mhc-shop-main .woocommerce ul.products,
body.woocommerce-shop .mhc-shop-main ul.products {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 900px) {
  .mhc-shop-layout {
    flex-direction: column;
  }

  .mhc-shop-sidebar {
    flex: 0 0 auto;
    width: 100%;
    position: static;
  }
}

/* ================================
   SHOP HEADER CLEAN
================================ */

.mhc-shop-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 34px;
  border-radius: 0;
  overflow: hidden;
  color: #ffffff;
  background: #111111;
  box-shadow: none;
}

.mhc-shop-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--mhc-hero-image);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.08);
  filter: saturate(1.05) contrast(1.05);
  animation: mhc-hero-kenburns 14s ease-in-out infinite alternate;
}

.mhc-shop-hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.20), transparent 48%),
    linear-gradient(105deg, rgba(17, 17, 17, 0.80), rgba(17, 17, 17, 0.20));
}

.mhc-shop-hero-inner {
  position: relative;
  z-index: 2;
  padding: 56px 28px 46px;
}

.mhc-shop-hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.20);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mhc-shop-hero-title {
  margin: 16px 0 10px;
  max-width: 720px;
  color: #ffffff;
  font-family: var(--mhc-font-title);
  font-size: clamp(34px, 4.6vw, 56px);
  font-weight: 600;
  line-height: 1.05;
}

.mhc-shop-hero-subtitle {
  margin: 0;
  max-width: 620px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 16px;
  line-height: 1.7;
}

.mhc-shop-hero-breadcrumb {
  position: relative;
  z-index: 2;
  padding: 0 28px 22px;
}

.mhc-shop-hero-breadcrumb .woocommerce-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.82);
}

.mhc-shop-hero-breadcrumb .woocommerce-breadcrumb a {
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
}

.mhc-shop-hero-breadcrumb .woocommerce-breadcrumb a:hover {
  text-decoration: underline;
}

@keyframes mhc-hero-kenburns {
  0% {
    transform: scale(1.06) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.14) translate3d(-10px, -6px, 0);
  }
}

.bk-shop-header {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 42px;
  padding: 64px 20px 54px;
  background: #ffffff !important;
  overflow: hidden;
  border-bottom: 1px solid rgba(34, 34, 34, 0.06);
}

.bk-shop-header::before {
  content: "CERAMICA";
  position: absolute;
  top: 14px;
  right: 4%;
  font-family: var(--mhc-font-title);
  font-size: clamp(70px, 11vw, 160px);
  font-weight: 600;
  line-height: 1;
  color: rgba(129, 48, 3, 0.035) !important;
  pointer-events: none;
  white-space: nowrap;
}

.bk-shop-header::after {
  display: none !important;
}

.bk-shop-header-content {
  position: relative;
  z-index: 2;
  width: min(1220px, 92%);
  margin: 0 auto;
}

.bk-shop-kicker {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 14px;
  padding: 7px 15px;
  border-radius: 999px;
  background: rgba(129, 48, 3, 0.07);
  border: 1px solid rgba(129, 48, 3, 0.14);
  color: var(--mhc-brown);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bk-shop-header h1 {
  max-width: 760px;
  margin: 0 0 14px;
  color: var(--mhc-dark);
  font-family: var(--mhc-font-title);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.02;
}

.bk-shop-header p {
  max-width: 690px;
  margin: 0;
  color: var(--mhc-muted);
  font-size: 15px;
  line-height: 1.8;
}

/* ================================
   SHOP TOP BAR
================================ */

.woocommerce .woocommerce-result-count,
.woocommerce .woocommerce-ordering {
  width: min(1220px, 92%);
}

.woocommerce .woocommerce-result-count {
  float: left;
  margin: 0 0 28px calc((100% - min(1220px, 92%)) / 2);
  color: var(--mhc-muted);
  font-size: 14px;
  line-height: 44px;
}

.woocommerce .woocommerce-ordering {
  float: right;
  margin: 0 calc((100% - min(1220px, 92%)) / 2) 28px 0;
  text-align: right;
}

.woocommerce .woocommerce-ordering select {
  min-width: 230px;
  height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 4px;
  background: #ffffff;
  color: var(--mhc-dark);
  font-family: var(--mhc-font-body);
  font-size: 14px;
  outline: none;
}

.woocommerce .products {
  clear: both;
}

/* ================================
   PRODUCT GRID
================================ */

.woocommerce ul.products {
  clear: both;
  display: grid !important;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  width: min(1220px, 92%);
  margin: 0 auto !important;
  padding: 0 !important;
  background: transparent !important;
}

.woocommerce ul.products::before,
.woocommerce ul.products::after {
  display: none !important;
}

/* ================================
   PRODUCT CARD
================================ */

.woocommerce ul.products li.product {
  position: relative;
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 0 10px !important;
  background: transparent;
  border: none;
  box-shadow: none;
  overflow: visible;
  text-align: left;
  transition: transform 0.28s ease;
}

.woocommerce ul.products li.product:hover {
  transform: translateY(-4px);
}

.woocommerce ul.products li.product .woocommerce-LoopProduct-link {
  display: block;
  text-decoration: none;
}

/* ================================
   IMAGE BOX
================================ */

.woocommerce ul.products li.product a img,
.woocommerce ul.products li.product img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  max-width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  margin: 0 0 16px !important;
  padding: 0;
  object-fit: contain !important;
  object-position: center;
  background: var(--mhc-image-bg);
  border-radius: 0;
  transition:
    transform 0.55s ease,
    filter 0.55s ease,
    background 0.35s ease;
}

.woocommerce ul.products li.product:hover img {
  transform: scale(1.045);
  filter: brightness(1.03);
  background: #f2f2f2;
}

/* ================================
   PRODUCT TITLE / PRICE
================================ */

.mhc-product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 10px 0 8px;
  font-family: var(--mhc-font-body);
  font-size: 12px;
  font-weight: 500;
  color: var(--mhc-muted);
}

.mhc-product-cat--empty {
  display: inline-block;
  min-height: 1em;
}

.mhc-product-rating {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mhc-muted);
}

.mhc-product-rating .star-rating {
  margin: 0;
  font-size: 12px;
  line-height: 1;
  color: #f1b400;
}

.mhc-rating-num {
  color: var(--mhc-text);
  font-weight: 600;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
  margin: 0 0 7px !important;
  padding: 0 !important;
  color: var(--mhc-dark);
  font-family: var(--mhc-font-body);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  min-height: 42px;
  transition: color 0.25s ease;
}

.woocommerce ul.products li.product:hover .woocommerce-loop-product__title {
  color: var(--mhc-brown);
}

.woocommerce ul.products li.product .price {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0 !important;
  color: var(--mhc-brown);
  font-family: var(--mhc-font-body);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
}

.woocommerce ul.products li.product .price del {
  color: rgba(34, 34, 34, 0.36);
  font-size: 13px;
  font-weight: 400;
  opacity: 1;
}

.woocommerce ul.products li.product .price ins {
  color: var(--mhc-brown);
  text-decoration: none;
  font-weight: 700;
}

/* ================================
   BADGE PROMO
================================ */

.woocommerce ul.products li.product .onsale {
  display: none !important;
}

.mhc-sale-badge,
.bk-sale-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #813003;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  font-family: var(--mhc-font-body);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgba(34, 34, 34, 0.08);
}

/* ================================
   HIDE OLD ELEMENTS
================================ */

.woocommerce ul.products li.product > .button:not(.mhc-action-btn) {
  display: none !important;
}

.bk-product-extra-actions {
  display: none !important;
}

/* ================================
   ACTION BUTTONS - HIDDEN UNTIL HOVER
   Like fade-action-button
================================ */

.woocommerce ul.products li.product .mhc-product-actions {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 30;

  display: flex;
  flex-direction: column;
  gap: 10px;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);

  transition:
    opacity 0.28s ease,
    visibility 0.28s ease,
    transform 0.28s ease;
}

.woocommerce ul.products li.product:hover .mhc-product-actions {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.woocommerce ul.products li.product .mhc-action-btn {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(43, 42, 39, 0.14);
  background: rgba(255, 255, 255, 0.96);
  color: #111111;

  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  padding: 0;
  text-decoration: none;
  cursor: pointer;
  font-size: 0;
  line-height: 1;
  box-shadow: 0 12px 26px rgba(43, 42, 39, 0.12);

  transition:
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.woocommerce ul.products li.product .mhc-action-btn svg {
  width: 18px;
  height: 18px;
  display: block;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.woocommerce ul.products li.product .mhc-action-btn:hover,
.woocommerce ul.products li.product .mhc-action-btn.is-active {
  background: #813003;
  color: #ffffff;
  border-color: #813003;
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(129, 48, 3, 0.22);
}

/* Tooltip */
.woocommerce ul.products li.product .mhc-action-btn::before {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(7px);
  min-width: max-content;
  padding: 7px 10px;
  border-radius: 4px;
  background: #111111;
  color: #ffffff;
  font-family: var(--mhc-font-body);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s ease;
}

.woocommerce ul.products li.product .mhc-action-btn::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%) translateY(7px);
  border-width: 6px 6px 0 6px;
  border-style: solid;
  border-color: #111111 transparent transparent transparent;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all 0.22s ease;
}

.woocommerce ul.products li.product .mhc-action-btn:hover::before,
.woocommerce ul.products li.product .mhc-action-btn:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Pour se rapprocher de l'exemple : 3 icônes (sans "voir détails") */
.woocommerce ul.products li.product .mhc-view-btn {
  display: none !important;
}

/* WooCommerce added link */
.woocommerce ul.products li.product .added_to_cart {
  display: block;
  margin: 9px 0 0;
  color: var(--mhc-brown);
  font-family: var(--mhc-font-body);
  font-size: 13px;
  font-weight: 600;
  text-align: left;
  text-decoration: none;
}

/* Loading WooCommerce */
.woocommerce ul.products li.product .mhc-action-btn.loading {
  opacity: 0.65;
  pointer-events: none;
}

.woocommerce ul.products li.product .mhc-action-btn.added {
  background: var(--mhc-dark);
  color: #ffffff;
  border-color: var(--mhc-dark);
}

/* ================================
   PAGINATION
================================ */

.woocommerce nav.woocommerce-pagination {
  width: min(1220px, 92%);
  margin: 48px auto 0;
}

.woocommerce nav.woocommerce-pagination ul {
  display: flex;
  justify-content: center;
  gap: 8px;
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li {
  border: none;
}

.woocommerce nav.woocommerce-pagination ul li a,
.woocommerce nav.woocommerce-pagination ul li span {
  min-width: 42px;
  height: 42px;
  border-radius: 4px;
  background: #ffffff;
  color: var(--mhc-dark);
  border: 1px solid rgba(34, 34, 34, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mhc-font-body);
  font-weight: 600;
  transition: all 0.25s ease;
}

.woocommerce nav.woocommerce-pagination ul li span.current,
.woocommerce nav.woocommerce-pagination ul li a:hover {
  background: var(--mhc-brown);
  color: #ffffff;
  border-color: var(--mhc-brown);
}

/* ================================
   WOOCOMMERCE MESSAGES
================================ */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
  width: min(1220px, 92%);
  margin-left: auto;
  margin-right: auto;
  border-top-color: var(--mhc-brown);
  background: #ffffff;
  color: var(--mhc-dark);
  border-radius: 4px;
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.06);
}

.woocommerce-message::before,
.woocommerce-info::before {
  color: var(--mhc-brown);
}

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
  background: var(--mhc-brown);
  color: #ffffff;
  border-radius: 4px;
  padding: 10px 16px;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
  background: var(--mhc-dark);
  color: #ffffff;
}

/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1200px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .woocommerce ul.products li.product a img,
  .woocommerce ul.products li.product img {
    height: auto;
  }

}

@media (max-width: 900px) {
  .woocommerce ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }

  .woocommerce .woocommerce-result-count,
  .woocommerce .woocommerce-ordering {
    float: none;
    width: min(1220px, 92%);
    margin-left: auto;
    margin-right: auto;
    text-align: left;
  }

  .woocommerce .woocommerce-result-count {
    margin-bottom: 14px;
    line-height: 1.5;
  }

  .woocommerce .woocommerce-ordering {
    margin-bottom: 26px;
  }

  .woocommerce .woocommerce-ordering select {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .mhc-shop-hero {
    margin-bottom: 28px;
  }

  .mhc-shop-hero-inner {
    padding: 48px 20px 40px;
  }

  .mhc-shop-hero-breadcrumb {
    padding: 0 20px 18px;
  }

  .bk-shop-header {
    padding: 50px 18px;
  }

  .bk-shop-header h1 {
    font-size: clamp(34px, 9vw, 48px);
  }

  .woocommerce ul.products li.product .mhc-product-actions {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }

  .woocommerce ul.products li.product .mhc-action-btn::before,
  .woocommerce ul.products li.product .mhc-action-btn::after {
    display: none;
  }
}

@media (max-width: 560px) {
  .woocommerce ul.products {
    grid-template-columns: 1fr;
    gap: 20px;
    width: min(420px, 92%);
  }

  .woocommerce ul.products li.product a img,
  .woocommerce ul.products li.product img {
    height: auto;
  }

  .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 13px;
    min-height: auto;
  }

  .mhc-product-meta {
    font-size: 11px;
  }

  .woocommerce ul.products li.product .mhc-action-btn {
    width: 36px;
    height: 36px;
  }

  .woocommerce ul.products li.product .mhc-action-btn svg {
    width: 15px;
    height: 15px;
  }

  .woocommerce ul.products li.product .mhc-product-actions {
    top: 10px;
    right: 10px;
    gap: 8px;
  }
}

/* ================================
   MHC SHOP FILTER SIDEBAR - FINAL CLEAN VERSION
================================ */

/* Titre extérieur : Filter Options */
.mhc-sidebar-head {
  margin-bottom: 16px !important;
  padding-bottom: 14px !important;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08) !important;
}

.mhc-sidebar-title {
  margin: 0 !important;
  font-family: var(--mhc-font-title, Georgia, serif) !important;
  font-size: 25px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: #222222 !important;
}

/* Sidebar */
.mhc-shop-sidebar {
  flex: 0 0 300px !important;
  position: sticky !important;
  top: 115px !important;
}

/* Bloc principal des filtres */
.mhc-shop-sidebar .widget,
.mhc-shop-sidebar .wp-block-woocommerce-product-categories,
.mhc-shop-sidebar .wp-block-woocommerce-filter-wrapper,
.mhc-shop-sidebar .wp-block-woocommerce-price-filter,
.mhc-shop-sidebar .wp-block-woocommerce-attribute-filter,
.mhc-shop-sidebar .wp-block-woocommerce-rating-filter,
.mhc-shop-sidebar .wc-block-product-categories,
.mhc-shop-sidebar .wc-block-components-price-slider,
.mhc-shop-sidebar .wc-block-product-filters {
  background: #ffffff !important;
  border: 1px solid rgba(34, 34, 34, 0.10) !important;
  border-radius: 18px !important;
  padding: 24px 22px !important;
  box-shadow: 0 18px 45px rgba(34, 34, 34, 0.05) !important;
}

/* Titre interne : Filters */
.mhc-shop-sidebar .wc-block-product-filters h2.wp-block-heading,
.mhc-shop-sidebar .widget-title,
.mhc-shop-sidebar h2.widget-title {
  margin: 0 0 22px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08) !important;
  font-family: var(--mhc-font-title, Georgia, serif) !important;
  font-size: 25px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: #222222 !important;
}

/* Sous-titres : Price / Category / Status */
.mhc-shop-sidebar .wc-block-product-filters h3.wp-block-heading,
.mhc-shop-sidebar .wp-block-heading {
  margin: 26px 0 14px !important;
  font-family: var(--mhc-font-title, Georgia, serif) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #222222 !important;
}

/* Réduire les grands espaces entre les groupes */
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-price,
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-attribute,
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-stock-status,
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-taxonomy {
  margin-bottom: 24px !important;
}

/* ================================
   PRICE SLIDER
================================ */

.mhc-shop-sidebar .wc-block-product-filter-price-slider {
  margin-top: 6px !important;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range {
  height: 6px !important;
  margin: 10px 0 16px !important;
  border-radius: 999px !important;
  background: rgba(34, 34, 34, 0.12) !important;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range .range-bar {
  height: 6px !important;
  border-radius: 999px !important;
  background: #813003 !important;
}

/* Curseurs prix */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb {
  appearance: none !important;
  width: 19px !important;
  height: 19px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid #813003 !important;
  box-shadow: 0 8px 20px rgba(129, 48, 3, 0.20) !important;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb {
  width: 19px !important;
  height: 19px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  border: 2px solid #813003 !important;
  box-shadow: 0 8px 20px rgba(129, 48, 3, 0.20) !important;
}

/* Inputs min / max */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__left input,
.mhc-shop-sidebar .wc-block-product-filter-price-slider__right input {
  height: 42px !important;
  min-width: 74px !important;
  border: 1px solid rgba(34, 34, 34, 0.12) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-align: center !important;
  box-shadow: 0 8px 22px rgba(34, 34, 34, 0.04) !important;
}

/* ================================
   CHECKBOX FILTERS
================================ */

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__items {
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__item {
  margin: 0 !important;
  padding: 9px 10px !important;
  border-radius: 12px !important;
  transition: background 0.25s ease, transform 0.25s ease !important;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__item:hover {
  background: rgba(129, 48, 3, 0.05) !important;
  transform: translateX(2px) !important;
}

/* Corriger l'alignement catégorie : checkbox + texte à gauche */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  cursor: pointer !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-align: left !important;
}

/* Checkbox carré */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper {
  position: relative !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(34, 34, 34, 0.18) !important;
  background: #f6f6f6 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* Input natif */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input {
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
  accent-color: #813003 !important;
}

/* Check mark */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__mark {
  width: 12px !important;
  height: 12px !important;
  color: #ffffff !important;
}

/* État coché */
@supports selector(:has(*)) {
  .mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input {
    position: absolute !important;
    inset: 0 !important;
    opacity: 0 !important;
  }

  .mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper:has(.wc-block-product-filter-checkbox-list__input:checked) {
    background: #813003 !important;
    border-color: #813003 !important;
  }

  .mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper:has(.wc-block-product-filter-checkbox-list__input:checked) .wc-block-product-filter-checkbox-list__mark {
    opacity: 1 !important;
    transform: scale(1) !important;
  }
}

/* Texte des nombres / counts */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__text,
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__label span {
  color: #222222 !important;
}

/* ================================
   MOBILE FILTER
================================ */

@media (max-width: 900px) {
  .mhc-shop-sidebar {
    position: relative !important;
    top: auto !important;
    flex: 1 1 100% !important;
    width: 100% !important;
    margin-bottom: 28px !important;
  }

  .mhc-shop-sidebar .widget,
  .mhc-shop-sidebar .wp-block-woocommerce-product-categories,
  .mhc-shop-sidebar .wp-block-woocommerce-filter-wrapper,
  .mhc-shop-sidebar .wp-block-woocommerce-price-filter,
  .mhc-shop-sidebar .wp-block-woocommerce-attribute-filter,
  .mhc-shop-sidebar .wp-block-woocommerce-rating-filter,
  .mhc-shop-sidebar .wc-block-product-categories,
  .mhc-shop-sidebar .wc-block-components-price-slider,
  .mhc-shop-sidebar .wc-block-product-filters {
    padding: 20px 18px !important;
    border-radius: 16px !important;
  }
}

/* ================================
   MHC FILTER SIDEBAR FIX
   Supprimer titre extérieur + séparateurs
================================ */

/* Supprimer le premier titre "Filter Options" */
.mhc-sidebar-head,
.mhc-sidebar-title {
  display: none !important;
}

/* Ajuster le bloc filtre après suppression du titre */
.mhc-shop-sidebar {
  padding-top: 0 !important;
}

/* Titre interne "Filters" */
.mhc-shop-sidebar .wc-block-product-filters h2.wp-block-heading,
.mhc-shop-sidebar .widget-title,
.mhc-shop-sidebar h2.widget-title {
  margin: 0 0 22px !important;
  padding-bottom: 18px !important;
  border-bottom: 1px solid rgba(34, 34, 34, 0.10) !important;
  font-family: var(--mhc-font-title, Georgia, serif) !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  color: #222222 !important;
}

/* Ligne séparatrice avant Category, Status, Attributes */
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-taxonomy,
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-attribute,
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-stock-status,
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-rating {
  margin-top: 26px !important;
  padding-top: 24px !important;
  border-top: 1px solid rgba(34, 34, 34, 0.10) !important;
}

/* Ne pas ajouter une deuxième grande marge inutile */
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-price {
  margin-bottom: 0 !important;
}

/* Titres Price / Category / Status */
.mhc-shop-sidebar .wc-block-product-filters h3.wp-block-heading,
.mhc-shop-sidebar .wp-block-heading {
  margin: 0 0 16px !important;
  font-family: var(--mhc-font-title, Georgia, serif) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #222222 !important;
}

/* Espacement interne des listes */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__items {
  margin-top: 4px !important;
}

/* Version mobile */
@media (max-width: 900px) {
  .mhc-sidebar-head,
  .mhc-sidebar-title {
    display: none !important;
  }

  .mhc-shop-sidebar .wp-block-woocommerce-product-filter-taxonomy,
  .mhc-shop-sidebar .wp-block-woocommerce-product-filter-attribute,
  .mhc-shop-sidebar .wp-block-woocommerce-product-filter-stock-status,
  .mhc-shop-sidebar .wp-block-woocommerce-product-filter-rating {
    margin-top: 22px !important;
    padding-top: 20px !important;
  }
}

/* ================================
   MHC FILTER SIDEBAR FIX
   Remove double card + add separators
================================ */

/* Supprimer l'effet "bloc dans bloc" : le widget extérieur devient invisible */
.mhc-shop-sidebar .widget,
.mhc-shop-sidebar .wp-block-widget,
.mhc-shop-sidebar .wc-blocks-widget-wrapper {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}

/* Garder seulement le vrai bloc intérieur des filtres */
.mhc-shop-sidebar .wc-block-product-filters {
  background: #ffffff !important;
  border: 1px solid rgba(34, 34, 34, 0.10) !important;
  border-radius: 18px !important;
  padding: 26px 22px !important;
  box-shadow: 0 18px 45px rgba(34, 34, 34, 0.05) !important;
}

/* Titre principal "Filters" */
.mhc-shop-sidebar .wc-block-product-filters h2.wp-block-heading {
  margin: 0 0 22px !important;
  padding-bottom: 18px !important;
  border-bottom: 1px solid rgba(34, 34, 34, 0.10) !important;
  font-family: var(--mhc-font-title, Georgia, serif) !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: #222222 !important;
}

/* Titres Price / Category / Status */
.mhc-shop-sidebar .wc-block-product-filters h3.wp-block-heading,
.mhc-shop-sidebar .wc-block-product-filters .wp-block-heading {
  margin: 0 0 16px !important;
  font-family: var(--mhc-font-title, Georgia, serif) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  color: #222222 !important;
}

/* Séparateur entre les groupes de filtres */
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-taxonomy,
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-attribute,
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-stock-status,
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-rating {
  margin-top: 28px !important;
  padding-top: 26px !important;
  border-top: 1px solid rgba(34, 34, 34, 0.10) !important;
}

/* Ajouter aussi une ligne avant Status si WooCommerce utilise une autre structure */
.mhc-shop-sidebar .wc-block-product-filter-stock-status,
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list + .wp-block-heading,
.mhc-shop-sidebar .wp-block-heading + .wc-block-product-filter-checkbox-list {
  border-top-color: rgba(34, 34, 34, 0.10) !important;
}

/* Séparateur manuel fiable entre chaque bloc direct du filtre */
.mhc-shop-sidebar .wc-block-product-filters > *:not(:first-child):not(h2) {
  margin-top: 26px !important;
}

/* Appliquer une ligne à partir du 3e groupe visible */
.mhc-shop-sidebar .wc-block-product-filters > *:nth-child(n+3) {
  padding-top: 24px !important;
  border-top: 1px solid rgba(34, 34, 34, 0.10) !important;
}

/* Éviter une double ligne juste après le titre principal */
.mhc-shop-sidebar .wc-block-product-filters > h2 + * {
  border-top: none !important;
  padding-top: 0 !important;
}

/* Corriger l'espacement des listes */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__items {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Une ligne claire avant Status même si WooCommerce ne donne pas la bonne classe */
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-stock-status {
  border-top: 1px solid rgba(34, 34, 34, 0.10) !important;
  margin-top: 28px !important;
  padding-top: 26px !important;
}

/* ================================
   MHC FILTER FINAL FIX
   Remove double card + add separators
================================ */

/* 1. Supprimer le style du bloc extérieur */
.mhc-shop-sidebar #block-8,
.mhc-shop-sidebar section#block-8,
.mhc-shop-sidebar .mhc-filter-widget,
.mhc-shop-sidebar .widget_block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
}

/* 2. Supprimer aussi le style du conteneur WooCommerce parent */
.mhc-shop-sidebar #block-8 > .wc-block-product-filters,
.mhc-shop-sidebar #block-8 > .wp-block-woocommerce-product-filters,
.mhc-shop-sidebar .wc-block-product-filters {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: block !important;
}

/* 3. Supprimer les styles overlay inutiles en desktop */
.mhc-shop-sidebar .wc-block-product-filters__overlay,
.mhc-shop-sidebar .wc-block-product-filters__overlay-wrapper,
.mhc-shop-sidebar .wc-block-product-filters__overlay-dialog {
  position: static !important;
  inset: auto !important;
  width: auto !important;
  height: auto !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  border-radius: 0 !important;
  display: block !important;
  transform: none !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* 4. Cacher les boutons overlay mobile/desktop inutiles */
.mhc-shop-sidebar .wc-block-product-filters__open-overlay,
.mhc-shop-sidebar .wc-block-product-filters__overlay-header,
.mhc-shop-sidebar .wc-block-product-filters__overlay-footer {
  display: none !important;
}

/* 5. Garder seulement CE bloc comme carte principale */
.mhc-shop-sidebar .wc-block-product-filters__overlay-content {
  background: #ffffff !important;
  border: 1px solid rgba(34, 34, 34, 0.10) !important;
  border-radius: 18px !important;
  padding: 26px 22px !important;
  box-shadow: 0 18px 45px rgba(34, 34, 34, 0.05) !important;
}

/* 6. Titre principal Filters */
.mhc-shop-sidebar .wc-block-product-filters__overlay-content > h2.wp-block-heading {
  margin: 0 0 22px !important;
  padding: 0 0 18px !important;
  border-bottom: 1px solid rgba(34, 34, 34, 0.10) !important;
  font-family: var(--mhc-font-title, Georgia, serif) !important;
  font-size: 26px !important;
  font-weight: 500 !important;
  line-height: 1.1 !important;
  color: #222222 !important;
}

/* 7. Titres Price / Category / Status */
.mhc-shop-sidebar .wc-block-product-filters__overlay-content h3.wp-block-heading {
  margin: 0 0 16px !important;
  font-family: var(--mhc-font-title, Georgia, serif) !important;
  font-size: 18px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
  color: #222222 !important;
}

/* 8. Espacement du filtre Price */
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-price {
  margin: 0 !important;
  padding: 0 !important;
}

/* 9. Ligne séparatrice avant Category */
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-taxonomy {
  margin-top: 28px !important;
  padding-top: 26px !important;
  border-top: 1px solid rgba(34, 34, 34, 0.10) !important;
}

/* 10. Ligne séparatrice avant Status */
.mhc-shop-sidebar .wp-block-woocommerce-product-filter-status {
  margin-top: 28px !important;
  padding-top: 26px !important;
  border-top: 1px solid rgba(34, 34, 34, 0.10) !important;
}

/* 11. Cacher les blocs vides/hidden pour éviter des espaces inutiles */
.mhc-shop-sidebar [hidden],
.mhc-shop-sidebar .wc-block-product-filter--hidden {
  display: none !important;
}

/* 12. Corriger l’alignement des catégories */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__items {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__item {
  margin: 0 !important;
  padding: 6px 8px !important;
  border-radius: 10px !important;
  transition: background 0.25s ease, transform 0.25s ease !important;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__item:hover {
  background: rgba(129, 48, 3, 0.05) !important;
  transform: translateX(2px) !important;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 12px !important;
  width: 100% !important;
  cursor: pointer !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  text-align: left !important;
}

/* 13. Checkbox */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper {
  position: relative !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  border-radius: 6px !important;
  border: 1px solid rgba(34, 34, 34, 0.18) !important;
  background: #f3f3f3 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input {
  width: 19px !important;
  height: 19px !important;
  margin: 0 !important;
  accent-color: #813003 !important;
}

/* 14. Price slider */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range {
  height: 6px !important;
  margin: 10px 0 16px !important;
  border-radius: 999px !important;
  background: rgba(34, 34, 34, 0.12) !important;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range .range-bar {
  height: 6px !important;
  border-radius: 999px !important;
  background: #813003 !important;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__left input,
.mhc-shop-sidebar .wc-block-product-filter-price-slider__right input {
  height: 42px !important;
  min-width: 74px !important;
  border: 1px solid rgba(34, 34, 34, 0.12) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-align: center !important;
  box-shadow: 0 8px 22px rgba(34, 34, 34, 0.04) !important;
}

/* Mobile */
@media (max-width: 900px) {
  .mhc-shop-sidebar .wc-block-product-filters__overlay-content {
    padding: 22px 18px !important;
    border-radius: 16px !important;
  }
}

/* ================================
   MHC ACTIVE FILTER CHIPS
   Réduire les filtres sélectionnés + icône remove
================================ */

/* Liste des filtres actifs */
.mhc-shop-sidebar .wc-block-product-filter-removable-chips__items {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

/* Bloc filtre actif */
.mhc-shop-sidebar .wc-block-product-filter-removable-chips__item {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;

  min-height: 38px !important;
  padding: 7px 8px 7px 12px !important;

  background: #ffffff !important;
  border: 1px solid rgba(34, 34, 34, 0.12) !important;
  border-radius: 10px !important;

  box-shadow: 0 8px 20px rgba(34, 34, 34, 0.035) !important;
}

/* Texte du filtre actif */
.mhc-shop-sidebar .wc-block-product-filter-removable-chips__label {
  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  line-height: 1.35 !important;
}

/* Bouton remove */
.mhc-shop-sidebar .wc-block-product-filter-removable-chips__remove {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px !important;
  min-height: 28px !important;

  padding: 0 !important;
  margin: 0 !important;

  border: none !important;
  border-radius: 50% !important;

  background: #244638 !important;
  color: #ffffff !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  cursor: pointer !important;
  box-shadow: 0 8px 18px rgba(34, 70, 56, 0.18) !important;

  transition: all 0.25s ease !important;
}

/* Icône X */
.mhc-shop-sidebar .wc-block-product-filter-removable-chips__remove-icon {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px !important;
  min-height: 14px !important;

  display: block !important;
  fill: currentColor !important;
}

/* Hover bouton remove */
.mhc-shop-sidebar .wc-block-product-filter-removable-chips__remove:hover {
  background: #813003 !important;
  color: #ffffff !important;
  transform: scale(1.05) !important;
}

/* Bouton Clear filters */
.mhc-shop-sidebar .wc-block-product-filter-clear-button .wp-block-button__link,
.mhc-shop-sidebar .wc-block-product-filter-clear-button button {
  width: 100% !important;
  min-height: 42px !important;

  border: 1px solid rgba(34, 34, 34, 0.14) !important;
  border-radius: 999px !important;

  background: #ffffff !important;
  color: rgba(34, 34, 34, 0.58) !important;

  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 13px !important;
  font-weight: 600 !important;

  transition: all 0.25s ease !important;
}

/* Hover Clear filters */
.mhc-shop-sidebar .wc-block-product-filter-clear-button .wp-block-button__link:hover,
.mhc-shop-sidebar .wc-block-product-filter-clear-button button:hover {
  background: #813003 !important;
  border-color: #813003 !important;
  color: #ffffff !important;
}

/* ================================
   MHC MODERN CHECKBOX FILTER
   Checkbox plus moderne et lisible
================================ */

/* Ligne catégorie */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__label {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  cursor: pointer !important;
}

/* Wrapper checkbox */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper {
  position: relative !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 6px !important;
  border: 1px solid rgba(34, 34, 34, 0.18) !important;
  background: #f2f2f2 !important;

  box-shadow: inset 0 1px 2px rgba(34, 34, 34, 0.06) !important;
  transition: all 0.25s ease !important;
}

/* Input invisible mais cliquable */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  opacity: 0 !important;
  cursor: pointer !important;
  z-index: 2 !important;
}

/* Masquer l’ancien SVG WooCommerce */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__mark {
  display: none !important;
}

/* Nouveau check moderne */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper::after {
  content: "";
  width: 10px;
  height: 6px;

  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;

  transform: rotate(-45deg) scale(0);
  transform-origin: center;
  opacity: 0;

  transition: all 0.22s ease;
}

/* État hover */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__label:hover 
.wc-block-product-filter-checkbox-list__input-wrapper {
  border-color: #813003 !important;
  background: rgba(129, 48, 3, 0.08) !important;
}

/* État checked moderne */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper:has(.wc-block-product-filter-checkbox-list__input:checked) {
  background: #813003 !important;
  border-color: #813003 !important;
  box-shadow: 0 6px 14px rgba(129, 48, 3, 0.22) !important;
}

/* Afficher le nouveau check si coché */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__input-wrapper:has(.wc-block-product-filter-checkbox-list__input:checked)::after {
  opacity: 1;
  transform: rotate(-45deg) scale(1);
}

/* Texte */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__text {
  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* Ligne active : légère mise en valeur */
.mhc-shop-sidebar .wc-block-product-filter-checkbox-list__item:has(.wc-block-product-filter-checkbox-list__input:checked) {
  background: rgba(129, 48, 3, 0.045) !important;
}

/* ================================
   MHC PRICE FILTER SLIDER FIX
   Active range from --low to --high only
================================ */

.mhc-shop-sidebar .wc-block-product-filter-price-slider__content {
  position: relative !important;
}

/* Conteneur du slider */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range {
  position: relative !important;
  height: 24px !important;
  margin: 8px 0 18px !important;
  background: transparent !important;
  border-radius: 999px !important;
}

/* Ligne inactive complète */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  top: 50% !important;
  height: 5px !important;
  transform: translateY(-50%) !important;
  background: rgba(34, 34, 34, 0.13) !important;
  border-radius: 999px !important;
  z-index: 1 !important;
}

/* Ligne active entre min et max */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range .range-bar {
  position: absolute !important;
  left: var(--low, 0%) !important;
  right: calc(100% - var(--high, 100%)) !important;
  top: 50% !important;
  height: 5px !important;
  transform: translateY(-50%) !important;
  background: #813003 !important;
  border-radius: 999px !important;
  z-index: 2 !important;
}

/* Inputs range invisibles mais fonctionnels */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"] {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 24px !important;
  margin: 0 !important;
  padding: 0 !important;

  appearance: none !important;
  -webkit-appearance: none !important;

  background: transparent !important;
  pointer-events: none !important;
  z-index: 3 !important;
}

/* Supprimer track navigateur */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-runnable-track {
  height: 5px !important;
  background: transparent !important;
  border: none !important;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-track {
  height: 5px !important;
  background: transparent !important;
  border: none !important;
}

/* Bouton rond WebKit */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb {
  appearance: none !important;
  -webkit-appearance: none !important;

  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;

  background: #ffffff !important;
  border: 2px solid #813003 !important;
  box-shadow: 0 8px 20px rgba(129, 48, 3, 0.22) !important;

  cursor: pointer !important;
  pointer-events: auto !important;

  margin-top: -8.5px !important;
}

/* Bouton rond Firefox */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb {
  width: 22px !important;
  height: 22px !important;
  border-radius: 50% !important;

  background: #ffffff !important;
  border: 2px solid #813003 !important;
  box-shadow: 0 8px 20px rgba(129, 48, 3, 0.22) !important;

  cursor: pointer !important;
  pointer-events: auto !important;
}

/* Hover bouton */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-webkit-slider-thumb:hover {
  transform: scale(1.08) !important;
}

.mhc-shop-sidebar .wc-block-product-filter-price-slider__range input[type="range"]::-moz-range-thumb:hover {
  transform: scale(1.08) !important;
}

/* Inputs prix min/max */
.mhc-shop-sidebar .wc-block-product-filter-price-slider__left input,
.mhc-shop-sidebar .wc-block-product-filter-price-slider__right input {
  height: 42px !important;
  min-width: 74px !important;
  border: 1px solid rgba(34, 34, 34, 0.12) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  text-align: center !important;
  box-shadow: 0 8px 22px rgba(34, 34, 34, 0.04) !important;
}


/* ================================
   MHC SHOP SEARCH FILTER
   Barre recherche sidebar
================================ */

.mhc-shop-search-form {
  width: 100%;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.mhc-shop-search-inner {
  position: relative;
  width: 100%;
  height: 48px;

  display: flex;
  align-items: center;

  background: #ffffff;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 14px;

  overflow: hidden;
  box-shadow: 0 12px 30px rgba(34, 34, 34, 0.04);

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.mhc-shop-search-inner:focus-within {
  border-color: #813003;
  box-shadow: 0 14px 34px rgba(129, 48, 3, 0.12);
}

/* ================================
   CART BUTTON LOADER & SUCCESS ANIMATION
================================ */

@keyframes mhc-spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes mhc-check-pop {
  0% {
    transform: scale(0) rotate(-180deg);
    opacity: 0;
  }
  50% {
    transform: scale(1.15) rotate(10deg);
  }
  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

@keyframes mhc-check-success {
  0% {
    stroke-dashoffset: 70;
    opacity: 0;
  }
  70% {
    stroke-dashoffset: -10;
  }
  100% {
    stroke-dashoffset: 0;
    opacity: 1;
  }
}

/* État loading : afficher loader + icone en rotation */
.woocommerce ul.products li.product .mhc-action-btn.mhc-loading {
  opacity: 0.8 !important;
  pointer-events: none !important;
  background: var(--mhc-brown) !important;
  color: #ffffff !important;
  border-color: var(--mhc-brown) !important;
}

.woocommerce ul.products li.product .mhc-action-btn.mhc-loading svg {
  animation: mhc-spin 1s linear infinite;
  opacity: 1;
  visibility: visible;
}

/* État success : afficher icone de vérification */
.woocommerce ul.products li.product .mhc-action-btn.mhc-success {
  background: #1f3a2e !important;
  color: #4ade80 !important;
  border-color: #1f3a2e !important;
  pointer-events: none !important;
}

.woocommerce ul.products li.product .mhc-action-btn.mhc-success svg {
  animation: mhc-check-pop 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

/* SVG check stroke animation */
.woocommerce ul.products li.product .mhc-action-btn.mhc-success svg path {
  stroke-dasharray: 70;
  stroke-dashoffset: 0;
  animation: mhc-check-success 0.6s ease-out both;
  transform: translateY(-1px);
}

.mhc-shop-search-input {
  flex: 1;
  width: 100%;
  height: 48px;

  border: none !important;
  outline: none !important;
  background: transparent !important;

  padding: 0 52px 0 16px !important;

  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;

  box-shadow: none !important;
}

.mhc-shop-search-input::placeholder {
  color: rgba(34, 34, 34, 0.46);
  font-weight: 400;
}

.mhc-shop-search-btn {
  position: absolute;
  top: 5px;
  right: 5px;

  width: 38px;
  height: 38px;

  border: none !important;
  border-radius: 11px;

  background: #813003;
  color: #ffffff;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;

  transition:
    background 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.mhc-shop-search-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-shop-search-btn:hover {
  background: #222222;
  transform: scale(1.03);
  box-shadow: 0 10px 22px rgba(34, 34, 34, 0.18);
}

/* Mobile */
@media (max-width: 900px) {
  .mhc-shop-search-form {
    margin-bottom: 16px !important;
  }

  .mhc-shop-search-inner {
    height: 46px;
  }

  .mhc-shop-search-input {
    height: 46px;
    font-size: 16px !important;
  }

  .mhc-shop-search-btn {
    width: 36px;
    height: 36px;
  }
}

/* ================================
   MHC SEARCH FILTER TITLE
================================ */

.mhc-shop-sidebar .wc-block-product-filters__overlay-content .mhc-shop-search-form::before {
  content: "Recherche";
  display: block;
  margin: 0 0 14px;

  font-family: var(--mhc-font-title, Georgia, serif);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;

  color: #222222;
}

/* ================================
   MHC SHOP TOOLBAR CLEAN FIX
   Result count + sorting
================================ */

.mhc-shop-toolbar {
  width: 100% !important;
  min-height: 76px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;

  padding: 18px 20px !important;
  margin-bottom: 28px !important;

  background: #ffffff !important;
  border: 1px solid rgba(34, 34, 34, 0.10) !important;
  border-radius: 16px !important;
  box-shadow: 0 12px 30px rgba(34, 34, 34, 0.04) !important;
}

.mhc-shop-toolbar-left,
.mhc-shop-toolbar-right {
  display: flex !important;
  align-items: center !important;
}

/* Corriger le texte Showing all 4 results */
.mhc-shop-toolbar .woocommerce-result-count {
  float: none !important;
  width: auto !important;
  margin: 0 !important;

  display: inline-flex !important;
  align-items: center !important;

  white-space: nowrap !important;

  color: rgba(34, 34, 34, 0.66) !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.2 !important;
}

/* Form tri */
.mhc-shop-toolbar .woocommerce-ordering {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

/* Select sorting */
.mhc-shop-toolbar .woocommerce-ordering select {
  min-width: 230px !important;
  height: 46px !important;

  padding: 0 44px 0 16px !important;

  background: #ffffff !important;
  border: 1px solid rgba(34, 34, 34, 0.13) !important;
  border-radius: 8px !important;

  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 500 !important;

  outline: none !important;
  box-shadow: none !important;

  cursor: pointer !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

.mhc-shop-toolbar .woocommerce-ordering select:hover,
.mhc-shop-toolbar .woocommerce-ordering select:focus {
  border-color: #813003 !important;
  box-shadow: 0 10px 24px rgba(129, 48, 3, 0.10) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .mhc-shop-toolbar {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 14px !important;
    padding: 16px !important;
  }

  .mhc-shop-toolbar-left,
  .mhc-shop-toolbar-right {
    width: 100% !important;
  }

  .mhc-shop-toolbar .woocommerce-result-count {
    white-space: normal !important;
  }

  .mhc-shop-toolbar .woocommerce-ordering,
  .mhc-shop-toolbar .woocommerce-ordering select {
    width: 100% !important;
  }
}

/* ================================
   MHC SHOP BENEFITS FULL WIDTH
   Section services bas archive boutique
================================ */

.mhc-shop-benefits-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  margin-top: 70px;
  padding: 44px 20px;

  background: #ffffff;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
}

.mhc-shop-benefits-full-inner {
  width: min(1220px, 92%);
  margin: 0 auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}

.mhc-shop-benefit-full-item {
  position: relative;

  display: grid;
  grid-template-columns: 62px 1fr;
  align-items: center;
  gap: 20px;
}

.mhc-shop-benefit-full-item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  width: 1px;
  height: 58px;
  transform: translateY(-50%);
  background: rgba(34, 34, 34, 0.10);
}

.mhc-shop-benefit-full-icon {
  width: 62px;
  height: 62px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 18px;

  background: #f6f0e8;
  color: #813003;

  border: 1px solid rgba(129, 48, 3, 0.13);
  box-shadow: 0 12px 28px rgba(129, 48, 3, 0.08);

  transition:
    background 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.mhc-shop-benefit-full-icon svg {
  width: 29px;
  height: 29px;

  stroke: currentColor;
  fill: none;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-shop-benefit-full-item:hover .mhc-shop-benefit-full-icon {
  background: #813003;
  color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(129, 48, 3, 0.20);
}

.mhc-shop-benefit-full-item h3 {
  margin: 0 0 6px;

  color: #222222;

  font-family: var(--mhc-font-title, Georgia, serif);
  font-size: 24px;
  font-weight: 500;
  line-height: 1.15;
}

.mhc-shop-benefit-full-item p {
  margin: 0;

  max-width: 270px;

  color: rgba(34, 34, 34, 0.58);

  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.6;
}

/* Supprimer l'ancien bloc services si tu l'avais encore */
.mhc-shop-benefits {
  display: none !important;
}

/* Responsive */
@media (max-width: 1024px) {
  .mhc-shop-benefits-full-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .mhc-shop-benefit-full-item:not(:last-child)::after {
    top: auto;
    right: auto;
    left: 0;
    bottom: -14px;
    width: 100%;
    height: 1px;
    transform: none;
  }

  .mhc-shop-benefit-full-item p {
    max-width: 100%;
  }
}

@media (max-width: 560px) {
  .mhc-shop-benefits-full {
    margin-top: 48px;
    padding: 34px 16px;
  }

  .mhc-shop-benefits-full-inner {
    width: min(420px, 92%);
  }

  .mhc-shop-benefit-full-item {
    grid-template-columns: 52px 1fr;
    gap: 15px;
  }

  .mhc-shop-benefit-full-icon {
    width: 52px;
    height: 52px;
    border-radius: 15px;
  }

  .mhc-shop-benefit-full-icon svg {
    width: 25px;
    height: 25px;
  }

  .mhc-shop-benefit-full-item h3 {
    font-size: 21px;
  }

  .mhc-shop-benefit-full-item p {
    font-size: 12.5px;
  }
}

/* ================================
   MHC FIX AJAX ADD TO CART
   Cacher "View cart" après ajout panier
================================ */

/* Masquer le lien WooCommerce "View cart" dans les cartes produits */
.woocommerce ul.products li.product a.added_to_cart,
.woocommerce ul.products li.product a.added_to_cart.wc-forward,
.mhc-product-card a.added_to_cart,
.mhc-product-card a.added_to_cart.wc-forward {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  width: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* Quand le produit est ajouté, garder le bouton icône propre */
.woocommerce ul.products li.product .mhc-cart-btn.added,
.woocommerce ul.products li.product .mhc-cart-btn.added_to_cart,
.mhc-action-btn.mhc-cart-btn.added {
  background: #813003 !important;
  color: #ffffff !important;
  border-color: #813003 !important;
}

/* Supprimer l’icône check/added générée parfois par WooCommerce */
.woocommerce ul.products li.product .button.added::after,
.woocommerce ul.products li.product .added_to_cart::after,
.mhc-action-btn.added::after {
  display: none !important;
  content: none !important;
}

/* Éviter que WooCommerce ajoute un espace après le bouton */
.woocommerce ul.products li.product .button + .added_to_cart,
.mhc-action-btn + .added_to_cart {
  display: none !important;
}

/* ================================
   MHC NOTIFICATION TOAST
   Modern, clean, accessible
================================ */

.mhc-notification {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 99999;

  max-width: 420px;
  min-width: 280px;
  
  padding: 16px 20px;
  border-radius: 12px;
  
  background: #ffffff;
  border-left: 4px solid #813003;
  box-shadow: 0 16px 40px rgba(34, 34, 34, 0.15);
  
  display: flex;
  align-items: center;
  gap: 12px;
  
  transform: translateX(450px);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: #222222;
}

.mhc-notification.is-visible {
  transform: translateX(0);
}

/* Notification variants */
.mhc-notification--success {
  border-left-color: #16a34a;
}

.mhc-notification--success .mhc-notification-text::before {
  content: "✓ ";
  color: #16a34a;
  font-weight: 700;
}

.mhc-notification--info {
  border-left-color: #0ea5e9;
}

.mhc-notification--error {
  border-left-color: #ef4444;
}

.mhc-notification--error .mhc-notification-text::before {
  content: "✕ ";
  color: #ef4444;
  font-weight: 700;
}

.mhc-notification-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
}

.mhc-notification-text {
  flex: 1;
  margin: 0;
  padding: 0;
}

.mhc-notification-close {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  
  border: none;
  border-radius: 6px;
  background: rgba(34, 34, 34, 0.06);
  color: rgba(34, 34, 34, 0.58);
  
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
  
  cursor: pointer;
  transition: all 0.25s ease;
}

.mhc-notification-close:hover {
  background: rgba(34, 34, 34, 0.12);
  color: #222222;
}

/* Mobile */
@media (max-width: 640px) {
  .mhc-notification {
    top: 12px;
    right: 12px;
    left: 12px;
    
    max-width: none;
    min-width: auto;
  }
}

/* ================================
   MHC MINI CART DRAWER
================================ */

body.mhc-mini-cart-open {
  overflow: hidden;
}

.mhc-mini-cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 9997;

  background: rgba(34, 34, 34, 0.34);
  backdrop-filter: blur(3px);

  opacity: 0;
  visibility: hidden;

  transition: opacity 0.32s ease, visibility 0.32s ease;
}

.mhc-mini-cart-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.mhc-mini-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 9998;

  width: min(420px, 100vw);
  height: 100vh;

  background: #ffffff;
  color: #222222;

  display: grid;
  grid-template-rows: auto auto 1fr auto;

  transform: translateX(110%);
  transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);

  box-shadow: -12px 0 32px rgba(34, 34, 34, 0.16);
}

.mhc-mini-cart-drawer.is-open {
  transform: translateX(0);
}

/* Header */
.mhc-mini-cart-head {
  height: 72px;
  padding: 0 24px;

  display: flex;
  align-items: center;
  gap: 14px;

  background: linear-gradient(135deg, #ffffff 0%, #fbf7f2 100%);
  border-bottom: 1px solid rgba(34, 34, 34, 0.06);
}

.mhc-mini-cart-title {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
}

.mhc-mini-cart-title h3 {
  margin: 0;
  color: #222222;
  font-family: var(--mhc-font-title, Georgia, serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1;
}

.mhc-mini-cart-count,
.mhc-cart-count {
  min-width: 32px;
  height: 32px;
  padding: 0 10px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 999px;
  background: #813003;
  color: #ffffff;

  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  
  transition: transform 0.25s ease;
}

.mhc-mini-cart-count:hover,
.mhc-cart-count:hover {
  transform: scale(1.1);
}

.mhc-mini-cart-close {
  width: 40px;
  height: 40px;

  border: none;
  border-radius: 10px;
  background: rgba(129, 48, 3, 0.08);
  color: #813003;

  font-size: 24px;
  line-height: 1;
  font-weight: 600;

  cursor: pointer;
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mhc-mini-cart-close:hover {
  background: #813003;
  color: #ffffff;
  transform: scale(1.05);
}

/* Body */
.mhc-mini-cart-body {
  overflow-y: auto;
  padding: 24px;
  scroll-behavior: smooth;
}

.mhc-mini-cart-body::-webkit-scrollbar {
  width: 6px;
}

.mhc-mini-cart-body::-webkit-scrollbar-track {
  background: transparent;
}

.mhc-mini-cart-body::-webkit-scrollbar-thumb {
  background: rgba(129, 48, 3, 0.3);
  border-radius: 3px;
}

.mhc-mini-cart-body::-webkit-scrollbar-thumb:hover {
  background: rgba(129, 48, 3, 0.5);
}

.mhc-mini-cart-items {
  display: grid;
  gap: 20px;
}

.mhc-mini-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 14px;
  align-items: start;

  padding: 14px;
  border-radius: 12px;
  background: #fbf9f7;
  transition: background 0.25s ease;
}

.mhc-mini-cart-item:hover {
  background: #f3f0ed;
}

.mhc-mini-cart-item-img {
  width: 90px;
  height: 90px;

  display: block;
  overflow: hidden;

  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(34, 34, 34, 0.08);
}

.mhc-mini-cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 6px;
  display: block;
}

.mhc-mini-cart-item-title {
  display: block;
  margin-bottom: 8px;
  color: #222222;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  transition: color 0.25s ease;
}

.mhc-mini-cart-item-title:hover {
  color: #813003;
}

.mhc-mini-cart-item-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
}

.mhc-mini-cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 8px;
  background: #ffffff;
  padding: 2px;
}

.mhc-mini-cart-qty button,
.mhc-mini-cart-qty input {
  width: 32px;
  height: 32px;
  border: none;
  background: transparent;
  color: #222222;
  text-align: center;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mhc-mini-cart-qty button:hover {
  background: #813003;
  color: #ffffff;
  border-radius: 6px;
}

.mhc-mini-cart-item-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  height: 100%;
}

.mhc-mini-cart-remove {
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(34, 34, 34, 0.06);
  color: #222222;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.mhc-mini-cart-remove:hover {
  background: #ef4444;
  color: #ffffff;
  transform: scale(1.05);
}

.mhc-mini-cart-item-price {
  color: #813003;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
}

/* Footer */
.mhc-mini-cart-footer {
  padding: 24px;
  border-top: 1px solid rgba(34, 34, 34, 0.06);
  background: #ffffff;
  box-shadow: 0 -4px 12px rgba(34, 34, 34, 0.04);
}

.mhc-mini-cart-coupon-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 0 0 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
}

.mhc-mini-cart-coupon-form input {
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(34, 34, 34, 0.12);
  border-radius: 10px;
  color: #222222;
  background: #ffffff;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  outline: none;
  transition: all 0.25s ease;
}

.mhc-mini-cart-coupon-form input:focus {
  border-color: #813003;
  box-shadow: 0 0 0 3px rgba(129, 48, 3, 0.1);
}

.mhc-mini-cart-coupon-form button {
  height: 46px;
  padding: 0 18px;
  border: none;
  border-radius: 10px;
  background: #813003;
  color: #ffffff;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.mhc-mini-cart-coupon-form button:hover {
  background: #222222;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(34, 34, 34, 0.15);
}

.mhc-mini-cart-total-lines {
  display: grid;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
}

.mhc-mini-cart-total-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: rgba(34, 34, 34, 0.7);
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
}

.mhc-mini-cart-total-final {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #222222;
  font-size: 16px;
  font-weight: 700;
}

.mhc-mini-cart-total-final strong {
  color: #813003;
}

.mhc-mini-cart-actions {
  display: grid;
  gap: 12px;
}

.mhc-mini-cart-actions a {
  height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 700;
  border-radius: 10px;
  transition: all 0.25s ease;
  text-align: center;
}

.mhc-mini-cart-view {
  border: 1px solid rgba(34, 34, 34, 0.14);
  background: #ffffff;
  color: #222222;
}

.mhc-mini-cart-view:hover {
  background: #fbf7f2;
  color: #813003;
  border-color: #813003;
}

.mhc-mini-cart-checkout {
  border: none;
  background: #813003;
  color: #ffffff;
}

.mhc-mini-cart-checkout:hover {
  background: #222222;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(34, 34, 34, 0.15);
}

/* Empty State */
.mhc-mini-cart-empty {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}

.mhc-mini-cart-empty p {
  margin: 0;
  color: rgba(34, 34, 34, 0.6);
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 14px;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 768px) {
  .mhc-mini-cart-drawer {
    width: 100vw;
  }
  
  .mhc-mini-cart-body {
    padding: 20px;
  }
  
  .mhc-mini-cart-footer {
    padding: 20px;
  }
}
  


.mhc-mini-cart-empty p {
  max-width: 260px;
  margin: 0 0 20px;

  color: rgba(34, 34, 34, 0.62);

  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 14px;
  line-height: 1.7;
}

.mhc-mini-cart-empty a {
  color: #813003;

  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
}

/* Notices */
.mhc-mini-cart-notices {
  padding: 0 22px;
}

.mhc-mini-cart-notices .woocommerce-message,
.mhc-mini-cart-notices .woocommerce-error,
.mhc-mini-cart-notices .woocommerce-info {
  margin: 12px 0 0;
  padding: 12px 14px;

  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  line-height: 1.5;
}

/* Loading state */
.mhc-mini-cart-drawer.is-loading::before {
  content: "";

  position: absolute;
  inset: 78px 0 0;
  z-index: 20;

  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(2px);
}

.mhc-mini-cart-drawer.is-loading::after {
  content: "";

  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 21;

  width: 32px;
  height: 32px;

  margin: -16px 0 0 -16px;

  border-radius: 50%;
  border: 3px solid rgba(129, 48, 3, 0.22);
  border-top-color: #813003;

  animation: mhcMiniCartSpin 0.85s linear infinite;
}

@keyframes mhcMiniCartSpin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile */
@media (max-width: 520px) {
  .mhc-mini-cart-drawer {
    width: 100vw;
  }

  .mhc-mini-cart-head {
    padding: 0 16px;
  }

  .mhc-mini-cart-body {
    padding: 18px 16px;
  }

  .mhc-mini-cart-footer {
    padding: 18px 16px 22px;
  }

  .mhc-mini-cart-item {
    grid-template-columns: 84px 1fr;
    gap: 14px;
  }

  .mhc-mini-cart-item-img {
    width: 84px;
    height: 84px;
  }

  .mhc-mini-cart-item-side {
    grid-column: 2;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
  }

  .mhc-mini-cart-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   MINI CART PREMIUM REFINEMENT
   À coller à la fin de assets/css/shop.css
========================================================= */

.mhc-mini-cart-drawer,
.mhc-mini-cart-drawer * {
  box-sizing: border-box;
}

/* Drawer plus premium */
.mhc-mini-cart-drawer {
  width: min(460px, 100vw);
  background: #fffdfa;
  box-shadow: -24px 0 60px rgba(34, 34, 34, 0.18);
}

/* Header plus fin */
.mhc-mini-cart-head {
  height: 68px;
  padding: 0 20px;
  gap: 10px;
  background: rgba(255, 253, 250, 0.96);
  border-bottom: 1px solid rgba(129, 48, 3, 0.08);
}

.mhc-mini-cart-title {
  gap: 10px;
}

.mhc-mini-cart-title h3 {
  font-size: 23px;
  letter-spacing: -0.03em;
}

.mhc-mini-cart-count {
  min-width: 30px;
  height: 30px;
  padding: 0 9px;
  background: #813003;
  box-shadow: 0 8px 18px rgba(129, 48, 3, 0.25);
}

/* Bouton vider plus petit et propre */
.mhc-mini-cart-clear {
  all: unset !important;
  height: 34px !important;
  padding: 0 14px !important;
  border-radius: 999px !important;
  background: rgba(129, 48, 3, 0.08) !important;
  color: #813003 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.mhc-mini-cart-clear:hover {
  background: #813003 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Bouton fermer rond et moderne */
.mhc-mini-cart-close {
  all: unset !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 999px !important;
  background: #ffffff !important;
  color: #813003 !important;
  border: 1px solid rgba(129, 48, 3, 0.14) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 21px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  cursor: pointer !important;
  box-shadow: 0 8px 20px rgba(34, 34, 34, 0.06) !important;
  transition: all 0.25s ease !important;
}

.mhc-mini-cart-close:hover {
  background: #222222 !important;
  color: #ffffff !important;
  border-color: #222222 !important;
  transform: rotate(90deg) scale(1.04);
}

/* Zone produits */
.mhc-mini-cart-body {
  padding: 18px 16px;
  background: #faf7f4;
}

.mhc-mini-cart-items {
  gap: 12px;
}

/* Carte produit plus moderne */
.mhc-mini-cart-item {
  grid-template-columns: 78px minmax(0, 1fr) auto;
  gap: 13px;
  align-items: center;
  padding: 11px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(129, 48, 3, 0.07);
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.055);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  animation: mhcMiniCartItemIn 0.28s ease both;
}

.mhc-mini-cart-item:hover {
  background: #ffffff;
  transform: translateY(-2px);
  border-color: rgba(129, 48, 3, 0.16);
  box-shadow: 0 16px 36px rgba(34, 34, 34, 0.09);
}

@keyframes mhcMiniCartItemIn {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Image produit */
.mhc-mini-cart-item-img {
  width: 78px;
  height: 78px;
  border-radius: 15px;
  background: #f8f6f3;
  box-shadow: none;
}

.mhc-mini-cart-item-img img {
  padding: 7px;
  transition: transform 0.3s ease;
}

.mhc-mini-cart-item:hover .mhc-mini-cart-item-img img {
  transform: scale(1.04);
}

/* Info produit */
.mhc-mini-cart-item-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 9px;
}

.mhc-mini-cart-item-title {
  margin: 0;
  max-width: 100%;
  color: #222222;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

/* Quantité plus fine */
.mhc-mini-cart-qty {
  height: 32px;
  padding: 2px;
  gap: 0;
  border-radius: 999px;
  background: #fbf8f5;
  border: 1px solid rgba(129, 48, 3, 0.13);
}

.mhc-mini-cart-qty button,
.mhc-mini-cart-qty input {
  all: unset !important;
  width: 28px !important;
  height: 28px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 999px !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  text-align: center !important;
  cursor: pointer !important;
}

.mhc-mini-cart-qty input {
  width: 30px !important;
  color: #813003 !important;
  cursor: default !important;
}

.mhc-mini-cart-qty button:hover {
  background: #813003 !important;
  color: #ffffff !important;
}

/* Prix + suppression */
.mhc-mini-cart-item-side {
  height: 78px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}

.mhc-mini-cart-item-price {
  color: #813003;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Icône supprimer raffinée */
.mhc-mini-cart-remove {
  all: unset !important;
  width: 30px !important;
  height: 30px !important;
  border-radius: 999px !important;
  background: rgba(129, 48, 3, 0.07) !important;
  color: #813003 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.mhc-mini-cart-remove svg {
  width: 15px !important;
  height: 15px !important;
  display: block !important;
  stroke: currentColor !important;
}

.mhc-mini-cart-remove:hover {
  background: #e54848 !important;
  color: #ffffff !important;
  transform: scale(1.06);
}

/* Footer plus compact */
.mhc-mini-cart-footer {
  padding: 18px 20px 20px;
  background: #fffdfa;
  border-top: 1px solid rgba(129, 48, 3, 0.08);
  box-shadow: 0 -14px 34px rgba(34, 34, 34, 0.055);
}

/* Code promo plus fin */
.mhc-mini-cart-coupon-form {
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.mhc-mini-cart-coupon-form input {
  height: 42px;
  border-radius: 999px;
  padding: 0 16px;
  font-size: 13px;
  background: #ffffff;
}

.mhc-mini-cart-coupon-form button {
  all: unset !important;
  height: 42px !important;
  padding: 0 18px !important;
  border-radius: 999px !important;
  background: #813003 !important;
  color: #ffffff !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  transition: all 0.25s ease !important;
}

.mhc-mini-cart-coupon-form button:hover {
  background: #222222 !important;
  transform: translateY(-1px);
}

/* Totaux */
.mhc-mini-cart-total-lines {
  gap: 8px;
  padding-bottom: 14px;
  margin-bottom: 14px;
}

.mhc-mini-cart-total-line {
  font-size: 13px;
}

.mhc-mini-cart-total-final {
  font-size: 17px;
}

/* Voir panier + Commander côte à côte */
.mhc-mini-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.mhc-mini-cart-actions a {
  height: 46px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.mhc-mini-cart-view {
  background: #ffffff;
  border: 1px solid rgba(129, 48, 3, 0.16);
  color: #813003;
}

.mhc-mini-cart-view:hover {
  background: #fbf3ed;
  border-color: #813003;
  color: #813003;
}

.mhc-mini-cart-checkout {
  background: #813003;
  color: #ffffff;
  box-shadow: 0 12px 24px rgba(129, 48, 3, 0.2);
}

.mhc-mini-cart-checkout:hover {
  background: #222222;
  color: #ffffff;
  transform: translateY(-2px);
}

/* Mobile */
@media (max-width: 520px) {
  .mhc-mini-cart-head {
    height: 64px;
    padding: 0 14px;
  }

  .mhc-mini-cart-title h3 {
    font-size: 21px;
  }

  .mhc-mini-cart-clear {
    padding: 0 12px !important;
  }

  .mhc-mini-cart-body {
    padding: 14px;
  }

  .mhc-mini-cart-item {
    grid-template-columns: 72px minmax(0, 1fr) auto;
    padding: 10px;
    gap: 10px;
  }

  .mhc-mini-cart-item-img {
    width: 72px;
    height: 72px;
  }

  .mhc-mini-cart-item-side {
    height: 72px;
  }

  .mhc-mini-cart-actions {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 370px) {
  .mhc-mini-cart-actions {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
   HEADER CART COUNT - DYNAMIC PREMIUM
========================================================= */

.mhc-cart-icon {
  position: relative;
}

.mhc-cart-icon .mhc-cart-count {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;

  min-width: 19px !important;
  height: 19px !important;
  padding: 0 5px !important;

  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  background: #813003 !important;
  color: #ffffff !important;

  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 10px !important;
  font-weight: 800 !important;
  line-height: 1 !important;

  border: 2px solid #ffffff !important;
  box-shadow: 0 8px 18px rgba(129, 48, 3, 0.28) !important;

  pointer-events: none;
  transform-origin: center;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mhc-cart-icon .mhc-cart-count.is-empty {
  opacity: 0;
  transform: scale(0);
}

.mhc-cart-icon .mhc-cart-count.is-visible {
  opacity: 1;
  transform: scale(1);
}

.mhc-cart-icon.has-items {
  color: #813003;
}

.mhc-count-bump {
  animation: mhcCountBump 0.55s ease both;
}

.mhc-cart-pulse svg {
  animation: mhcCartPulse 0.55s ease both;
}

@keyframes mhcCountBump {
  0% {
    transform: scale(0.6);
  }
  45% {
    transform: scale(1.35);
  }
  75% {
    transform: scale(0.92);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes mhcCartPulse {
  0% {
    transform: scale(1);
  }
  35% {
    transform: scale(1.16) rotate(-6deg);
  }
  70% {
    transform: scale(0.96) rotate(4deg);
  }
  100% {
    transform: scale(1) rotate(0);
  }
}

/* =========================================================
   SINGLE PRODUCT PAGE - PREMIUM DESIGN
========================================================= */

.mhc-single-product,
.mhc-single-product * {
  box-sizing: border-box;
}

.mhc-sp-hero {
  position: relative;
  padding: 54px 0 40px;
  background:
    radial-gradient(circle at top left, rgba(129, 48, 3, 0.08), transparent 34%),
    linear-gradient(180deg, #fffdfa 0%, #faf7f4 100%);
}

.mhc-sp-container {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.mhc-sp-hero .mhc-sp-container {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, 0.95fr);
  gap: 46px;
  align-items: start;
}

.mhc-sp-gallery-wrap {
  position: sticky;
  top: 110px;
  min-width: 0;
  border-radius: 30px;
  background: #ffffff;
  padding: 20px;
  border: 1px solid rgba(129, 48, 3, 0.08);
  box-shadow: 0 24px 70px rgba(34, 34, 34, 0.08);
}

.mhc-sp-gallery-wrap .woocommerce-product-gallery {
  width: 100% !important;
  float: none !important;
  margin: 0 !important;
}

.mhc-sp-gallery-wrap .woocommerce-product-gallery__wrapper {
  margin: 0 !important;
}

.mhc-sp-gallery-wrap .woocommerce-product-gallery__image {
  border-radius: 24px;
  overflow: hidden;
  background: #f8f4ef;
}

.mhc-sp-gallery-wrap .woocommerce-product-gallery__image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.mhc-sp-gallery-wrap .flex-control-thumbs {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 14px 0 0 !important;
  padding: 0 !important;
}

.mhc-sp-gallery-wrap .flex-control-thumbs li {
  width: 100% !important;
  float: none !important;
  list-style: none;
}

.mhc-sp-gallery-wrap .flex-control-thumbs img {
  border-radius: 14px;
  background: #f8f4ef;
  border: 1px solid rgba(129, 48, 3, 0.08);
  opacity: 0.65;
  transition: all 0.25s ease;
}

.mhc-sp-gallery-wrap .flex-control-thumbs img.flex-active,
.mhc-sp-gallery-wrap .flex-control-thumbs img:hover {
  opacity: 1;
  transform: translateY(-2px);
  border-color: rgba(129, 48, 3, 0.28);
  box-shadow: 0 10px 24px rgba(34, 34, 34, 0.08);
}

/* Badge promo unique de la fiche produit */
.single-product .mhc-sp-gallery-wrap > .onsale,
.single-product .mhc-sp-gallery-wrap .woocommerce-product-gallery > .onsale,
.single-product .woocommerce-product-gallery span.onsale {
  display: none !important;
}

.mhc-sp-sale-badge {
  position: absolute;
  z-index: 8;
  top: 32px;
  left: 32px;
  width: 82px;
  height: 82px;
  padding: 8px;
  border-radius: 50%;
  background: linear-gradient(145deg, #913c0d 0%, #6f2700 100%);
  color: #ffffff;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  text-align: center;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  border: 4px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 16px 34px rgba(129, 48, 3, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
  transform: rotate(-6deg);
}

.mhc-sp-sale-badge-kicker {
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.86;
}

.mhc-sp-sale-badge-value {
  font-size: 20px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.mhc-sp-summary {
  min-width: 0;
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(16px);
  padding: 34px;
  border: 1px solid rgba(129, 48, 3, 0.08);
  box-shadow: 0 24px 70px rgba(34, 34, 34, 0.075);
}

.mhc-sp-kicker {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.mhc-sp-category,
.mhc-sp-category a {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(129, 48, 3, 0.08);
  color: #813003;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 11px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mhc-sp-stock {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  border-radius: 999px;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 11px;
  font-weight: 800;
}

.mhc-sp-stock.is-in-stock {
  background: rgba(53, 143, 91, 0.1);
  color: #267245;
}

.mhc-sp-stock.is-out-stock {
  background: rgba(229, 72, 72, 0.1);
  color: #c83232;
}

.mhc-sp-title {
  margin: 0 0 14px;
  color: #222222;
  font-family: var(--mhc-font-title, serif);
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.045em;
}

.mhc-sp-rating-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.mhc-sp-stars .star-rating {
  margin: 0;
  color: #813003;
}

.mhc-sp-review-count {
  color: rgba(34, 34, 34, 0.62);
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 600;
}

.mhc-sp-price {
  margin: 0 0 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(129, 48, 3, 0.09);
  border-bottom: 1px solid rgba(129, 48, 3, 0.09);
}

.mhc-sp-price .price {
  margin: 0;
  color: #813003;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 30px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.mhc-sp-price del {
  margin-right: 10px;
  color: rgba(34, 34, 34, 0.36);
  font-size: 19px;
  font-weight: 600;
}

.mhc-sp-price ins {
  text-decoration: none;
}

.mhc-sp-short-desc {
  color: rgba(34, 34, 34, 0.72);
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 22px;
}

.mhc-sp-short-desc p {
  margin: 0;
}

.mhc-sp-wholesale-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(129, 48, 3, 0.06);
  border: 1px solid rgba(129, 48, 3, 0.18);
}

.mhc-sp-wholesale-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #813003;
  color: #ffffff;
}

.mhc-sp-wholesale-notice-icon svg {
  width: 16px;
  height: 16px;
}

.mhc-sp-wholesale-notice-text {
  color: #5c2c14;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.4;
}

.mhc-sp-actions-box {
  padding: 20px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fffdfa 0%, #f9f3ec 100%);
  border: 1px solid rgba(129, 48, 3, 0.1);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 14px 34px rgba(61, 38, 24, 0.06);
  margin-bottom: 22px;
}

.mhc-sp-actions-box form.cart {
  margin: 0 !important;
}

.mhc-sp-actions-box form.cart:not(.variations_form):not(.grouped_form),
.mhc-sp-actions-box .woocommerce-variation-add-to-cart {
  display: grid !important;
  grid-template-columns: 136px minmax(0, 1fr);
  align-items: stretch;
  gap: 12px;
}

.mhc-sp-actions-box form.cart.mhc-no-quantity:not(.variations_form):not(.grouped_form),
.mhc-sp-actions-box form.variations_form.mhc-no-quantity .woocommerce-variation-add-to-cart {
  grid-template-columns: minmax(0, 1fr);
}

.mhc-sp-actions-box form.cart.mhc-no-quantity .single_add_to_cart_button {
  grid-column: 1 / -1;
}

.mhc-sp-actions-box form.variations_form {
  display: block !important;
}

.mhc-sp-actions-box form.variations_form .variations {
  width: 100%;
  margin: 0 0 16px !important;
}

.mhc-sp-actions-box form.variations_form .single_variation_wrap {
  width: 100%;
}

/* Compteur entièrement personnalisé : neutralise le rendu WooCommerce/WordPress. */
.mhc-sp-actions-box .quantity.mhc-qty-ready {
  position: relative;
  float: none !important;
  width: 136px !important;
  min-width: 136px !important;
  max-width: 136px !important;
  height: 56px !important;
  margin: 0 !important;
  padding: 4px !important;
  display: grid !important;
  grid-template-columns: 42px 1fr 42px;
  align-items: center;
  gap: 0;
  border: 1px solid rgba(129, 48, 3, 0.15) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  box-shadow:
    0 8px 22px rgba(55, 35, 20, 0.06),
    inset 0 0 0 1px rgba(255, 255, 255, 0.75) !important;
  overflow: hidden;
}

.mhc-sp-actions-box .quantity.mhc-qty-ready:focus-within {
  border-color: rgba(129, 48, 3, 0.48) !important;
  box-shadow:
    0 0 0 4px rgba(129, 48, 3, 0.08),
    0 10px 24px rgba(55, 35, 20, 0.08) !important;
}

.mhc-sp-actions-box .quantity.mhc-qty-ready input.qty {
  order: 2;
  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 46px !important;
  margin: 0 !important;
  padding: 0 2px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  outline: none !important;
  color: #222222 !important;
  text-align: center !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 16px !important;
  font-weight: 800 !important;
  line-height: 46px !important;
  appearance: textfield !important;
  -moz-appearance: textfield !important;
}

.mhc-sp-actions-box .quantity.mhc-qty-ready input.qty::-webkit-outer-spin-button,
.mhc-sp-actions-box .quantity.mhc-qty-ready input.qty::-webkit-inner-spin-button {
  margin: 0 !important;
  appearance: none !important;
  -webkit-appearance: none !important;
}

.mhc-sp-actions-box .mhc-single-qty-btn {
  width: 40px !important;
  min-width: 40px !important;
  max-width: 40px !important;
  height: 46px !important;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #f6efe8 !important;
  box-shadow: none !important;
  color: #813003 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.mhc-sp-actions-box .mhc-single-qty-minus {
  order: 1;
}

.mhc-sp-actions-box .mhc-single-qty-plus {
  order: 3;
}

.mhc-sp-actions-box .mhc-single-qty-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.mhc-sp-actions-box .mhc-single-qty-btn:hover:not(:disabled) {
  background: #813003 !important;
  color: #ffffff !important;
  transform: translateY(-1px);
}

.mhc-sp-actions-box .mhc-single-qty-btn:active:not(:disabled) {
  transform: translateY(0) scale(0.96);
}

.mhc-sp-actions-box .mhc-single-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.mhc-sp-actions-box .single_add_to_cart_button,
.mhc-sp-actions-box .mhc-buy-now-button {
  position: relative;
  width: 100%;
  min-width: 0 !important;
  height: 56px !important;
  min-height: 56px !important;
  margin: 0 !important;
  padding: 0 22px !important;
  border-radius: 16px !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -0.01em;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 11px;
  overflow: hidden;
  cursor: pointer;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease !important;
}

.mhc-sp-actions-box .single_add_to_cart_button {
  border: 1px solid #813003 !important;
  background: #813003 !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(129, 48, 3, 0.2) !important;
}

.mhc-sp-actions-box .mhc-buy-now-button {
  grid-column: 1 / -1;
  border: 1px solid rgba(129, 48, 3, 0.24) !important;
  background: #ffffff !important;
  color: #813003 !important;
  box-shadow: 0 10px 24px rgba(55, 35, 20, 0.06) !important;
}

.mhc-sp-actions-box .single_add_to_cart_button:hover:not(:disabled),
.mhc-sp-actions-box .mhc-buy-now-button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.mhc-sp-actions-box .single_add_to_cart_button:hover:not(:disabled) {
  border-color: #222222 !important;
  background: #222222 !important;
  box-shadow: 0 17px 32px rgba(34, 34, 34, 0.17) !important;
}

.mhc-sp-actions-box .mhc-buy-now-button:hover:not(:disabled) {
  border-color: #813003 !important;
  background: #813003 !important;
  color: #ffffff !important;
  box-shadow: 0 15px 30px rgba(129, 48, 3, 0.17) !important;
}

.mhc-sp-actions-box .single_add_to_cart_button:disabled,
.mhc-sp-actions-box .mhc-buy-now-button:disabled {
  cursor: wait;
}

.mhc-sp-actions-box .single_add_to_cart_button.disabled,
.mhc-sp-actions-box .single_add_to_cart_button.wc-variation-selection-needed {
  opacity: 0.48;
  cursor: not-allowed;
}

.mhc-sp-actions-box .single_add_to_cart_button::after,
.mhc-sp-actions-box .mhc-buy-now-button::after {
  display: none !important;
  content: none !important;
}

.mhc-sp-actions-box .mhc-button-icon,
.mhc-sp-actions-box .mhc-button-check,
.mhc-sp-actions-box .mhc-button-spinner {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.mhc-sp-actions-box .mhc-button-icon,
.mhc-sp-actions-box .mhc-button-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.mhc-sp-actions-box .mhc-button-icon svg,
.mhc-sp-actions-box .mhc-button-check svg {
  width: 20px;
  height: 20px;
}

.mhc-sp-actions-box .mhc-button-spinner,
.mhc-sp-actions-box .mhc-button-check {
  display: none;
}

.mhc-sp-actions-box .mhc-button-spinner {
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: mhc-single-button-spin 0.72s linear infinite;
}

.mhc-sp-actions-box .mhc-buy-now-button .mhc-button-spinner {
  border-color: rgba(129, 48, 3, 0.2);
  border-top-color: currentColor;
}

.mhc-sp-actions-box button.is-loading .mhc-button-icon,
.mhc-sp-actions-box button.is-loading .mhc-button-check,
.mhc-sp-actions-box button.is-added .mhc-button-icon,
.mhc-sp-actions-box button.is-added .mhc-button-spinner {
  display: none !important;
}

.mhc-sp-actions-box button.is-loading .mhc-button-spinner,
.mhc-sp-actions-box button.is-added .mhc-button-check {
  display: inline-flex !important;
}

.mhc-sp-actions-box button.is-loading {
  pointer-events: none;
  opacity: 0.9;
}

.mhc-sp-actions-box button.is-added {
  border-color: #267245 !important;
  background: #267245 !important;
  color: #ffffff !important;
  box-shadow: 0 14px 28px rgba(38, 114, 69, 0.2) !important;
}

.mhc-sp-actions-box button.is-error {
  border-color: #b83939 !important;
  background: #b83939 !important;
  color: #ffffff !important;
}

@keyframes mhc-single-button-spin {
  to {
    transform: rotate(360deg);
  }
}

.mhc-sp-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 20px;
}

.mhc-sp-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 74px;
  padding: 13px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(129, 48, 3, 0.07);
}

.mhc-sp-trust-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 999px;
  background: rgba(129, 48, 3, 0.09);
  color: #813003;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
}

.mhc-sp-trust-item strong {
  display: block;
  color: #222222;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
}

.mhc-sp-trust-item small {
  display: block;
  margin-top: 3px;
  color: rgba(34, 34, 34, 0.58);
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 11px;
  line-height: 1.35;
}

.mhc-sp-meta {
  padding-top: 16px;
  border-top: 1px solid rgba(129, 48, 3, 0.08);
  color: rgba(34, 34, 34, 0.58);
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 12px;
}

.mhc-sp-meta a {
  color: #813003;
  text-decoration: none;
  font-weight: 700;
}

.mhc-sp-details {
  padding: 26px 0 70px;
  background: #ffffff;
}

.mhc-sp-details .woocommerce-tabs {
  border-radius: 30px;
  background: #fffdfa;
  border: 1px solid rgba(129, 48, 3, 0.08);
  box-shadow: 0 20px 60px rgba(34, 34, 34, 0.06);
  overflow: hidden;
  margin-bottom: 44px;
}

.mhc-sp-details .woocommerce-tabs ul.tabs {
  display: flex;
  gap: 0;
  margin: 0 !important;
  padding: 12px !important;
  background: #faf7f4;
  border: none !important;
}

.mhc-sp-details .woocommerce-tabs ul.tabs::before {
  display: none !important;
}

.mhc-sp-details .woocommerce-tabs ul.tabs li {
  margin: 0 !important;
  border: none !important;
  background: transparent !important;
  border-radius: 999px !important;
}

.mhc-sp-details .woocommerce-tabs ul.tabs li::before,
.mhc-sp-details .woocommerce-tabs ul.tabs li::after {
  display: none !important;
}

.mhc-sp-details .woocommerce-tabs ul.tabs li a {
  padding: 12px 18px !important;
  color: rgba(34, 34, 34, 0.62) !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 800;
}

.mhc-sp-details .woocommerce-tabs ul.tabs li.active {
  background: #813003 !important;
}

.mhc-sp-details .woocommerce-tabs ul.tabs li.active a {
  color: #ffffff !important;
}

.mhc-sp-details .woocommerce-Tabs-panel {
  padding: 30px !important;
  color: rgba(34, 34, 34, 0.72);
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 14px;
  line-height: 1.8;
}

.mhc-sp-details .related.products,
.mhc-sp-details .upsells.products {
  margin-top: 42px;
}

.mhc-sp-details .related.products > h2,
.mhc-sp-details .upsells.products > h2 {
  text-align: center;
  color: #222222;
  font-family: var(--mhc-font-title, serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  letter-spacing: -0.04em;
  margin-bottom: 26px;
}

@media (max-width: 980px) {
  .mhc-sp-hero .mhc-sp-container {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .mhc-sp-gallery-wrap {
    position: relative;
    top: auto;
  }

  .mhc-sp-summary {
    padding: 26px;
  }
}

@media (max-width: 620px) {
  .mhc-sp-hero {
    padding: 30px 0;
  }

  .mhc-sp-container {
    width: min(100% - 24px, 1180px);
  }

  .mhc-sp-gallery-wrap,
  .mhc-sp-summary {
    border-radius: 22px;
    padding: 14px;
  }

  .mhc-sp-title {
    font-size: 34px;
  }

  .mhc-sp-actions-box form.cart:not(.variations_form):not(.grouped_form),
  .mhc-sp-actions-box .woocommerce-variation-add-to-cart {
    grid-template-columns: 1fr;
  }

  .mhc-sp-actions-box .quantity.mhc-qty-ready {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
  }

  .mhc-sp-actions-box .single_add_to_cart_button,
  .mhc-sp-actions-box .mhc-buy-now-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .mhc-sp-trust-grid {
    grid-template-columns: 1fr;
  }

  .mhc-sp-details .woocommerce-tabs ul.tabs {
    overflow-x: auto;
  }
}

/* =========================================================
   AVIS CLIENTS — DESIGN MODERNE SINGLE PRODUCT
========================================================= */
.mhc-sp-details .woocommerce-Tabs-panel--reviews {
  padding: 30px !important;
}

.mhc-reviews {
  color: #222222;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
}

.mhc-reviews-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  padding: 4px 2px 28px;
  border-bottom: 1px solid rgba(129, 48, 3, 0.1);
}

.mhc-reviews-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 12px;
  margin-bottom: 10px;
  border-radius: 999px;
  background: rgba(129, 48, 3, 0.09);
  color: #813003;
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.13em;
}

.mhc-reviews-heading h2,
.mhc-reviews-list-heading h3,
.mhc-review-form-heading h3,
.mhc-reviews-empty h3 {
  margin: 0;
  color: #222222;
  font-family: var(--mhc-font-title, serif);
  font-weight: 500;
  letter-spacing: -0.035em;
}

.mhc-reviews-heading h2 {
  font-size: clamp(28px, 3.5vw, 44px);
  line-height: 1.08;
}

.mhc-reviews-heading > div:first-child > p {
  max-width: 670px;
  margin: 10px 0 0;
  color: rgba(34, 34, 34, 0.62);
  font-size: 13px;
  line-height: 1.7;
}

.mhc-reviews-score {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 218px;
  padding: 16px 18px;
  border-radius: 20px;
  background: #ffffff;
  border: 1px solid rgba(129, 48, 3, 0.1);
  box-shadow: 0 12px 28px rgba(61, 38, 24, 0.06);
}

.mhc-reviews-score > strong {
  color: #813003;
  font-size: 36px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.06em;
}

.mhc-reviews-score-meta {
  display: grid;
  gap: 5px;
}

.mhc-reviews-score-meta .star-rating,
.mhc-reviews-summary .star-rating {
  float: none !important;
  margin: 0 !important;
  color: #813003;
}

.mhc-reviews-score-meta > span {
  color: rgba(34, 34, 34, 0.58);
  font-size: 11px;
  font-weight: 700;
}

.mhc-reviews-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.55fr);
  gap: 24px;
  align-items: start;
  margin-top: 28px;
}

.mhc-reviews-summary,
.mhc-reviews-list-panel,
.mhc-review-form-card {
  border: 1px solid rgba(129, 48, 3, 0.09);
  box-shadow: 0 16px 40px rgba(61, 38, 24, 0.055);
}

.mhc-reviews-summary {
  position: sticky;
  top: 112px;
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(145deg, #fffdfa 0%, #f8f1e9 100%);
}

.mhc-reviews-summary-top {
  display: grid;
  justify-items: start;
  padding-bottom: 22px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(129, 48, 3, 0.1);
}

.mhc-reviews-summary-label {
  color: rgba(34, 34, 34, 0.58);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mhc-reviews-summary-top > strong {
  display: block;
  margin: 8px 0 10px;
  color: #813003;
  font-size: 54px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.07em;
}

.mhc-reviews-summary-top > strong small {
  color: rgba(34, 34, 34, 0.38);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mhc-reviews-summary-top p {
  margin: 9px 0 0;
  color: rgba(34, 34, 34, 0.55);
  font-size: 11px;
  font-weight: 600;
}

.mhc-rating-breakdown {
  display: grid;
  gap: 11px;
}

.mhc-rating-breakdown-row {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 10px;
}

.mhc-rating-label,
.mhc-rating-count {
  color: rgba(34, 34, 34, 0.62);
  font-size: 11px;
  font-weight: 800;
}

.mhc-rating-count {
  text-align: right;
}

.mhc-rating-track {
  position: relative;
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(129, 48, 3, 0.1);
}

.mhc-rating-track > span {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #813003, #b85b25);
}

.mhc-reviews-list-panel {
  min-width: 0;
  padding: 24px;
  border-radius: 24px;
  background: #ffffff;
}

.mhc-reviews-list-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid rgba(129, 48, 3, 0.08);
}

.mhc-reviews-list-heading > div > span {
  display: block;
  margin-bottom: 4px;
  color: #813003;
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.mhc-reviews-list-heading h3 {
  font-size: 27px;
  line-height: 1.1;
}

.mhc-reviews-count-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(129, 48, 3, 0.08);
  color: #813003;
  font-size: 11px;
  font-weight: 900;
  white-space: nowrap;
}

.mhc-reviews-list-panel ol.commentlist {
  display: grid;
  gap: 14px;
  margin: 0 !important;
  padding: 0 !important;
}

.mhc-reviews-list-panel ol.commentlist > li {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  border: 0 !important;
}

.mhc-reviews-list-panel .comment_container {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 16px;
  padding: 18px;
  border-radius: 20px;
  background: #fcfaf7;
  border: 1px solid rgba(129, 48, 3, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.mhc-reviews-list-panel .comment_container:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 48, 3, 0.16);
  box-shadow: 0 14px 30px rgba(61, 38, 24, 0.07);
}

.mhc-reviews-list-panel .comment_container img.avatar {
  position: static !important;
  float: none !important;
  width: 52px !important;
  height: 52px !important;
  margin: 0 !important;
  padding: 3px !important;
  border: 1px solid rgba(129, 48, 3, 0.12) !important;
  border-radius: 16px !important;
  background: #ffffff !important;
  object-fit: cover;
}

.mhc-reviews-list-panel .comment-text {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
}

.mhc-reviews-list-panel .comment-text .star-rating {
  float: right;
  margin: 2px 0 8px 12px !important;
  color: #813003;
}

.mhc-reviews-list-panel .meta {
  margin: 0 0 10px !important;
  color: rgba(34, 34, 34, 0.48) !important;
  font-size: 10px !important;
  line-height: 1.5;
}

.mhc-reviews-list-panel .woocommerce-review__author {
  display: inline-block;
  margin-right: 5px;
  color: #222222;
  font-size: 13px;
  font-weight: 900;
}

.mhc-reviews-list-panel .woocommerce-review__dash {
  display: none;
}

.mhc-reviews-list-panel .woocommerce-review__published-date {
  color: rgba(34, 34, 34, 0.47);
  font-weight: 600;
}

.mhc-reviews-list-panel .description {
  color: rgba(34, 34, 34, 0.7);
  font-size: 13px;
  line-height: 1.75;
}

.mhc-reviews-list-panel .description p:last-child {
  margin-bottom: 0;
}

.mhc-reviews-empty {
  display: grid;
  justify-items: center;
  padding: 44px 20px;
  text-align: center;
  border-radius: 20px;
  background: #fcfaf7;
  border: 1px dashed rgba(129, 48, 3, 0.18);
}

.mhc-reviews-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 18px;
  background: rgba(129, 48, 3, 0.09);
  color: #813003;
  font-size: 31px;
}

.mhc-reviews-empty h3 {
  font-size: 26px;
}

.mhc-reviews-empty p {
  margin: 8px 0 0;
  color: rgba(34, 34, 34, 0.58);
  font-size: 12px;
}

.mhc-reviews-pagination {
  margin-top: 20px;
}

.mhc-reviews-pagination ul.page-numbers {
  display: flex;
  justify-content: center;
  gap: 7px;
  border: 0 !important;
}

.mhc-reviews-pagination ul.page-numbers li {
  border: 0 !important;
}

.mhc-reviews-pagination .page-numbers a,
.mhc-reviews-pagination .page-numbers span {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px !important;
  border-radius: 12px;
  background: #f6efe8;
  color: #813003;
  font-size: 12px;
  font-weight: 900;
}

.mhc-reviews-pagination .page-numbers .current {
  background: #813003;
  color: #ffffff;
}

.mhc-review-form-card {
  margin-top: 24px;
  padding: 28px;
  border-radius: 26px;
  background: linear-gradient(145deg, #fffdfa 0%, #f7eee5 100%);
}

.mhc-review-form-heading {
  margin-bottom: 22px;
}

.mhc-review-form-heading h3 {
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.1;
}

.mhc-review-form-heading > p {
  margin: 8px 0 0;
  color: rgba(34, 34, 34, 0.58);
  font-size: 12px;
}

.mhc-review-form-card .comment-respond {
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
}

.mhc-review-form-card .comment-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mhc-review-form-card .comment-form > p,
.mhc-review-form-card .comment-form > div {
  margin: 0 !important;
}

.mhc-review-form-card .comment-form-rating,
.mhc-review-form-card .comment-form-comment,
.mhc-review-form-card .form-submit,
.mhc-review-form-card .logged-in-as,
.mhc-review-form-card .comment-notes {
  grid-column: 1 / -1;
}

.mhc-review-form-card label {
  display: block;
  margin: 0 0 8px;
  color: #2a211b;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.02em;
}

.mhc-review-form-card .required {
  color: #813003;
}

.mhc-review-form-card input[type="text"],
.mhc-review-form-card input[type="email"],
.mhc-review-form-card textarea,
.mhc-review-form-card select {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid rgba(129, 48, 3, 0.13) !important;
  border-radius: 15px !important;
  outline: none;
  background: rgba(255, 255, 255, 0.88) !important;
  color: #222222;
  font-family: inherit;
  font-size: 13px;
  box-shadow: 0 7px 18px rgba(61, 38, 24, 0.035);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mhc-review-form-card textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.65;
}

.mhc-review-form-card input:focus,
.mhc-review-form-card textarea:focus,
.mhc-review-form-card select:focus {
  border-color: rgba(129, 48, 3, 0.5) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(129, 48, 3, 0.08);
}

.mhc-review-form-card .comment-form-rating {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(129, 48, 3, 0.08);
}

.mhc-review-form-card p.stars {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 3px 0 0 !important;
}

.mhc-review-form-card p.stars a {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 42px !important;
  height: 42px !important;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(129, 48, 3, 0.1);
  border-radius: 13px;
  background: #ffffff;
  color: #813003;
  box-shadow: 0 6px 15px rgba(61, 38, 24, 0.045);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.mhc-review-form-card p.stars a:hover {
  transform: translateY(-2px);
  border-color: rgba(129, 48, 3, 0.3);
  box-shadow: 0 10px 20px rgba(61, 38, 24, 0.08);
}

.mhc-review-form-card p.stars a::before {
  top: 50% !important;
  left: 50% !important;
  width: auto !important;
  height: auto !important;
  transform: translate(-50%, -50%);
  font-size: 18px;
}

.mhc-review-form-card .logged-in-as {
  padding: 12px 14px;
  border-radius: 13px;
  background: rgba(129, 48, 3, 0.07);
  color: rgba(34, 34, 34, 0.66);
  font-size: 11px;
}

.mhc-review-form-card .logged-in-as a {
  color: #813003;
  font-weight: 800;
  text-decoration: none;
}

.mhc-review-form-card .form-submit {
  padding-top: 2px;
}

.mhc-review-form-card #submit.mhc-review-submit,
.mhc-review-form-card #submit {
  min-height: 54px;
  padding: 0 24px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: #813003 !important;
  color: #ffffff !important;
  font-family: inherit;
  font-size: 12px !important;
  font-weight: 900 !important;
  line-height: 1 !important;
  text-transform: none !important;
  letter-spacing: 0.02em;
  box-shadow: 0 13px 28px rgba(129, 48, 3, 0.24);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.mhc-review-form-card #submit:hover {
  transform: translateY(-2px);
  background: #6f2700 !important;
  box-shadow: 0 17px 32px rgba(129, 48, 3, 0.3);
}

.mhc-review-verification-notice {
  padding: 22px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(129, 48, 3, 0.1);
}

.mhc-review-verification-notice strong {
  display: block;
  color: #222222;
  font-size: 14px;
}

.mhc-review-verification-notice p {
  margin: 7px 0 12px;
  color: rgba(34, 34, 34, 0.6);
  font-size: 12px;
}

.mhc-review-verification-notice a {
  color: #813003;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

@media (max-width: 900px) {
  .mhc-reviews-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .mhc-reviews-grid {
    grid-template-columns: 1fr;
  }

  .mhc-reviews-summary {
    position: static;
  }
}

@media (max-width: 620px) {
  .mhc-sp-sale-badge {
    top: 22px;
    left: 22px;
    width: 68px;
    height: 68px;
    border-width: 3px;
  }

  .mhc-sp-sale-badge-kicker {
    font-size: 8px;
  }

  .mhc-sp-sale-badge-value {
    font-size: 17px;
  }

  .mhc-sp-details .woocommerce-Tabs-panel--reviews {
    padding: 18px !important;
  }

  .mhc-reviews-score {
    width: 100%;
    min-width: 0;
  }

  .mhc-reviews-list-panel,
  .mhc-reviews-summary,
  .mhc-review-form-card {
    padding: 18px;
    border-radius: 20px;
  }

  .mhc-reviews-list-heading {
    align-items: flex-start;
  }

  .mhc-reviews-list-heading h3 {
    font-size: 23px;
  }

  .mhc-reviews-list-panel .comment_container {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
    padding: 14px;
  }

  .mhc-reviews-list-panel .comment_container img.avatar {
    width: 42px !important;
    height: 42px !important;
    border-radius: 13px !important;
  }

  .mhc-reviews-list-panel .comment-text .star-rating {
    float: none;
    margin: 0 0 8px !important;
  }

  .mhc-review-form-card .comment-form {
    grid-template-columns: 1fr;
  }

  .mhc-review-form-card .comment-form-author,
  .mhc-review-form-card .comment-form-email {
    grid-column: 1 / -1;
  }
}


/* =========================================================
   SINGLE PRODUCT — GALERIE SANS ICÔNE ZOOM
========================================================= */
.single-product .mhc-sp-gallery-wrap .woocommerce-product-gallery__trigger,
.single-product .woocommerce-product-gallery__trigger {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* =========================================================
   SINGLE PRODUCT — PRODUITS SIMILAIRES AVANT LES AVIS
========================================================= */
.mhc-sp-details .related.products {
  position: relative;
  margin: 44px 0 0 !important;
  padding: 38px !important;
  border: 1px solid rgba(129, 48, 3, 0.09);
  border-radius: 30px;
  background:
    radial-gradient(circle at 100% 0%, rgba(129, 48, 3, 0.08), transparent 34%),
    #fffdfa;
  box-shadow: 0 22px 60px rgba(34, 34, 34, 0.06);
  overflow: hidden;
}

.mhc-sp-details .related.products > h2 {
  position: relative;
  margin: 0 0 30px !important;
  padding-top: 32px;
  text-align: left;
  color: #222222;
  font-family: var(--mhc-font-title, serif);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.mhc-sp-details .related.products > h2::before {
  content: "À découvrir";
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  min-height: 25px;
  padding: 0 11px;
  border-radius: 999px;
  background: rgba(129, 48, 3, 0.09);
  color: #813003;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 10px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mhc-sp-details .related.products ul.products {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
}

.mhc-sp-details .related.products ul.products li.product a img,
.mhc-sp-details .related.products ul.products li.product img {
  padding: 0;
  border-radius: 20px;
  background: #f7f3ef;
}

.mhc-sp-details .related.products ul.products li.product .woocommerce-loop-product__title {
  min-height: 42px;
  font-size: 14px;
}

.mhc-sp-details .related.products ul.products li.product .mhc-product-actions {
  top: 12px;
  right: 12px;
}

/* =========================================================
   SINGLE PRODUCT — AVIS EN SECTION AUTONOME
========================================================= */
.mhc-sp-reviews-standalone {
  margin-top: 44px;
  scroll-margin-top: 120px;
}

.mhc-sp-reviews-card {
  padding: 32px;
  border: 1px solid rgba(129, 48, 3, 0.09);
  border-radius: 30px;
  background: #fffdfa;
  box-shadow: 0 22px 60px rgba(34, 34, 34, 0.06);
  overflow: hidden;
}

.mhc-sp-reviews-card > .woocommerce-Reviews,
.mhc-sp-reviews-card > #reviews {
  margin: 0;
}

@media (max-width: 980px) {
  .mhc-sp-details .related.products {
    padding: 28px !important;
  }

  .mhc-sp-details .related.products ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 620px) {
  .mhc-sp-details .related.products,
  .mhc-sp-reviews-card {
    padding: 20px !important;
    border-radius: 22px;
  }

  .mhc-sp-details .related.products > h2 {
    margin-bottom: 22px !important;
    font-size: 32px;
  }

  .mhc-sp-details .related.products ul.products {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
  }

  .mhc-sp-reviews-standalone {
    margin-top: 30px;
  }
}

/* =========================================================
   PAGE PANIER MODERNE — MHC
   ========================================================= */

body.woocommerce-cart .entry-header,
body.woocommerce-cart .page-header,
body.woocommerce-cart .entry-title,
body.woocommerce-cart .page-title:not(.mhc-cart-page h1) {
  display: none !important;
}

body.woocommerce-cart .site-main,
body.woocommerce-cart main.site-main,
body.woocommerce-cart .content-area {
  padding-top: 0 !important;
}

body.woocommerce-cart .woocommerce {
  width: min(1380px, calc(100% - 48px));
  max-width: none !important;
  margin: 0 auto;
}

.mhc-cart-page,
.mhc-cart-page * {
  box-sizing: border-box;
}

.mhc-cart-page {
  padding: 48px 0 90px;
  color: var(--mhc-dark);
  font-family: var(--mhc-font-body);
}

.mhc-cart-page-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 30px;
}

.mhc-cart-eyebrow {
  display: block;
  margin-bottom: 8px;
  color: var(--mhc-brown);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mhc-cart-page-header h1 {
  margin: 0 !important;
  color: #222222;
  font-family: var(--mhc-font-title);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.mhc-cart-page-header p {
  margin: 13px 0 0;
  color: var(--mhc-muted);
  font-size: 14px;
  font-weight: 500;
}

.mhc-cart-back-link,
.mhc-cart-continue-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(34, 34, 34, 0.13);
  border-radius: 999px;
  background: #ffffff;
  color: #222222 !important;
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(34, 34, 34, 0.04);
  transition: border-color 0.22s ease, color 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

.mhc-cart-back-link svg,
.mhc-cart-continue-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-cart-back-link:hover,
.mhc-cart-continue-button:hover {
  border-color: rgba(129, 48, 3, 0.42);
  color: var(--mhc-brown) !important;
  transform: translateY(-2px);
  box-shadow: 0 13px 32px rgba(34, 34, 34, 0.08);
}

.mhc-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 410px);
  align-items: start;
  gap: 30px;
}

.mhc-cart-products-panel,
.mhc-cart-totals {
  border: 1px solid rgba(34, 34, 34, 0.09);
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(34, 34, 34, 0.065);
}

.mhc-cart-products-panel {
  position: relative;
  min-width: 0;
  overflow: hidden;
}

.mhc-cart-products-panel.is-updating::before {
  position: absolute;
  z-index: 20;
  inset: 0;
  content: "";
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(1px);
}

.mhc-cart-products-panel.is-updating::after {
  position: absolute;
  z-index: 21;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  margin: -15px 0 0 -15px;
  border: 3px solid rgba(129, 48, 3, 0.18);
  border-top-color: var(--mhc-brown);
  border-radius: 50%;
  content: "";
  animation: mhc-cart-auto-spin 0.72s linear infinite;
}

@keyframes mhc-cart-auto-spin {
  to { transform: rotate(360deg); }
}

.mhc-cart-panel-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 26px;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
  background: linear-gradient(135deg, #ffffff 0%, #fcfaf7 100%);
}

.mhc-cart-panel-icon,
.mhc-cart-summary-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: rgba(129, 48, 3, 0.09);
  color: var(--mhc-brown);
}

.mhc-cart-panel-icon svg,
.mhc-cart-summary-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-cart-panel-heading h2,
.mhc-cart-summary-header h2 {
  margin: 0 !important;
  color: #222222;
  font-family: var(--mhc-font-title);
  font-size: 28px;
  font-weight: 650;
  line-height: 1.05;
}

.mhc-cart-panel-heading p {
  margin: 5px 0 0;
  color: var(--mhc-muted);
  font-size: 12.5px;
  line-height: 1.5;
}

/* Table transformed into clean product cards */
body.woocommerce-cart .mhc-cart-table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.woocommerce-cart .mhc-cart-table thead {
  background: #fbfaf8;
}

body.woocommerce-cart .mhc-cart-table thead tr {
  display: grid;
  grid-template-columns: 96px minmax(145px, 1fr) 124px 108px 105px 38px;
  align-items: center;
  column-gap: 14px;
  padding: 13px 22px;
}

body.woocommerce-cart .mhc-cart-table thead th {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: rgba(34, 34, 34, 0.5);
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

body.woocommerce-cart .mhc-cart-table thead .product-price,
body.woocommerce-cart .mhc-cart-table thead .product-quantity {
  justify-self: center;
  text-align: center;
  white-space: nowrap;
}

body.woocommerce-cart .mhc-cart-table thead .product-subtotal {
  justify-self: end;
  text-align: right;
  white-space: nowrap;
}

body.woocommerce-cart .mhc-cart-table tbody {
  display: block;
  padding: 0 22px;
}

body.woocommerce-cart .mhc-cart-table tr.mhc-cart-item {
  position: relative;
  display: grid;
  grid-template-columns: 96px minmax(145px, 1fr) 124px 108px 105px 38px;
  align-items: center;
  column-gap: 14px;
  padding: 22px 0;
  border: 0 !important;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08) !important;
  background: #ffffff !important;
  transition: background 0.22s ease;
}

body.woocommerce-cart .mhc-cart-table tr.mhc-cart-item:hover {
  background: linear-gradient(90deg, #ffffff 0%, #fffdfa 52%, #ffffff 100%) !important;
}

body.woocommerce-cart .mhc-cart-table td {
  min-width: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  vertical-align: middle !important;
}

.mhc-cart-product-image {
  width: 96px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(34, 34, 34, 0.07);
  border-radius: 17px;
  background: #f6f6f6;
}

.mhc-cart-product-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.mhc-cart-product-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.mhc-cart-item:hover .mhc-cart-product-image img {
  transform: scale(1.035);
}

.mhc-cart-product-label,
.mhc-cart-mobile-label {
  display: none;
}

.mhc-cart-product-info h3 {
  margin: 0 !important;
  font-family: var(--mhc-font-body);
  font-size: 15px;
  font-weight: 650;
  line-height: 1.45;
}

.mhc-cart-product-info h3 a {
  color: #222222 !important;
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.mhc-cart-product-info h3 a:hover {
  color: var(--mhc-brown) !important;
}

.mhc-cart-product-info .variation,
.mhc-cart-product-info dl.variation {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  margin: 8px 0 0 !important;
  color: var(--mhc-muted);
  font-size: 11.5px;
  line-height: 1.45;
}

.mhc-cart-product-info .variation dt,
.mhc-cart-product-info .variation dd {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mhc-cart-product-info .variation dt {
  font-weight: 650;
}

.mhc-cart-product-info .variation dd {
  margin-right: 6px !important;
}

.mhc-cart-product-info .variation p {
  margin: 0 !important;
}

.mhc-cart-product-info .backorder_notification {
  display: inline-flex;
  margin: 9px 0 0;
  padding: 5px 9px;
  border-radius: 999px;
  background: #f6efe8;
  color: var(--mhc-brown);
  font-size: 10.5px;
  font-weight: 650;
}

body.woocommerce-cart .mhc-cart-table .product-price,
body.woocommerce-cart .mhc-cart-table .product-subtotal {
  color: #222222;
  font-size: 14px;
  white-space: nowrap;
}

body.woocommerce-cart .mhc-cart-table .product-price strong,
body.woocommerce-cart .mhc-cart-table .product-subtotal strong {
  font-weight: 700;
}

body.woocommerce-cart .mhc-cart-table .product-subtotal {
  color: var(--mhc-brown);
  font-size: 15px;
  text-align: right;
}

/* Quantity selector */
body.woocommerce-cart .mhc-cart-table .product-quantity .quantity {
  display: grid !important;
  grid-template-columns: 38px 48px 38px;
  align-items: stretch;
  width: 124px;
  min-width: 124px;
  height: 42px;
  margin: 0 !important;
  overflow: hidden;
  border: 1px solid rgba(34, 34, 34, 0.14) !important;
  border-radius: 13px !important;
  background: #ffffff !important;
  box-shadow: 0 5px 14px rgba(34, 34, 34, 0.04);
}

body.woocommerce-cart .mhc-cart-table .product-quantity .quantity::before,
body.woocommerce-cart .mhc-cart-table .product-quantity .quantity::after {
  display: none !important;
}

.mhc-cart-qty-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 40px;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #faf8f5 !important;
  color: #222222 !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}

.mhc-cart-qty-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.mhc-cart-qty-btn:hover:not(:disabled) {
  background: var(--mhc-brown) !important;
  color: #ffffff !important;
}

.mhc-cart-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

body.woocommerce-cart .mhc-cart-table .product-quantity input.qty {
  width: 48px !important;
  min-width: 0 !important;
  height: 40px !important;
  margin: 0 !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-right: 1px solid rgba(34, 34, 34, 0.09) !important;
  border-left: 1px solid rgba(34, 34, 34, 0.09) !important;
  border-radius: 0 !important;
  background: #ffffff !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body);
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 40px !important;
  text-align: center !important;
  box-shadow: none !important;
  appearance: textfield;
  -moz-appearance: textfield;
}

body.woocommerce-cart .mhc-cart-table .product-quantity input.qty::-webkit-outer-spin-button,
body.woocommerce-cart .mhc-cart-table .product-quantity input.qty::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.mhc-cart-remove {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 38px !important;
  height: 38px !important;
  margin-left: auto;
  border: 1px solid rgba(184, 57, 57, 0.13) !important;
  border-radius: 12px !important;
  background: rgba(184, 57, 57, 0.045) !important;
  color: #b83939 !important;
  font-size: 0 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.mhc-cart-remove::before,
.mhc-cart-remove::after {
  display: none !important;
  content: none !important;
}

.mhc-cart-remove svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-cart-remove span {
  display: none;
}

.mhc-cart-remove:hover {
  border-color: #b83939 !important;
  background: #b83939 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

body.woocommerce-cart .mhc-cart-actions-row,
body.woocommerce-cart .mhc-cart-actions-row:hover {
  display: block !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.woocommerce-cart .mhc-cart-actions-row td.actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  padding: 22px 0 24px !important;
}

body.woocommerce-cart .mhc-cart-table .actions::before,
body.woocommerce-cart .mhc-cart-table .actions::after {
  display: none !important;
}

body.woocommerce-cart .mhc-cart-auto-update-submit {
  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;
  clip-path: inset(50%) !important;
  border: 0 !important;
  white-space: nowrap !important;
}

body.woocommerce-cart .mhc-cart-update-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 18px !important;
  border: 1px solid var(--mhc-brown) !important;
  border-radius: 999px !important;
  background: var(--mhc-brown) !important;
  color: #ffffff !important;
  font-family: var(--mhc-font-body) !important;
  font-size: 12.5px !important;
  font-weight: 650 !important;
  line-height: 1 !important;
  text-transform: none !important;
  box-shadow: 0 12px 27px rgba(129, 48, 3, 0.18) !important;
  opacity: 1;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease, opacity 0.22s ease;
}

body.woocommerce-cart .mhc-cart-update-button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.woocommerce-cart .mhc-cart-update-button:hover:not(:disabled) {
  background: #6f2700 !important;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(129, 48, 3, 0.25) !important;
}

body.woocommerce-cart .mhc-cart-update-button:disabled {
  border-color: rgba(34, 34, 34, 0.11) !important;
  background: #f2f2f2 !important;
  color: rgba(34, 34, 34, 0.38) !important;
  box-shadow: none !important;
  cursor: not-allowed;
}

/* Summary */
.mhc-cart-summary-column {
  position: sticky;
  top: 110px;
  min-width: 0;
}

body.woocommerce-cart .cart-collaterals,
body.woocommerce-cart .cart-collaterals .cart_totals {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.mhc-cart-totals {
  overflow: hidden;
}

.mhc-cart-summary-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 24px 21px;
  border-bottom: 1px solid rgba(34, 34, 34, 0.08);
  background: linear-gradient(135deg, #fffdfa 0%, #ffffff 100%);
}

.mhc-cart-summary-header > div:last-child > span {
  display: block;
  margin-bottom: 3px;
  color: var(--mhc-brown);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.mhc-cart-coupon-box {
  margin: 20px 20px 0;
  padding: 17px;
  border: 1px dashed rgba(129, 48, 3, 0.25);
  border-radius: 17px;
  background: #fcfaf7;
}

.mhc-cart-coupon-heading {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 13px;
}

.mhc-cart-coupon-heading > svg {
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  fill: none;
  stroke: var(--mhc-brown);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-cart-coupon-heading strong,
.mhc-cart-coupon-heading span {
  display: block;
}

.mhc-cart-coupon-heading strong {
  margin-bottom: 3px;
  color: #222222;
  font-size: 12.5px;
  font-weight: 700;
}

.mhc-cart-coupon-heading span {
  color: var(--mhc-muted);
  font-size: 10.5px;
  line-height: 1.45;
}

.mhc-cart-coupon-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  margin: 0 !important;
}

body.woocommerce-cart .mhc-cart-coupon-form input {
  width: 100% !important;
  min-width: 0 !important;
  height: 43px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid rgba(34, 34, 34, 0.13) !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body) !important;
  font-size: 11.5px !important;
  box-shadow: none !important;
  outline: none !important;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

body.woocommerce-cart .mhc-cart-coupon-form input::placeholder {
  color: rgba(34, 34, 34, 0.42);
}

body.woocommerce-cart .mhc-cart-coupon-form input:focus {
  border-color: rgba(129, 48, 3, 0.55) !important;
  box-shadow: 0 0 0 3px rgba(129, 48, 3, 0.08) !important;
}

body.woocommerce-cart .mhc-cart-coupon-form button {
  min-width: 90px !important;
  height: 43px !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 14px !important;
  border: 1px solid #222222 !important;
  border-radius: 11px !important;
  background: #222222 !important;
  color: #ffffff !important;
  font-family: var(--mhc-font-body) !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

body.woocommerce-cart .mhc-cart-coupon-form button:hover {
  border-color: var(--mhc-brown) !important;
  background: var(--mhc-brown) !important;
  transform: translateY(-1px);
}

body.woocommerce-cart .mhc-cart-summary-table {
  width: calc(100% - 40px) !important;
  margin: 20px !important;
  border: 0 !important;
  border-collapse: separate !important;
  border-spacing: 0 !important;
  background: transparent !important;
}

body.woocommerce-cart .mhc-cart-summary-table tr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border: 0 !important;
  border-bottom: 1px solid rgba(34, 34, 34, 0.075) !important;
  background: transparent !important;
}

body.woocommerce-cart .mhc-cart-summary-table th,
body.woocommerce-cart .mhc-cart-summary-table td {
  width: auto !important;
  padding: 13px 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #222222;
  font-size: 12.5px;
  line-height: 1.5;
  text-align: left !important;
}

body.woocommerce-cart .mhc-cart-summary-table th {
  font-weight: 550;
}

body.woocommerce-cart .mhc-cart-summary-table td {
  margin-left: auto;
  font-weight: 700;
  text-align: right !important;
}

body.woocommerce-cart .mhc-cart-summary-table .cart-discount th {
  color: #267245;
}

body.woocommerce-cart .mhc-cart-summary-table .cart-discount th span {
  display: inline-flex;
  margin-left: 4px;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(38, 114, 69, 0.09);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

body.woocommerce-cart .mhc-cart-summary-table .cart-discount td {
  color: #267245;
}

body.woocommerce-cart .mhc-cart-summary-table .cart-discount .woocommerce-remove-coupon {
  display: block;
  margin-top: 2px;
  color: #b83939 !important;
  font-size: 9.5px;
  font-weight: 600;
  text-decoration: underline !important;
}

body.woocommerce-cart .mhc-cart-summary-table .shipping {
  display: block !important;
}

body.woocommerce-cart .mhc-cart-summary-table .shipping > th,
body.woocommerce-cart .mhc-cart-summary-table .shipping > td {
  display: block;
  width: 100% !important;
  text-align: left !important;
}

body.woocommerce-cart .mhc-cart-summary-table .shipping > th {
  padding-bottom: 3px !important;
  font-weight: 650;
}

body.woocommerce-cart .mhc-cart-summary-table .shipping > td {
  padding-top: 3px !important;
  margin: 0;
}

body.woocommerce-cart .mhc-cart-summary-table .shipping ul#shipping_method,
body.woocommerce-cart .mhc-cart-summary-table .shipping ul {
  margin: 0 0 9px !important;
  padding: 0 !important;
  list-style: none !important;
  text-align: left !important;
}

body.woocommerce-cart .mhc-cart-summary-table .shipping li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 7px 0 !important;
  color: var(--mhc-muted);
  font-size: 11px;
}

body.woocommerce-cart .mhc-cart-summary-table .shipping-calculator-button {
  color: var(--mhc-brown) !important;
  font-size: 10.5px;
  font-weight: 650;
  text-decoration: underline !important;
}

body.woocommerce-cart .mhc-cart-summary-table .order-total {
  align-items: center;
  margin-top: 4px;
  border-bottom: 0 !important;
}

body.woocommerce-cart .mhc-cart-summary-table .order-total th {
  color: #222222;
  font-family: var(--mhc-font-title);
  font-size: 22px;
  font-weight: 650;
}

body.woocommerce-cart .mhc-cart-summary-table .order-total td,
body.woocommerce-cart .mhc-cart-summary-table .order-total strong,
body.woocommerce-cart .mhc-cart-summary-table .order-total .amount {
  color: var(--mhc-brown) !important;
  font-family: var(--mhc-font-title);
  font-size: 25px;
  font-weight: 700;
}

.mhc-cart-checkout-wrap {
  margin: 0 20px !important;
  padding: 0 !important;
}

body.woocommerce-cart .mhc-cart-checkout-button {
  display: grid !important;
  grid-template-columns: 42px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  width: 100% !important;
  min-height: 66px !important;
  margin: 0 !important;
  padding: 10px 15px !important;
  border: 1px solid var(--mhc-brown) !important;
  border-radius: 17px !important;
  background: var(--mhc-brown) !important;
  color: #ffffff !important;
  font-family: var(--mhc-font-body) !important;
  line-height: 1.2 !important;
  text-align: left !important;
  text-decoration: none !important;
  text-transform: none !important;
  box-shadow: 0 15px 35px rgba(129, 48, 3, 0.22) !important;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

body.woocommerce-cart .mhc-cart-checkout-button:hover {
  background: #6f2700 !important;
  transform: translateY(-2px);
  box-shadow: 0 19px 42px rgba(129, 48, 3, 0.29) !important;
}

.mhc-cart-checkout-lock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.mhc-cart-checkout-lock svg,
.mhc-cart-checkout-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-cart-checkout-text strong,
.mhc-cart-checkout-text small {
  display: block;
}

.mhc-cart-checkout-text strong {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
}

.mhc-cart-checkout-text small {
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 9.5px;
  font-weight: 450;
}

.mhc-cart-checkout-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.22s ease;
}

.mhc-cart-checkout-button:hover .mhc-cart-checkout-arrow {
  transform: translateX(3px);
}

.mhc-cart-reassurance {
  display: grid;
  gap: 10px;
  margin: 19px 20px 21px;
  padding-top: 17px;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
}

.mhc-cart-reassurance > div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mhc-cart-reassurance svg {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--mhc-brown);
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-cart-reassurance span,
.mhc-cart-reassurance strong,
.mhc-cart-reassurance small {
  display: block;
}

.mhc-cart-reassurance strong {
  color: #222222;
  font-size: 10.5px;
  font-weight: 650;
}

.mhc-cart-reassurance small {
  margin-top: 1px;
  color: var(--mhc-muted);
  font-size: 9px;
  line-height: 1.35;
}

/* WooCommerce messages on cart */
body.woocommerce-cart .woocommerce-notices-wrapper {
  margin-bottom: 18px;
}

body.woocommerce-cart .woocommerce-message,
body.woocommerce-cart .woocommerce-info,
body.woocommerce-cart .woocommerce-error {
  margin: 0 0 14px !important;
  padding: 15px 18px 15px 48px !important;
  border: 1px solid rgba(34, 34, 34, 0.09) !important;
  border-top: 0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body) !important;
  font-size: 12px !important;
  box-shadow: 0 10px 28px rgba(34, 34, 34, 0.055) !important;
}

body.woocommerce-cart .woocommerce-message::before,
body.woocommerce-cart .woocommerce-info::before,
body.woocommerce-cart .woocommerce-error::before {
  top: 50% !important;
  left: 18px !important;
  transform: translateY(-50%);
  color: var(--mhc-brown) !important;
}

/* Responsive */
@media (max-width: 1180px) {
  .mhc-cart-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 22px;
  }

  body.woocommerce-cart .mhc-cart-table thead tr,
  body.woocommerce-cart .mhc-cart-table tr.mhc-cart-item {
    grid-template-columns: 84px minmax(120px, 1fr) 116px 100px 96px 36px;
    column-gap: 10px;
  }

  .mhc-cart-product-image {
    width: 84px;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity .quantity {
    grid-template-columns: 34px 44px 34px;
    width: 112px;
    min-width: 112px;
  }

  .mhc-cart-qty-btn {
    width: 34px;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity input.qty {
    width: 44px !important;
  }
}

@media (max-width: 980px) {
  body.woocommerce-cart .woocommerce {
    width: min(100% - 32px, 820px);
  }

  .mhc-cart-layout {
    grid-template-columns: 1fr;
  }

  .mhc-cart-summary-column {
    position: static;
  }

  body.woocommerce-cart .mhc-cart-table thead {
    display: none;
  }

  body.woocommerce-cart .mhc-cart-table tbody {
    padding: 12px 20px 0;
  }

  body.woocommerce-cart .mhc-cart-table tr.mhc-cart-item {
    grid-template-columns: 104px minmax(0, 1fr) 42px;
    grid-template-areas:
      "image info remove"
      "image pricing pricing";
    align-items: start;
    gap: 12px 16px;
    padding: 18px 0;
  }

  body.woocommerce-cart .mhc-cart-table .product-thumbnail {
    grid-area: image;
  }

  body.woocommerce-cart .mhc-cart-table .product-name {
    grid-area: info;
    padding-top: 4px !important;
  }

  body.woocommerce-cart .mhc-cart-table .product-remove {
    grid-area: remove;
  }

  body.woocommerce-cart .mhc-cart-table .product-price,
  body.woocommerce-cart .mhc-cart-table .product-quantity,
  body.woocommerce-cart .mhc-cart-table .product-subtotal {
    display: inline-flex !important;
    align-items: center;
    justify-content: flex-start;
    gap: 7px;
    width: auto !important;
    margin-top: 2px;
    text-align: left;
  }

  body.woocommerce-cart .mhc-cart-table .product-price {
    grid-area: pricing;
    justify-self: start;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity {
    grid-area: pricing;
    justify-self: center;
  }

  body.woocommerce-cart .mhc-cart-table .product-subtotal {
    grid-area: pricing;
    justify-self: end;
  }

  .mhc-cart-mobile-label {
    display: block;
    color: var(--mhc-muted);
    font-size: 9.5px;
    font-weight: 550;
  }

  .mhc-cart-product-image {
    width: 104px;
  }
}

@media (max-width: 640px) {
  body.woocommerce-cart .woocommerce {
    width: min(100% - 20px, 560px);
  }

  .mhc-cart-page {
    padding: 30px 0 64px;
  }

  .mhc-cart-page-header {
    align-items: flex-start;
    margin-bottom: 21px;
  }

  .mhc-cart-page-header h1 {
    font-size: 42px;
  }

  .mhc-cart-page-header .mhc-cart-back-link {
    display: none;
  }

  .mhc-cart-products-panel,
  .mhc-cart-totals {
    border-radius: 19px;
  }

  .mhc-cart-panel-heading,
  .mhc-cart-summary-header {
    padding: 19px 17px;
  }

  .mhc-cart-panel-icon,
  .mhc-cart-summary-icon {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .mhc-cart-panel-heading h2,
  .mhc-cart-summary-header h2 {
    font-size: 24px;
  }

  .mhc-cart-panel-heading p {
    font-size: 11px;
  }

  body.woocommerce-cart .mhc-cart-table tbody {
    padding: 8px 15px 0;
  }

  body.woocommerce-cart .mhc-cart-table tr.mhc-cart-item {
    grid-template-columns: 88px minmax(0, 1fr) 36px;
    grid-template-areas:
      "image info remove"
      "pricing pricing pricing";
    gap: 13px;
    padding: 16px 0;
  }

  .mhc-cart-product-image {
    width: 88px;
    border-radius: 14px;
  }

  .mhc-cart-product-info h3 {
    font-size: 13.5px;
  }

  .mhc-cart-remove {
    width: 34px !important;
    height: 34px !important;
    border-radius: 10px !important;
  }

  body.woocommerce-cart .mhc-cart-table .product-price,
  body.woocommerce-cart .mhc-cart-table .product-quantity,
  body.woocommerce-cart .mhc-cart-table .product-subtotal {
    grid-area: pricing;
    position: static;
    justify-self: auto;
    margin-top: 0;
  }

  body.woocommerce-cart .mhc-cart-table .product-price {
    justify-self: start;
    align-self: center;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity {
    justify-self: center;
  }

  body.woocommerce-cart .mhc-cart-table .product-subtotal {
    justify-self: end;
    align-self: center;
  }

  body.woocommerce-cart .mhc-cart-table .product-price .mhc-cart-mobile-label,
  body.woocommerce-cart .mhc-cart-table .product-subtotal .mhc-cart-mobile-label {
    display: none;
  }

  body.woocommerce-cart .mhc-cart-table .product-price,
  body.woocommerce-cart .mhc-cart-table .product-subtotal {
    font-size: 12px;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity .quantity {
    grid-template-columns: 31px 39px 31px;
    width: 101px;
    min-width: 101px;
    height: 38px;
    border-radius: 11px !important;
  }

  .mhc-cart-qty-btn {
    width: 31px;
    height: 36px;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity input.qty {
    width: 39px !important;
    height: 36px !important;
    line-height: 36px !important;
  }

  body.woocommerce-cart .mhc-cart-actions-row td.actions {
    flex-direction: column-reverse;
    align-items: stretch;
    padding: 18px 0 20px !important;
  }

  .mhc-cart-continue-button {
    width: 100%;
  }

  .mhc-cart-coupon-box,
  body.woocommerce-cart .mhc-cart-summary-table,
  .mhc-cart-checkout-wrap,
  .mhc-cart-reassurance {
    margin-right: 15px !important;
    margin-left: 15px !important;
  }

  body.woocommerce-cart .mhc-cart-summary-table {
    width: calc(100% - 30px) !important;
  }

  .mhc-cart-coupon-form {
    grid-template-columns: 1fr;
  }

  body.woocommerce-cart .mhc-cart-coupon-form button {
    width: 100% !important;
  }
}

/* Produits complémentaires conservés sous le panier */
.mhc-cart-cross-sells {
  margin-top: 38px;
}

.mhc-cart-cross-sells .cross-sells {
  width: 100% !important;
  margin: 0 !important;
}

.mhc-cart-cross-sells .cross-sells > h2 {
  margin: 0 0 22px !important;
  color: #222222;
  font-family: var(--mhc-font-title);
  font-size: clamp(30px, 3.4vw, 43px);
  font-weight: 650;
  line-height: 1.05;
  text-align: center;
}

@media (max-width: 640px) {
  .mhc-cart-cross-sells {
    margin-top: 30px;
  }

  .mhc-cart-cross-sells .cross-sells > h2 {
    margin-bottom: 17px !important;
    font-size: 30px;
  }
}

/* ==============================================================
   FALLBACK PAGE PANIER BLOCK / CONSTRUCTEUR
   Le rendu principal est le panier classique personnalisé. Ces
   règles assurent aussi un changement visible si un constructeur
   encapsule encore le Cart Block WooCommerce.
============================================================== */
body.woocommerce-cart.mhc-custom-cart-active .wp-block-woocommerce-cart,
body.woocommerce-cart.mhc-custom-cart-active .wc-block-cart {
  width: min(100% - 32px, 1280px) !important;
  margin: 36px auto 80px !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif) !important;
}

body.woocommerce-cart.mhc-custom-cart-active .wc-block-cart__main,
body.woocommerce-cart.mhc-custom-cart-active .wc-block-cart__sidebar {
  background: #ffffff !important;
  border: 1px solid #ebe7e1 !important;
  border-radius: 24px !important;
  box-shadow: 0 14px 45px rgba(25, 22, 18, 0.07) !important;
}

body.woocommerce-cart.mhc-custom-cart-active .wc-block-cart__main {
  padding: 24px !important;
}

body.woocommerce-cart.mhc-custom-cart-active .wc-block-cart__sidebar {
  padding: 24px !important;
}

body.woocommerce-cart.mhc-custom-cart-active .wc-block-components-product-name {
  color: #222222 !important;
  font-weight: 650 !important;
  text-decoration: none !important;
}

body.woocommerce-cart.mhc-custom-cart-active .wc-block-components-product-image img {
  border-radius: 16px !important;
  background: #f7f5f2 !important;
}

body.woocommerce-cart.mhc-custom-cart-active .wc-block-components-quantity-selector {
  overflow: hidden !important;
  min-height: 44px !important;
  border: 1px solid #ddd7cf !important;
  border-radius: 13px !important;
  box-shadow: none !important;
}

body.woocommerce-cart.mhc-custom-cart-active .wc-block-components-button,
body.woocommerce-cart.mhc-custom-cart-active .wc-block-cart__submit-button {
  min-height: 54px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: #222222 !important;
  color: #ffffff !important;
  font-weight: 650 !important;
  text-transform: none !important;
}

body.woocommerce-cart.mhc-custom-cart-active .wc-block-components-totals-coupon__button {
  min-height: 46px !important;
  border-radius: 12px !important;
}

@media (max-width: 782px) {
  body.woocommerce-cart.mhc-custom-cart-active .wp-block-woocommerce-cart,
  body.woocommerce-cart.mhc-custom-cart-active .wc-block-cart {
    width: min(100% - 20px, 720px) !important;
    margin-top: 20px !important;
  }

  body.woocommerce-cart.mhc-custom-cart-active .wc-block-cart__main,
  body.woocommerce-cart.mhc-custom-cart-active .wc-block-cart__sidebar {
    padding: 16px !important;
    border-radius: 18px !important;
  }
}

/* =========================================================
   CORRECTION PANIER — COLONNES DU BLOC PRODUITS COUPÉES
   La grille doit s'adapter à la largeur réelle du panneau gauche,
   et non uniquement à la largeur totale de la fenêtre.
   ========================================================= */
@media (min-width: 981px) {
  body.woocommerce-cart .mhc-cart-table {
    table-layout: fixed !important;
    max-width: 100% !important;
    overflow: visible !important;
  }

  body.woocommerce-cart .mhc-cart-table thead tr,
  body.woocommerce-cart .mhc-cart-table tr.mhc-cart-item {
    width: 100% !important;
    min-width: 0 !important;
    grid-template-columns:
      96px
      minmax(0, 1fr)
      minmax(82px, 92px)
      124px
      minmax(86px, 96px)
      38px !important;
    column-gap: 12px !important;
  }

  body.woocommerce-cart .mhc-cart-table thead tr {
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  body.woocommerce-cart .mhc-cart-table tbody {
    width: 100% !important;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }

  body.woocommerce-cart .mhc-cart-table td,
  body.woocommerce-cart .mhc-cart-table th,
  body.woocommerce-cart .mhc-cart-table .product-name,
  body.woocommerce-cart .mhc-cart-table .product-price,
  body.woocommerce-cart .mhc-cart-table .product-quantity,
  body.woocommerce-cart .mhc-cart-table .product-subtotal,
  body.woocommerce-cart .mhc-cart-table .product-remove {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .mhc-cart-product-image {
    width: 96px !important;
  }

  .mhc-cart-product-info,
  .mhc-cart-product-info h3,
  .mhc-cart-product-info h3 a {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .mhc-cart-product-info h3 a {
    display: block;
    overflow-wrap: anywhere;
  }

  body.woocommerce-cart .mhc-cart-table .product-price,
  body.woocommerce-cart .mhc-cart-table .product-subtotal {
    overflow: visible !important;
    font-size: 13.5px !important;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity .quantity {
    grid-template-columns: 37px 48px 37px !important;
    width: 122px !important;
    min-width: 122px !important;
    max-width: 122px !important;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity input.qty {
    width: 48px !important;
  }

  .mhc-cart-qty-btn {
    width: 37px !important;
  }

  body.woocommerce-cart .mhc-cart-actions-row,
  body.woocommerce-cart .mhc-cart-actions-row:hover {
    width: 100% !important;
    min-width: 0 !important;
  }

  body.woocommerce-cart .mhc-cart-actions-row td.actions {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    flex-wrap: wrap;
    padding-right: 0 !important;
    padding-left: 0 !important;
  }

  .mhc-cart-continue-button,
  body.woocommerce-cart .mhc-cart-update-button {
    flex: 0 1 auto;
    max-width: 100% !important;
    white-space: nowrap;
  }
}

/* Largeur intermédiaire : le panneau gauche reste compact même si
   le récapitulatif est encore affiché à droite. */
@media (min-width: 981px) and (max-width: 1320px) {
  body.woocommerce-cart .mhc-cart-table thead tr,
  body.woocommerce-cart .mhc-cart-table tr.mhc-cart-item {
    grid-template-columns:
      84px
      minmax(0, 1fr)
      84px
      112px
      88px
      36px !important;
    column-gap: 9px !important;
  }

  .mhc-cart-product-image {
    width: 84px !important;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity .quantity {
    grid-template-columns: 33px 44px 33px !important;
    width: 110px !important;
    min-width: 110px !important;
    max-width: 110px !important;
  }

  .mhc-cart-qty-btn {
    width: 33px !important;
  }

  body.woocommerce-cart .mhc-cart-table .product-quantity input.qty {
    width: 44px !important;
  }

  body.woocommerce-cart .mhc-cart-table thead th {
    font-size: 9.5px !important;
    letter-spacing: 0.055em !important;
  }
}

/* =========================================================
   PANIER VIDE MODERNE — MHC
   ========================================================= */
body.woocommerce-cart .woocommerce:has(.mhc-cart-empty-page) {
  width: min(1180px, calc(100% - 48px));
}

.mhc-cart-empty-page,
.mhc-cart-empty-page * {
  box-sizing: border-box;
}

.mhc-cart-empty-page {
  display: flex;
  justify-content: center;
  padding: 58px 0 100px;
  color: var(--mhc-dark);
  font-family: var(--mhc-font-body);
}

.mhc-cart-empty-card {
  position: relative;
  width: min(100%, 920px);
  padding: 72px 72px 34px;
  overflow: hidden;
  border: 1px solid rgba(34, 34, 34, 0.09);
  border-radius: 30px;
  background:
    radial-gradient(circle at 50% 0%, rgba(129, 48, 3, 0.065), transparent 36%),
    linear-gradient(145deg, #fffdfa 0%, #ffffff 54%, #fbf8f5 100%);
  text-align: center;
  box-shadow: 0 26px 80px rgba(34, 34, 34, 0.08);
}

.mhc-cart-empty-decoration {
  position: absolute;
  border: 1px solid rgba(129, 48, 3, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.mhc-cart-empty-decoration-one {
  top: -135px;
  right: -85px;
  width: 320px;
  height: 320px;
}

.mhc-cart-empty-decoration-two {
  bottom: -155px;
  left: -115px;
  width: 340px;
  height: 340px;
}

.mhc-cart-empty-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 104px;
  height: 104px;
  margin-bottom: 25px;
  border: 1px solid rgba(129, 48, 3, 0.1);
  border-radius: 31px;
  background: rgba(129, 48, 3, 0.075);
  color: var(--mhc-brown);
  box-shadow: 0 18px 42px rgba(129, 48, 3, 0.12);
  transform: rotate(-3deg);
}

.mhc-cart-empty-icon::after {
  position: absolute;
  inset: 8px;
  border: 1px dashed rgba(129, 48, 3, 0.17);
  border-radius: 24px;
  content: "";
}

.mhc-cart-empty-icon svg {
  position: relative;
  z-index: 1;
  width: 57px;
  height: 57px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: rotate(3deg);
}

.mhc-cart-empty-eyebrow {
  position: relative;
  z-index: 1;
  display: block;
  margin-bottom: 9px;
  color: var(--mhc-brown);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.mhc-cart-empty-card h1 {
  position: relative;
  z-index: 1;
  margin: 0 !important;
  color: #222222;
  font-family: var(--mhc-font-title);
  font-size: clamp(42px, 5.2vw, 62px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

.mhc-cart-empty-description {
  position: relative;
  z-index: 1;
  max-width: 625px;
  margin: 19px auto 0;
  color: var(--mhc-muted);
  font-size: 14px;
  font-weight: 450;
  line-height: 1.85;
}

.mhc-cart-empty-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 31px;
}

body.woocommerce-cart .mhc-cart-empty-shop-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 245px;
  min-height: 58px;
  padding: 0 24px !important;
  border: 1px solid var(--mhc-brown) !important;
  border-radius: 17px !important;
  background: var(--mhc-brown) !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 17px 36px rgba(129, 48, 3, 0.24) !important;
  transition: transform 0.22s ease, background-color 0.22s ease, box-shadow 0.22s ease !important;
}

body.woocommerce-cart .mhc-cart-empty-shop-button svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.22s ease;
}

body.woocommerce-cart .mhc-cart-empty-shop-button:hover {
  background: #682600 !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 21px 42px rgba(129, 48, 3, 0.3) !important;
}

body.woocommerce-cart .mhc-cart-empty-shop-button:hover svg {
  transform: translateX(4px);
}

.mhc-cart-empty-home-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 54px;
  padding: 0 17px;
  color: #222222 !important;
  font-size: 12.5px;
  font-weight: 650;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.mhc-cart-empty-home-link svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-cart-empty-home-link:hover {
  color: var(--mhc-brown) !important;
  transform: translateX(-2px);
}

.mhc-cart-empty-benefits {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin-top: 51px;
  padding-top: 26px;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
  text-align: left;
}

.mhc-cart-empty-benefit {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 0 22px;
}

.mhc-cart-empty-benefit + .mhc-cart-empty-benefit {
  border-left: 1px solid rgba(34, 34, 34, 0.08);
}

.mhc-cart-empty-benefit-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 39px;
  height: 39px;
  border-radius: 12px;
  background: rgba(129, 48, 3, 0.075);
  color: var(--mhc-brown);
}

.mhc-cart-empty-benefit-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-cart-empty-benefit > span:last-child {
  min-width: 0;
}

.mhc-cart-empty-benefit strong,
.mhc-cart-empty-benefit small {
  display: block;
}

.mhc-cart-empty-benefit strong {
  margin-bottom: 3px;
  color: #222222;
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.35;
}

.mhc-cart-empty-benefit small {
  color: var(--mhc-muted);
  font-size: 9.5px;
  font-weight: 450;
  line-height: 1.5;
}

/* Notification affichée après la suppression du dernier produit. */
body.woocommerce-cart .woocommerce-notices-wrapper:not(:empty) {
  width: min(920px, 100%);
  margin: 30px auto -31px;
}

body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  min-height: 58px;
  margin: 0 0 16px !important;
  padding: 14px 18px 14px 48px !important;
  border: 1px solid rgba(129, 48, 3, 0.13) !important;
  border-top: 1px solid rgba(129, 48, 3, 0.13) !important;
  border-radius: 15px !important;
  background: #fffaf6 !important;
  color: #333333 !important;
  font-size: 12px !important;
  font-weight: 550 !important;
  line-height: 1.5 !important;
  box-shadow: 0 11px 30px rgba(34, 34, 34, 0.055) !important;
}

body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message::before,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info::before,
body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error::before {
  top: 50% !important;
  left: 18px !important;
  color: var(--mhc-brown) !important;
  transform: translateY(-50%);
}

body.woocommerce-cart .woocommerce-notices-wrapper .restore-item,
body.woocommerce-cart .woocommerce-notices-wrapper .button {
  flex: 0 0 auto;
  margin: 0 !important;
  color: var(--mhc-brown) !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

@media (max-width: 820px) {
  .mhc-cart-empty-card {
    padding: 60px 38px 30px;
  }

  .mhc-cart-empty-benefits {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: left;
  }

  .mhc-cart-empty-benefit {
    padding: 0;
  }

  .mhc-cart-empty-benefit + .mhc-cart-empty-benefit {
    padding-top: 16px;
    border-top: 1px solid rgba(34, 34, 34, 0.07);
    border-left: 0;
  }
}

@media (max-width: 640px) {
  body.woocommerce-cart .woocommerce:has(.mhc-cart-empty-page) {
    width: min(100% - 20px, 560px);
  }

  .mhc-cart-empty-page {
    padding: 32px 0 66px;
  }

  .mhc-cart-empty-card {
    padding: 43px 20px 25px;
    border-radius: 22px;
  }

  .mhc-cart-empty-icon {
    width: 83px;
    height: 83px;
    margin-bottom: 20px;
    border-radius: 25px;
  }

  .mhc-cart-empty-icon::after {
    border-radius: 19px;
  }

  .mhc-cart-empty-icon svg {
    width: 46px;
    height: 46px;
  }

  .mhc-cart-empty-card h1 {
    font-size: 39px;
  }

  .mhc-cart-empty-description {
    margin-top: 16px;
    font-size: 12px;
    line-height: 1.75;
  }

  .mhc-cart-empty-actions {
    align-items: stretch;
    flex-direction: column;
    margin-top: 25px;
  }

  body.woocommerce-cart .mhc-cart-empty-shop-button,
  .mhc-cart-empty-home-link {
    width: 100%;
  }

  .mhc-cart-empty-benefits {
    margin-top: 34px;
    padding-top: 22px;
  }

  body.woocommerce-cart .woocommerce-notices-wrapper:not(:empty) {
    margin-top: 18px;
    margin-bottom: -18px;
  }

  body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-message,
  body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-info,
  body.woocommerce-cart .woocommerce-notices-wrapper .woocommerce-error {
    align-items: flex-start;
    flex-direction: column;
    padding-left: 44px !important;
  }
}

/* ==============================================================
   CHECKOUT MODERNE — MHC CERAMICA
============================================================== */
body.mhc-custom-checkout-active {
  background: #fbfaf8 !important;
}

body.mhc-custom-checkout-active .site-main,
body.mhc-custom-checkout-active main.site-main,
body.mhc-custom-checkout-active .content-area,
body.mhc-custom-checkout-active #content {
  background: #fbfaf8 !important;
}

body.mhc-custom-checkout-active .entry-header,
body.mhc-custom-checkout-active .page-header,
body.mhc-custom-checkout-active h1.entry-title {
  display: none !important;
}

body.mhc-custom-checkout-active .woocommerce {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  font-family: var(--mhc-font-body);
}

body.mhc-custom-checkout-active .woocommerce form.checkout {
  margin: 0 !important;
}

.mhc-checkout-page {
  width: min(100% - 44px, 1280px);
  margin: 0 auto;
  padding: 44px 0 88px;
}

/* En-tête et étapes */
.mhc-checkout-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 30px;
}

.mhc-checkout-hero-copy {
  max-width: 690px;
}

.mhc-checkout-kicker,
.mhc-checkout-panel-kicker {
  display: block;
  margin-bottom: 6px;
  color: var(--mhc-brown);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  line-height: 1.2;
  text-transform: uppercase;
}

.mhc-checkout-hero h1 {
  margin: 0 !important;
  color: #222222;
  font-family: var(--mhc-font-title);
  font-size: clamp(42px, 5vw, 64px);
  font-weight: 650;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.mhc-checkout-hero p {
  max-width: 650px;
  margin: 14px 0 0 !important;
  color: var(--mhc-muted);
  font-size: 13px;
  line-height: 1.75;
}

.mhc-checkout-steps {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 14px 18px;
  border: 1px solid rgba(34, 34, 34, 0.08);
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 12px 34px rgba(34, 34, 34, 0.055);
}

.mhc-checkout-step {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(34, 34, 34, 0.4);
  font-size: 10.5px;
  font-weight: 600;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
}

.mhc-checkout-step:hover {
  color: var(--mhc-brown);
}

.mhc-checkout-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(34, 34, 34, 0.11);
  border-radius: 50%;
  background: #ffffff;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
}

.mhc-checkout-step-number svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-checkout-step.is-complete,
.mhc-checkout-step.is-current {
  color: var(--mhc-brown);
}

.mhc-checkout-step.is-complete .mhc-checkout-step-number,
.mhc-checkout-step.is-current .mhc-checkout-step-number {
  border-color: var(--mhc-brown);
  background: var(--mhc-brown);
  color: #ffffff;
}

.mhc-checkout-step-line {
  width: 30px;
  height: 1px;
  margin: 0 10px;
  background: rgba(34, 34, 34, 0.12);
}

/* Grille principale */
.mhc-checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.24fr) minmax(390px, 0.76fr);
  align-items: start;
  gap: 28px;
}

.mhc-checkout-customer-column,
.mhc-checkout-summary-column {
  min-width: 0;
}

.mhc-checkout-summary-column {
  position: sticky;
  top: 28px;
}

.mhc-checkout-panel {
  overflow: hidden;
  border: 1px solid rgba(34, 34, 34, 0.085);
  border-radius: 25px;
  background: #ffffff;
  box-shadow: 0 18px 55px rgba(34, 34, 34, 0.065);
}

.mhc-checkout-panel-header,
.mhc-checkout-summary-header {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 25px 28px;
  border-bottom: 1px solid rgba(34, 34, 34, 0.075);
  background: linear-gradient(120deg, #ffffff 0%, #fffdfb 100%);
}

.mhc-checkout-panel-header > div,
.mhc-checkout-summary-header > div {
  min-width: 0;
}

.mhc-checkout-panel-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  background: #f5ebe5;
  color: var(--mhc-brown);
}

.mhc-checkout-panel-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-checkout-panel-header h2,
.mhc-checkout-summary-header h2 {
  margin: 0 !important;
  color: #222222;
  font-family: var(--mhc-font-title);
  font-size: 31px;
  font-weight: 650;
  line-height: 1;
  letter-spacing: -0.02em;
}

.mhc-checkout-panel-header p {
  margin: 5px 0 0 !important;
  color: var(--mhc-muted);
  font-size: 11px;
  line-height: 1.5;
}

.mhc-checkout-summary-header .mhc-checkout-edit-cart {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  margin-left: auto;
  padding: 0 13px;
  border: 1px solid rgba(129, 48, 3, 0.18);
  border-radius: 999px;
  color: var(--mhc-brown) !important;
  font-size: 10.5px;
  font-weight: 650;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.mhc-checkout-summary-header .mhc-checkout-edit-cart:hover {
  border-color: var(--mhc-brown);
  background: var(--mhc-brown);
  color: #ffffff !important;
}

/* Formulaire client */
.mhc-checkout-customer-details,
body.mhc-custom-checkout-active .woocommerce .col2-set.mhc-checkout-customer-details {
  display: block !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 28px !important;
}

body.mhc-custom-checkout-active .woocommerce .mhc-checkout-customer-details .col-1,
body.mhc-custom-checkout-active .woocommerce .mhc-checkout-customer-details .col-2 {
  float: none !important;
  width: 100% !important;
  margin: 0 !important;
}

.mhc-checkout-form-section-heading {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin: 0 0 22px;
}

.mhc-checkout-form-section-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 10px;
  background: var(--mhc-brown);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
}

.mhc-checkout-form-section-heading h3,
body.mhc-custom-checkout-active .woocommerce-billing-fields > h3,
body.mhc-custom-checkout-active .woocommerce-shipping-fields > h3,
body.mhc-custom-checkout-active .woocommerce-additional-fields > h3 {
  margin: 1px 0 0 !important;
  color: #222222;
  font-family: var(--mhc-font-body);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.mhc-checkout-form-section-heading p {
  margin: 4px 0 0 !important;
  color: var(--mhc-muted);
  font-size: 10.5px;
  line-height: 1.55;
}

.mhc-checkout-fields-grid,
body.mhc-custom-checkout-active .woocommerce-billing-fields__field-wrapper,
body.mhc-custom-checkout-active .woocommerce-shipping-fields__field-wrapper,
body.mhc-custom-checkout-active .woocommerce-additional-fields__field-wrapper {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 17px 16px;
}

body.mhc-custom-checkout-active .woocommerce form .form-row {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.mhc-custom-checkout-active .woocommerce form .form-row.form-row-wide,
body.mhc-custom-checkout-active .woocommerce form #billing_company_field,
body.mhc-custom-checkout-active .woocommerce form #billing_country_field,
body.mhc-custom-checkout-active .woocommerce form #billing_address_1_field,
body.mhc-custom-checkout-active .woocommerce form #billing_address_2_field,
body.mhc-custom-checkout-active .woocommerce form #billing_email_field,
body.mhc-custom-checkout-active .woocommerce form #shipping_company_field,
body.mhc-custom-checkout-active .woocommerce form #shipping_country_field,
body.mhc-custom-checkout-active .woocommerce form #shipping_address_1_field,
body.mhc-custom-checkout-active .woocommerce form #shipping_address_2_field,
body.mhc-custom-checkout-active .woocommerce form #order_comments_field {
  grid-column: 1 / -1;
}

body.mhc-custom-checkout-active .woocommerce form .form-row label {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 7px !important;
  color: #2a2927;
  font-size: 10.5px;
  font-weight: 650;
  line-height: 1.35;
}

body.mhc-custom-checkout-active .woocommerce form .form-row label .required {
  color: var(--mhc-brown);
  font-weight: 700;
  text-decoration: none;
}

body.mhc-custom-checkout-active .woocommerce form .form-row input.input-text,
body.mhc-custom-checkout-active .woocommerce form .form-row textarea,
body.mhc-custom-checkout-active .woocommerce form .form-row select,
body.mhc-custom-checkout-active .select2-container .select2-selection--single {
  width: 100% !important;
  min-height: 50px !important;
  margin: 0 !important;
  padding: 0 15px !important;
  border: 1px solid rgba(34, 34, 34, 0.12) !important;
  border-radius: 13px !important;
  background: #fbfbfa !important;
  color: #222222 !important;
  font-family: var(--mhc-font-body) !important;
  font-size: 11.5px !important;
  font-weight: 450 !important;
  line-height: 48px !important;
  outline: none !important;
  box-shadow: none !important;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.mhc-custom-checkout-active .woocommerce form .form-row textarea {
  min-height: 112px !important;
  padding-top: 13px !important;
  padding-bottom: 13px !important;
  line-height: 1.65 !important;
  resize: vertical;
}

body.mhc-custom-checkout-active .woocommerce form .form-row input.input-text::placeholder,
body.mhc-custom-checkout-active .woocommerce form .form-row textarea::placeholder {
  color: rgba(34, 34, 34, 0.37);
}

body.mhc-custom-checkout-active .woocommerce form .form-row input.input-text:focus,
body.mhc-custom-checkout-active .woocommerce form .form-row textarea:focus,
body.mhc-custom-checkout-active .woocommerce form .form-row select:focus,
body.mhc-custom-checkout-active .select2-container--open .select2-selection--single,
body.mhc-custom-checkout-active .select2-container--focus .select2-selection--single {
  border-color: rgba(129, 48, 3, 0.62) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(129, 48, 3, 0.07) !important;
}

body.mhc-custom-checkout-active .select2-container .select2-selection--single .select2-selection__rendered {
  padding: 0 28px 0 0 !important;
  color: #222222 !important;
  line-height: 48px !important;
}

body.mhc-custom-checkout-active .select2-container .select2-selection--single .select2-selection__arrow {
  top: 50% !important;
  right: 10px !important;
  transform: translateY(-50%);
}

body.mhc-custom-checkout-active .woocommerce form .form-row.woocommerce-invalid input.input-text,
body.mhc-custom-checkout-active .woocommerce form .form-row.woocommerce-invalid select,
body.mhc-custom-checkout-active .woocommerce form .form-row.woocommerce-invalid .select2-selection {
  border-color: #c44343 !important;
  box-shadow: 0 0 0 4px rgba(196, 67, 67, 0.07) !important;
}

body.mhc-custom-checkout-active .woocommerce form .form-row.woocommerce-validated input.input-text,
body.mhc-custom-checkout-active .woocommerce form .form-row.woocommerce-validated select,
body.mhc-custom-checkout-active .woocommerce form .form-row.woocommerce-validated .select2-selection {
  border-color: rgba(61, 133, 84, 0.45) !important;
}

body.mhc-custom-checkout-active .woocommerce form .form-row .woocommerce-input-wrapper {
  display: block;
  width: 100%;
}

body.mhc-custom-checkout-active .woocommerce-shipping-fields,
body.mhc-custom-checkout-active .woocommerce-additional-fields,
.mhc-checkout-account-fields {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(34, 34, 34, 0.08);
}

body.mhc-custom-checkout-active #ship-to-different-address {
  margin: 0 0 18px !important;
}

body.mhc-custom-checkout-active #ship-to-different-address label,
.mhc-checkout-checkbox-label {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  margin: 0 !important;
  color: #222222 !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  cursor: pointer;
}

body.mhc-custom-checkout-active input[type="checkbox"],
body.mhc-custom-checkout-active input[type="radio"] {
  accent-color: var(--mhc-brown);
}

body.mhc-custom-checkout-active #ship-to-different-address-checkbox,
.mhc-checkout-checkbox-label input {
  width: 18px !important;
  height: 18px !important;
  min-height: 0 !important;
  margin: 0 !important;
}

.mhc-checkout-help-card {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 18px;
  padding: 17px 20px;
  border: 1px solid rgba(129, 48, 3, 0.11);
  border-radius: 17px;
  background: #fffaf6;
}

.mhc-checkout-help-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(129, 48, 3, 0.09);
  color: var(--mhc-brown);
}

.mhc-checkout-help-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-checkout-help-card strong {
  display: block;
  color: #222222;
  font-size: 11px;
  font-weight: 700;
}

.mhc-checkout-help-card p {
  margin: 3px 0 0 !important;
  color: var(--mhc-muted);
  font-size: 9.8px;
  line-height: 1.5;
}

/* Produits et totaux */
.mhc-checkout-order-review {
  padding: 0 24px 24px;
}

body.mhc-custom-checkout-active .woocommerce .mhc-checkout-review-table {
  width: 100% !important;
  margin: 0 !important;
  border: 0 !important;
  border-collapse: separate !important;
  background: transparent !important;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table tbody,
body.mhc-custom-checkout-active .mhc-checkout-review-table tfoot {
  display: table-row-group;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table th,
body.mhc-custom-checkout-active .mhc-checkout-review-table td {
  border: 0 !important;
  background: transparent !important;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table tbody .mhc-checkout-product-row td {
  padding: 18px 0 !important;
  border-bottom: 1px solid rgba(34, 34, 34, 0.075) !important;
  vertical-align: middle !important;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table tbody .product-name {
  width: 74%;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table tbody .product-total {
  width: 26%;
  color: #222222;
  font-size: 12px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.mhc-checkout-product {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.mhc-checkout-product-image {
  position: relative;
  flex: 0 0 65px;
  width: 65px;
  height: 65px;
  overflow: visible;
  border: 1px solid rgba(34, 34, 34, 0.07);
  border-radius: 14px;
  background: #f6f5f3;
}

.mhc-checkout-product-image a {
  display: block;
  width: 100%;
  height: 100%;
}

.mhc-checkout-product-image img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  border-radius: 13px;
  object-fit: cover;
}

.mhc-checkout-product-quantity {
  position: absolute;
  top: -8px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: var(--mhc-brown);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  box-shadow: 0 5px 12px rgba(129, 48, 3, 0.22);
}

.mhc-checkout-product-info {
  min-width: 0;
}

.mhc-checkout-product-title,
.mhc-checkout-product-title a {
  display: block;
  overflow: hidden;
  color: #222222 !important;
  font-size: 11.5px;
  font-weight: 650;
  line-height: 1.45;
  text-decoration: none !important;
  text-overflow: ellipsis;
}

.mhc-checkout-product-title a:hover {
  color: var(--mhc-brown) !important;
}

.mhc-checkout-product-info .variation,
.mhc-checkout-product-info dl.variation {
  display: flex;
  flex-wrap: wrap;
  gap: 3px 6px;
  margin: 4px 0 0 !important;
  color: var(--mhc-muted);
  font-size: 8.8px;
  line-height: 1.4;
}

.mhc-checkout-product-info .variation dt,
.mhc-checkout-product-info .variation dd {
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.mhc-checkout-product-info .variation p {
  margin: 0 !important;
}

.mhc-checkout-product-unit-price {
  display: block;
  margin-top: 5px;
  color: rgba(34, 34, 34, 0.5);
  font-size: 8.8px;
  line-height: 1.4;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table tfoot tr th,
body.mhc-custom-checkout-active .mhc-checkout-review-table tfoot tr td {
  padding: 9px 0 !important;
  color: #222222;
  font-size: 10.5px;
  font-weight: 550;
  line-height: 1.45;
  vertical-align: top;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table tfoot tr:first-child th,
body.mhc-custom-checkout-active .mhc-checkout-review-table tfoot tr:first-child td {
  padding-top: 19px !important;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table tfoot tr td {
  text-align: right;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table .woocommerce-shipping-totals td {
  padding-left: 12px !important;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table ul#shipping_method {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table ul#shipping_method li {
  margin: 0 0 6px !important;
  padding: 0 !important;
  font-size: 9.5px;
  line-height: 1.45;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table .woocommerce-remove-coupon {
  display: inline-block;
  margin-left: 5px;
  color: #b83939 !important;
  font-size: 8.5px;
  font-weight: 600;
  text-decoration: none !important;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table .order-total th,
body.mhc-custom-checkout-active .mhc-checkout-review-table .order-total td {
  padding-top: 17px !important;
  border-top: 1px solid rgba(34, 34, 34, 0.11) !important;
  color: #222222;
  font-family: var(--mhc-font-title);
  font-size: 23px;
  font-weight: 650;
  line-height: 1.1;
}

body.mhc-custom-checkout-active .mhc-checkout-review-table .order-total td,
body.mhc-custom-checkout-active .mhc-checkout-review-table .order-total .amount {
  color: var(--mhc-brown);
  font-size: 24px;
  font-weight: 700;
}

/* Paiement */
.mhc-checkout-payment {
  margin-top: 20px !important;
  padding-top: 20px !important;
  border-top: 1px solid rgba(34, 34, 34, 0.09) !important;
  background: transparent !important;
}

.mhc-checkout-payment::before,
.mhc-checkout-payment::after {
  display: none !important;
}

.mhc-checkout-payment-heading {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 14px;
}

.mhc-checkout-payment-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: #f5ebe5;
  color: var(--mhc-brown);
}

.mhc-checkout-payment-heading-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-checkout-payment-heading strong,
.mhc-checkout-payment-heading span {
  display: block;
}

.mhc-checkout-payment-heading strong {
  color: #222222;
  font-size: 11.5px;
  font-weight: 700;
}

.mhc-checkout-payment-heading span {
  margin-top: 2px;
  color: var(--mhc-muted);
  font-size: 8.8px;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods {
  margin: 0 0 17px !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li.wc_payment_method {
  position: relative;
  margin: 0 0 9px !important;
  padding: 13px 14px !important;
  border: 1px solid rgba(34, 34, 34, 0.105);
  border-radius: 13px;
  background: #fbfbfa;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li.wc_payment_method.is-selected,
body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li.wc_payment_method:has(input:checked) {
  border-color: rgba(129, 48, 3, 0.42);
  background: #fffaf6;
  box-shadow: 0 0 0 3px rgba(129, 48, 3, 0.055);
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li input[type="radio"] {
  width: 17px !important;
  height: 17px !important;
  min-height: 0 !important;
  margin: 0 8px 0 0 !important;
  vertical-align: middle;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li > label {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 30px);
  margin: 0 !important;
  color: #222222 !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  cursor: pointer;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li > label img {
  width: auto !important;
  max-width: 72px !important;
  max-height: 24px !important;
  margin-left: 8px !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment div.payment_box {
  position: relative;
  width: 100% !important;
  margin: 11px 0 0 !important;
  padding: 11px 12px !important;
  border-radius: 10px;
  background: #ffffff !important;
  color: var(--mhc-muted) !important;
  font-size: 9px !important;
  line-height: 1.6 !important;
  box-shadow: none !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment div.payment_box::before {
  display: none !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment div.payment_box p {
  margin: 0 !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment .place-order {
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment .woocommerce-privacy-policy-text,
body.mhc-custom-checkout-active .woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper {
  margin: 0 0 14px !important;
  color: var(--mhc-muted);
  font-size: 8.8px;
  line-height: 1.65;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment .woocommerce-privacy-policy-text p,
body.mhc-custom-checkout-active .woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper p {
  margin: 0 0 7px !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment a {
  color: var(--mhc-brown) !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.mhc-custom-checkout-active #place_order.mhc-checkout-place-order {
  display: grid !important;
  grid-template-columns: 43px minmax(0, 1fr) 24px;
  align-items: center;
  width: 100% !important;
  min-height: 68px !important;
  margin: 0 !important;
  padding: 9px 15px 9px 10px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--mhc-brown) !important;
  color: #ffffff !important;
  font-family: var(--mhc-font-body) !important;
  text-align: left !important;
  text-transform: none !important;
  box-shadow: 0 16px 35px rgba(129, 48, 3, 0.23) !important;
  cursor: pointer;
  transition: background 0.22s ease, transform 0.22s ease, box-shadow 0.22s ease;
}

body.mhc-custom-checkout-active #place_order.mhc-checkout-place-order:hover {
  background: #6f2700 !important;
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(129, 48, 3, 0.3) !important;
}

body.mhc-custom-checkout-active #place_order.mhc-checkout-place-order:disabled,
body.mhc-custom-checkout-active #place_order.mhc-checkout-place-order.disabled {
  opacity: 0.55;
  cursor: wait;
  transform: none;
}

.mhc-checkout-place-order-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.14);
}

.mhc-checkout-place-order-icon svg,
.mhc-checkout-place-order-arrow svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-checkout-place-order-copy {
  display: block;
  min-width: 0;
  padding-left: 11px;
}

.mhc-checkout-place-order-copy strong,
.mhc-checkout-place-order-copy small {
  display: block;
}

.mhc-checkout-place-order-copy strong {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.mhc-checkout-place-order-copy small {
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.73);
  font-size: 8.5px;
  font-weight: 450;
  line-height: 1.35;
}

.mhc-checkout-place-order-arrow {
  display: inline-flex;
  justify-self: end;
  transition: transform 0.2s ease;
}

body.mhc-custom-checkout-active #place_order:hover .mhc-checkout-place-order-arrow {
  transform: translateX(3px);
}

.mhc-checkout-reassurance {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 13px;
}

.mhc-checkout-reassurance span {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 8px;
  border: 1px solid rgba(34, 34, 34, 0.075);
  border-radius: 10px;
  color: rgba(34, 34, 34, 0.61);
  font-size: 8px;
  font-weight: 550;
  text-align: center;
}

.mhc-checkout-reassurance svg {
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--mhc-brown);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Coupon et connexion au-dessus du checkout */
.mhc-checkout-coupon-toggle,
body.mhc-custom-checkout-active .woocommerce-form-login-toggle {
  width: min(100% - 44px, 1280px);
  margin: 26px auto -20px !important;
}

.mhc-checkout-coupon-toggle-inner,
body.mhc-custom-checkout-active .woocommerce-form-login-toggle .woocommerce-info {
  display: flex;
  align-items: center;
  gap: 13px;
  min-height: 66px;
  margin: 0 !important;
  padding: 12px 16px !important;
  border: 1px solid rgba(129, 48, 3, 0.12) !important;
  border-radius: 17px !important;
  background: #fffaf6 !important;
  color: #222222 !important;
  box-shadow: none !important;
}

.mhc-checkout-coupon-toggle-inner::before,
body.mhc-custom-checkout-active .woocommerce-form-login-toggle .woocommerce-info::before {
  display: none !important;
}

.mhc-checkout-coupon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(129, 48, 3, 0.09);
  color: var(--mhc-brown);
}

.mhc-checkout-coupon-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-checkout-coupon-toggle-inner > div {
  min-width: 0;
}

.mhc-checkout-coupon-toggle-inner strong,
.mhc-checkout-coupon-toggle-inner span {
  display: block;
}

.mhc-checkout-coupon-toggle-inner strong {
  font-size: 11px;
  font-weight: 700;
}

.mhc-checkout-coupon-toggle-inner span {
  margin-top: 2px;
  color: var(--mhc-muted);
  font-size: 9px;
}

.mhc-checkout-coupon-toggle-inner .showcoupon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-left: auto;
  padding: 0 15px;
  border: 1px solid rgba(129, 48, 3, 0.18);
  border-radius: 999px;
  color: var(--mhc-brown) !important;
  font-size: 9.5px;
  font-weight: 650;
  text-decoration: none !important;
  white-space: nowrap;
}

.mhc-checkout-coupon-toggle-inner .showcoupon:hover {
  border-color: var(--mhc-brown);
  background: var(--mhc-brown);
  color: #ffffff !important;
}

body.mhc-custom-checkout-active form.checkout_coupon.mhc-checkout-coupon-form,
body.mhc-custom-checkout-active form.woocommerce-form-login.login {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(100% - 44px, 1280px);
  margin: 10px auto -20px !important;
  padding: 14px 16px !important;
  border: 1px solid rgba(34, 34, 34, 0.09) !important;
  border-radius: 17px !important;
  background: #ffffff !important;
  box-shadow: 0 14px 35px rgba(34, 34, 34, 0.05);
}

body.mhc-custom-checkout-active form.checkout_coupon .form-row,
body.mhc-custom-checkout-active form.woocommerce-form-login.login .form-row {
  margin: 0 !important;
}

body.mhc-custom-checkout-active form.checkout_coupon input.input-text {
  min-height: 46px !important;
  border-radius: 12px !important;
}

body.mhc-custom-checkout-active form.checkout_coupon button,
body.mhc-custom-checkout-active form.woocommerce-form-login.login button {
  min-height: 46px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #222222 !important;
  color: #ffffff !important;
  font-size: 10.5px !important;
  font-weight: 650 !important;
  text-transform: none !important;
}

/* Messages et erreurs */
body.mhc-custom-checkout-active .woocommerce-NoticeGroup,
body.mhc-custom-checkout-active .woocommerce-notices-wrapper {
  width: min(100% - 44px, 1280px);
  margin: 0 auto;
}

body.mhc-custom-checkout-active .woocommerce-error,
body.mhc-custom-checkout-active .woocommerce-message,
body.mhc-custom-checkout-active .woocommerce-info {
  margin: 0 0 18px !important;
  padding: 15px 18px 15px 48px !important;
  border: 1px solid rgba(34, 34, 34, 0.09) !important;
  border-top: 0 !important;
  border-radius: 14px !important;
  background: #ffffff !important;
  color: #222222 !important;
  font-size: 10.5px !important;
  line-height: 1.6 !important;
  box-shadow: 0 12px 30px rgba(34, 34, 34, 0.045);
}

body.mhc-custom-checkout-active .woocommerce-error {
  border-color: rgba(184, 57, 57, 0.18) !important;
  background: #fffafa !important;
}

body.mhc-custom-checkout-active .woocommerce-error::before {
  color: #b83939 !important;
}

/* État de traitement AJAX */
body.mhc-custom-checkout-active form.checkout.processing .mhc-checkout-summary-panel {
  position: relative;
}

body.mhc-custom-checkout-active form.checkout.processing .mhc-checkout-summary-panel::after {
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
  content: "";
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.65);
  cursor: wait;
}

/* Responsive */
@media (max-width: 1100px) {
  .mhc-checkout-layout {
    grid-template-columns: minmax(0, 1fr) minmax(350px, 0.82fr);
    gap: 22px;
  }

  .mhc-checkout-page {
    width: min(100% - 32px, 1040px);
  }

  .mhc-checkout-panel-header,
  .mhc-checkout-summary-header,
  .mhc-checkout-customer-details,
  body.mhc-custom-checkout-active .woocommerce .col2-set.mhc-checkout-customer-details {
    padding-right: 22px !important;
    padding-left: 22px !important;
  }

  .mhc-checkout-order-review {
    padding-right: 20px;
    padding-left: 20px;
  }

  .mhc-checkout-steps {
    display: none;
  }
}

@media (max-width: 860px) {
  .mhc-checkout-page {
    width: min(100% - 28px, 760px);
    padding-top: 32px;
  }

  .mhc-checkout-hero {
    display: block;
  }

  .mhc-checkout-layout {
    grid-template-columns: 1fr;
  }

  .mhc-checkout-summary-column {
    position: static;
  }

  .mhc-checkout-summary-panel {
    display: flex;
    flex-direction: column;
  }

  .mhc-checkout-summary-header {
    order: 0;
  }

  .mhc-checkout-order-review {
    order: 1;
  }

  .mhc-checkout-coupon-toggle,
  body.mhc-custom-checkout-active .woocommerce-form-login-toggle,
  body.mhc-custom-checkout-active form.checkout_coupon.mhc-checkout-coupon-form,
  body.mhc-custom-checkout-active form.woocommerce-form-login.login,
  body.mhc-custom-checkout-active .woocommerce-NoticeGroup,
  body.mhc-custom-checkout-active .woocommerce-notices-wrapper {
    width: min(100% - 28px, 760px);
  }
}

@media (max-width: 620px) {
  .mhc-checkout-page {
    width: min(100% - 18px, 580px);
    padding: 25px 0 60px;
  }

  .mhc-checkout-hero {
    margin-bottom: 21px;
  }

  .mhc-checkout-hero h1 {
    font-size: 39px;
  }

  .mhc-checkout-hero p {
    margin-top: 10px !important;
    font-size: 11px;
  }

  .mhc-checkout-panel {
    border-radius: 19px;
  }

  .mhc-checkout-panel-header,
  .mhc-checkout-summary-header {
    gap: 12px;
    padding: 19px 16px !important;
  }

  .mhc-checkout-panel-icon {
    flex-basis: 41px;
    width: 41px;
    height: 41px;
    border-radius: 12px;
  }

  .mhc-checkout-panel-header h2,
  .mhc-checkout-summary-header h2 {
    font-size: 25px;
  }

  .mhc-checkout-panel-header p {
    display: none;
  }

  .mhc-checkout-customer-details,
  body.mhc-custom-checkout-active .woocommerce .col2-set.mhc-checkout-customer-details {
    padding: 20px 16px !important;
  }

  .mhc-checkout-fields-grid,
  body.mhc-custom-checkout-active .woocommerce-billing-fields__field-wrapper,
  body.mhc-custom-checkout-active .woocommerce-shipping-fields__field-wrapper,
  body.mhc-custom-checkout-active .woocommerce-additional-fields__field-wrapper {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.mhc-custom-checkout-active .woocommerce form .form-row,
  body.mhc-custom-checkout-active .woocommerce form .form-row.form-row-first,
  body.mhc-custom-checkout-active .woocommerce form .form-row.form-row-last {
    grid-column: 1 / -1;
  }

  body.mhc-custom-checkout-active .woocommerce form .form-row input.input-text,
  body.mhc-custom-checkout-active .woocommerce form .form-row select,
  body.mhc-custom-checkout-active .select2-container .select2-selection--single {
    min-height: 48px !important;
  }

  .mhc-checkout-order-review {
    padding: 0 15px 18px;
  }

  .mhc-checkout-product-image {
    flex-basis: 56px;
    width: 56px;
    height: 56px;
  }

  .mhc-checkout-product-title,
  .mhc-checkout-product-title a {
    font-size: 10.5px;
  }

  body.mhc-custom-checkout-active .mhc-checkout-review-table tbody .product-name {
    width: 70%;
  }

  body.mhc-custom-checkout-active .mhc-checkout-review-table tbody .product-total {
    width: 30%;
    font-size: 10.5px;
  }

  body.mhc-custom-checkout-active .mhc-checkout-review-table .order-total th,
  body.mhc-custom-checkout-active .mhc-checkout-review-table .order-total td,
  body.mhc-custom-checkout-active .mhc-checkout-review-table .order-total .amount {
    font-size: 20px;
  }

  .mhc-checkout-summary-header .mhc-checkout-edit-cart {
    min-height: 30px;
    padding: 0 10px;
    font-size: 9px;
  }

  .mhc-checkout-help-card {
    margin-top: 12px;
  }

  .mhc-checkout-coupon-toggle,
  body.mhc-custom-checkout-active .woocommerce-form-login-toggle,
  body.mhc-custom-checkout-active form.checkout_coupon.mhc-checkout-coupon-form,
  body.mhc-custom-checkout-active form.woocommerce-form-login.login,
  body.mhc-custom-checkout-active .woocommerce-NoticeGroup,
  body.mhc-custom-checkout-active .woocommerce-notices-wrapper {
    width: min(100% - 18px, 580px);
  }

  .mhc-checkout-coupon-toggle,
  body.mhc-custom-checkout-active .woocommerce-form-login-toggle {
    margin-top: 17px !important;
    margin-bottom: -12px !important;
  }

  .mhc-checkout-coupon-toggle-inner {
    gap: 10px;
    min-height: 58px;
    padding: 10px 12px !important;
  }

  .mhc-checkout-coupon-toggle-inner span {
    display: none;
  }

  .mhc-checkout-coupon-toggle-inner .showcoupon {
    min-height: 34px;
    padding: 0 11px;
    font-size: 8.5px;
  }

  body.mhc-custom-checkout-active form.checkout_coupon.mhc-checkout-coupon-form,
  body.mhc-custom-checkout-active form.woocommerce-form-login.login {
    grid-template-columns: 1fr;
    margin-bottom: -12px !important;
  }

  body.mhc-custom-checkout-active form.checkout_coupon button,
  body.mhc-custom-checkout-active form.woocommerce-form-login.login button {
    width: 100% !important;
  }

  .mhc-checkout-reassurance {
    grid-template-columns: 1fr;
  }
}


/* ==============================================================
   CHECKOUT — AJUSTEMENTS COUPON / PAIEMENT / BOUTON FINAL
============================================================== */

/* Le coupon natif supérieur ne doit jamais apparaître sur ce checkout. */
body.mhc-custom-checkout-active > .woocommerce-form-coupon-toggle,
body.mhc-custom-checkout-active .woocommerce > .woocommerce-form-coupon-toggle,
body.mhc-custom-checkout-active form.checkout_coupon.mhc-checkout-coupon-form {
  display: none !important;
}

/* Coupon facultatif intégré au panneau de droite. */
.mhc-checkout-inline-coupon {
  margin: 0 30px 22px;
  padding: 15px;
  border: 1px dashed rgba(129, 48, 3, 0.24);
  border-radius: 15px;
  background: #fffaf6;
}

.mhc-checkout-inline-coupon-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.mhc-checkout-inline-coupon-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  border-radius: 11px;
  background: rgba(129, 48, 3, 0.09);
  color: var(--mhc-brown);
}

.mhc-checkout-inline-coupon-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-checkout-inline-coupon-heading strong,
.mhc-checkout-inline-coupon-heading span {
  display: block;
}

.mhc-checkout-inline-coupon-heading strong {
  color: #222222;
  font-size: 11px;
  font-weight: 700;
}

.mhc-checkout-inline-coupon-heading span {
  margin-top: 2px;
  color: var(--mhc-muted);
  font-size: 8.8px;
  line-height: 1.45;
}

.mhc-checkout-inline-coupon-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 9px;
}

body.mhc-custom-checkout-active .mhc-checkout-inline-coupon input.input-text {
  width: 100% !important;
  min-width: 0;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 13px !important;
  border: 1px solid rgba(34, 34, 34, 0.12) !important;
  border-radius: 11px !important;
  background: #ffffff !important;
  color: #222222 !important;
  font-size: 10px !important;
  box-shadow: none !important;
}

body.mhc-custom-checkout-active .mhc-checkout-inline-coupon input.input-text:focus {
  border-color: rgba(129, 48, 3, 0.48) !important;
  outline: 0 !important;
  box-shadow: 0 0 0 3px rgba(129, 48, 3, 0.07) !important;
}

body.mhc-custom-checkout-active .mhc-checkout-inline-coupon-button {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-width: 88px;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 0 16px !important;
  border: 0 !important;
  border-radius: 11px !important;
  background: #222222 !important;
  color: #ffffff !important;
  font-family: var(--mhc-font-body) !important;
  font-size: 9.5px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  text-transform: none !important;
  box-shadow: none !important;
}

body.mhc-custom-checkout-active .mhc-checkout-inline-coupon-button:hover {
  background: var(--mhc-brown) !important;
}

body.mhc-custom-checkout-active .mhc-checkout-inline-coupon-button:disabled {
  opacity: 0.7;
  cursor: wait;
}

.mhc-checkout-inline-coupon-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: mhc-checkout-coupon-spin 0.7s linear infinite;
}

.mhc-checkout-inline-coupon.is-loading .mhc-checkout-inline-coupon-button-label {
  display: none;
}

.mhc-checkout-inline-coupon.is-loading .mhc-checkout-inline-coupon-spinner {
  display: block;
}

@keyframes mhc-checkout-coupon-spin {
  to { transform: rotate(360deg); }
}

.mhc-checkout-inline-coupon-status {
  display: none;
  margin-top: 9px;
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 8.8px;
  line-height: 1.45;
}

.mhc-checkout-inline-coupon-status.is-visible {
  display: block;
}

.mhc-checkout-inline-coupon-status.is-success {
  background: #eef8f1;
  color: #28663b;
}

.mhc-checkout-inline-coupon-status.is-error {
  background: #fff0f0;
  color: #a33131;
}

/* Le titre paiement reste visuellement lié au cadre situé juste dessous. */
.mhc-checkout-payment-heading {
  margin-bottom: 8px;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods {
  margin-top: 0 !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li.mhc-checkout-no-payment {
  margin: 0 0 15px !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
}

body.mhc-custom-checkout-active .mhc-checkout-no-payment .woocommerce-info {
  margin: 0 !important;
  padding: 14px 15px !important;
  border: 1px solid rgba(34, 34, 34, 0.105) !important;
  border-radius: 13px !important;
  background: #fbfbfa !important;
  font-size: 9.7px !important;
  line-height: 1.65 !important;
  box-shadow: none !important;
}

body.mhc-custom-checkout-active .mhc-checkout-no-payment .woocommerce-info::before {
  display: none !important;
}

/* Évite tout chevauchement entre confidentialité et bouton final. */
body.mhc-custom-checkout-active .woocommerce-checkout-payment .woocommerce-privacy-policy-text,
body.mhc-custom-checkout-active .woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper {
  display: block !important;
  clear: both !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 0 18px !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment .woocommerce-privacy-policy-text p,
body.mhc-custom-checkout-active .woocommerce-checkout-payment .woocommerce-terms-and-conditions-wrapper p {
  margin: 0 !important;
}

body.mhc-custom-checkout-active #place_order.mhc-checkout-place-order {
  position: relative !important;
  float: none !important;
  clear: both !important;
  margin: 4px 0 0 !important;
}

.mhc-checkout-reassurance {
  clear: both;
}

@media (max-width: 760px) {
  .mhc-checkout-inline-coupon {
    margin: 0 20px 18px;
    padding: 13px;
  }

  .mhc-checkout-inline-coupon-fields {
    grid-template-columns: 1fr;
  }

  body.mhc-custom-checkout-active .mhc-checkout-inline-coupon-button {
    width: 100% !important;
  }
}


/* =========================================================
   CHECKOUT — ICÔNES CENTRÉES ET BOUTON DE COMMANDE RENFORCÉ
   ========================================================= */

/* Les styles globaux d'Elementor/WooCommerce peuvent donner aux SVG une
   taille intrinsèque et les pousser dans un coin. On verrouille leur boîte. */
.mhc-checkout-inline-coupon-icon,
.mhc-checkout-payment-heading-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  overflow: hidden !important;
  line-height: 0 !important;
}

.mhc-checkout-inline-coupon-icon svg,
.mhc-checkout-payment-heading-icon svg {
  display: block !important;
  flex: 0 0 auto !important;
  width: 19px !important;
  height: 19px !important;
  min-width: 19px !important;
  min-height: 19px !important;
  max-width: 19px !important;
  max-height: 19px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
  inset: auto !important;
  vertical-align: middle !important;
}

/* Les icônes restent proches du titre, sans être collées au bord de la carte. */
.mhc-checkout-inline-coupon-heading {
  align-items: center !important;
  gap: 9px !important;
  padding-left: 2px;
}

.mhc-checkout-inline-coupon-icon {
  flex-basis: 38px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 11px !important;
}

.mhc-checkout-payment-heading {
  align-items: center !important;
  gap: 9px !important;
  margin: 0 0 5px !important;
  padding: 0 2px !important;
}

.mhc-checkout-payment-heading-icon {
  flex: 0 0 38px !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 11px !important;
}

/* Bouton robuste : conserve l'icône même quand WooCommerce recrée le paiement. */
body.mhc-custom-checkout-active #place_order.mhc-checkout-place-order {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) 24px !important;
  align-items: center !important;
  gap: 0 !important;
  min-height: 72px !important;
  padding: 10px 16px 10px 10px !important;
  text-align: left !important;
}

body.mhc-custom-checkout-active #place_order .mhc-checkout-place-order-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 46px !important;
  height: 46px !important;
  margin: 0 !important;
  border-radius: 13px !important;
  background: rgba(255, 255, 255, 0.16) !important;
  line-height: 0 !important;
}

body.mhc-custom-checkout-active #place_order .mhc-checkout-place-order-icon svg,
body.mhc-custom-checkout-active #place_order .mhc-checkout-place-order-arrow svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  position: static !important;
  transform: none !important;
}

body.mhc-custom-checkout-active #place_order .mhc-checkout-place-order-copy {
  display: block !important;
  min-width: 0 !important;
  padding: 0 10px 0 13px !important;
}

body.mhc-custom-checkout-active #place_order .mhc-checkout-place-order-copy strong {
  display: block !important;
  color: #ffffff !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.25 !important;
}

body.mhc-custom-checkout-active #place_order .mhc-checkout-place-order-copy small {
  display: block !important;
  margin-top: 3px !important;
  color: rgba(255, 255, 255, 0.76) !important;
  font-size: 8.7px !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;
}

body.mhc-custom-checkout-active #place_order .mhc-checkout-place-order-arrow {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  justify-self: end !important;
  line-height: 0 !important;
}

@media (max-width: 480px) {
  body.mhc-custom-checkout-active #place_order.mhc-checkout-place-order {
    grid-template-columns: 42px minmax(0, 1fr) 20px !important;
    min-height: 66px !important;
    padding: 8px 13px 8px 8px !important;
  }

  body.mhc-custom-checkout-active #place_order .mhc-checkout-place-order-icon {
    width: 42px !important;
    height: 42px !important;
  }

  body.mhc-custom-checkout-active #place_order .mhc-checkout-place-order-copy {
    padding-left: 10px !important;
  }
}

/* =========================================================
   CHECKOUT — OPTION PAIEMENT À LA LIVRAISON
   ========================================================= */

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li > label {
  justify-content: flex-start !important;
  gap: 10px !important;
}

body.mhc-custom-checkout-active .mhc-payment-method-label-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body.mhc-custom-checkout-active .mhc-payment-method-title {
  color: #222222;
  font-size: 10.5px;
  font-weight: 700;
  line-height: 1.3;
}

body.mhc-custom-checkout-active .mhc-payment-method-provider-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

body.mhc-custom-checkout-active .mhc-payment-method-delivery-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f5ebe5;
  color: var(--mhc-brown);
  line-height: 0;
}

body.mhc-custom-checkout-active .mhc-payment-method-delivery-icon svg {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  min-height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  margin: 0 !important;
  padding: 0 !important;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li.mhc-payment-method-delivery {
  padding: 12px 14px !important;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li.mhc-payment-method-delivery > input[type="radio"] {
  align-self: center;
}

body.mhc-custom-checkout-active .woocommerce-checkout-payment ul.payment_methods li.mhc-payment-method-delivery div.payment_box {
  margin-top: 12px !important;
  padding: 12px 14px !important;
  background: #ffffff !important;
  color: #6f6f6f !important;
  font-size: 9.4px !important;
}

@media (max-width: 560px) {
  body.mhc-custom-checkout-active .mhc-payment-method-delivery-icon {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }

  body.mhc-custom-checkout-active .mhc-payment-method-delivery-icon svg {
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
  }
}

/* =========================================================
   COMMANDE — RÉVISION, PAIEMENT ET CONFIRMATION
   ========================================================= */

body.mhc-order-pay-active .entry-title,
body.mhc-order-received-active .entry-title,
body.mhc-order-pay-active .page-title,
body.mhc-order-received-active .page-title {
  display: none !important;
}

.mhc-order-confirmation,
.mhc-pay-order-page,
.mhc-order-confirmation *,
.mhc-pay-order-page * {
  box-sizing: border-box;
}

.mhc-order-confirmation,
.mhc-pay-order-page {
  width: min(1180px, calc(100% - 40px));
  margin: 42px auto 80px;
  color: #202020;
}

.mhc-order-confirmation svg,
.mhc-pay-order-page svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-order-status-card,
.mhc-order-overview-card,
.mhc-order-details-card,
.mhc-order-customer-card,
.mhc-pay-order-header,
.mhc-pay-order-products,
.mhc-pay-order-summary-inner {
  border: 1px solid #e9e4e0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(36, 27, 21, 0.07);
}

.mhc-order-status-card {
  position: relative;
  overflow: hidden;
  padding: 48px 42px 36px;
  text-align: center;
}

.mhc-order-status-card::before {
  content: "";
  position: absolute;
  top: -130px;
  left: 50%;
  width: 340px;
  height: 260px;
  border-radius: 50%;
  background: rgba(129, 48, 3, 0.055);
  transform: translateX(-50%);
  pointer-events: none;
}

.mhc-order-status-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 76px;
  height: 76px;
  margin-bottom: 20px;
  border-radius: 24px;
  background: #f4eae4;
  color: var(--mhc-brown);
}

.mhc-order-status-icon svg {
  width: 37px;
  height: 37px;
  stroke-width: 1.8;
}

.mhc-order-status-card--failed .mhc-order-status-icon {
  background: #fff0ef;
  color: #b2322d;
}

.mhc-order-eyebrow,
.mhc-order-section-heading > div > span,
.mhc-pay-order-header > div > span {
  display: block;
  margin-bottom: 5px;
  color: var(--mhc-brown);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.mhc-order-status-card h1,
.mhc-pay-order-header h1 {
  margin: 0;
  color: #1f1c1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  line-height: 1.08;
}

.mhc-order-status-card > p,
.mhc-pay-order-header p {
  max-width: 690px;
  margin: 15px auto 0;
  color: #77716d;
  font-size: 15px;
  line-height: 1.75;
}

.mhc-order-progress {
  display: grid;
  grid-template-columns: auto minmax(38px, 1fr) auto minmax(38px, 1fr) auto;
  align-items: center;
  width: min(720px, 100%);
  margin: 34px auto 0;
}

.mhc-order-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: #a49e9a;
  font-size: 11px;
}

.mhc-order-progress-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid #e4dfdb;
  border-radius: 14px;
  background: #fff;
}

.mhc-order-progress-step > span svg {
  width: 20px;
  height: 20px;
}

.mhc-order-progress-step.is-active {
  color: var(--mhc-brown);
}

.mhc-order-progress-step.is-active > span {
  border-color: rgba(129, 48, 3, 0.18);
  background: #f5ebe5;
}

.mhc-order-progress > i {
  height: 1px;
  margin: 0 12px 25px;
  background: #e4dfdb;
}

.mhc-order-overview-card,
.mhc-order-details-card,
.mhc-order-customer-card {
  margin-top: 24px;
  padding: 30px;
}

.mhc-order-section-heading,
.mhc-pay-order-header {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mhc-order-heading-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 54px;
  width: 54px;
  height: 54px;
  border-radius: 17px;
  background: #f5ebe5;
  color: var(--mhc-brown);
}

.mhc-order-heading-icon svg {
  width: 24px;
  height: 24px;
}

.mhc-order-section-heading h2,
.mhc-pay-order-products h2,
.mhc-pay-order-summary h2 {
  margin: 0;
  color: #211e1c;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(25px, 3vw, 34px);
  font-weight: 500;
  line-height: 1.12;
}

.mhc-order-overview-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
}

.mhc-order-overview-item {
  min-width: 0;
  padding: 18px;
  border: 1px solid #ece7e3;
  border-radius: 17px;
  background: #fcfaf9;
}

.mhc-order-overview-item span {
  display: block;
  margin-bottom: 7px;
  color: #98918d;
  font-size: 11px;
  font-weight: 650;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.mhc-order-overview-item strong {
  display: block;
  overflow-wrap: anywhere;
  color: #272321;
  font-size: 14px;
  line-height: 1.45;
}

.mhc-order-overview-actions,
.mhc-order-status-actions,
.mhc-order-detail-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.mhc-order-primary-button,
.mhc-order-secondary-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-height: 50px !important;
  padding: 13px 22px !important;
  border-radius: 15px !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.2 !important;
  text-decoration: none !important;
  box-shadow: none !important;
}

.mhc-order-primary-button {
  border: 1px solid var(--mhc-brown) !important;
  background: var(--mhc-brown) !important;
  color: #fff !important;
}

.mhc-order-secondary-button {
  border: 1px solid #ded7d2 !important;
  background: #fff !important;
  color: #282321 !important;
}

.mhc-order-primary-button > span {
  display: inline-flex;
  width: 20px;
  height: 20px;
}

.mhc-order-primary-button:hover {
  border-color: #642502 !important;
  background: #642502 !important;
  color: #fff !important;
}

.mhc-order-secondary-button:hover {
  border-color: var(--mhc-brown) !important;
  color: var(--mhc-brown) !important;
}

.mhc-order-product-list {
  display: grid;
  gap: 0;
  margin-top: 26px;
}

.mhc-order-product-card {
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid #eee9e5;
}

.mhc-order-product-card:first-child {
  padding-top: 0;
}

.mhc-order-product-card:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.mhc-order-product-image {
  position: relative;
  width: 82px;
  height: 82px;
}

.mhc-order-product-image a,
.mhc-order-product-image img {
  display: block;
  width: 100%;
  height: 100%;
}

.mhc-order-product-image img {
  border-radius: 16px;
  object-fit: cover;
  background: #f5f3f2;
}

.mhc-order-product-image > span {
  position: absolute;
  top: -8px;
  right: -8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 25px;
  height: 25px;
  padding: 0 7px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: var(--mhc-brown);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  box-shadow: 0 5px 14px rgba(129, 48, 3, 0.2);
}

.mhc-order-product-copy {
  min-width: 0;
}

.mhc-order-product-copy h3 {
  margin: 0;
  color: #25211f;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.4;
}

.mhc-order-product-copy h3 a {
  color: inherit;
  text-decoration: none;
}

.mhc-order-product-meta,
.mhc-order-product-meta p,
.mhc-order-product-meta dl,
.mhc-order-product-meta ul {
  margin: 4px 0 0;
  color: #918a86;
  font-size: 11px;
  line-height: 1.5;
}

.mhc-order-product-meta dt,
.mhc-order-product-meta dd {
  display: inline;
  float: none;
  margin: 0 4px 0 0;
}

.mhc-order-product-quantity-text {
  display: block;
  margin-top: 5px;
  color: #8d8682;
  font-size: 11px;
}

.mhc-order-product-total {
  color: var(--mhc-brown);
  font-size: 15px;
  white-space: nowrap;
}

.mhc-order-purchase-note {
  margin: 8px 0 0;
  color: #6f6965;
  font-size: 11px;
}

.mhc-order-totals {
  margin-top: 28px;
  padding: 20px;
  border-radius: 18px;
  background: #fbf8f6;
}

.mhc-order-total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 0;
  border-bottom: 1px solid #eae4e0;
  color: #5f5955;
  font-size: 13px;
}

.mhc-order-total-row:first-child {
  padding-top: 0;
}

.mhc-order-total-row:last-child {
  border-bottom: 0;
}

.mhc-order-total-row strong {
  color: #2c2724;
  text-align: right;
}

.mhc-order-total-row.is-grand-total {
  margin-top: 4px;
  padding-top: 17px;
  color: #27221f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 22px;
}

.mhc-order-total-row.is-grand-total strong {
  color: var(--mhc-brown);
  font-size: 26px;
}

.mhc-order-customer-note {
  display: flex;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e8e1dd;
}

.mhc-order-customer-note > span {
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: var(--mhc-brown);
}

.mhc-order-customer-note > span svg {
  width: 22px;
  height: 22px;
}

.mhc-order-customer-note strong {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.mhc-order-customer-note p {
  margin: 0;
  color: #77706c;
  font-size: 12px;
  line-height: 1.6;
}

.mhc-order-address-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 25px;
}

.mhc-order-address-grid.has-shipping {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mhc-order-address-card {
  padding: 20px;
  border: 1px solid #ebe5e1;
  border-radius: 18px;
  background: #fcfaf9;
}

.mhc-order-address-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.mhc-order-address-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 11px;
  background: #f3e7e0;
  color: var(--mhc-brown);
}

.mhc-order-address-title > span svg {
  width: 18px;
  height: 18px;
}

.mhc-order-address-title h3 {
  margin: 0;
  color: #262220;
  font-size: 13px;
  font-weight: 750;
}

.mhc-order-address-card address {
  margin: 0;
  color: #6f6864;
  font-size: 12px;
  font-style: normal;
  line-height: 1.75;
}

.mhc-order-contact-line {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 11px 0 0;
  color: #4f4946;
  font-size: 12px;
}

.mhc-order-contact-line > span {
  display: inline-flex;
  width: 17px;
  height: 17px;
  color: var(--mhc-brown);
}

/* Révision et paiement d'une commande existante. */
.mhc-pay-order-header {
  padding: 28px 30px;
}

.mhc-pay-order-header > div {
  min-width: 0;
}

.mhc-pay-order-header h1 {
  font-size: clamp(30px, 4vw, 43px);
}

.mhc-pay-order-header p {
  max-width: none;
  margin: 8px 0 0;
  font-size: 13px;
}

.mhc-pay-order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr);
  gap: 24px;
  align-items: start;
  margin-top: 24px;
}

.mhc-pay-order-products,
.mhc-pay-order-summary-inner {
  padding: 28px;
}

.mhc-pay-order-summary-inner {
  position: sticky;
  top: 28px;
}

.mhc-pay-order-summary .mhc-order-totals {
  margin-top: 24px;
}

.mhc-pay-order-payment {
  margin-top: 20px;
}

.mhc-pay-order-payment-title {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 12px;
}

.mhc-pay-order-payment-title > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: #f4e9e3;
  color: var(--mhc-brown);
}

.mhc-pay-order-payment-title > span svg {
  width: 20px;
  height: 20px;
}

.mhc-pay-order-payment-title strong,
.mhc-pay-order-payment-title small {
  display: block;
}

.mhc-pay-order-payment-title strong {
  color: #262220;
  font-size: 13px;
}

.mhc-pay-order-payment-title small {
  margin-top: 3px;
  color: #96908c;
  font-size: 10px;
}

body.mhc-order-pay-active .mhc-pay-order-payment ul.payment_methods {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.mhc-order-pay-active .mhc-pay-order-payment ul.payment_methods > li {
  margin: 0 0 10px !important;
  padding: 13px !important;
  border: 1px solid #e5ded9 !important;
  border-radius: 16px !important;
  background: #fcfaf8 !important;
}

body.mhc-order-pay-active .mhc-pay-order-payment ul.payment_methods > li:last-child {
  margin-bottom: 0 !important;
}

body.mhc-order-pay-active .mhc-pay-order-payment .payment_box {
  margin: 12px 0 0 !important;
  padding: 12px !important;
  border-radius: 12px !important;
  background: #fff !important;
  color: #706a66 !important;
  font-size: 11px !important;
}

body.mhc-order-pay-active .mhc-pay-order-payment .payment_box::before {
  display: none !important;
}

body.mhc-order-pay-active .mhc-pay-order-payment .form-row {
  margin: 18px 0 0 !important;
  padding: 0 !important;
}

.mhc-pay-order-button {
  display: grid !important;
  grid-template-columns: 46px minmax(0, 1fr) 24px !important;
  align-items: center !important;
  width: 100% !important;
  min-height: 72px !important;
  margin: 18px 0 0 !important;
  padding: 10px 16px 10px 10px !important;
  border: 0 !important;
  border-radius: 18px !important;
  background: var(--mhc-brown) !important;
  color: #fff !important;
  text-align: left !important;
  box-shadow: 0 15px 28px rgba(129, 48, 3, 0.18) !important;
}

.mhc-pay-order-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(255,255,255,.15);
}

.mhc-pay-order-button-icon svg,
.mhc-pay-order-button-arrow svg {
  width: 20px;
  height: 20px;
}

.mhc-pay-order-button-copy {
  display: block;
  min-width: 0;
  padding: 0 12px;
}

.mhc-pay-order-button-copy strong,
.mhc-pay-order-button-copy small {
  display: block;
  color: #fff;
}

.mhc-pay-order-button-copy strong {
  font-size: 14px;
  font-weight: 800;
}

.mhc-pay-order-button-copy small {
  margin-top: 3px;
  color: rgba(255,255,255,.74);
  font-size: 9px;
}

.mhc-pay-order-button-arrow {
  display: inline-flex;
  justify-self: end;
}

.mhc-pay-order-button:hover {
  background: #642502 !important;
}

/* Neutralise les tables et encadrés WooCommerce qui pourraient rester injectés. */
body.mhc-order-received-active .woocommerce-order-overview,
body.mhc-order-received-active .woocommerce-order-details table.shop_table,
body.mhc-order-received-active .woocommerce-customer-details .woocommerce-columns {
  margin: 0 !important;
}

@media (max-width: 900px) {
  .mhc-order-overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mhc-pay-order-layout {
    grid-template-columns: 1fr;
  }

  .mhc-pay-order-summary-inner {
    position: static;
  }
}

@media (max-width: 680px) {
  .mhc-order-confirmation,
  .mhc-pay-order-page {
    width: min(100% - 24px, 1180px);
    margin-top: 24px;
    margin-bottom: 55px;
  }

  .mhc-order-status-card,
  .mhc-order-overview-card,
  .mhc-order-details-card,
  .mhc-order-customer-card,
  .mhc-pay-order-header,
  .mhc-pay-order-products,
  .mhc-pay-order-summary-inner {
    border-radius: 21px;
  }

  .mhc-order-status-card {
    padding: 34px 18px 26px;
  }

  .mhc-order-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .mhc-order-progress {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 8px;
  }

  .mhc-order-progress > i {
    display: none;
  }

  .mhc-order-progress-step strong {
    font-size: 9px;
  }

  .mhc-order-overview-card,
  .mhc-order-details-card,
  .mhc-order-customer-card,
  .mhc-pay-order-header,
  .mhc-pay-order-products,
  .mhc-pay-order-summary-inner {
    padding: 20px;
  }

  .mhc-order-heading-icon {
    flex-basis: 46px;
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .mhc-order-heading-icon svg {
    width: 21px;
    height: 21px;
  }

  .mhc-order-section-heading h2,
  .mhc-pay-order-products h2,
  .mhc-pay-order-summary h2 {
    font-size: 25px;
  }

  .mhc-order-overview-grid,
  .mhc-order-address-grid.has-shipping {
    grid-template-columns: 1fr;
  }

  .mhc-order-product-card {
    grid-template-columns: 70px minmax(0, 1fr);
    gap: 14px;
  }

  .mhc-order-product-image {
    width: 70px;
    height: 70px;
  }

  .mhc-order-product-total {
    grid-column: 2;
    justify-self: start;
    margin-top: -5px;
  }

  .mhc-order-total-row.is-grand-total {
    font-size: 19px;
  }

  .mhc-order-total-row.is-grand-total strong {
    font-size: 22px;
  }

  .mhc-order-overview-actions,
  .mhc-order-status-actions,
  .mhc-order-detail-actions {
    flex-direction: column;
  }

  .mhc-order-primary-button,
  .mhc-order-secondary-button {
    width: 100% !important;
  }
}

/* Réutilise le style du paiement à la livraison sur la page order-pay. */
body.mhc-order-pay-active .mhc-pay-order-payment ul.payment_methods li > label {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 10px !important;
  margin: 0 !important;
  cursor: pointer;
}

body.mhc-order-pay-active .mhc-payment-method-label-main {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

body.mhc-order-pay-active .mhc-payment-method-delivery-icon {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: #f5ebe5;
  color: var(--mhc-brown);
  line-height: 0;
}

body.mhc-order-pay-active .mhc-payment-method-delivery-icon svg {
  width: 20px !important;
  height: 20px !important;
}

body.mhc-order-pay-active .mhc-payment-method-title {
  color: #222;
  font-size: 12px;
  font-weight: 750;
}

body.mhc-order-pay-active .mhc-payment-method-provider-icon {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
}


/* ================================================================
   SINGLE PRODUCT — NOTE SVG + CONFIRMATION PANIER (FR)
================================================================ */

html {
  scroll-behavior: smooth;
}

.mhc-sp-stars {
  display: inline-flex;
  align-items: center;
  line-height: 1;
}

/* Neutralise définitivement l'ancien rendu WooCommerce basé sur la police star. */
.mhc-sp-stars > .star-rating {
  display: none !important;
}

.mhc-svg-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #a53b00;
}

.mhc-svg-rating-star {
  position: relative;
  display: inline-block;
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
}

.mhc-svg-rating-star svg {
  display: block;
  width: 19px;
  height: 19px;
}

.mhc-svg-rating-empty {
  fill: #ffffff;
  stroke: rgba(129, 48, 3, 0.25);
  stroke-width: 1.35;
}

.mhc-svg-rating-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  overflow: hidden;
  color: #a53b00;
}

.mhc-svg-rating-fill svg {
  max-width: none;
  fill: currentColor;
  stroke: currentColor;
  stroke-width: 1.1;
}

.mhc-sp-rating-value {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(129, 48, 3, 0.07);
  color: #813003;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}

.mhc-sp-review-count {
  position: relative;
  color: rgba(34, 34, 34, 0.6);
  text-decoration: none !important;
  transition: color 0.2s ease;
}

.mhc-sp-review-count:not(.mhc-sp-review-count--new)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -3px;
  height: 1px;
  background: currentColor;
  opacity: 0;
  transform: scaleX(0.55);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.mhc-sp-review-count:hover {
  color: #813003;
}

.mhc-sp-review-count:hover::after {
  opacity: 0.45;
  transform: scaleX(1);
}

.mhc-sp-reviews-standalone {
  scroll-margin-top: 110px;
}

/* Petit lien WooCommerce transformé en confirmation élégante et discrète. */
.mhc-sp-actions-box a.added_to_cart.wc-forward.mhc-single-cart-confirmation {
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin: 14px 0 0 !important;
  padding: 7px 10px 7px 8px !important;
  display: inline-flex !important;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(38, 114, 69, 0.16);
  border-radius: 999px;
  background: rgba(38, 114, 69, 0.065);
  color: #255f3c !important;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  line-height: 1.15;
  text-decoration: none !important;
  box-shadow: none;
  opacity: 0;
  transform: translateY(7px);
  animation: mhc-single-cart-confirmation-in 0.38s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  transition: background 0.22s ease, border-color 0.22s ease, transform 0.22s ease;
}

.mhc-sp-actions-box a.mhc-single-cart-confirmation:hover {
  border-color: rgba(38, 114, 69, 0.25);
  background: rgba(38, 114, 69, 0.105);
  color: #1f5735 !important;
  transform: translateY(-1px);
}

.mhc-single-cart-confirmation-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #267245;
  color: #ffffff;
}

.mhc-single-cart-confirmation-icon svg {
  width: 16px;
  height: 16px;
}

.mhc-single-cart-confirmation-copy {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 7px;
  min-width: 0;
  font-size: 11px;
  font-weight: 600;
  color: rgba(37, 95, 60, 0.74);
}

.mhc-single-cart-confirmation-copy strong {
  color: #255f3c;
  font-size: 12px;
  font-weight: 800;
}

.mhc-single-cart-confirmation-arrow {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.75;
  transition: transform 0.2s ease;
}

.mhc-single-cart-confirmation-arrow svg {
  width: 16px;
  height: 16px;
}

.mhc-single-cart-confirmation:hover .mhc-single-cart-confirmation-arrow {
  transform: translateX(2px);
}

@keyframes mhc-single-cart-confirmation-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .mhc-sp-rating-row {
    gap: 8px;
  }

  .mhc-svg-rating-star,
  .mhc-svg-rating-star svg {
    width: 18px;
    height: 18px;
  }

  .mhc-sp-actions-box a.added_to_cart.wc-forward.mhc-single-cart-confirmation {
    width: 100%;
    justify-content: flex-start;
    border-radius: 15px;
  }

  .mhc-single-cart-confirmation-arrow {
    margin-left: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .mhc-sp-actions-box a.added_to_cart.wc-forward.mhc-single-cart-confirmation {
    animation: none;
    opacity: 1;
    transform: none;
  }
}


/* ================================================================
   SINGLE PRODUCT — CORRECTION FINALE AVIS + CONFIRMATION PANIER
================================================================ */

/* Toutes les notes de la section Avis utilisent les SVG du thème. */
.mhc-reviews .star-rating {
  display: none !important;
}

.mhc-reviews .mhc-svg-rating {
  gap: 3px;
}

.mhc-reviews .mhc-svg-rating-star,
.mhc-reviews .mhc-svg-rating-star svg {
  width: 17px;
  height: 17px;
}

.mhc-reviews-score-meta .mhc-svg-rating,
.mhc-reviews-summary-top .mhc-svg-rating {
  display: inline-flex;
  margin: 0;
}

.mhc-review-card-rating {
  float: right;
  display: inline-flex;
  margin: 1px 0 9px 14px;
}

.mhc-review-card-rating .mhc-svg-rating-star,
.mhc-review-card-rating .mhc-svg-rating-star svg {
  width: 16px;
  height: 16px;
}

.mhc-reviews-list-panel .woocommerce-review__verified {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-right: 7px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(38, 114, 69, 0.09);
  color: #267245;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
}

/* Sélecteur de note du formulaire : vrais SVG, sans police WooCommerce. */
.mhc-review-form-card p.stars a {
  position: relative !important;
  text-indent: 0 !important;
  font-size: 0 !important;
  line-height: 0 !important;
}

.mhc-review-form-card p.stars a::before,
.mhc-review-form-card p.stars a::after {
  display: none !important;
  content: none !important;
}

.mhc-review-form-card p.stars a .mhc-review-choice-star {
  display: block;
  width: 21px;
  height: 21px;
  fill: transparent;
  stroke: rgba(129, 48, 3, 0.48);
  stroke-width: 1.65;
  transition: fill 0.16s ease, stroke 0.16s ease, transform 0.16s ease;
}

.mhc-review-form-card p.stars a.is-selected,
.mhc-review-form-card p.stars a.is-preview,
.mhc-review-form-card p.stars a.active {
  border-color: rgba(129, 48, 3, 0.3);
  background: rgba(129, 48, 3, 0.08);
}

.mhc-review-form-card p.stars a.is-selected .mhc-review-choice-star,
.mhc-review-form-card p.stars a.is-preview .mhc-review-choice-star,
.mhc-review-form-card p.stars a.active .mhc-review-choice-star {
  fill: #a53b00;
  stroke: #a53b00;
  transform: scale(1.06);
}

/* Sur ordinateur, la confirmation occupe toute la ligne de la grille du formulaire. */
.mhc-sp-actions-box form.cart > a.added_to_cart.wc-forward.mhc-single-cart-confirmation,
.mhc-sp-actions-box a.added_to_cart.wc-forward.mhc-single-cart-confirmation {
  grid-column: 1 / -1 !important;
  justify-self: start !important;
  width: auto !important;
  min-width: 285px !important;
  max-width: 100% !important;
  min-height: 52px;
  margin-top: 14px !important;
  padding: 8px 13px 8px 9px !important;
  border-radius: 16px !important;
  white-space: nowrap;
}

.mhc-single-cart-confirmation-copy {
  flex-wrap: nowrap !important;
  white-space: nowrap;
}

.mhc-single-cart-confirmation-copy strong {
  display: inline-flex;
  align-items: center;
}

.mhc-single-cart-confirmation-copy strong::before {
  content: "•";
  margin-right: 7px;
  color: rgba(37, 95, 60, 0.42);
}

@media (max-width: 560px) {
  .mhc-sp-actions-box form.cart > a.added_to_cart.wc-forward.mhc-single-cart-confirmation,
  .mhc-sp-actions-box a.added_to_cart.wc-forward.mhc-single-cart-confirmation {
    width: 100% !important;
    min-width: 0 !important;
    border-radius: 15px !important;
    white-space: normal;
  }

  .mhc-single-cart-confirmation-copy {
    display: grid;
    gap: 2px;
    white-space: normal;
  }

  .mhc-single-cart-confirmation-copy strong::before {
    display: none;
  }

  .mhc-review-card-rating {
    float: none;
    margin: 0 0 9px;
  }
}


/* Correctif définitif du sélecteur « Votre note ».
   Le composant ne dépend plus des étoiles générées par WooCommerce. */
.mhc-review-form-card .comment-form-rating > p.stars,
.mhc-review-form-card .comment-form-rating p.stars {
  display: none !important;
}

.mhc-review-form-card .mhc-rating-picker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
}

.mhc-review-form-card .mhc-rating-choice {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(129, 48, 3, 0.12) !important;
  border-radius: 13px !important;
  outline: none;
  background: #ffffff !important;
  color: #813003;
  box-shadow: 0 6px 15px rgba(61, 38, 24, 0.045);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.mhc-review-form-card .mhc-rating-choice svg {
  display: block !important;
  width: 23px !important;
  height: 23px !important;
  min-width: 23px;
  min-height: 23px;
  overflow: visible;
  pointer-events: none;
}

.mhc-review-form-card .mhc-rating-choice svg path {
  fill: transparent !important;
  stroke: rgba(129, 48, 3, 0.55) !important;
  stroke-width: 1.65;
  stroke-linejoin: round;
  transition: fill 0.16s ease, stroke 0.16s ease, transform 0.16s ease;
  transform-origin: center;
}

.mhc-review-form-card .mhc-rating-choice:hover,
.mhc-review-form-card .mhc-rating-choice.is-preview,
.mhc-review-form-card .mhc-rating-choice.is-selected {
  transform: translateY(-2px);
  border-color: rgba(129, 48, 3, 0.34) !important;
  background: rgba(129, 48, 3, 0.075) !important;
  box-shadow: 0 10px 20px rgba(61, 38, 24, 0.08);
}

.mhc-review-form-card .mhc-rating-choice.is-preview svg path,
.mhc-review-form-card .mhc-rating-choice.is-selected svg path {
  fill: #a53b00 !important;
  stroke: #a53b00 !important;
  transform: scale(1.05);
}

.mhc-review-form-card .mhc-rating-choice:focus-visible {
  box-shadow: 0 0 0 4px rgba(129, 48, 3, 0.12), 0 10px 20px rgba(61, 38, 24, 0.08);
}

@media (max-width: 480px) {
  .mhc-review-form-card .mhc-rating-picker {
    gap: 6px;
  }

  .mhc-review-form-card .mhc-rating-choice {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
  }
}

/* =========================================================
   MON COMPTE — VOIR UNE COMMANDE
   ========================================================= */

body.mhc-view-order-active .entry-title,
body.mhc-view-order-active .page-title,
body.mhc-view-order-active .woocommerce-MyAccount-content > p:first-child {
  display: none !important;
}

body.mhc-view-order-active .site-main,
body.mhc-view-order-active .page-content,
body.mhc-view-order-active .entry-content {
  overflow: visible !important;
}

body.mhc-view-order-active .woocommerce {
  width: min(1280px, calc(100% - 40px));
  max-width: none !important;
  margin: 42px auto 80px !important;
}

body.mhc-view-order-active .woocommerce::before,
body.mhc-view-order-active .woocommerce::after {
  display: none !important;
}

body.mhc-view-order-active .woocommerce:has(> .woocommerce-MyAccount-navigation) {
  display: grid;
  grid-template-columns: 235px minmax(0, 1fr);
  align-items: start;
  gap: 26px;
}

body.mhc-view-order-active .woocommerce-MyAccount-navigation {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px !important;
  border: 1px solid #e9e4e0;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(36, 27, 21, 0.06);
}

body.mhc-view-order-active .woocommerce-MyAccount-navigation ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

body.mhc-view-order-active .woocommerce-MyAccount-navigation li {
  margin: 0 0 5px !important;
  padding: 0 !important;
  border: 0 !important;
}

body.mhc-view-order-active .woocommerce-MyAccount-navigation li:last-child {
  margin-bottom: 0 !important;
  padding-top: 8px !important;
  border-top: 1px solid #eee8e4 !important;
}

body.mhc-view-order-active .woocommerce-MyAccount-navigation a {
  position: relative;
  display: flex !important;
  align-items: center !important;
  min-height: 45px;
  padding: 11px 13px !important;
  border-radius: 13px;
  color: #5f5955 !important;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease, transform .2s ease;
}

body.mhc-view-order-active .woocommerce-MyAccount-navigation a:hover {
  background: #fbf6f3;
  color: var(--mhc-brown) !important;
  transform: translateX(2px);
}

body.mhc-view-order-active .woocommerce-MyAccount-navigation li.is-active a {
  background: var(--mhc-brown) !important;
  color: #fff !important;
  box-shadow: 0 10px 22px rgba(129, 48, 3, 0.16);
}

body.mhc-view-order-active .woocommerce-MyAccount-content {
  float: none !important;
  width: auto !important;
  min-width: 0;
  margin: 0 !important;
}

.mhc-view-order-page,
.mhc-view-order-page * {
  box-sizing: border-box;
}

.mhc-view-order-page {
  width: 100%;
  color: #24201e;
}

.mhc-view-order-page svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.mhc-view-order-hero,
.mhc-view-order-summary,
.mhc-view-order-updates {
  border: 1px solid #e9e4e0;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 20px 55px rgba(36, 27, 21, 0.07);
}

.mhc-view-order-hero {
  position: relative;
  overflow: hidden;
  padding: 28px 30px 32px;
}

.mhc-view-order-hero::before {
  content: "";
  position: absolute;
  top: -170px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: rgba(129, 48, 3, 0.045);
  pointer-events: none;
}

.mhc-view-order-hero.is-alert::before {
  background: rgba(178, 50, 45, 0.04);
}

.mhc-view-order-hero-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee9e5;
}

.mhc-view-order-back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #716a66 !important;
  font-size: 11px;
  font-weight: 750;
  text-decoration: none !important;
}

.mhc-view-order-back > span {
  display: inline-flex;
  width: 17px;
  height: 17px;
}

.mhc-view-order-back:hover {
  color: var(--mhc-brown) !important;
}

.mhc-view-order-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 13px;
  border: 1px solid rgba(129, 48, 3, 0.13);
  border-radius: 999px;
  background: #f8efea;
  color: var(--mhc-brown);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .035em;
  text-transform: uppercase;
}

.mhc-view-order-status i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgba(129, 48, 3, 0.09);
}

.mhc-view-order-hero.is-complete .mhc-view-order-status {
  border-color: rgba(39, 126, 78, 0.16);
  background: #edf7f0;
  color: #277e4e;
}

.mhc-view-order-hero.is-alert .mhc-view-order-status {
  border-color: rgba(178, 50, 45, 0.15);
  background: #fff0ef;
  color: #b2322d;
}

.mhc-view-order-title-row {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 18px;
  padding-top: 26px;
}

.mhc-view-order-main-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 68px;
  width: 68px;
  height: 68px;
  border-radius: 21px;
  background: #f4eae4;
  color: var(--mhc-brown);
}

.mhc-view-order-main-icon svg {
  width: 31px;
  height: 31px;
}

.mhc-view-order-title-row > div {
  min-width: 0;
}

.mhc-view-order-eyebrow {
  display: block;
  margin-bottom: 4px;
  color: var(--mhc-brown);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.mhc-view-order-title-row h1 {
  margin: 0;
  color: #201c1a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.08;
}

.mhc-view-order-title-row p {
  max-width: 700px;
  margin: 9px 0 0;
  color: #7a736f;
  font-size: 12.5px;
  line-height: 1.7;
}

.mhc-view-order-progress {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto minmax(30px, 1fr) auto minmax(30px, 1fr) auto minmax(30px, 1fr) auto;
  align-items: center;
  margin-top: 30px;
  padding: 22px 24px;
  border: 1px solid #eee8e4;
  border-radius: 19px;
  background: #fcfaf9;
}

.mhc-view-order-progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  min-width: 72px;
  color: #aaa39f;
  text-align: center;
}

.mhc-view-order-progress-step > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid #e5dfdb;
  border-radius: 13px;
  background: #fff;
}

.mhc-view-order-progress-step > span svg {
  width: 19px;
  height: 19px;
}

.mhc-view-order-progress-step strong {
  font-size: 9.5px;
  font-weight: 750;
  white-space: nowrap;
}

.mhc-view-order-progress-step.is-active {
  color: var(--mhc-brown);
}

.mhc-view-order-progress-step.is-active > span {
  border-color: rgba(129, 48, 3, 0.16);
  background: #f5ebe5;
}

.mhc-view-order-progress > i {
  height: 2px;
  margin: 0 10px 24px;
  border-radius: 999px;
  background: #e7e1dd;
}

.mhc-view-order-progress > i.is-active {
  background: rgba(129, 48, 3, 0.45);
}

.mhc-view-order-alert {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid #f0d5d2;
  border-radius: 17px;
  background: #fff8f7;
}

.mhc-view-order-alert > span {
  display: inline-flex;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  color: #b2322d;
}

.mhc-view-order-alert strong {
  display: block;
  color: #8f2925;
  font-size: 12px;
}

.mhc-view-order-alert p {
  margin: 4px 0 0;
  color: #7d6765;
  font-size: 11px;
  line-height: 1.6;
}

.mhc-view-order-summary,
.mhc-view-order-updates {
  margin-top: 24px;
  padding: 28px 30px;
}

.mhc-view-order-summary-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.mhc-view-order-summary-grid article {
  min-width: 0;
  padding: 18px;
  border: 1px solid #ece6e2;
  border-radius: 17px;
  background: #fcfaf9;
}

.mhc-view-order-summary-grid article > span {
  display: block;
  margin-bottom: 7px;
  color: #99918d;
  font-size: 9.5px;
  font-weight: 750;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.mhc-view-order-summary-grid article > strong {
  display: block;
  overflow-wrap: anywhere;
  color: #282321;
  font-size: 12.5px;
  line-height: 1.5;
}

.mhc-view-order-summary-grid article.is-total {
  border-color: rgba(129, 48, 3, 0.14);
  background: #f9f0eb;
}

.mhc-view-order-summary-grid article.is-total > strong {
  color: var(--mhc-brown);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 19px;
  font-weight: 600;
}

.mhc-view-order-notes {
  position: relative;
  margin: 24px 0 0 !important;
  padding: 0 !important;
  list-style: none !important;
}

.mhc-view-order-notes::before {
  content: "";
  position: absolute;
  top: 7px;
  bottom: 12px;
  left: 6px;
  width: 1px;
  background: #e5dfdb;
}

.mhc-view-order-notes li {
  position: relative;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr);
  gap: 14px;
  margin: 0 0 18px !important;
  padding: 0 !important;
}

.mhc-view-order-notes li:last-child {
  margin-bottom: 0 !important;
}

.mhc-view-order-notes li > span {
  position: relative;
  z-index: 1;
  width: 13px;
  height: 13px;
  margin-top: 4px;
  border: 3px solid #f5e9e2;
  border-radius: 50%;
  background: var(--mhc-brown);
}

.mhc-view-order-notes time {
  display: block;
  margin-bottom: 5px;
  color: #9a938f;
  font-size: 9.5px;
  font-weight: 750;
  text-transform: uppercase;
}

.mhc-view-order-notes p {
  margin: 0 !important;
  color: #625c58;
  font-size: 12px;
  line-height: 1.65;
}

.mhc-view-order-details-wrap > .mhc-order-details-card,
.mhc-view-order-details-wrap > .mhc-order-customer-card,
.mhc-view-order-details-wrap .mhc-order-details-card,
.mhc-view-order-details-wrap .mhc-order-customer-card {
  margin-top: 24px;
}

.mhc-view-order-footer-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

body.mhc-view-order-active .woocommerce-message,
body.mhc-view-order-active .woocommerce-info,
body.mhc-view-order-active .woocommerce-error {
  margin: 0 0 20px !important;
  padding: 14px 16px 14px 48px !important;
  border: 1px solid #e8e1dd !important;
  border-radius: 15px !important;
  background: #fff !important;
  color: #4f4946 !important;
  box-shadow: 0 12px 30px rgba(36, 27, 21, 0.05);
  font-size: 11px !important;
}

@media (max-width: 1040px) {
  body.mhc-view-order-active .woocommerce:has(> .woocommerce-MyAccount-navigation) {
    grid-template-columns: 1fr;
  }

  body.mhc-view-order-active .woocommerce-MyAccount-navigation ul {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 3px !important;
    scrollbar-width: thin;
  }

  body.mhc-view-order-active .woocommerce-MyAccount-navigation li,
  body.mhc-view-order-active .woocommerce-MyAccount-navigation li:last-child {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }

  body.mhc-view-order-active .woocommerce-MyAccount-navigation a {
    white-space: nowrap;
  }
}

@media (max-width: 820px) {
  .mhc-view-order-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mhc-view-order-progress {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .mhc-view-order-progress > i {
    display: none;
  }

  .mhc-view-order-progress-step {
    min-width: 0;
  }

  .mhc-view-order-progress-step strong {
    white-space: normal;
  }
}

@media (max-width: 680px) {
  body.mhc-view-order-active .woocommerce {
    width: min(100% - 24px, 1280px);
    margin-top: 24px !important;
    margin-bottom: 55px !important;
  }

  body.mhc-view-order-active .woocommerce-MyAccount-navigation {
    padding: 9px !important;
    border-radius: 18px;
  }

  body.mhc-view-order-active .woocommerce-MyAccount-navigation a {
    min-height: 40px;
    padding: 9px 11px !important;
    border-radius: 11px;
    font-size: 10.5px;
  }

  .mhc-view-order-hero,
  .mhc-view-order-summary,
  .mhc-view-order-updates {
    border-radius: 21px;
  }

  .mhc-view-order-hero {
    padding: 20px;
  }

  .mhc-view-order-hero-top {
    align-items: flex-start;
  }

  .mhc-view-order-back {
    font-size: 9.5px;
  }

  .mhc-view-order-status {
    min-height: 30px;
    padding: 6px 10px;
    font-size: 8px;
  }

  .mhc-view-order-title-row {
    align-items: flex-start;
    gap: 13px;
    padding-top: 21px;
  }

  .mhc-view-order-main-icon {
    flex-basis: 50px;
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .mhc-view-order-main-icon svg {
    width: 24px;
    height: 24px;
  }

  .mhc-view-order-title-row h1 {
    font-size: 29px;
  }

  .mhc-view-order-title-row p {
    font-size: 10.5px;
  }

  .mhc-view-order-progress {
    margin-top: 22px;
    padding: 15px 8px;
    border-radius: 15px;
  }

  .mhc-view-order-progress-step {
    gap: 5px;
  }

  .mhc-view-order-progress-step > span {
    width: 34px;
    height: 34px;
    border-radius: 11px;
  }

  .mhc-view-order-progress-step > span svg {
    width: 16px;
    height: 16px;
  }

  .mhc-view-order-progress-step strong {
    font-size: 7.7px;
    line-height: 1.25;
  }

  .mhc-view-order-summary,
  .mhc-view-order-updates {
    padding: 20px;
  }

  .mhc-view-order-summary-grid {
    grid-template-columns: 1fr;
  }

  .mhc-view-order-footer-actions {
    flex-direction: column-reverse;
  }

  .mhc-view-order-footer-actions .mhc-order-primary-button,
  .mhc-view-order-footer-actions .mhc-order-secondary-button {
    width: 100% !important;
  }
}

/* ================================
   MHC WISHLIST PAGE
   Rempli en JS via [mhc_wishlist_page]
================================ */

.mhc-wishlist-page {
  width: min(var(--mhc-container-large), calc(100% - var(--mhc-gutter) * 2));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.mhc-wishlist-loading {
  padding: 60px 0;
  text-align: center;
  color: rgba(34, 34, 34, 0.55);
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
}

.mhc-wishlist-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.mhc-wishlist-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid rgba(34, 34, 34, 0.1);
  box-shadow: 0 12px 34px rgba(34, 34, 34, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mhc-wishlist-card:hover {
  transform: translateY(-6px);
  border-color: rgba(129, 48, 3, 0.18);
  box-shadow: 0 22px 50px rgba(34, 34, 34, 0.09);
}

.mhc-wishlist-card-remove {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(43, 42, 39, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #111111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  transition: background 0.22s ease, color 0.22s ease, border-color 0.22s ease;
}

.mhc-wishlist-card-remove svg {
  width: 15px;
  height: 15px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.mhc-wishlist-card-remove:hover {
  background: #813003;
  color: #ffffff;
  border-color: #813003;
}

.mhc-wishlist-card-image {
  display: block;
  aspect-ratio: 1 / 1;
  background: #f7f4f0;
  overflow: hidden;
}

.mhc-wishlist-card-image img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  padding: 0;
  display: block !important;
  transition: transform 0.5s ease;
}

.mhc-wishlist-card:hover .mhc-wishlist-card-image img {
  transform: scale(1.06);
}

.mhc-wishlist-card-content {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.mhc-wishlist-card-title {
  margin: 0;
  font-family: var(--mhc-font-title, Georgia, serif);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.25;
}

.mhc-wishlist-card-title a {
  color: #222222;
  text-decoration: none;
  transition: color 0.25s ease;
}

.mhc-wishlist-card:hover .mhc-wishlist-card-title a {
  color: #813003;
}

.mhc-wishlist-card-price {
  color: #813003;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 16px;
  font-weight: 700;
}

.mhc-wishlist-card-price del {
  color: rgba(34, 34, 34, 0.38);
  font-size: 14px;
  font-weight: 400;
  opacity: 1;
  margin-right: 6px;
}

.mhc-wishlist-card-price ins {
  color: #813003;
  text-decoration: none;
}

.mhc-wishlist-card-cart {
  margin-top: auto;
  width: 100%;
  border: 1px solid #813003;
  background: #813003;
  color: #ffffff;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  padding: 11px 16px;
  cursor: pointer;
  transition: background 0.22s ease, color 0.22s ease;
}

.mhc-wishlist-card-cart:hover {
  background: #ffffff;
  color: #813003;
}

.mhc-wishlist-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 70px 20px;
}

.mhc-wishlist-empty-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(129, 48, 3, 0.08);
  color: #813003;
  margin-bottom: 18px;
}

.mhc-wishlist-empty-icon svg {
  width: 28px;
  height: 28px;
}

.mhc-wishlist-empty h3 {
  margin: 0 0 8px;
  font-family: var(--mhc-font-title, Georgia, serif);
  font-size: 24px;
}

.mhc-wishlist-empty p {
  margin: 0 0 22px;
  color: rgba(34, 34, 34, 0.55);
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
}

.mhc-wishlist-empty a {
  display: inline-flex;
  align-items: center;
  padding: 12px 26px;
  background: #813003;
  color: #ffffff;
  font-family: var(--mhc-font-body, "Poppins", sans-serif);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 991px) {
  .mhc-wishlist-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .mhc-wishlist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (max-width: 460px) {
  .mhc-wishlist-grid {
    grid-template-columns: 1fr;
  }
}
