/*
Theme Name: Cremerie Acoco
Template: twentytwentyfour
Description: Child theme de Twenty Twenty-Four pour Crémerie Acoco
Version: 1.0
*/

/* ─── Cacher le titre de page ───────────────── */
.wp-block-post-title,
.entry-title,

/* ─── Variables ─────────────────────────────── */
:root {
    --color-navy:      #694176;
    --color-cream:     #fdc944;
    --color-coral:     #f79b99;
    --color-turquoise: #86b0a4;
    --color-purple:    #b467ce;
    --color-white:#fff9f9;
}

/* ─── Base ──────────────────────────────────── */
body {
    font-family: 'Manrope', sans-serif;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Coiny', sans-serif;
}

.site-title,
.wp-block-site-title {
    font-family: "Coiny", system-ui!important;
}
.entry-content {
    /* tes styles globaux ici */
    padding: 0;
    max-width: 100%;
}
:where(.wp-site-blocks) > * {
    margin-block-start: 0rem;
    margin-block-end: 0;
}

:root :where(.is-layout-constrained) > * {
    margin-block-start: 0rem;
    margin-block-end: 0;
}
/* ─── Hero image de fond ─────────────────────── */
.heros-top {
    position: relative;
    background-image: linear-gradient(to bottom, rgba(105, 65, 118, 0.479), rgba(105, 65, 118, 0.95)), url(https://www.lacremeacoco.ca/wp-content/uploads/2026/03/hero-icecream-DeYyjWBE.jpg) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

}
.heros-top .wp-block-column .wp-block-button{
    z-index:200;
}
.heros-top .wp-block-column h1{
    z-index:200;
    position: relative;
}
.heros-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 300px;
    z-index:1;
    background: linear-gradient(to right, #694176 0%, #f79a99 25%, #fdc944 50%, #86b0a4 75%, #b467ce 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent, black);
    mask-image: linear-gradient(to bottom, transparent, black);
    pointer-events: none;
}


/* Fond marine seulement sur la home et les pages produit */
body{
    background-color: white;
    /* color: var(--color-cream); */
}
.wp-block-button.btn-primary a{
    border-radius:50px;color:#0c203b;background-color:#f59997;padding-top:1rem;padding-right:2.5rem;padding-bottom:1rem;padding-left:2.5rem;font-size:clamp(0.875rem, 0.875rem + ((1vw - 0.2rem) * 0.333), 1.1rem);font-weight:700
}
body.page-id-2 .specialite{
    background-color: white;
}
.top-menue{
    background: radial-gradient(circle, var(--color-purple) 0%, var(--color-navy) 100%);
}



.apropos{
    /* background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' preserveAspectRatio='xMidYMid slice' opacity='0.4'%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(42,68) rotate(35)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(110,30) rotate(-50)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(195,110) rotate(70)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(310,45) rotate(-20)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(400,90) rotate(55)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(490,35) rotate(-65)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(580,80) rotate(25)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(670,50) rotate(-40)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(760,110) rotate(80)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(30,160) rotate(-30)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(145,200) rotate(60)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(250,155) rotate(-75)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(360,210) rotate(15)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(460,170) rotate(-50)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(550,200) rotate(40)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(650,160) rotate(-20)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(750,195) rotate(65)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(70,280) rotate(45)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(175,310) rotate(-35)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(290,270) rotate(70)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(410,300) rotate(-55)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(520,280) rotate(25)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(620,315) rotate(-60)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(725,275) rotate(50)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(40,390) rotate(-45)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(150,420) rotate(30)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(260,385) rotate(-70)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(375,430) rotate(55)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(480,390) rotate(-25)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(590,420) rotate(65)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(700,385) rotate(-40)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(775,440) rotate(20)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(95,470) rotate(60)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(330,480) rotate(-30)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(555,470) rotate(45)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23fdc944' transform='translate(80,130) rotate(20)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%23f79b99' transform='translate(220,60) rotate(-10)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23b467ce' transform='translate(440,130) rotate(30)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%2386b0a4' transform='translate(630,70) rotate(-25)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23fdc944' transform='translate(770,145) rotate(15)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23f79b99' transform='translate(20,240) rotate(-35)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%23694176' transform='translate(320,250) rotate(40)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%2386b0a4' transform='translate(700,245) rotate(-15)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%23b467ce' transform='translate(130,350) rotate(50)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23fdc944' transform='translate(450,360) rotate(-30)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%23f79b99' transform='translate(770,340) rotate(25)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23694176' transform='translate(210,460) rotate(-45)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%2386b0a4' transform='translate(640,455) rotate(35)'/%3E%3C/svg%3E"), linear-gradient(0deg, var(--color-turquoise) 0%, #e7f4f1 50%, var(--color-white) 100%) !important; */
    /* background-size: contain !important;
    background-repeat: repeat !important; */
    background: linear-gradient(0deg, var(--color-purple) 0%, #b467ce47 50%, var(--color-white) 100%);
}
.promos video{
    border-radius: 15px;
}
.promos{
    background: var(--color-cream);
}
.nous-trouver{
   background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 800 500' preserveAspectRatio='xMidYMid slice' opacity='0.4'%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(42,68) rotate(35)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(110,30) rotate(-50)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(195,110) rotate(70)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(310,45) rotate(-20)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(400,90) rotate(55)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(490,35) rotate(-65)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(580,80) rotate(25)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(670,50) rotate(-40)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(760,110) rotate(80)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(30,160) rotate(-30)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(145,200) rotate(60)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(250,155) rotate(-75)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(360,210) rotate(15)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(460,170) rotate(-50)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(550,200) rotate(40)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(650,160) rotate(-20)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(750,195) rotate(65)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(70,280) rotate(45)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(175,310) rotate(-35)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(290,270) rotate(70)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(410,300) rotate(-55)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(520,280) rotate(25)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(620,315) rotate(-60)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(725,275) rotate(50)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(40,390) rotate(-45)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(150,420) rotate(30)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(260,385) rotate(-70)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(375,430) rotate(55)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(480,390) rotate(-25)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(590,420) rotate(65)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23b467ce' transform='translate(700,385) rotate(-40)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23694176' transform='translate(775,440) rotate(20)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23f79b99' transform='translate(95,470) rotate(60)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%2386b0a4' transform='translate(330,480) rotate(-30)'/%3E%3Crect x='-13' y='-4.5' width='26' height='9' rx='4.5' fill='%23fdc944' transform='translate(555,470) rotate(45)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23fdc944' transform='translate(80,130) rotate(20)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%23f79b99' transform='translate(220,60) rotate(-10)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23b467ce' transform='translate(440,130) rotate(30)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%2386b0a4' transform='translate(630,70) rotate(-25)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23fdc944' transform='translate(770,145) rotate(15)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23f79b99' transform='translate(20,240) rotate(-35)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%23694176' transform='translate(320,250) rotate(40)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%2386b0a4' transform='translate(700,245) rotate(-15)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%23b467ce' transform='translate(130,350) rotate(50)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23fdc944' transform='translate(450,360) rotate(-30)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%23f79b99' transform='translate(770,340) rotate(25)'/%3E%3Cpath d='M0,-9 L2.2,-2.2 L9,0 L2.2,2.2 L0,9 L-2.2,2.2 L-9,0 L-2.2,-2.2 Z' fill='%23694176' transform='translate(210,460) rotate(-45)'/%3E%3Cpath d='M0,-7 L1.7,-1.7 L7,0 L1.7,1.7 L0,7 L-1.7,1.7 L-7,0 L-1.7,-1.7 Z' fill='%2386b0a4' transform='translate(640,455) rotate(35)'/%3E%3C/svg%3E"), linear-gradient(0deg, #fdc944 0%, #f7e2ac 50%, #fffdf6 100%) !important;
   background-size: contain !important;
   background-repeat: repeat !important;
}
.apropos .media-apropos .wp-block-image {
    height: 380px;
    overflow: hidden;
    border-radius: 16px;
}
.apropos .media-apropos .wp-block-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.is-layout-constrained > .heros-top{
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.is-layout-constrained > .full-width {
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}

h1, h2, h3, h4, h5, h6 {
    font-family: "Coiny", system-ui;
    font-weight: 700;
    color: grey;
}
p{
    color: grey;
}
h1{
    color: #ffebac;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    font-family: "Coiny", system-ui;
    font-weight: 400;
    font-style: normal;
}

a {
    color: var(--color-turquoise);
}
.container {
    padding-left: 5%;
    padding-right: 5%;
}
/* ─── Navigation mobile overlay ─────────────── */
.wp-block-navigation__responsive-container.is-menu-open {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 100000 !important;
    background-color: var(--color-navy) !important;
    display: flex !important;
    flex-direction: column;
    padding: 2rem;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
    display: flex !important;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 4rem;
}

.wp-block-navigation__responsive-container.is-menu-open a {
    color: var(--color-cream) !important;
    font-family: 'Coiny', sans-serif !important;
    font-size: 2rem !important;
}

.wp-block-navigation__responsive-container-close {
    position: absolute !important;
    top: 1.5rem !important;
    right: 1.5rem !important;
    color: var(--color-cream) !important;
    z-index: 100001 !important;
}

.wp-block-navigation__responsive-container-open svg,
.wp-block-navigation__responsive-container-close svg {
    fill: var(--color-cream) !important;
    color: var(--color-cream) !important;
}

/* ─── Navigation ────────────────────────────── */
.main-header-bar{
    background-color: var(--color-navy) !important;
    border-bottom: 1px solid rgba(181, 222, 210, 0.15);
}


.wp-block-navigation-item a {
    color: var(--color-cream) !important;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
    text-decoration: none;
    outline: none;
    position: relative;
    transition: color 0.25s ease;
}

.wp-block-navigation-item a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--color-coral);
    border-radius: 999px;
    transition: width 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.wp-block-navigation-item a:hover,
.wp-block-navigation-item a:focus-visible {
    color: var(--color-coral) !important;
    outline: none;
    box-shadow: none;
}

.wp-block-navigation-item a:hover::after,
.wp-block-navigation-item a:focus-visible::after {
    width: 100%;
}

/* ─── Sous-menu dropdown ────────────────────── */
.wp-block-navigation__submenu-container {
    background: var(--color-purple, #694176) !important;
    border: none !important;
    border-radius: 12px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,0.25) !important;
    padding: 0.5rem 0 !important;
    min-width: 180px !important;
    overflow: hidden !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item a {
    color: #fff !important;
    font-size: 0.95rem !important;
    padding: 0.55rem 1.2rem !important;
    display: block !important;
    border-radius: 0 !important;
    transition: background 0.2s, color 0.2s !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item a::after {
    display: none !important;
}

.wp-block-navigation__submenu-container .wp-block-navigation-item a:hover {
    background: rgba(255,255,255,0.12) !important;
    color: var(--color-yellow, #fdc944) !important;
}

/* ─── Boutons globaux ───────────────────────── */
.wp-element-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"],
.ast-button {
    border-radius: 50px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    transition: transform 0.2s ease, opacity 0.2s ease !important;
}

.wp-element-button:hover,
.wp-block-button__link:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

/* ─── Formulaire de commande ────────────────── */
.cremerie-order-form input,
.cremerie-order-form select,
.cremerie-order-form textarea {
    transition: border-color 0.2s ease;
}

.cremerie-order-form input:focus,
.cremerie-order-form select:focus,
.cremerie-order-form textarea:focus {
    outline: none;
    border-color: var(--color-purple) !important;
}

.cremerie-order-form button:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    transition: all 0.2s ease;
}
.product-section{
    background: linear-gradient(to bottom, var(--color-coral) 0%, #f59997 25%, #ffebac 50%, #b5ded2 75%, #dea6f1 100%);
}
.product-section .btn-next-right{
    background: transparent!important;
}
/* //nous contacter */
#nous-contacter{
 background: linear-gradient(to bottom, #8a5c95 0%, #5a3566 70%, #3d2247 100%);

}  
/* ─── Footer ────────────────────────────────── */ 
.site-footer {
    position: relative;
}


/* Overlay sur l'image de fond */
.site-footer::before{
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 42, 74, 0.75);
    z-index: 0;
    pointer-events: none;
}
.site-footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    z-index: 1;
    background: linear-gradient(to right, #694176 0%, #f79a99 25%, #fdc944 50%, #86b0a4 75%, #b467ce 100%);
    -webkit-mask-image: linear-gradient(to top, transparent, black);
    mask-image: linear-gradient(to top, transparent, black);
    pointer-events: none;
}

.site-footer > * {
    position: relative;
    z-index: 2;
}

/* ─── WooCommerce ───────────────────────────── */

/* Fond général des pages WooCommerce */


.woocommerce-page .woocommerce,
.woocommerce ul.products li.product {
    background: transparent;
}
.wc-block-components-quantity-selector {
    border:none;
}

.woocommerce table.wc-block-cart-items .wc-block-cart-items__row .wc-block-cart-item__quantity {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
}
 .wc-block-cart-item__product .wc-block-cart-item__quantity {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: space-between;
}
.woocommerce .wc-block-product-template__responsive li.product {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
/* //border after title */
.woocommerce .wp-block-query-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #694176 0%, #f79a99 25%, #fdc944 50%, #86b0a4 75%, #b467ce 100%);
  border-radius: 999px;
}
.h1-woocomerce::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(to right, #694176 0%, #f79a99 25%, #fdc944 50%, #86b0a4 75%, #b467ce 100%);
  border-radius: 999px;
}
.h1-woocomerce{
    position: relative;
    color: var(--color-navy) !important;
    font-family: 'Coiny', sans-serif !important;
    font-size: clamp(1.6rem, 7vw, 2.6em);

}

.woocommerce .wp-block-query-title{
  position: relative;
}
:root :where(.wp-block-post-title a:where(:not(.wp-element-button))) {
    text-decoration: none;
    color: var(--color-purple);
}
:root :where(.wp-element-button:hover, .wp-block-button__link:hover) {
    background: linear-gradient(to right, #694176 0%, #f79a99 25%, #fdc944 50%, #86b0a4 75%, #b467ce 100%);
    
}

/* Titres de page (Boutique, Mon compte, etc.) */
.woocommerce-page h1.page-title,
.woocommerce-page h1,
.woocommerce-page h2,
.woocommerce-page h3 {
    color: var(--color-navy) !important;
    font-family: 'Coiny', sans-serif !important;
}
.woocommerce-page h2.wc-block-mini-cart__title span{
    font-size: 1.2rem;

}
.woocommerce-page h1.wp-block-post-title{
    font-size: 2.2rem;
    margin-top: 0.5rem;
}

/* ── Grille de produits ── */
.woocommerce ul.products li.product {
    background: #fff !important;
    border-radius: 20px !important;
    overflow: hidden;
    border: 2px solid #f0f0f0 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    padding-bottom: 1rem !important;
}

.woocommerce ul.products li.product:hover {
    transform: translateY(-3px);
    border-color: var(--color-coral) !important;
    box-shadow: 0 12px 20px rgba(245, 153, 151, 0.2);
}
.is-product-collection-layout-carousel {
    align-items: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}
.woocommerce ul.products li.product img {
    border-radius: 16px 16px 0 0;
}

.woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: var(--color-navy) !important;
    font-family: 'Coiny', sans-serif !important;
    font-size: 1.3rem !important;
    padding: 0.5rem 1rem 0 !important;
}

.woocommerce ul.products li.product .price {
    color: var(--color-coral) !important;
    font-weight: 700;
    padding: 0 1rem !important;
}

/* Suggestions : quatre cartes compactes sur ordinateur. */
.woocommerce :is(.up-sells, .related) ul.products {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.25rem;
}

.woocommerce :is(.up-sells, .related) ul.products::before,
.woocommerce :is(.up-sells, .related) ul.products::after {
    display: none;
}

.woocommerce :is(.up-sells, .related) ul.products li.product {
    float: none !important;
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    display: flex;
    flex-direction: column;
}

.woocommerce :is(.up-sells, .related) ul.products li.product .woocommerce-loop-product__title {
    font-size: 1.05rem !important;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.woocommerce :is(.up-sells, .related) ul.products li.product .price {
    font-size: 1.15rem !important;
    margin-bottom: 1rem;
}

/* Centrer les boutons des suggestions classiques de WooCommerce. */
.woocommerce .up-sells ul.products li.product > .button,
.woocommerce .related ul.products li.product > .button {
    display: table;
    float: none;
    width: fit-content;
    max-width: calc(100% - 2rem);
    box-sizing: border-box;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-top: auto !important;
    padding: 0.8rem 1.15rem !important;
    font-size: 0.95rem !important;
    line-height: 1.3;
    text-align: center;
}

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

@media (max-width: 480px) {
    .woocommerce :is(.up-sells, .related) ul.products {
        grid-template-columns: minmax(0, 1fr);
    }
}


/* ── Page produit unique ── */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--color-coral) !important;
    font-size: 1.5rem !important;
    font-weight: 700;
}

.woocommerce div.product .product_title {
    color: var(--color-navy) !important;
    font-family: 'Coiny', sans-serif !important;
}

.woocommerce div.product .woocommerce-product-details__short-description p {
    color: var(--color-navy) !important;
}

/* ── Boutons ── */
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.woocommerce #respond input#submit,
.woocommerce button.button.alt {
    background-color: var(--color-coral) !important;
    color: var(--color-navy) !important;
    border-radius: 50px !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    border: none !important;
    padding: 0.75rem 1.75rem !important;
}

/* ── Formulaires (checkout, mon compte) ── */
.woocommerce-page input[type="text"],
.woocommerce-page input[type="email"],
.woocommerce-page input[type="tel"],
.woocommerce-page input[type="password"],
.woocommerce-page input[type="number"],
.woocommerce-page select,
.woocommerce-page textarea {
    border: 2px solid #e8e8e8 !important;
    border-radius: 12px !important;
    color: var(--color-navy) !important;
    font-family: 'Manrope', sans-serif !important;
    transition: border-color 0.2s ease !important;
}

.woocommerce-page input:focus,
.woocommerce-page select:focus,
.woocommerce-page textarea:focus {
    border-color: var(--color-purple) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(245, 153, 151, 0.15) !important;
}
.woocommerce-breadcrumb{
    visibility: hidden!important;
    padding: 1rem;
}
.wc-block-product-template__responsive{
    margin-top: 1rem!important;
    gap: 0.5rem;
}
.woocommerce-page label {
    color: var(--color-navy) !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700;
    display: flex;
    align-items: stretch;
}
.woocommerce-page img {
    border-radius: 10px
}

/* ── Tableau panier / commande ── */
.woocommerce-cart table.cart,
.woocommerce-checkout table.shop_table {
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #f0f0f0 !important;
}

.woocommerce-cart table.cart th,
.woocommerce-checkout table.shop_table th {
    background: #fafafa !important;
    color: var(--color-navy) !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 700 !important;
    border-bottom: 2px solid #f0f0f0 !important;
}
.wc-block-components-product-name{
    color:var(--color-purple)!important;
}
.woocommerce-cart table.cart td,
.woocommerce-checkout table.shop_table td {
    background: #fff !important;
    color: var(--color-navy) !important;
    border-bottom: 1px solid #f0f0f0 !important;
}

/* ── Notices / messages ── */
.woocommerce-message,
.woocommerce-info {
    background: #f0faf7 !important;
    border-top-color: var(--color-turquoise) !important;
    color: var(--color-navy) !important;
    border-radius: 12px !important;
}

.woocommerce-error {
    background: #fff5f5 !important;
    border-top-color: var(--color-coral) !important;
    color: var(--color-navy) !important;
    border-radius: 12px !important;
}

.cremerie-clover-postal-hint {
    margin: 0.85rem 0 0;
    color: var(--color-coral);
    font-size: 0.95rem;
    line-height: 1.45;
}

.woocommerce table.variations tr td select {
    height:auto;
}

.woocommerce-page select,
.woocommerce div.product form.cart .variations select,
.woocommerce div.product form.cart .variations input,
.woocommerce div.product form.cart .variations textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
/* ── Mon compte ── */
.woocommerce-account .woocommerce-MyAccount-navigation ul {
    background: #fafafa;
    border-radius: 16px;
    padding: 1rem;
    border: 2px solid #f0f0f0;
}

.woocommerce-account .woocommerce-MyAccount-navigation li a {
    color: var(--color-navy) !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: 600;
    border-radius: 8px;
    padding: 0.4rem 0.75rem;
    display: block;
    transition: background 0.2s;
}

.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation li a:hover {
    background: rgba(245, 153, 151, 0.12);
    color: var(--color-coral) !important;
}
.woocommerce .product .wp-block-woocommerce-product-meta{
    display: none;
}

/* ─── Options gâteau sur mesure ─────────────── */
.cremerie-gateau-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 1.3rem;
}

.cremerie-field {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--color-coral);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.2rem;
}
.cremerie-field.date {
    margin-bottom: 1.2rem;
    margin-right: 1.3rem;
}

.cremerie-label {
    display: block;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--color-cream);
    margin-bottom: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.cremerie-label span {
    color: var(--color-coral);
    margin-left: 2px;
}

.cremerie-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.cremerie-radio-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: var(--color-turquoise);
    background: rgba(181, 222, 210, 0.07);
    border: 1.5px solid rgba(181, 222, 210, 0.25);
    border-radius: 50px;
    padding: 0.5rem 1.1rem;
    transition: all 0.2s ease;
}

