/*
Theme Name: Maki And Co
Description: Thème enfant pour Neve
Author: Loic Fernandez
Author URI: https://loic-fernandez.fr
Template: neve
Version: 1.0
*/
html body {
  position: relative;
  z-index: 0;
}
html body .header {
  top: 0;
  position: fixed;
  width: 100%;
  z-index: 1001;
}
html body .wrapper {
  padding-top: 89px;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 99px;
}
html.maki-no-scroll {
  overflow: hidden;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
.ico {
  width: 1.15em;
  height: 1.15em;
  flex: none;
  vertical-align: -0.2em;
}
.pa_allergenes-lactose {
  --allergene: #A4A4A3;
}
.pa_allergenes-oeuf {
  --allergene: #D3C300;
}
.pa_allergenes-sesame {
  --allergene: #652282;
}
.pa_allergenes-soja {
  --allergene: #9CC726;
}
.pa_allergenes-gluten {
  --allergene: #824C21;
}
.pa_allergenes-moutarde {
  --allergene: #F49702;
}
.pa_allergenes-crustace {
  --allergene: #F07CB0;
}
.pa_allergenes-poisson {
  --allergene: #0F98CC;
}
.pa_allergenes-fruit-a-coque {
  --allergene: #422e00;
}
.pa_allergenes-sulfites {
  --allergene: #8E1B3B;
}
.pa_allergenes-celeri {
  --allergene: #5C9A3B;
}
.allergene-lactose {
  --allergene: #A4A4A3;
}
.allergene-oeuf {
  --allergene: #D3C300;
}
.allergene-sesame {
  --allergene: #652282;
}
.allergene-soja {
  --allergene: #9CC726;
}
.allergene-gluten {
  --allergene: #824C21;
}
.allergene-moutarde {
  --allergene: #F49702;
}
.allergene-crustace {
  --allergene: #F07CB0;
}
.allergene-poisson {
  --allergene: #0F98CC;
}
.allergene-fruit-a-coque {
  --allergene: #422e00;
}
.allergene-sulfites {
  --allergene: #8E1B3B;
}
.allergene-celeri {
  --allergene: #5C9A3B;
}
.makiandco-catalog {
  display: flex;
  align-items: flex-start;
  max-width: 1460px;
  margin: 0 auto;
}
.makiandco-catalog h2 {
  margin: 0 0 20px;
  font-size: 20px;
  text-transform: uppercase;
}
/* ---------- Mention « sans gluten » ---------- */
.gluten-free-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 20px 0 40px;
  padding: 12px 16px;
  border-left: 4px solid #EE712A;
  border-radius: 4px;
  background: #FFF4EE;
  color: #1E1810;
  font-size: 15px;
  line-height: 1.4;
}
.gluten-free-note svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  color: #824C21;
}
/* ---------- Filtres ---------- */
.filters-column {
  width: 25%;
  padding: 20px;
}
.filters-column .filters-form > h2 {
  display: flex;
  align-items: center;
}
.filters-column .filter-group {
  margin: 0 0 28px;
  padding: 0;
  border: 0;
  min-width: 0;
}
.filters-column .filter-group legend,
.filters-column .filter-group h3 {
  display: block;
  width: 100%;
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0 0 12px;
  padding: 0 0 5px;
  border-bottom: 1px solid #f0f0f0;
}
.filters-column .filter-group .filter-description {
  font-size: 13px;
  color: #333;
  margin-bottom: 12px;
}
.filters-column .filter-group ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.filters-column .filter-group li {
  border-radius: 4px;
  border: 1px solid var(--allergene, #000);
  color: #000;
  transition: background-color 0.2s, color 0.2s;
}
.filters-column .filter-group li label,
.filters-column .filter-group li a {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 14px;
  text-transform: uppercase;
  color: inherit;
  cursor: pointer;
  text-decoration: none;
}
.filters-column .filter-group li .ico {
  color: var(--allergene, #000);
}
.filters-column .filter-group li input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}
.filters-column .filter-group li:hover {
  background: #f3f3f3;
}
.filters-column .filter-group li:has(input:checked) {
  background: var(--allergene, #000);
  color: #fff;
}
.filters-column .filter-group li:has(input:checked) .ico {
  color: #fff;
}
.filters-column .filter-group li:has(input:focus-visible) {
  outline: 2px solid #EE712A;
  outline-offset: 2px;
}
.filters-column .filter-group li.pa_vegetarien-oui {
  --allergene: #129716;
}
.filters-column .filter-group li.pa_nouveaute {
  --allergene: #e30d0d;
}
.filters-column .filter-group.filter-group-cat li,
.filters-column .filter-group.filter-group-pdf li {
  --allergene: #EE712A;
}
.filters-column .filters-result {
  font-size: 13px;
  margin: -12px 0 8px;
  color: #444;
}
.filters-column .filters-reset,
.filters-column .filters-reset-inline {
  margin: 0 0 24px;
  padding: 6px 12px;
  font-size: 13px;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 4px;
  cursor: pointer;
}
.filters-column .btn-close-filters {
  margin-left: auto;
  padding: 4px;
  background: none;
  border: 0;
  color: #000;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
}
.products-column {
  width: 75%;
  padding: 20px;
}
.catalog-empty {
  padding: 40px 0;
  text-align: center;
}
.tag {
  padding: 0 12px;
  height: 25px;
  line-height: 25px;
  font-size: 10px;
  text-transform: uppercase;
  z-index: 10;
}
.tag.vegetarien {
  background: #129716;
  color: #fff;
}
.tag.nouveaute {
  background: #e30d0d;
  color: #fff;
}
.tag.coup-de-coeur {
  background: #EE712A;
  color: #fff;
}
/* ---------- Produits ---------- */
.product-category {
  margin-bottom: 60px;
}
.product-category.is-empty .category-title-container {
  opacity: 0.45;
}
.product-category .category-title-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 84px;
  margin-bottom: 30px;
  padding: 10px 16px 10px 24px;
  overflow: hidden;
  border-radius: 6px;
  background: #1E1810;
  color: #fff;
}
.product-category .category-title-container::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 5px;
  border-radius: 0 3px 3px 0;
  background: #EE712A;
}
.product-category .category-title-container h2 {
  margin: 0;
  padding: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.product-category .category-vignettes {
  display: flex;
  flex: 0 0 auto;
  padding-left: 14px;
}
.product-category .category-vignettes .category-vignette {
  flex: 0 0 auto;
  width: 68px;
  height: 68px;
  margin-left: -14px;
  overflow: hidden;
  border: 3px solid #1E1810;
  border-radius: 50%;
  background: #fff;
}
.product-category .category-vignettes img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.45);
}
.product-category .category-description {
  font-size: 13px;
  margin-bottom: 30px;
  color: #444;
  font-style: italic;
}
.product-category .category-empty {
  font-size: 14px;
  color: #666;
}
.product-category .products-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(175px, 1fr));
  margin: 0;
  padding: 0;
  list-style: none;
}
.product-category .products-grid .product {
  list-style-type: none;
  margin: 0;
  padding: 0;
  cursor: pointer;
  transition: box-shadow 0.2s;
  position: relative;
  background: #fafafa;
  z-index: 0;
}
.product-category .products-grid .product[hidden] {
  display: none;
}
.product-category .products-grid .product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  max-height: 200px;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  background: #fff;
}
.product-category .products-grid .product:hover,
.product-category .products-grid .product:focus-visible {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
  outline: none;
}
.product-category .products-grid .product:focus-visible {
  box-shadow: 0 0 0 2px #EE712A;
}
.product-category .products-grid .product .tag {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.product-category .products-grid .product .product-infos {
  padding: 8px;
}
.product-category .products-grid .product .woocommerce-loop-product__title {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  color: #000;
  margin-bottom: 16px;
  line-height: 21px;
  min-height: 42px;
}
.product-category .products-grid .product .woocommerce-loop-product__title .ico-vegetarien {
  color: #129716;
  margin-right: 3px;
}
.product-category .products-grid .product .conditionning {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #EE712A;
}
.product-category .products-grid .product .price {
  color: #000;
  font-weight: 300;
  font-size: 16px;
}
.product-category .products-grid .product .products-allergenes {
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 4px;
}
.product-category .products-grid .product .products-allergenes .allergene {
  color: var(--allergene, #333);
  display: inline-flex;
}
.hidden {
  display: none !important;
}
/* ---------- Fenêtre produit ---------- */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1010;
  padding: 16px;
}
.modal[hidden] {
  display: none;
}
.modal-content {
  background: #fff;
  border-radius: 8px;
  max-width: 500px;
  width: 100%;
  max-height: calc(100vh - 32px);
  overflow: auto;
  position: relative;
}
.modal-content img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  border-radius: 8px 8px 0 0;
  object-fit: cover;
  background: #fff;
}
.modal-content .modal-infos {
  padding: 20px;
}
.modal-content .modal-infos p {
  margin: 0;
}
.modal-content .modal-infos .modal-description {
  font-size: 13px;
  margin-bottom: 20px;
  font-style: italic;
  color: #444;
}
.modal-content .modal-infos .modal-allergenes-title {
  font-size: 15px;
  font-weight: 600;
  text-transform: uppercase;
  margin: 0;
}
.modal-content .modal-infos .modal-tags-container,
.modal-content .modal-infos .modal-allergenes-container {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0;
  list-style: none;
  align-items: center;
  flex-wrap: wrap;
}
.modal-content .modal-infos .modal-allergenes-container .pa_allergenes {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  border: 1px solid var(--allergene, #000);
  border-radius: 4px;
  font-size: 13px;
  text-transform: uppercase;
}
.modal-content .modal-infos .modal-allergenes-container .pa_allergenes .ico {
  color: var(--allergene, #000);
}
.modal-content .modal-infos .modal-conditionning {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  color: #EE712A;
}
.modal-content .modal-infos .modal-price {
  color: #000;
  font-weight: 300;
  font-size: 17px;
}
.close-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  padding: 6px;
  font-size: 26px;
  color: #000;
  background: rgba(255, 255, 255, 0.9);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  z-index: 1;
}
/* ---------- Pied de page ---------- */
.maki-footer {
  background: #000;
  color: #fff;
}
.maki-footer a {
  color: #EE712A;
}
.maki-footer .maki-footer-main {
  padding: 56px 0 24px;
}
.maki-footer .maki-footer-main h2,
.maki-footer .maki-footer-main h3,
.maki-footer .maki-footer-main h4 {
  color: #fff;
}
.maki-footer .maki-footer-main h4 {
  margin: 0 0 10px;
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #EE712A;
}
.maki-footer .maki-footer-main p {
  margin: 0 0 6px;
}
.maki-footer .maki-footer-main .wp-block-columns {
  gap: 32px;
}
.maki-footer .maki-footer-main .wp-block-image img {
  max-width: 140px;
  height: auto;
}
.maki-footer .maki-footer-bottom {
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13px;
}
.maki-footer .maki-footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  align-items: center;
}
.maki-footer .maki-footer-bottom p {
  margin: 0;
}
/* ---------- Mobile ---------- */
@media (max-width: 1024px) {
  html {
    scroll-padding-top: 90px;
  }
  html body .wrapper {
    padding-top: 80px;
  }
  .makiandco-catalog {
    flex-direction: column;
    align-items: stretch;
  }
  .filters-column {
    width: 100%;
    padding: 20px 20px 0;
  }
  .filters-column .btn-filters {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    background: #EE712A;
    color: #000;
    border: 0;
    border-radius: 4px;
    padding: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
  }
  .filters-column .filters-count {
    min-width: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #000;
    color: #fff;
    font-size: 13px;
    line-height: 22px;
  }
  .filters-column .filters-form {
    display: none;
  }
  .filters-column.active {
    position: fixed;
    inset: 0;
    z-index: 1020;
    padding: 3vh 5vw;
    background: rgba(0, 0, 0, 0.6);
  }
  .filters-column.active .btn-filters {
    display: none;
  }
  .filters-column.active .filters-form {
    display: block;
    height: 100%;
    overflow-y: auto;
    background: #fff;
    padding: 15px;
    border-radius: 8px;
  }
  .products-column {
    width: 100%;
  }
  .products-column .product-category .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
@media (min-width: 1025px) {
  .hidden-desktop {
    display: none !important;
  }
  html body.page-template-template-custom-filter-page > .wrapper {
    overflow: clip;
  }
  .filters-column {
    position: sticky;
    top: 89px;
    max-height: calc(100vh - 89px);
    overflow-y: auto;
  }
}
.header .maki-cart-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 6px;
  color: #fff;
}
.header .maki-cart-link:hover,
.header .maki-cart-link:focus-visible {
  color: #EE712A;
}
.header .maki-cart-link .maki-cart-count {
  position: absolute;
  top: -2px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 10px;
  background: #EE712A;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 20px;
  text-align: center;
}
.header .maki-cart-link .maki-cart-count[hidden] {
  display: none;
}
.header .builder-item--button_base {
  --margin: 0 0 0 20px;
}
.header .builder-item--header_cart_icon {
  --margin: 0 0 0 12px;
}
.maki-legal {
  max-width: 820px;
  margin: 0 0 60px;
  font-size: 16px;
  line-height: 1.65;
}
.maki-legal h2 {
  margin: 2em 0 0.6em;
  font-size: 26px;
}
.maki-legal h3 {
  margin: 1.4em 0 0.4em;
  font-size: 19px;
}
.maki-legal > h2:first-child {
  margin-top: 0.5em;
}
.maki-legal ul {
  margin: 0 0 1em;
  padding-left: 1.2em;
}
.maki-legal li {
  margin-bottom: 0.3em;
}
.woocommerce form .form-row .woocommerce-input-wrapper .description {
  display: block !important;
  margin: 6px 0 0;
  padding: 0;
  background: none;
  border-radius: 0;
  color: #6b6b6b;
  font-size: 14px;
  line-height: 1.4;
}
.woocommerce form .form-row .woocommerce-input-wrapper .description::before {
  display: none;
}
/* ---------- Panier : sauces, « Et avec ça ? », ventes croisées ---------- */
.maki-extras {
  margin: 20px 0 0;
  padding: 14px 16px;
  border: 1px solid #f0e6dd;
  border-radius: 12px;
  background: #FFFAF6;
}
.maki-extras h2 {
  margin: 0 0 6px;
  font-size: 20px;
}
.maki-extras h3 {
  margin: 14px 0 6px;
  font-size: 16px;
}
.maki-extras .maki-extras-help {
  margin: 0 0 10px;
  font-size: 14px;
}
.maki-extras .maki-extras-name {
  font-weight: 600;
}
.maki-extras a.button.maki-extras-add {
  flex: 0 0 auto;
  padding: 6px 12px;
  border-radius: 999px;
  background: #EE712A;
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  text-decoration: none;
}
.maki-extras ul.maki-extras-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.maki-extras ul.maki-extras-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  border: 1px solid #e6dcd2;
  border-radius: 999px;
  background: #fff;
  font-size: 14px;
}
.maki-extras ul.maki-extras-list .maki-extras-qty {
  color: #EE712A;
  font-weight: 700;
}
.maki-extras ul.maki-extras-list li.has-qty {
  border-color: #EE712A;
}
.maki-extras ul.maki-extras-list .maki-sauce-qty {
  min-width: 1.4em;
  font-weight: 700;
  text-align: center;
}
.maki-extras ul.maki-extras-list button.maki-sauce-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #EE712A;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.maki-extras ul.maki-extras-list button.maki-sauce-step[data-step="-1"] {
  background: #f1e7de;
  color: #1E1810;
}
.maki-extras ul.maki-extras-list button.maki-sauce-step:disabled {
  opacity: 0.4;
  cursor: default;
}
.maki-sauces-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.maki-sauces-badge {
  flex: 0 0 auto;
  margin-bottom: 6px;
  padding: 2px 10px;
  border-radius: 999px;
  background: #EE712A;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}
.maki-sauces-badge.is-done {
  background: #129716;
}
.maki-sauces.is-busy .maki-sauces-count {
  opacity: 0.5;
}
.wc-proceed-to-checkout .checkout-button.is-waiting {
  opacity: 0.6;
  pointer-events: none;
}
/* ---------- Suggestions du panier : un carrousel par rubrique ---------- */
.maki-suggest {
  margin: 36px 0 0;
}
.maki-suggest .maki-suggest-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.maki-suggest .maki-suggest-head h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.15;
}
.maki-suggest .maki-suggest-head p {
  margin: 4px 0 0;
  color: #6b6258;
  font-size: 14px;
}
.maki-suggest .maki-slider-nav {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}
.maki-suggest .maki-slider-nav[hidden] {
  display: none;
}
.maki-suggest .maki-slider-nav button {
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid #1E1810;
  border-radius: 50%;
  background: #fff;
  color: #1E1810;
  font-size: 26px;
  line-height: 36px;
  cursor: pointer;
}
.maki-suggest .maki-slider-nav button:hover:not(:disabled) {
  background: #1E1810;
  color: #fff;
}
.maki-suggest .maki-slider-nav button:disabled {
  opacity: 0.3;
  cursor: default;
}
.maki-suggest ul.maki-slider-track {
  display: flex;
  gap: 16px;
  margin: 0;
  padding: 0 0 6px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  list-style: none;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.maki-suggest ul.maki-slider-track::-webkit-scrollbar {
  display: none;
}
.maki-suggest .maki-slide {
  position: relative;
  flex: 0 0 calc((100% - 48px) / 4);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 4px rgba(30, 24, 16, 0.12);
  scroll-snap-align: start;
}
.maki-suggest .maki-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}
.maki-suggest .maki-slide-infos {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  padding: 28px 64px 12px 12px;
  background: linear-gradient(to top, #fff 55%, rgba(255, 255, 255, 0));
}
.maki-suggest .maki-slide-name {
  display: -webkit-box;
  overflow: hidden;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
  text-transform: uppercase;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.maki-suggest .maki-slide-price {
  flex: 0 0 auto;
  font-size: 15px;
  white-space: nowrap;
}
.maki-suggest.maki-upgrades .maki-slide-infos {
  flex-wrap: wrap;
  padding-right: 12px;
}
.maki-suggest .maki-slide-from {
  flex: 1 0 100%;
  overflow: hidden;
  color: #6b6258;
  font-size: 12px;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.maki-suggest .maki-slide-name small {
  display: block;
  color: #6b6258;
  font-size: 12px;
  font-weight: 400;
  text-transform: none;
}
.maki-suggest a.maki-slide-swap {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 9px 14px;
  border-radius: 999px;
  background: #EE712A;
  color: #1E1810;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(30, 24, 16, 0.25);
}
.maki-suggest a.maki-slide-swap:hover,
.maki-suggest a.maki-slide-swap:focus-visible {
  background: #1E1810;
  color: #fff;
}
.maki-suggest a.maki-slide-add {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EE712A;
  color: #1E1810;
  font-size: 28px;
  font-weight: 700;
  line-height: 44px;
  text-align: center;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(30, 24, 16, 0.25);
}
.maki-suggest a.maki-slide-add:hover,
.maki-suggest a.maki-slide-add:focus-visible {
  background: #1E1810;
  color: #fff;
}
@media (max-width: 768px) {
  .maki-suggest {
    margin-top: 28px;
  }
  .maki-suggest .maki-suggest-head h2 {
    font-size: 21px;
  }
  .maki-suggest .maki-slider-nav {
    display: none;
  }
  .maki-suggest ul.maki-slider-track {
    gap: 12px;
    margin: 0 -16px;
    padding: 0 16px 6px;
    scroll-padding: 0 16px;
  }
  .maki-suggest .maki-slide {
    flex-basis: calc(100% - 64px);
    scroll-snap-align: center;
  }
}
html.maki-cart-auto .woocommerce-cart-form td.actions button[name="update_cart"] {
  display: none !important;
}
.woocommerce-cart-form td.actions .coupon {
  display: none !important;
}
html.maki-cart-auto .woocommerce-cart-form tr:has(> td.actions) {
  display: none;
}
.maki-coupon {
  border: 1px solid #f0e6dd;
  border-radius: 12px;
  background: #FFFAF6;
}
.maki-coupon summary {
  padding: 12px 16px;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
}
.maki-coupon summary::-webkit-details-marker {
  display: none;
}
.maki-coupon summary::after {
  content: "+";
  float: right;
  color: #EE712A;
  font-weight: 700;
}
.maki-coupon[open] summary::after {
  content: "−";
}
.maki-coupon .maki-coupon-form {
  display: flex;
  gap: 8px;
  padding: 0 16px 14px;
}
.maki-coupon .maki-coupon-form input.input-text {
  flex: 1 1 auto;
  min-width: 0;
  height: 42px;
}
.maki-coupon .maki-coupon-form .button {
  flex: 0 0 auto;
  height: 42px;
  min-height: 0;
  padding: 0 16px;
}
@media (min-width: 769px) {
  .woocommerce-cart .cart-collaterals {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 4%;
  }
  .woocommerce-cart .cart-collaterals::before,
  .woocommerce-cart .cart-collaterals::after {
    display: none;
  }
  .woocommerce-cart .cart-collaterals .maki-coupon {
    flex: 0 0 48%;
    margin-top: 52px;
  }
  .woocommerce-cart .cart-collaterals .cart_totals {
    flex: 0 0 48%;
    float: none;
    width: 48%;
    margin-left: auto;
  }
}
@media (max-width: 768px) {
  .woocommerce-cart .cart-collaterals .maki-coupon {
    margin-bottom: 16px;
  }
}
.woocommerce-cart .cart-collaterals {
  margin-top: 24px;
}
/* ---------- Panier en mobile : une ligne compacte par article ---------- */
@media (max-width: 768px) {
  .woocommerce-cart .woocommerce table.shop_table_responsive thead {
    display: none;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item {
    display: grid;
    grid-template-areas: "thumb name remove" "thumb qty  sub";
    grid-template-columns: 56px 1fr auto;
    align-items: center;
    gap: 6px 12px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td {
    display: block;
    padding: 0;
    border: 0;
    background: none;
    text-align: left !important;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td::before {
    display: none;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-thumbnail {
    display: block !important;
    grid-area: thumb;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-thumbnail img {
    width: 56px;
    max-width: none;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-name {
    grid-area: name;
    font-size: 15px;
    line-height: 1.3;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-price {
    display: none;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-quantity {
    grid-area: qty;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-quantity .quantity input.qty {
    width: 64px;
    height: 36px;
    padding: 4px;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-subtotal {
    grid-area: sub;
    font-weight: 700;
    text-align: right !important;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-remove {
    grid-area: remove;
    text-align: right !important;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive td.actions {
    padding: 16px 0 0 !important;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive td.actions::before {
    display: none;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive td.actions .coupon {
    display: flex;
    gap: 8px;
    padding: 0;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive td.actions .coupon input.input-text,
  .woocommerce-cart .woocommerce table.shop_table_responsive td.actions .coupon .button {
    height: 42px;
    min-height: 0;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive td.actions .coupon input.input-text {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive td.actions .coupon .button {
    flex: 0 0 auto;
    width: auto;
    padding-right: 12px;
    padding-left: 12px;
  }
}
/* ---------- Titres des rubriques en mobile ---------- */
@media (max-width: 768px) {
  .gluten-free-note {
    margin: 12px 0 24px;
    font-size: 14px;
  }
  .product-category {
    margin-bottom: 40px;
  }
  .product-category .category-title-container {
    min-height: 64px;
    margin-bottom: 20px;
    padding: 8px 10px 8px 18px;
  }
  .product-category .category-title-container h2 {
    font-size: 20px;
  }
  .product-category .category-vignettes .category-vignette {
    width: 48px;
    height: 48px;
    margin-left: -12px;
  }
}
/* ---------- Retouches mobiles : en-tête, panier, pied de page ---------- */
@media (max-width: 576px) {
  .header-main .builder-item--logo .site-logo img {
    max-width: 110px;
    height: auto;
  }
  .header-main .builder-item--button_base .button {
    padding: 8px 10px !important;
    font-size: 13px !important;
    white-space: nowrap;
  }
  .header-main .builder-item--nav-icon .navbar-toggle {
    padding: 8px 6px;
  }
  .header-main .builder-item {
    padding: 0 8px;
  }
  .header-main .hfg-is-group > .item--inner {
    margin: 0 !important;
  }
  .header-main .hfg-is-group {
    gap: 6px;
  }
  .header-main .builder-item--header_cart_icon {
    padding: 0 2px;
  }
}
@media (max-width: 400px) {
  .header-main .builder-item--logo .site-logo img {
    max-width: 94px;
  }
  .header-main .builder-item--button_base .button {
    padding: 7px 8px !important;
    font-size: 12px !important;
  }
}
@media (max-width: 768px) {
  .woocommerce-cart .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    padding: 18px 16px !important;
    font-size: 19px !important;
    text-align: center;
  }
  .woocommerce-cart .woocommerce table.shop_table_responsive tr.cart_item td.product-quantity .quantity input.qty {
    box-sizing: border-box;
    width: 52px !important;
    min-height: 0;
    height: 36px !important;
    padding: 2px 4px !important;
    font-size: 15px;
  }
  .maki-extras ul.maki-extras-list li {
    flex: 1 1 100%;
    justify-content: space-between;
  }
  .maki-extras ul.maki-extras-list li .maki-extras-name {
    margin-right: auto;
  }
  .maki-footer .maki-footer-main .wp-block-image {
    display: flex;
    justify-content: center;
    margin: 0 auto 20px;
  }
}
