/* Marque-moi — css_home.css. Généré depuis le CSS vérifié du 4 octobre 2026. */
body.home main .mm-hero + .wp-block-columns,
body.home main .wp-block-group:has(> .mm-best-sellers) + .wp-block-group,
body.home main .woocommerce:has(> ul.products):has(.product-category) {
    width: auto !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    margin-left: calc(-1 * var(--wp--style--root--padding-left, 0px)) !important;
    margin-right: calc(-1 * var(--wp--style--root--padding-right, 0px)) !important;
}

body.home main .mm-hero-left .wp-block-button__link,
body.home main .mm-best-sellers .wc-block-components-product-button__button {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 46px;
    border: 1px solid var(--mm-gold) !important;
    border-radius: 6px !important;
    background: var(--mm-gold) !important;
    color: var(--mm-black) !important;
    font-family: var(--wp--preset--font-family--manrope, "Manrope", sans-serif);
    font-weight: 650 !important;
    line-height: 1.4 !important;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    transition: background-color 0.2s ease, color 0.2s ease;
}

body.home main .mm-hero-left .wp-block-button__link:hover,
body.home main .mm-best-sellers .wc-block-components-product-button__button:hover {
    background: var(--mm-beige) !important;
}

body.home main .mm-hero-left .wp-block-button__link:focus-visible {
    outline: 3px solid var(--mm-gold) !important;
    outline-offset: 4px;
}

body.home main .mm-best-sellers a:focus-visible,
body.home main .woocommerce ul.products > li.product-category > a:focus-visible {
    outline: 3px solid var(--mm-black) !important;
    outline-offset: 4px;
}

body.home main .mm-hero-left .wp-block-button__link {
    padding: 12px 24px !important;
    font-size: 15px !important;
}

body.home main .wp-block-group:has(> .mm-best-sellers) > h2,
body.home main .wp-block-group:has(> .mm-best-sellers) + .wp-block-group > h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    max-width: 1440px;
    margin: 0 auto !important;
    color: var(--mm-black);
    font-family: var(--wp--preset--font-family--oswald, sans-serif);
    font-size: clamp(28px, 2.6vw, 40px) !important;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
}

body.home main .wp-block-group:has(> .mm-best-sellers) > h2::before,
body.home main .wp-block-group:has(> .mm-best-sellers) > h2::after,
body.home main .wp-block-group:has(> .mm-best-sellers) + .wp-block-group > h2::before,
body.home main .wp-block-group:has(> .mm-best-sellers) + .wp-block-group > h2::after {
    content: "";
    flex: 0 0 56px;
    height: 2px;
    background: var(--mm-gold);
}

body.home main .mm-hero {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 24px !important;
    background: var(--mm-black) !important;
}

body.home main .mm-hero-columns {
    width: 100% !important;
    max-width: 1440px !important;
    min-height: clamp(400px, 27vw, 520px) !important;
    margin: 0 auto !important;
    gap: 0 !important;
    align-items: stretch !important;
    background: transparent !important;
}

body.home main .mm-hero-left {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: flex-start !important;
    flex: 0 0 48% !important;
    min-width: 0;
    box-sizing: border-box;
    padding: 44px 32px 44px 0 !important;
    background: transparent !important;
}

body.home main .mm-hero-right {
    flex: 1 1 52% !important;
    min-width: 0;
    margin: 0 !important;
    background: transparent !important;
}

body.home main .mm-hero-picture {
    display: block;
    width: 100%;
    margin: 0 !important;
    aspect-ratio: 1672 / 941;
}

body.home main .mm-hero-img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 0 !important;
    border: 0;
    border-radius: 0;
}

body.home main .mm-hero-left h1 {
    width: 100%;
    max-width: 680px;
    margin: 0 !important;
    color: var(--mm-white) !important;
    font-family: var(--wp--preset--font-family--oswald, sans-serif);
    font-size: clamp(34px, 2.8vw, 54px) !important;
    font-weight: 700;
    line-height: 1.15 !important;
    text-align: left;
    text-wrap: balance;
}

body.home main .mm-hero-left > p {
    max-width: 590px;
    margin: 20px 0 0 !important;
    color: var(--mm-white) !important;
    font-size: clamp(15px, 1.1vw, 18px) !important;
    line-height: 1.55 !important;
}