.cremerie-radio-group label:hover {
    background: rgba(245, 153, 151, 0.12);
    border-color: var(--color-coral);
    color: var(--color-coral);
}

.cremerie-radio-group input[type="radio"] {
    accent-color: var(--color-coral);
    width: 16px;
    height: 16px;
}

.cremerie-radio-group input[type="radio"]:checked + span,
.cremerie-radio-group label:has(input:checked) {
    background: rgba(245, 153, 151, 0.15);
    border-color: var(--color-coral);
    color: var(--color-coral);
}

/* Grille designs preset */
.cremerie-preset-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.cremerie-preset-item {
    cursor: pointer;
    text-align: center;
}

.cremerie-preset-item input[type="radio"] {
    display: none;
}

.cremerie-preset-item span {
    display: block;
    background: rgba(222, 166, 241, 0.1);
    border: 2px solid rgba(222, 166, 241, 0.3);
    border-radius: 12px;
    padding: 0.5rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: var(--color-purple);
    transition: all 0.2s ease;
    text-align: center;
    overflow: hidden;
}

.cremerie-preset-item:hover span {
    background: rgba(222, 166, 241, 0.2);
    border-color: var(--color-purple);
}

.cremerie-preset-item input:checked + span {
    background: rgba(222, 166, 241, 0.25);
    border-color: var(--color-purple);
    box-shadow: 0 0 0 3px rgba(222, 166, 241, 0.2);
}

