/* Madame Corail – carrousel de produits de la page d'accueil */
.mc-home .mc-pslider { margin-top: .5rem; }
.mc-home .mc-pfilters { display: flex; flex-wrap: wrap; gap: .6rem; margin-bottom: 1.75rem; }
.mc-home .mc-pfilter {
  min-height: 2.6rem; padding: .5rem 1.15rem; border-radius: 999px; border: 2px solid rgba(247, 241, 227, .55);
  background: transparent; color: #F7F1E3; font: inherit; font-weight: 700; font-size: .95rem; line-height: 1.2; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.mc-home .mc-pfilter:hover { border-color: #F7F1E3; }
.mc-home .mc-pfilter.is-active { background: #F7F1E3; border-color: #F7F1E3; color: var(--deep); }
.mc-home .mc-pfilter:focus-visible { outline: 3px solid var(--coral); outline-offset: 2px; }
@media (max-width: 767px) {
  .mc-home .mc-pfilters { flex-wrap: nowrap; overflow-x: auto; margin-inline: -1.25rem; padding: 0 1.25rem .3rem; scrollbar-width: none; }
  .mc-home .mc-pfilters::-webkit-scrollbar { display: none; }
  .mc-home .mc-pfilter { white-space: nowrap; flex-shrink: 0; }
}

.mc-home .mc-ptrack-wrap { position: relative; }
.mc-home .mc-ptrack {
  display: flex; gap: 1.1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: .25rem .1rem 1rem; scrollbar-width: none; outline: none;
}
.mc-home .mc-ptrack::-webkit-scrollbar { display: none; }
.mc-home .mc-ptrack.is-drag { scroll-snap-type: none; scroll-behavior: auto; cursor: grabbing; }
.mc-home .mc-pcard {
  flex: 0 0 clamp(210px, 23%, 260px); scroll-snap-align: start; display: flex; flex-direction: column;
  background: #FFFBF1; color: var(--deep); border-radius: 18px; overflow: hidden;
  transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s ease;
}
.mc-home .mc-pcard:hover { transform: translateY(-6px); box-shadow: 0 22px 44px rgba(0, 0, 0, .3); }
.mc-home .mc-pcard[hidden] { display: none; }
.mc-home .mc-pcard-media { position: relative; display: block; aspect-ratio: 1; background: #FFFFFF; overflow: hidden; }
.mc-home .mc-pcard-media img { width: 100%; height: 100%; object-fit: contain; padding: .75rem; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mc-home .mc-pcard:hover .mc-pcard-media img { transform: scale(1.06); }
.mc-home .mc-pcard-badge { position: absolute; top: .75rem; left: .75rem; padding: .25rem .65rem; border-radius: 999px; background: var(--coral); color: var(--deep); font-weight: 700; font-size: .8rem; }
.mc-home .mc-pcard-body { display: flex; flex-direction: column; gap: .35rem; padding: 1rem 1.1rem 1.2rem; flex: 1; }
.mc-home .mc-pcard-cat { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--accent); }
.mc-home .mc-pcard-title { font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: 1.15rem; line-height: 1.2; margin: 0; }
.mc-home .mc-pcard-title a, .mc-home .mc-pcard-title a:hover, .entry-content .mc-home .mc-pcard a { color: var(--deep); text-decoration: none; }
.entry-content .mc-home .mc-pcard-add.button, .entry-content .mc-home .mc-pcard-add.button:hover { color: #FFFFFF; }
.mc-home .mc-pcard-price { font-weight: 700; color: var(--deep); }
.mc-home .mc-pcard-price del { color: var(--muted); font-weight: 500; margin-right: .3rem; }
.mc-home .mc-pcard-price ins { text-decoration: none; }
.mc-home .mc-pcard-add.button {
  margin-top: auto; align-self: flex-start; display: inline-flex; align-items: center; min-height: 2.6rem; padding: .55rem 1.2rem;
  border-radius: 999px; background: var(--deep); color: #FFFFFF; font-weight: 700; font-size: .92rem; line-height: 1.2; text-decoration: none; border: 0;
}
.mc-home .mc-pcard-add.button:hover { background: var(--slate); color: #FFFFFF; }
.mc-home .mc-pcard-add.loading { opacity: .6; }
.mc-home .mc-pcard-add.added::after { content: " ✓"; }
.mc-home .mc-pcard .added_to_cart { font-size: .88rem; font-weight: 700; color: var(--accent); text-decoration: underline; margin-top: .3rem; }

.mc-home .mc-parrow {
  position: absolute; top: 38%; z-index: 2; width: 3rem; height: 3rem; border-radius: 50%; border: 0;
  background: #F7F1E3; color: var(--deep); display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, .3); transition: opacity .2s ease, transform .2s ease; padding: 0;
}
.mc-home .mc-parrow:hover { transform: scale(1.08); }
.mc-home .mc-parrow:disabled { opacity: 0; pointer-events: none; }
.mc-home .mc-parrow svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.mc-home .mc-parrow--prev { left: -1.5rem; }
.mc-home .mc-parrow--next { right: -1.5rem; }
@media (max-width: 899px) { .mc-home .mc-parrow { display: none; } .mc-home .mc-pcard { flex-basis: 68%; } }
.mc-home .mc-pslider-empty { color: #F7F1E3; }
.mc-home .mc-shop-all { margin-top: 1.5rem; }

/* ---------- Style « vitrine claire » (inspiré de Choice of the day) ---------- */
.mc-home .mc-shop.mc-shop--light { background: var(--cream); color: var(--deep); border-top: 0; }
.mc-home .mc-shop--light .mc-section { padding-top: clamp(2.5rem, 6vw, 4.5rem); }
.mc-home .mc-shop--light .mc-head { text-align: center; max-width: 46rem; margin-inline: auto; }
.mc-home .mc-shop--light .mc-head p { margin-inline: auto; }
.mc-home .mc-shop--light .mc-eyebrow-sm { font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 1rem; letter-spacing: .16em; text-transform: uppercase; color: var(--coral); margin-bottom: .6rem; }
.mc-home .mc-shop--light .mc-h2 { color: var(--deep); font-size: clamp(2rem, 4.8vw, 3.4rem); }
.mc-home .mc-shop--light .mc-lead { color: var(--muted); }
.mc-home .mc-shop--light .mc-pfilters { justify-content: center; }
.mc-home .mc-shop--light .mc-pfilter { border-color: var(--deep); color: var(--deep); background: transparent; }
.mc-home .mc-shop--light .mc-pfilter:hover { background: rgba(15, 42, 67, .08); }
.mc-home .mc-shop--light .mc-pfilter.is-active { background: var(--deep); border-color: var(--deep); color: #FFFFFF; }
.mc-home .mc-shop--light .mc-parrow { display: grid; top: calc((100% - 6rem) * .42); background: var(--deep); color: #F7F1E3; box-shadow: 0 10px 24px rgba(15, 42, 67, .3); }
.mc-home .mc-shop--light .mc-parrow:hover, .mc-home .mc-shop--light .mc-parrow:focus-visible { background: var(--coral); color: var(--deep); }
@media (max-width: 899px) { .mc-home .mc-shop--light .mc-parrow { width: 2.6rem; height: 2.6rem; } .mc-home .mc-shop--light .mc-parrow--prev { left: .25rem; } .mc-home .mc-shop--light .mc-parrow--next { right: .25rem; } }
@media (max-width: 599px) { .mc-home .mc-shop--light .mc-parrow { display: none; } }
.mc-home .mc-shop--light .mc-ptrack { gap: 24px; padding-bottom: .5rem; }
.mc-home .mc-shop--light .mc-pcard { flex: 0 0 calc((100% - 72px) / 4); background: transparent; border-radius: 0; overflow: visible; }
.mc-home .mc-shop--light .mc-pcard:hover { transform: none; box-shadow: none; }
@media (max-width: 1099px) { .mc-home .mc-shop--light .mc-pcard { flex-basis: calc((100% - 48px) / 3); } }
@media (max-width: 759px) { .mc-home .mc-shop--light .mc-pcard { flex-basis: 72%; } }
.mc-home .mc-shop--light .mc-pcard-visual { position: relative; border-radius: 18px; overflow: hidden; background: #FFFFFF; }
.mc-home .mc-shop--light .mc-pcard-media { aspect-ratio: 1; background: #FFFFFF; }
.mc-home .mc-shop--light .mc-pcard-media img { padding: 9%; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.mc-home .mc-shop--light .mc-pcard:hover .mc-pcard-media img { transform: scale(1.06); }
.mc-home .mc-shop--light .mc-pcard-badge { top: 14px; left: 14px; }
.mc-home .mc-shop--light .mc-pcard-add.button { position: absolute; left: 50%; bottom: 16px; transform: translate(-50%, 0); margin: 0; white-space: nowrap; box-shadow: 0 10px 24px rgba(15, 42, 67, .25); }
@media (hover: hover) {
  .mc-home .mc-shop--light .mc-pcard-add.button { opacity: 0; transform: translate(-50%, 12px); transition: opacity .25s ease, transform .3s cubic-bezier(.2, .7, .2, 1); }
  .mc-home .mc-shop--light .mc-pcard:hover .mc-pcard-add.button, .mc-home .mc-shop--light .mc-pcard-add.button:focus-visible, .mc-home .mc-shop--light .mc-pcard-add.button.added { opacity: 1; transform: translate(-50%, 0); }
}
.mc-home .mc-shop--light .mc-pcard .added_to_cart { position: absolute; left: 0; right: 0; bottom: -1.6rem; text-align: center; }
.mc-home .mc-shop--light .mc-pcard-body { padding: 1rem .2rem 0; background: transparent; gap: .25rem; }
.mc-home .mc-shop--light .mc-pcard-title { font-size: 1.2rem; }
.mc-home .mc-shop--light .mc-pcard-price { font-size: 1.05rem; }
.mc-home .mc-pdots { display: flex; justify-content: center; gap: 8px; margin-top: 1.75rem; min-height: 10px; }
.mc-home .mc-pdots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 999px; background: rgba(15, 42, 67, .22); cursor: pointer; transition: width .25s ease, background-color .25s ease; }
.mc-home .mc-pdots button.is-active { width: 26px; background: var(--coral); }
.mc-home .mc-shop--light .mc-shop-all { text-align: center; margin-top: 2rem; }
.mc-home .mc-shop--light .mc-pslider-empty { color: var(--muted); text-align: center; }

/* ---------- Bandeau défilant « fabrication artisanale » ---------- */
.mc-home .mc-ticker { background: var(--coral); color: var(--deep); overflow: hidden; padding-block: clamp(.9rem, 2vw, 1.4rem); position: relative; z-index: 1; }
.mc-home .mc-ticker-track { display: flex; width: max-content; will-change: transform; }
.mc-home .mc-ticker-group { display: flex; align-items: center; flex-shrink: 0; }
.mc-home .mc-ticker-item {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 700; text-transform: uppercase;
  font-size: clamp(2.2rem, 5.6vw, 4.6rem); line-height: 1; letter-spacing: .01em; white-space: nowrap;
}
.mc-home .mc-ticker-sep { display: inline-block; margin: 0 clamp(1rem, 2.4vw, 2rem); font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1; color: var(--cream); animation: mc-spin 6s linear infinite; }
@keyframes mc-spin { to { transform: rotate(360deg); } }
.mc-home .mc-ticker + .mc-shop--light .mc-section { padding-top: clamp(3rem, 7vw, 5rem); }
@media (prefers-reduced-motion: reduce) { .mc-home .mc-ticker-sep { animation: none; } }
.mc-home .mc-ticker-link, .mc-home .mc-ticker-link:hover { display: block; color: inherit; text-decoration: none; }
.entry-content .mc-home a.mc-ticker-link { text-decoration: none; }
.mc-home .mc-ticker--deep { background: var(--deep); color: var(--cream); }
.mc-home .mc-ticker--deep .mc-ticker-sep { color: var(--coral); }
.mc-home .mc-ticker--deep a.mc-ticker-link:hover .mc-ticker-item { color: var(--coral); }
.mc-home .mc-ticker-item { transition: color .2s ease; }
.mc-home .mc-ticker + #click-and-collect { padding-top: clamp(3.5rem, 8vw, 6.5rem); }