body.home main .mm-hero-left .wp-block-buttons {
    margin: 26px 0 0 !important;
}

@media (min-width: 782px) {
    body.home main .mm-hero {
        position: relative;
        isolation: isolate;
    }
    body.home main .mm-hero-columns,
    body.home main .mm-hero-right {
        position: static;
        z-index: auto;
    }
    body.home main .mm-hero-left {
        position: relative;
        z-index: 1;
    }
    body.home main .mm-hero-picture {
        position: absolute;
        z-index: 0;
        top: 0;
        right: 0;
        display: block;
        width: auto;
        height: 100%;
        max-width: 100%;
        aspect-ratio: 3 / 1;
        pointer-events: none;
    }
    body.home main .mm-hero-img {
        height: 100%;
        object-fit: cover;
        object-position: right center;
    }
    body.home main .mm-hero-picture::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient( 90deg, var(--mm-black) 0%, rgba(17, 17, 17, 0.96) 7%, rgba(17, 17, 17, 0.62) 18%, rgba(17, 17, 17, 0) 36% );
    }
}

body.home main .mm-hero + .wp-block-columns {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    box-sizing: border-box;
    padding: 22px max(24px, calc((100% - 1600px) / 2)) !important;
    gap: 0 !important;
    background: var(--mm-beige) !important;
    color: var(--mm-black);
    border-bottom: 1px solid rgba(17, 17, 17, 0.08);
}

body.home main .mm-hero + .wp-block-columns > .wp-block-column {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    margin: 0 !important;
    padding: 0 20px;
    gap: 14px;
}

body.home main .mm-hero + .wp-block-columns > .wp-block-column + .wp-block-column {
    border-left: 1px solid rgba(17, 17, 17, 0.18);
}

body.home main .mm-hero + .wp-block-columns p {
    margin: 0 !important;
    color: var(--mm-black) !important;
    font-family: var(--wp--preset--font-family--manrope, "Manrope", sans-serif);
    font-size: 14px !important;
    font-weight: 600;
    line-height: 1.5;
}

body.home main .mm-hero + .wp-block-columns > .wp-block-column::before {
    content: "";
    display: block;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    background: center / contain no-repeat;
}

body.home main .mm-hero + .wp-block-columns > .wp-block-column:nth-child(1)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23E0BD73' stroke-width='1.8' stroke-linejoin='round'%3E%3Cpath d='M11 4 4 8 1.5 14l5.5 3 3-4v16h12V13l3 4 5.5-3L28 8l-7-4c-1 4-9 4-10 0Z'/%3E%3C/svg%3E");
}

body.home main .mm-hero + .wp-block-columns > .wp-block-column:nth-child(2)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23E0BD73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 8h17v16H3V8Zm17 6h6l4 6v4H20M1 13h7M1 17h7'/%3E%3Ccircle cx='9' cy='25' r='3' fill='%23F4EFE6'/%3E%3Ccircle cx='25' cy='25' r='3' fill='%23F4EFE6'/%3E%3C/svg%3E");
}

body.home main .mm-hero + .wp-block-columns > .wp-block-column:nth-child(3)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23E0BD73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 2 11 4v10c0 6-6 11-11 14C11 27 5 22 5 16V6L16 2Z'/%3E%3Cpath d='m10 16 4 4 8-9'/%3E%3C/svg%3E");
}

body.home main .mm-hero + .wp-block-columns > .wp-block-column:nth-child(4)::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23E0BD73' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 3 12 6v14l-12 6-12-6V9l12-6ZM4 9l12 6 12-6M16 15v14M10 6l12 6v7'/%3E%3C/svg%3E");
}