/* Upload */
.cremerie-file-input {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 2px dashed rgba(181, 222, 210, 0.4);
    border-radius: 12px;
    color: var(--color-coral);
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
}

.cremerie-file-input:hover {
    border-color: var(--color-turquoise);
}

.cremerie-hint {
    font-size: 0.8rem;
    color: var(--color-navy) !important;
    margin-top: 0.4rem;
    font-family: 'Manrope', sans-serif;
}


/* Notice lot de 6 sans taxe */
.cremerie-6pack-notice {
    font-family: 'Manrope', sans-serif;
    font-size: 0.85rem;
    color: var(--color-navy);
    background: rgba(180, 103, 206, 0.1);
    border: 1px solid #b467ce;
    border-radius: 10px;
    padding: 0.4rem 0.8rem;
    margin: 0.5rem 0 0.8rem;
    display: inline-block;
}

/* Checkboxes saveurs */
.cremerie-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.cremerie-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Manrope', sans-serif;
    font-size: 0.95rem;
    color: var(--color-navy);
    cursor: pointer;
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--color-coral);
    border-radius: 20px;
    padding: 0.35rem 0.9rem;
    transition: background 0.2s, border-color 0.2s;
}
.cremerie-checkbox-label:has(input:checked) {
    background: var(--color-coral);
    color: #fff;
    border-color: var(--color-coral);
}
.cremerie-checkbox-label input[type="checkbox"] {
    display: none;
}

/* Champ date */
.cremerie-date-input {
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(181, 222, 210, 0.25);
    border-radius: 12px;
    color: var(--color-navy);
    font-family: 'Manrope', sans-serif;
    font-size: 1rem;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
    color-scheme: light;
}

.cremerie-date-input:focus {
    outline: none;
    border-color: var(--color-purple);
}

.cremerie-date-error {
    margin-top: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(245, 153, 151, 0.12);
    border: 1.5px solid var(--color-coral);
    border-radius: 8px;
    color: var(--color-coral);
    font-family: 'Manrope', sans-serif;
    font-size: 0.9rem;
}

/* Textarea message */
.cremerie-textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1.5px solid rgba(181, 222, 210, 0.25);
    border-radius: 12px;
    color: var(--color-navy);
    font-family: 'Spectral', Georgia, serif;
    font-size: 1rem;
    resize: vertical;
    min-height: 80px;
    box-sizing: border-box;
    transition: border-color 0.2s ease;
}

.cremerie-textarea::placeholder {
    color: var(--color-navy)
}

.cremerie-order-note-textarea::placeholder {
    font-size: 0.88rem;
    line-height: 1.45;
}

.cremerie-textarea:focus {
    outline: none;
    border-color: var(--color-coral);
}

/* ─── Animations ────────────────────────────── */
@keyframes cremerie-float {
    0%, 100% { transform: translateY(0px); }
    50%       { transform: translateY(-8px); }
}


/* Flottement sur les emojis */
.wp-block-group .wp-block-paragraph[style*="font-size:3rem"] {
    display: inline-block;
    animation: cremerie-float 4s ease-in-out infinite;
}


/* Hover sur les cards */
.wp-block-columns .wp-block-column > .wp-block-group {
    transition: transform 0.5s ease-out, box-shadow 0.5s ease-out;
}

.wp-block-columns .wp-block-column > .wp-block-button:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

/* Transition sur les boutons WooCommerce */
.woocommerce a.button,
.woocommerce button.button {
    transition: transform 0.3s ease-out, opacity 0.3s ease-out !important;
}

.woocommerce .grille-produits{
     margin-top: 2rem;
    margin-bottom: 2rem;

}

.woocommerce a.button:hover,
.woocommerce button.button:hover {
    transform: translateY(-2px) !important;
    opacity: 0.9 !important;
}

/* ─── Responsive ────────────────────────────── */
@media (max-width: 768px) {
    .wp-block-columns {
        flex-wrap: wrap;
    }

    html,
    body {
        overflow-x: hidden;
    }

    .cremerie-order-form div[style*="grid-template-columns:1fr 1fr"] {
        grid-template-columns: 1fr !important;
    }
    .action-card .wp-block-column:not(:last-child)::after {
        display: none;
    }

    .woocommerce div.product form.cart .variations,
    .woocommerce div.product form.cart .variations tbody,
    .woocommerce div.product form.cart .variations tr,
    .woocommerce div.product form.cart .variations td,
    .woocommerce div.product form.cart .variations th {
        display: block;
        width: 100%;
    }

    .woocommerce div.product form.cart .variations tr {
        margin-bottom: 0.9rem;
    }

    .woocommerce div.product form.cart .variations td,
    .woocommerce div.product form.cart .variations th {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .woocommerce div.product form.cart .variations td.label,
    .woocommerce div.product form.cart .variations th.label {
        margin-bottom: 0;
        padding-bottom: 0;
    }

    .woocommerce div.product form.cart .variations td.value {
        margin-bottom: 0.25rem;
    }

    .woocommerce-page label {
        /* display: block; */
    }

}

/* ─── Menu mobile custom ─────────────────────── */
@media (min-width: 782px) {
    #cremerie-burger { display: none; }
    #cremerie-mobile-bar { display: none; }
}

@media (max-width: 781px) {
    .wp-block-group.has-navy-background-color .wp-block-group.is-layout-flex,
    .wp-block-group.is-content-justification-left.is-layout-flex {
        width: 100%;
    }
    /* Cacher le hamburger WordPress */
    .wp-block-navigation__responsive-container-open,
    .wp-block-navigation__responsive-container {
        display: none !important;
    }

    /* Barre mobile : burger gauche | gâteau centre | panier droite */
    #cremerie-mobile-bar {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0.5rem 1rem;
        position: sticky;
        top: 0;
        z-index: 4000;
        flex-direction: row-reverse;
    }

    #cremerie-mobile-cart {
        display: flex;
        align-items: center;
        justify-content: center;
        min-width: 38px;
        min-height: 38px;
        cursor: pointer;
    }

    #cremerie-mobile-cart > * {
        pointer-events: none;
    }

    .cremerie-mobile-cart-source {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        margin: -1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        border: 0 !important;
        clip: rect(0, 0, 0, 0) !important;
        clip-path: inset(50%) !important;
        white-space: nowrap !important;
    }

    #cremerie-cake-btn {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        font-size: 1.5rem;
        text-decoration: none;
        line-height: 1;
        transform-origin: center;
    }

    /* Bouton hamburger custom */
    #cremerie-burger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
        outline: none;



        z-index: 99999;
    }

    #cremerie-burger span {
        display: block;
        width: 26px;
        height: 2.5px;
        background: var(--color-cream);
        border-radius: 4px;
        transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1),
                    opacity 0.25s ease,
                    width 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        transform-origin: center;
    }

    #cremerie-burger.is-open span:nth-child(1) {
        transform: translateY(7.5px) rotate(45deg);
    }

    #cremerie-burger.is-open span:nth-child(2) {
        opacity: 0;
        width: 0;
    }

    #cremerie-burger.is-open span:nth-child(3) {
        transform: translateY(-7.5px) rotate(-45deg);
    }

    /* Drawer droite */
    #cremerie-mobile-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 80vw;
        z-index: 99998;
        background:#9468a3f5;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        opacity: 0;
        pointer-events: none;
        transform: translateX(100%);
        transition: opacity 0.35s ease, transform 0.35s cubic-bezier(0.23, 1, 0.32, 1);
        box-shadow: -8px 0 40px rgba(0, 0, 0, 0.35);
    }

    #cremerie-mobile-menu.is-open {
        opacity: 1;
        pointer-events: all;
        transform: translateX(0);
    }

    /* Logo dans le menu */
    .cremerie-mobile-logo {
        width: 120px;
        height: 120px;
        object-fit: contain;
        border-radius: 50%;
        margin-bottom: 1rem;
    }

    /* Liens */
    .cremerie-mobile-nav {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }

    .cremerie-mobile-link {
        color: var(--color-cream) !important;
        font-family: 'Coiny', sans-serif !important;
        font-size: 1.7rem !important;
        text-decoration: none;
        transition: color 0.2s ease;
        letter-spacing: 0.02em;
    }

    .cremerie-mobile-link:hover {
        color: var(--color-coral) !important;
    }

    /* Accordéon sous-menus */
    .cremerie-mobile-toggle {
        background: none !important;
        border: none !important;
        width: 100%;
        text-align: left;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0 !important;
    }

    .cremerie-mobile-chevron {
        font-size: 1rem;
        transition: transform 0.25s ease;
        margin-left: 0.5rem;
    }

    .cremerie-mobile-parent.is-open .cremerie-mobile-chevron {
        transform: rotate(180deg);
    }

    .cremerie-mobile-submenu {
        display: none;
        flex-direction: column;
        padding-left: 1.2rem;
        border-left: 2px solid rgba(255,255,255,0.2);
        margin-top: 0.2rem;
        margin-bottom: 0.4rem;
    }

    .cremerie-mobile-parent.is-open .cremerie-mobile-submenu {
        display: flex;
    }

    .cremerie-mobile-sublink {
        font-size: 1.1rem !important;
        padding-top: 0.1rem !important;
    }

    /* Bouton fermer */
    #cremerie-mobile-close {
        position: absolute;
        top: 3.25rem;
        right: 0.25rem;
        background: none;
        border: none;
        color: var(--color-cream);
        cursor: pointer;
        padding: 8px;
    }
}