@media (min-width: 1200px) {
    body.home main .mm-hero + .wp-block-columns:has(> .wp-block-column:nth-child(4)) {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

body.home main .mm-hero + .wp-block-columns + h2.wp-block-heading,
body.home main .mm-hero + .wp-block-columns + h2.wp-block-heading + p.wp-block-paragraph {
    box-sizing: border-box;
    width: calc(100% - 48px);
    color: var(--mm-black);
    text-align: center;
    overflow-wrap: break-word;
}

body.home main .mm-hero + .wp-block-columns + h2.wp-block-heading {
    max-width: 1000px !important;
    margin: clamp(32px, 3.5vw, 52px) auto 0 !important;
    font-family: var(--wp--preset--font-family--oswald, sans-serif);
    font-size: clamp(26px, 2.6vw, 36px) !important;
    font-weight: 700;
    line-height: 1.3;
    text-wrap: balance;
}

body.home main .mm-hero + .wp-block-columns + h2.wp-block-heading::after {
    content: "";
    display: block;
    width: 64px;
    height: 2px;
    margin: 18px auto 0;
    background: var(--mm-gold);
}

body.home main .mm-hero + .wp-block-columns + h2.wp-block-heading + p.wp-block-paragraph {
    max-width: 920px !important;
    margin: 20px auto clamp(32px, 3.5vw, 52px) !important;
    font-family: var(--wp--preset--font-family--manrope, "Manrope", sans-serif);
    font-size: 17px;
    line-height: 1.8;
    text-wrap: pretty;
}

body.home main .wp-block-group:has(> .mm-best-sellers) {
    display: block !important;
    max-width: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 42px clamp(16px, 3vw, 40px) 48px !important;
    background: var(--mm-white) !important;
    color: var(--mm-black);
}

body.home main .wp-block-group:has(> .mm-best-sellers) > p {
    max-width: 760px;
    margin: 12px auto 0 !important;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

body.home main .mm-best-sellers {
    --mm-card-width: calc((100% - 100px) / 6);
    min-width: 0;
    width: 100% !important;
    max-width: 1440px !important;
    margin: 28px auto 0 !important;
}

body.home main .mm-best-sellers .wc-block-product-template {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-start !important;
    align-items: stretch !important;
    gap: 20px !important;
    box-sizing: border-box;
    min-width: 0;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 8px 18px !important;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 8px;
    scrollbar-width: thin;
    scrollbar-color: var(--mm-gold) var(--mm-beige);
    list-style: none;
}

body.home main .mm-best-sellers .wc-block-product-template::-webkit-scrollbar {
    height: 8px;
}

body.home main .mm-best-sellers .wc-block-product-template::-webkit-scrollbar-track {
    border-radius: 8px;
    background: var(--mm-beige);
}

body.home main .mm-best-sellers .wc-block-product-template::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background: var(--mm-gold);
}

body.home main .mm-best-sellers .wc-block-product-template > .wc-block-product {
    display: flex !important;
    flex-direction: column;
    flex: 0 0 var(--mm-card-width) !important;
    width: var(--mm-card-width) !important;
    min-width: 0 !important;
    max-width: none !important;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 0 !important;
    scroll-snap-align: start;
    text-align: center;
}

body.home main .mm-best-sellers .wc-block-product-template > .wc-block-product:first-child {
    margin-inline-start: auto !important;
}

body.home main .mm-best-sellers .wc-block-product-template > .wc-block-product:last-child {
    margin-inline-end: auto !important;
}

body.home main .mm-best-sellers .wp-block-woocommerce-product-image {
    width: 100%;
    margin: 0 0 14px !important;
}

body.home main .mm-best-sellers .wp-block-woocommerce-product-image a {
    display: block;
    overflow: hidden;
    border-radius: 7px;
}

body.home main .mm-best-sellers .wp-block-woocommerce-product-image img {
    display: block;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    border-radius: 7px;
    background: var(--mm-beige);
}

body.home main .mm-best-sellers .wp-block-post-title {
    flex: 1 0 auto;
    margin: 0 0 12px !important;
    font-family: var(--wp--preset--font-family--manrope, "Manrope", sans-serif);
    font-size: 14px !important;
    font-weight: 650;
    line-height: 1.45 !important;
    text-align: center !important;
    overflow-wrap: anywhere;
}

body.home main .mm-best-sellers .wp-block-post-title a {
    color: var(--mm-black) !important;
    text-decoration: none;
}

body.home main .mm-best-sellers .wp-block-post-title a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

body.home main .mm-best-sellers .mm-rating-line {
    flex: 0 0 auto;
    min-height: 28px !important;
    margin: 0 0 14px !important;
}

body.home main .mm-best-sellers .wp-block-woocommerce-product-price {
    flex: 0 0 auto;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.home main .mm-best-sellers .wc-block-components-product-price {
    color: var(--mm-black);
    font-size: 15px !important;
    font-weight: 650;
    line-height: 1.5;
}

body.home main .mm-best-sellers .wp-block-woocommerce-product-button {
    width: 100%;
    margin: 12px 0 0 !important;
}

body.home main .mm-best-sellers .wc-block-components-product-button__button {
    width: 88% !important;
    align-self: center;
    margin-left: auto !important;
    margin-right: auto !important;
    border-radius: 16px !important;
    padding: 12px 10px !important;
    font-size: 14px !important;
}

body.home main .wp-block-group:has(> .mm-best-sellers) + .wp-block-group {
    display: block !important;
    padding: 32px 24px 24px !important;
    background: var(--mm-beige);
}

body.home main .woocommerce:has(> ul.products):has(.product-category) {
    padding: 0 clamp(16px, 3vw, 40px) 44px !important;
    background: var(--mm-beige);
}
body.home main .woocommerce ul.products:has(> li.product-category) {
    --mm-home-collection-width: calc((100% - 60px) / 4);
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto !important;
    padding: 0 !important;
    list-style: none;
}

body.home main .woocommerce ul.products:has(> li.product-category)::before,
body.home main .woocommerce ul.products:has(> li.product-category)::after {
    display: none !important;
}

body.home main .woocommerce ul.products > li.product-category {
    box-sizing: border-box;
    flex: 0 0 var(--mm-home-collection-width) !important;
    float: none !important;
    width: var(--mm-home-collection-width) !important;
    max-width: 100%;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}

body.home main .woocommerce ul.products > li.product-category > a {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 120px;
    height: 100%;
    box-sizing: border-box;
    overflow: hidden;
    padding: 24px 64px 24px 20px;
    border-radius: 7px;
    background: var(--mm-black);
    color: var(--mm-white);
    text-decoration: none;
}

body.home main .woocommerce ul.products > li.product-category > a img {
    position: absolute;
    inset: 0;
    display: block;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    object-fit: cover;
    object-position: right center;
    transform-origin: right center;
    transition: transform 0.25s ease;
}

body.home main .woocommerce ul.products > li.product-category > a::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: linear-gradient(90deg, rgba(17, 17, 17, 0.78), rgba(17, 17, 17, 0.24));
}

body.home main .woocommerce ul.products > li.product-category .woocommerce-loop-category__title {
    position: relative;
    z-index: 2;
    margin: 0 !important;
    padding: 0 !important;
    color: var(--mm-white) !important;
    font-family: var(--wp--preset--font-family--oswald, sans-serif);
    font-size: clamp(20px, 1.65vw, 26px) !important;
    font-weight: 650;
    line-height: 1.25;
    text-align: left;
}

body.home main .woocommerce ul.products > li.product-category .count {
    display: none;
}

body.home main .woocommerce ul.products > li.product-category > a::after {
    content: "";
    position: absolute;
    z-index: 2;
    right: 16px;
    top: 50%;
    width: 34px;
    height: 34px;
    transform: translateY(-50%);
    border-radius: 50%;
    background: var(--mm-gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111111' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14m-6-6 6 6-6 6'/%3E%3C/svg%3E") center / 20px 20px no-repeat;
}

body.home main .woocommerce ul.products > li.product-category > a:hover img {
    transform: scale(1.04);
}

body.home main .woocommerce:has(> ul.products):has(.product-category) + p:empty {
    display: none !important;
    margin: 0 !important;
}

@media (max-width: 1199px) {
    body.home main .mm-best-sellers {
        --mm-card-width: calc((100% - 60px) / 4);
    }
    body.home main .woocommerce ul.products:has(> li.product-category) {
        --mm-home-collection-width: calc((100% - 20px) / 2);
    }
}

@media (min-width: 782px) and (max-width: 1199px) {
    body.home main .mm-hero + .wp-block-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding: 8px 24px !important;
    }
    body.home main .mm-hero + .wp-block-columns > .wp-block-column {
        padding: 16px 20px;
    }
    body.home main .mm-hero + .wp-block-columns > .wp-block-column:nth-child(2n + 1) {
        border-left: 0;
    }
    body.home main .mm-hero + .wp-block-columns > .wp-block-column:nth-child(n + 3) {
        border-top: 1px solid rgba(17, 17, 17, 0.12);
    }
}

@media (max-width: 991px) {
    body.home main .mm-best-sellers {
        --mm-card-width: calc((100% - 40px) / 3);
    }
    body.home main .mm-hero-left {
        padding-right: 20px !important;
    }
}

@media (max-width: 781px) {
    body.home main .mm-hero {
        padding: 0 !important;
    }
    body.home main .mm-hero-columns {
        display: flex !important;
        flex-direction: column !important;
        min-height: 0 !important;
    }
    body.home main .mm-hero-left {
        flex: 0 0 auto !important;
        width: 100% !important;
        padding: 34px 24px 28px !important;
    }
    body.home main .mm-hero-right {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        flex: 0 0 auto !important;
        width: 100% !important;
        background: var(--mm-black) !important;
    }
    body.home main .mm-hero-left h1 {
        max-width: 640px;
        font-size: clamp(30px, 5.5vw, 42px) !important;
    }
    body.home main .mm-hero + .wp-block-columns {
        grid-template-columns: 1fr;
        padding: 8px 24px !important;
    }
    body.home main .mm-hero + .wp-block-columns > .wp-block-column {
        justify-content: flex-start;
        width: 100%;
        max-width: 420px;
        box-sizing: border-box;
        margin: 0 auto !important;
        padding: 16px 0;
    }
    body.home main .mm-hero + .wp-block-columns > .wp-block-column + .wp-block-column {
        border-left: 0;
        border-top: 1px solid rgba(17, 17, 17, 0.12);
    }
    body.home main .mm-hero + .wp-block-columns + h2.wp-block-heading,
    body.home main .mm-hero + .wp-block-columns + h2.wp-block-heading + p.wp-block-paragraph {
        width: calc(100% - 40px);
    }
    body.home main .mm-hero + .wp-block-columns + h2.wp-block-heading + p.wp-block-paragraph {
        font-size: 16px;
        line-height: 1.75;
        text-align: left;
    }
    body.home main .mm-best-sellers {
        --mm-card-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 479px) {
    body.home main .mm-best-sellers {
        /* Le début de la carte suivante suggère le geste de défilement. */
        --mm-card-width: 86%;
    }
    body.home main .wp-block-group:has(> .mm-best-sellers) > h2::before,
    body.home main .wp-block-group:has(> .mm-best-sellers) > h2::after,
    body.home main .wp-block-group:has(> .mm-best-sellers) + .wp-block-group > h2::before,
    body.home main .wp-block-group:has(> .mm-best-sellers) + .wp-block-group > h2::after {
        display: none;
    }
    body.home main .woocommerce ul.products:has(> li.product-category) {
        --mm-home-collection-width: 100%;
        gap: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.home main .mm-hero-left .wp-block-button__link,
    body.home main .mm-best-sellers .wc-block-components-product-button__button,
    body.home main .woocommerce ul.products > li.product-category > a img {
        transition: none;
    }
    body.home main .woocommerce ul.products > li.product-category > a:hover img {
        transform: none;
    }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
    body.home main .mm-best-sellers .wp-block-woocommerce-product-image img,
    body:is(.tax-product_cat, .woocommerce-shop) .wp-block-woocommerce-product-image img,
    body.single-product main :is(.wp-block-woocommerce-product-collection, .up-sells) .wp-block-woocommerce-product-image img {
        transform-origin: center center;
        transition: transform 0.25s ease;
    }
    body.home main .mm-best-sellers .wp-block-woocommerce-product-image a:hover img,
    body:is(.tax-product_cat, .woocommerce-shop) .wp-block-woocommerce-product-image a:hover img,
    body.single-product main :is(.wp-block-woocommerce-product-collection, .up-sells) .wp-block-woocommerce-product-image a:hover img {
        transform: scale(1.04);
    }
}

/* 1.0.1 : contenir les textes accessibles absolus dans le carrousel. */
body.home main .mm-best-sellers .wc-block-product-template {
    position: relative;
}