#cremerie-back-to-top {
    position: fixed;
    right: 1.1rem;
    bottom: 1.1rem;
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    background: linear-gradient(180deg, #f79b99 0%, #fdc944 100%);
    color: var(--color-navy);
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease, box-shadow 0.25s ease;
    z-index: 2000;
}

#cremerie-back-to-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

#cremerie-back-to-top:hover,
#cremerie-back-to-top:focus-visible {
    box-shadow: 0 18px 38px rgba(64, 34, 73, 0.32);
    transform: translateY(-2px);
    outline: none;
}

@media (max-width: 781px) {
    #cremerie-back-to-top {
        right: 0.85rem;
        bottom: 0.85rem;
        width: 48px;
        height: 48px;
        font-size: 1.45rem;
    }
}

.cremerie-cookie-consent {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 1000;
    display: flex;
    justify-content: center;
}

.cremerie-cookie-consent[hidden] {
    display: none !important;
}

.cremerie-cookie-consent__inner {
    width: min(100%, 760px);
    padding: 1.1rem 1.15rem;
    border-radius: 22px;
    border: 1px solid rgba(109, 65, 118, 0.14);
    background: rgba(255, 249, 249, 0.97);
    box-shadow: 0 20px 44px rgba(64, 34, 73, 0.18);
    backdrop-filter: blur(12px);
}

.cremerie-cookie-consent__title {
    margin: 0 0 0.35rem;
    color: var(--color-navy);
    font-family: "Manrope", system-ui;
    font-size: clamp(1.1rem, 1vw, 1.45rem);
    line-height: 1.05;
}

.cremerie-cookie-consent__text {
    margin: 0;
    color: #6d4b84;
    font-size: 0.78rem;
    line-height: 1.45;
}

.cremerie-cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1rem;
}

.cremerie-cookie-consent__btn {
    appearance: none;
    border: 0;
    border-radius: 999px;
    padding: 0.85rem 1.35rem;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.cremerie-cookie-consent__btn:hover,
.cremerie-cookie-consent__btn:focus-visible {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(64, 34, 73, 0.14);
    outline: none;
}

.cremerie-cookie-consent__btn--accept {
    background: linear-gradient(180deg, #f79b99 0%, #fdc944 100%);
    color: #402249;
}

.cremerie-cookie-consent__btn--refuse {
    background: #f3ecf7;
    color: var(--color-navy);
}

@media (max-width: 781px) {
    .cremerie-cookie-consent {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
    }

    .cremerie-cookie-consent__inner {
        padding: 1rem;
        border-radius: 18px;
    }

    .cremerie-cookie-consent__actions {
        flex-direction: column;
    }

    .cremerie-cookie-consent__btn {
        width: 100%;
        justify-content: center;
    }
}


/* ─── Bouton gâteau mobile ───────────────────── */
@media (max-width: 781px) {
    /* .nous-trouver {
        background-size: 50% 50%, cover !important;
        background-repeat: repeat, no-repeat !important;
    } */
    svg.full-width{
        height: 50px!important;

    }
}

#cremerie-cake-btn {
    display: none;
}
@media (max-width: 781px) {
    #cremerie-cake-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5rem;
        text-decoration: none;
        background: var(--color-coral);
        border-radius: 50%;
        width: 38px;
        height: 38px;
        line-height: 1;
        transition: transform 0.18s ease;
    }
    #cremerie-cake-btn:hover {
        transform: translateX(-50%) scale(1.05);
    }
    #cremerie-cake-btn:focus-visible {
        transform: translateX(-50%) scale(1.05);
        outline: none;
    }
    #cremerie-cake-btn.is-clicked {
        animation: cremerie-cake-btn-pop 0.28s ease;
    }

}

@keyframes cremerie-cake-btn-pop {
    0% {
        transform: translateX(-50%) scale(1);
    }
    50% {
        transform: translateX(-50%) scale(0.84);
        filter: saturate(1.1) brightness(1.04);
    }
    100% {
        transform: translateX(-50%) scale(1);
        filter: none;
    }
}

/* ─── Cacher icône compte (pas nécessaire) ───── */
.wp-block-woocommerce-customer-account,
.wc-block-customer-account {
    display: none !important;
}

/* ─── Cartes produit WooCommerce (hors similaires) ── */

.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 249, 249, 0.98) 100%),
        linear-gradient(135deg, rgba(253, 201, 68, 0.22) 0%, rgba(247, 155, 153, 0.18) 48%, rgba(134, 176, 164, 0.2) 100%);
    border-radius: 24px !important;
    overflow: hidden !important;
    border: 1px solid rgba(109, 75, 132, 0.12) !important;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease !important;
    box-shadow: 0 12px 30px rgba(64, 34, 73, 0.08) !important;
    padding: 0 !important;
}
.wp-block-woocommerce-product-collection:not([data-collection*="related"]) ul.is-product-collection-layout-carousel{
    display: flex;
    align-items: stretch;
    padding-bottom: 3rem;
}

.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(247, 155, 153, 0.5) !important;
    box-shadow: 0 22px 40px rgba(64, 34, 73, 0.16) !important;
}

/* Image */
.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wc-block-components-product-image img {
    width: 100% !important;
    aspect-ratio: 1 / 1 !important;
    object-fit: cover !important;
    display: block !important;
    border-radius: 0 !important;
    transition: transform 0.4s ease !important;
    background: white;
}
[data-collection*="related"] .wp-block-button{
    display: none;
}
.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product:hover .wc-block-components-product-image img {
    transform: scale(1.04) !important;
}



/* Titre */
.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wp-block-post-title {
    color: var(--color-navy) !important;
    margin: 0 !important;
    padding: 1rem 1.15rem 0 !important;
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    line-height: 1.1;
}

.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wp-block-post-title a {
    color: var(--color-navy) !important;
    text-decoration: none !important;
}

/* Prix */
.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wc-block-components-product-price {
    font-family: 'Manrope', sans-serif !important;
    color: var(--color-coral) !important;
    display: block !important;
    margin-bottom: 1rem;
    padding: 0.55rem 1.15rem 0 !important;
    font-weight: 800;
}

.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wc-block-components-product-price .woocommerce-Price-amount {
    color: var(--color-coral) !important;
}

.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wp-block-button {
    padding: 0 1.15rem 1.2rem !important;
}

.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wp-block-button__link,
.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .add_to_cart_button,
.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wc-block-components-product-button__button {
    width: 100%;
    justify-content: center;
    border-radius: 999px !important;
    background: linear-gradient(90deg, var(--color-coral) 0%, #f8b36b 100%) !important;
    color: #402249 !important;
    font-weight: 800 !important;
    border: none !important;
    box-shadow: 0 10px 18px rgba(247, 155, 153, 0.28);
}

.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wp-block-button__link:hover,
.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .add_to_cart_button:hover,
.wp-block-woocommerce-product-collection:not([data-collection*="related"]) li.wc-block-product .wc-block-components-product-button__button:hover {
    filter: saturate(1.08);
}


/* ─── Section Commander ──────────────────────── */
.action-commande-container {
    background: linear-gradient(0deg, #ede3f8 0%, #e8d5f5 50%, #dea6f1 100%) !important;
    padding: 1rem 2rem 6rem !important;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.action-commande-container::before {
    content: '';
    position: absolute;
    top: -1rem;
    left: 0rem;
    width: 220px;
    height: 220px;
    background-image: url('https://www.lacremeacoco.ca/wp-content/uploads/2026/03/9-1.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.12;
    transform: rotate(-20deg);
    pointer-events: none;
}

.action-commande-container::after {
    content: '';
    position: absolute;
   bottom: 5rem;
    right: 2rem;
    width: 220px;
    height: 220px;
    background-image: url('https://www.lacremeacoco.ca/wp-content/uploads/2026/03/10-2.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.12;
    transform: rotate(-20deg);
    pointer-events: none;
}

/* Label "Commande personnalisée" */
.action-commande-container > p:first-of-type {
    font-size: 0.8rem !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    font-weight: 700 !important;
    font-family: 'Manrope', sans-serif !important;
    color: #694176 !important;
    opacity: 0.55;
    margin-bottom: 0.4rem !important;
}

/* H2 principal */
.action-commande-container > h2 {
    font-size: clamp(2rem, 5vw, 3.2rem) !important;
    color: #694176 !important;
    margin-bottom: 1rem !important;
    line-height: 1.1 !important;
}

/* Sous-titre */
.action-commande-container > p:nth-of-type(2) {
    font-size: 1.05rem !important;
    color: #694176 !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: normal !important;
    opacity: 0.75;
    max-width: 560px;
    margin: 0 auto 3rem !important;
    line-height: 1.6 !important;
}

/* Note 48h */
.action-commande-container > p {
    font-size: 0.85rem !important;
    color: #694176 !important;
    font-family: 'Manrope', sans-serif !important;
    font-weight: normal !important;
    opacity: 0.5;
    margin:0;
}
.action-commande-container .wp-block-button{
    margin-bottom: 1rem;
}

/* ── Étapes fluides ── */
.action-card {
    align-items: center !important;
    gap: 0 !important;
}

.action-card .wp-block-column {
    background: none !important;
    box-shadow: none !important;
    padding: 1.5rem 1rem !important;
    text-align: center;
    position: relative;
}

/* Numéro d'étape */
.action-card .wp-block-column::before {
    counter-increment: etape;
    content: counter(etape);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgb(245 153 151 / 26%);
    color: #694176;
    font-family: 'Coiny', sans-serif;
    font-size: 1.5rem;
    margin: 0 auto 1rem;
    backdrop-filter: blur(4px);
    border:2px solid rgb(245 153 151 / 45%);
}

.action-card {
    counter-reset: etape;
}

/* Flèche entre les étapes */
.action-card .wp-block-column:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -10px;
    top: 44px;
    font-size: 1.6rem;
    color: #694176;
    opacity: 0.3;
    z-index: 2;
    line-height: 1;
}

/* Label de l'étape */
.action-card .wp-block-column > p {
    font-family: 'Manrope', sans-serif !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: #694176 !important;
    opacity: 0.5;
    margin-bottom: 0.5rem !important;
}

/* Description de l'étape */
.action-card .wp-block-column > h3 {
    font-family: 'Coiny', sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: normal !important;
    color: #694176 !important;
    line-height: 1.3 !important;
    margin: 0 !important;
    letter-spacing: normal !important;
}

/* Bouton */
.action-commande-container .wp-block-button__link {
    box-shadow: 0 8px 28px rgba(15, 42, 74, 0.2) !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.action-commande-container .wp-block-button__link:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 16px 36px rgba(15, 42, 74, 0.3) !important;
}

/* ─── Section Spécialités ─────────────────────────────────────────────────── */
.cremerie-specialites {
    padding: 3rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.cremerie-specialites-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}

.cremerie-spec-card {
    border-radius: 20px;
    padding: 0;
    display: block;
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    min-width: 0;
    border: 4px solid #b467ce1a;
    background: #fff;
}

/* Couleurs de fond sans image */
.cremerie-spec--gaufre  { background: #fff3e0; }
.cremerie-spec--vegan   { background: #f0f7f5; }
.cremerie-spec--sorbet  { background: #fdf0fb; }
.cremerie-spec--fruits  { background: #fff8e1; }

.cremerie-spec-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
    background: transparent;
}

.cremerie-spec-overlay {
    display: none;
}

.cremerie-spec-content {
    display: none;
}

.cremerie-spec-icon {
    font-size: 2.5rem;
    line-height: 1;
}

.cremerie-spec-title {
    font-family: 'Coiny', sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    color: #694176;
    margin: 0;
    line-height: 1.1;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.cremerie-spec-has-bg .cremerie-spec-title {
    color: #ffffff;
}

.cremerie-spec-text {
    font-size: 1rem;
    color: #4a4a4a;
    line-height: 1.6;
    margin: 0;
    max-width: 100%;
}

.cremerie-spec-has-bg .cremerie-spec-text p{
    color: rgba(255, 255, 255, 0.9)!important;
    margin: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.cremerie-spec-has-bg .cremerie-spec-list li {
    color: rgba(255, 255, 255, 0.9);
}

.cremerie-spec-has-bg .cremerie-spec-list li::before {
    color: #fdc944;
}

.cremerie-spec-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    max-width: 100%;
}

.cremerie-spec-list li {
    font-size: 0.95rem;
    color: #4a4a4a;
    padding-left: 1.2rem;
    position: relative;
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.cremerie-spec-list li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: #86b0a4;
    font-size: 0.7rem;
    top: 0.3rem;
}

@media (max-width: 960px) {
    .cremerie-specialites-grid {
        grid-template-columns: 1fr;
    }
}



/* ─── Section Vidéos promotionnelles ─────────────────────────────────────── */
.cremerie-promos-videos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.cremerie-promo-video-wrap {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.cremerie-promo-video-title {
    font-family: 'Coiny', sans-serif;
    font-size: 1.2rem;
    color: #694176;
    margin: 0;
}

.cremerie-promo-video-iframe {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(105,65,118,0.15);
}

.cremerie-promo-video-iframe iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    border-radius: 16px;
}

/* ─── Carte Nous trouver (glass) ──────────────────────────────────────────── */
.nt-card {
    background: radial-gradient(circle, var(--color-purple) 0%, var(--color-navy) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 520px;
    font-family: 'Manrope', sans-serif;
    box-shadow: 0 8px 40px rgba(60,20,70,0.25);
}

.nt-socials {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.nt-social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    text-decoration: none;
    transition: opacity 0.2s;
}
.nt-social-btn:hover { opacity: 0.8; }
.nt-social-btn--fb { background: #1877F2; }
.nt-social-btn--ig { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }

.nt-info {
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nt-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}
.nt-info-row--center { align-items: center; }

.nt-info-icon { flex-shrink: 0; margin-top: 2px; }
.nt-info-row--center .nt-info-icon { margin-top: 0; }

.nt-info-text {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgb(255, 255, 255);
}

.nt-info-link {
    font-size: 0.9rem;
    color: rgb(255, 255, 255);
    text-decoration: none;
}

.nt-hours-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #391345;
    margin-bottom: 0.85rem;
}

.nt-hours-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.nt-hours-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.nt-hours-table tr:last-child { border-bottom: none; }

.nt-hours-day {
    padding: 0.45rem 0;
    color: rgb(255, 255, 255);
}

.nt-hours-time {
    padding: 0.45rem 0;
    text-align: right;
    color: #391345;
    font-weight: 600;
}

/* ─── Cartes catégories parentes ─────────────────────────────────────────── */
.cremerie-parent-cats {
    padding: 1rem 0 2rem;
}

.cremerie-parent-cats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem;
}

.cremerie-parent-cat-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0;
    border-radius: 24px;
    border: 1px solid rgba(109, 75, 132, 0.12);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 249, 249, 0.98) 100%),
        linear-gradient(135deg, rgba(253, 201, 68, 0.22) 0%, rgba(247, 155, 153, 0.18) 48%, rgba(134, 176, 164, 0.2) 100%);
    text-decoration: none;
    box-shadow: 0 12px 30px rgba(64, 34, 73, 0.08);
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1),
                border-color 0.3s ease,
                box-shadow 0.3s ease;
}

.cremerie-parent-cat-card:hover {
    transform: translateY(-6px);
    border-color: rgba(247, 155, 153, 0.5);
    box-shadow: 0 22px 40px rgba(64, 34, 73, 0.16);
}

.cremerie-parent-cat-media {
    aspect-ratio: 1 / 1;
    background: linear-gradient(180deg, #f4e6ff 0%, #fff3e0 100%);
    overflow: hidden;
}

.cremerie-parent-cat-media img,
.cremerie-parent-cat-placeholder {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.cremerie-parent-cat-media img {
    transition: transform 0.4s ease;
    background: white;
}

.cremerie-parent-cat-card:hover .cremerie-parent-cat-media img {
    transform: scale(1.04);
}

.cremerie-parent-cat-placeholder {
    background:
        radial-gradient(circle at 25% 20%, rgba(253, 201, 68, 0.7) 0, rgba(253, 201, 68, 0) 28%),
        radial-gradient(circle at 80% 15%, rgba(247, 155, 153, 0.65) 0, rgba(247, 155, 153, 0) 30%),
        linear-gradient(135deg, rgba(134, 176, 164, 0.55) 0%, rgba(253, 201, 68, 0.4) 50%, rgba(247, 155, 153, 0.5) 100%);
}

.cremerie-parent-cat-body {
    padding: 1.15rem 1.15rem 1.3rem;
}

.cremerie-parent-cat-title {
    margin: 0;
    font-size: clamp(1.25rem, 2.0vw, 1.6rem);
    line-height: 1.08;
    text-align: center;
    color: var(--color-navy);
}

.cremerie-parent-cat-count {
    margin: 0.5rem 0 0;
    color: var(--color-coral);
    font-size: 0.95rem;
    font-weight: 700;
    text-align: center;
}

@media (max-width: 768px) {
    .cremerie-parent-cats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* @media (max-width: 640px) {
    .cremerie-parent-cats-grid {
        grid-template-columns: 1fr;
    }
} */

/* Archive Noël : habillage réservé à cette catégorie. */
body.term-nos-buches-de-noel,
body.term-nos-buches-de-noel main {
    background-color: #fff;
    /* Motif vectoriel léger : sapins verts et rouges, petites étoiles dorées. */
    background-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22320%22%20height%3D%22300%22%20viewBox%3D%220%200%20320%20300%22%3E%3Cg%20fill%3D%22%23143f30%22%20opacity%3D%22.09%22%3E%3Cpath%20d%3D%22M48%2024%2034%2044h7L27%2064h12L22%2088h52L57%2064h12L55%2044h7Z%22%2F%3E%3Crect%20x%3D%2245%22%20y%3D%2286%22%20width%3D%226%22%20height%3D%2211%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M244%20174%20232%20191h6l-13%2018h10l-15%2021h48l-15-21h10l-13-18h6Z%22%2F%3E%3Crect%20x%3D%22241%22%20y%3D%22228%22%20width%3D%226%22%20height%3D%2210%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23a52538%22%20opacity%3D%22.06%22%3E%3Cpath%20d%3D%22M182%2060%20171%2077h6l-12%2017h9l-14%2020h44l-14-20h9l-12-17h6Z%22%2F%3E%3Crect%20x%3D%22179%22%20y%3D%22112%22%20width%3D%226%22%20height%3D%229%22%20rx%3D%222%22%2F%3E%3Cpath%20d%3D%22M86%20198%2076%20213h5l-11%2016h8l-13%2019h42l-13-19h8l-11-16h5Z%22%2F%3E%3Crect%20x%3D%2283%22%20y%3D%22246%22%20width%3D%226%22%20height%3D%229%22%20rx%3D%222%22%2F%3E%3C%2Fg%3E%3Cg%20fill%3D%22%23b99449%22%20opacity%3D%22.15%22%3E%3Cpath%20d%3D%22m128%20142%202%206%206%202-6%202-2%206-2-6-6-2%206-2Z%22%2F%3E%3Cpath%20d%3D%22m285%2042%202%205%205%202-5%202-2%205-2-5-5-2%205-2Z%22%2F%3E%3Ccircle%20cx%3D%2230%22%20cy%3D%22170%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%22179%22%20cy%3D%22270%22%20r%3D%222%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E");
    background-repeat: repeat;
    background-size: 320px 300px;
}

body.term-nos-buches-de-noel :is(.wp-block-query-title, .woocommerce-products-header__title) {
    position: relative;
    box-sizing: border-box;
    padding: 0 0 1rem !important;
    border: 0;
    border-radius: 0;
    background: none;
    color: #143f30 !important;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem) !important;
    line-height: 1.15;
    box-shadow: none;
}



body.term-nos-buches-de-noel :is(.woocommerce-result-count, .wp-block-woocommerce-product-results-count) {
    color: #496253;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
}

body.term-nos-buches-de-noel :is(.wp-block-woocommerce-product-collection, ul.products) {
    --color-navy: #143f30;
    --color-coral: #a52538;
}

body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product,
body.term-nos-buches-de-noel .woocommerce ul.products li.product {
    background: #fff !important;
    border: 1px solid #dfbd7680 !important;
    box-shadow: 0 8px 24px #143f3010 !important;
}

body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product .wp-block-post-title,
body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product .wp-block-post-title a,
body.term-nos-buches-de-noel .woocommerce ul.products li.product .woocommerce-loop-product__title {
    color: #143f30 !important;
}

body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product:hover,
body.term-nos-buches-de-noel .woocommerce ul.products li.product:hover {
    border-color: #b99449 !important;
    box-shadow: 0 14px 30px #143f3020 !important;
}

body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product :is(.wp-block-button__link, .add_to_cart_button, .wc-block-components-product-button__button),
body.term-nos-buches-de-noel .woocommerce ul.products li.product > .button {
    background: linear-gradient(110deg, #a52538, #831c2c) !important;
    color: #fff8e9 !important;
    border: 1px solid #dfbd76 !important;
    box-shadow: 0 5px 14px #831c2c20;
}

body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product :is(.wp-block-button__link, .add_to_cart_button, .wc-block-components-product-button__button):hover,
body.term-nos-buches-de-noel .woocommerce ul.products li.product > .button:hover {
    background: #143f30 !important;
}

body.term-nos-buches-de-noel :is(.wc-block-product, li.product) a:focus-visible {
    outline: 3px solid #a52538;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product,
    body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product img,
    body.term-nos-buches-de-noel .woocommerce ul.products li.product {
        transition: none !important;
        transform: none !important;
    }
}

/* Carte de Noël mise en avant au-dessus des quatre catégories habituelles. */
.cremerie-parent-cat-card--christmas {
    grid-column: 1 / -1;
    justify-self: center;
    width: min(100%, 720px);
    box-sizing: border-box;
    flex-direction: row;
    align-items: stretch;
    position: relative;
    isolation: isolate;
    margin-bottom: 1.75rem;
    border: 2px solid #dfbd76;
    background: radial-gradient(circle at top right, #32674f, transparent 65%), #143f30;
    box-shadow: 0 12px 36px #143f3033, 0 0 24px #dfbd7628;
}

.cremerie-parent-cat-card--christmas:hover {
    border-color: #f1d58b;
    box-shadow: 0 22px 40px #143f3040, 0 0 28px #dfbd7640;
}

.cremerie-parent-cat-card--christmas .cremerie-parent-cat-title {
    color: #fff8e9;
}

.cremerie-parent-cat-card--christmas .cremerie-parent-cat-count {
    color: #f1d58b;
}

.cremerie-parent-cat-card--christmas .cremerie-parent-cat-placeholder {
    background: radial-gradient(circle at 25% 20%, #dfbd7677, transparent 45%),
        linear-gradient(135deg, #7e182b, #b52d40);
}

.cremerie-parent-cat-card--christmas::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(110deg, transparent 35%, #ffffff85 50%, transparent 65%);
    transform: translateX(-130%);
    animation: cremerie-christmas-shine 2.2s ease-in-out 2;
}

.cremerie-parent-cat-card--christmas .cremerie-parent-cat-media {
    flex: 0 0 42%;
}

.cremerie-parent-cat-card--christmas .cremerie-parent-cat-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.8rem;
    padding: 1.75rem;
    text-align: center;
}

.cremerie-christmas-badge {
    display: inline-block;
    padding: 0.4rem 0.8rem;
    border-radius: 999px;
    background: #a52538;
    color: #fff8e9;
    border: 1px solid #dfbd76;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.cremerie-christmas-discover {
    color: #f1d58b;
    font-size: 0.9rem;
    font-weight: 700;
    border-bottom: 1px solid #dfbd76;
    padding-bottom: 0.2rem;
}

.cremerie-parent-cat-card--christmas:focus-visible {
    outline: 3px solid #a52538;
    outline-offset: 5px;
}

@keyframes cremerie-christmas-shine {
    to { transform: translateX(130%); }
}

@media (max-width: 540px) {
    .cremerie-parent-cat-card--christmas { flex-direction: column; max-width: 360px; }
    .cremerie-parent-cat-card--christmas .cremerie-parent-cat-media { flex-basis: auto; aspect-ratio: 4 / 3; }
    .cremerie-parent-cat-card--christmas .cremerie-parent-cat-body { padding: 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    .cremerie-parent-cat-card--christmas::after { animation: none; display: none; }
    .cremerie-parent-cat-card--christmas,
    .cremerie-parent-cat-card--christmas .cremerie-parent-cat-media img { transition: none; }
    .cremerie-parent-cat-card--christmas:hover,
    .cremerie-parent-cat-card--christmas:hover .cremerie-parent-cat-media img { transform: none; }
}

/* ─── Message délai 48h pour variations sur commande ─────────────────────── */
.woocommerce div.product .woocommerce-variation-availability .stock.cremerie-delay-48,
.woocommerce div.product .woocommerce-variation-availability .stock.available-on-backorder {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    margin-top: 0.8rem;
    padding: 0.75rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(247, 155, 153, 0.32);
    background: linear-gradient(180deg, #fff7ec 0%, #fff1ef 100%);
    color: #6d4b84 !important;
    font-weight: 700;
    line-height: 1.4;
}

.woocommerce div.product .woocommerce-variation-availability .stock.cremerie-delay-48::before,
.woocommerce div.product .woocommerce-variation-availability .stock.available-on-backorder::before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fdc944 0%, #f79b99 100%);
    box-shadow: 0 0 0 4px rgba(247, 155, 153, 0.12);
    flex: 0 0 10px;
}

.cremerie-qty-delay-note {
    margin: 0.9rem 0 1rem;
    padding: 0.9rem 1rem;
    border-radius: 16px;
    border: 1px solid rgba(247, 155, 153, 0.32);
    background: linear-gradient(180deg, #fff7ec 0%, #fff1ef 100%);
    color: #6d4b84;
    font-weight: 700;
    line-height: 1.45;
}
.cremerie-product-cat-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    margin: 0 0 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.92) 100%);
    backdrop-filter: blur(10px);
}

.cremerie-product-cat-pill {
    width: 60px;
    min-height: 60px;
    border-radius: 999px;
    display: flex;
    font-size: 0.7em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    text-decoration: none;
    background: rgba(255, 249, 249, 0.94);
    border: 3px solid rgb(247 155 153 / 21%);
    color: var(--color-navy);
    font-weight: 700;
    line-height: 1.1;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.cremerie-product-cat-pill:hover {
    border-color: #f79b996b;;
    transform: translateY(-3px);
    box-shadow: 0 18px 36px rgba(64, 34, 73, 0.14);
    outline: none;
}
.cremerie-product-cat-pill:focus-visible {
    border-color: #f79b996b;;
    transform: translateY(-3px);
    box-shadow: none;
    outline: none;
}

.cremerie-product-cat-pill.is-active {
    background: linear-gradient(180deg, #f4d3ff 0%, #fdc94436 100%);
    border-color: white;
    box-shadow: 0 2px 36px rgb(64 34 73 / 14%);
}

.cremerie-product-cat-pill.cremerie-product-cat-pill--christmas {
    background: linear-gradient(145deg, #32674f, #143f30);
    color: #fff8e9;
    border-color: #dfbd76;
    box-shadow: 0 6px 22px #143f3026;
}

.cremerie-product-cat-pill.cremerie-product-cat-pill--christmas.is-active {
    background: radial-gradient(circle at top right, #32674f, transparent 65%), #143f30;
    border-color: #f1d58b;
    box-shadow: 0 0 0 3px #dfbd7633, 0 8px 26px #143f3026;
}

.cremerie-product-cat-pill.cremerie-product-cat-pill--christmas:hover {
    border-color: #f1d58b;
    color: #fff8e9;
    box-shadow: 0 10px 28px #143f3033;
}

.cremerie-product-cat-pill.cremerie-product-cat-pill--christmas:focus-visible {
    outline: 3px solid #a52538;
    outline-offset: 4px;
}

body.tax-product_cat .woocommerce-products-header,
body.tax-product_cat .woocommerce-result-count,
body.tax-product_cat .woocommerce-ordering,
body.tax-product_cat ul.products {
    margin-left: 0;
}

@media (max-width: 1024px) {
    .cremerie-product-cat-pill {
        width: 60px;
        min-height: 60px;
        font-size: 0.65rem;
    }
}

@media (max-width: 781px) {
    .cremerie-product-cat-nav {
        justify-content: flex-start;
        top: 0.5rem;
        gap: 0.75rem;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        flex-wrap: nowrap;
        padding: 1.2rem;
        padding-left: 0px;
        margin: 0 -1rem 1rem;
        scrollbar-width: none;
        width: calc(100% + 2rem);
        margin-left: -1.8rem !important;
        margin-right: -1rem !important;
    }

    .cremerie-product-cat-nav::-webkit-scrollbar {
        display: none;
    }

    .cremerie-product-cat-pill {
        width: 70px;
        height: 70px;
        flex: 0 0 70px;
        padding: 0.75rem;
        font-size: 0.76rem;
    }

    body.tax-product_cat .woocommerce-products-header,
    body.tax-product_cat .woocommerce-result-count,
    body.tax-product_cat .woocommerce-ordering,
    body.tax-product_cat ul.products {
        margin-left: 0;
    }
    .cremerie-product-cat-pill:hover {
        box-shadow: none;
    }
}

/* Navigation plus discrète uniquement sur la catégorie Noël. */
body.term-nos-buches-de-noel .cremerie-product-cat-nav {
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
body.term-nos-buches-de-noel .cremerie-product-cat-pill {
    box-sizing: border-box;
    width: 88px;
    min-height: 88px;
    height: 88px;
    flex: 0 0 88px;
    padding: 0.55rem;
    font-size: 0.72rem;
    border-width: 2px;
}
@media (max-width: 781px) {
    body.term-nos-buches-de-noel .cremerie-product-cat-pill {
        width: 78px;
        min-height: 78px;
        height: 78px;
        flex-basis: 78px;
        font-size: 0.65rem;
    }
}

/* Décor des Fêtes : uniquement sur l'archive des bûches. */

body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product,
body.term-nos-buches-de-noel .woocommerce ul.products li.product {
    position: relative;
    border-color: #143f3033 !important;
}
body.term-nos-buches-de-noel .wp-block-woocommerce-product-collection li.wc-block-product::before,
body.term-nos-buches-de-noel .woocommerce ul.products li.product::before {
    content: '';
    position: absolute;
    inset: 0 0 auto;
    height: 6px;
    z-index: 1;
    pointer-events: none;
    background: repeating-linear-gradient(135deg, #a52538 0 10px, #fff 10px 19px, #143f30 19px 29px, #fff 29px 38px);
}
body.term-nos-buches-de-noel .cremerie-product-cat-pill:not(.cremerie-product-cat-pill--christmas) {
    border-color: #143f3026;
    background: #fff;
    color: #24583f;
}
body.term-nos-buches-de-noel .cremerie-product-cat-pill:not(.cremerie-product-cat-pill--christmas):hover {
    border-color: #a52538;
    color: #a52538;
}


/* Soulignement de Noël fin, avec une transition douce et une fin estompée. */
body.term-nos-buches-de-noel .wp-block-query-title::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    right: auto;
    bottom: 0;
    width: min(320px, 65%);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #a52538 0%, #b85b4c 35%, #d4b16b 70%, transparent 100%);
}

/* Composition des mini-bûches, affichée pour le choix de saveurs multiples. */
.cremerie-mix {
    min-width: 0;
    padding: 1.25rem;
    border: 1px solid #dfbd7680;
    border-radius: 18px;
    background: #fff;
    margin: 1rem 0;
}
.cremerie-mix[hidden] { display: none !important; }
.cremerie-mix-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #143f3015;
}
.cremerie-mix-row input[type="number"] {
    box-sizing: border-box;
    flex: 0 0 80px;
    width: 80px;
    min-height: 44px;
    padding: 0.5rem;
    border: 1px solid #8ba397;
    border-radius: 8px;
    text-align: center;
    background: #fff;
    color: #143f30;
}
.cremerie-mix-progress { font-weight: 700; color: #a52538; }
.cremerie-mix-progress.is-complete { color: #143f30; }
.cremerie-mix-help { line-height: 1.5; }
