/* GDS K'réation – styles du thème (en complément de theme.json). */

:root {
	--gds-header-h: 88px;
	--gds-ease: 220ms cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--gds-header-h) + 1rem); }
body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
::selection { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--ink); }
img { max-width: 100%; height: auto; }
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid var(--wp--preset--color--primary); outline-offset: 3px; border-radius: 4px; }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; background: #fff; padding: 1rem; }

/* Titres : l'italique est un accent éditorial */
:where(h1, h2, h3, .wp-block-heading) em { font-style: italic; color: var(--wp--preset--color--primary-dark); }
.has-base-color :where(h1, h2, h3) em, .has-white-color :where(h1, h2, h3) em { color: inherit; }
.gds-createurs :where(h1, h2, h3) em { color: var(--wp--preset--color--blush); }

/* Surtitre */
.is-style-eyebrow { font-family: var(--wp--preset--font-family--body) !important; font-size: .75rem !important; font-weight: 600 !important; letter-spacing: .22em; text-transform: uppercase; line-height: 1.4 !important; color: var(--wp--preset--color--green); margin-block: 0; }
.is-style-eyebrow.has-text-color { color: inherit; }

/* Boutons : variantes */
.wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 3.375rem; box-sizing: border-box; transition: background var(--gds-ease), color var(--gds-ease), border-color var(--gds-ease); }
.wp-block-button.is-style-outline-ink .wp-block-button__link, .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--wp--preset--color--ink); border: 1.5px solid currentColor; }
.wp-block-button.is-style-outline-ink .wp-block-button__link:hover, .wp-block-button.is-style-outline .wp-block-button__link:hover { background: var(--wp--preset--color--ink); color: #fff; border-color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-ink .wp-block-button__link { background: var(--wp--preset--color--ink); }
.wp-block-button.is-style-ink .wp-block-button__link:hover { background: #000; }
.wp-block-button.is-style-sand .wp-block-button__link { background: var(--wp--preset--color--sand); color: var(--wp--preset--color--ink); }
.wp-block-button.is-style-sand .wp-block-button__link:hover { background: #fff; }

.wp-block-group.is-style-card { background: #fff; border: 1px solid #EDE5D9; border-radius: 20px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.wp-block-image.is-style-rounded-lg img { border-radius: 20px; }

/* ---------------------------------------------------------------
 * En-tête
 * ------------------------------------------------------------- */
.gds-site-header { position: sticky; top: calc(-1 * var(--gds-topbar-h, 0px)); z-index: 100; }
.admin-bar .gds-site-header { top: calc(32px - var(--gds-topbar-h, 0px)); }
@media (max-width: 782px) { .admin-bar .gds-site-header { top: calc(-1 * var(--gds-topbar-h, 0px)); } }

.gds-topbar p { margin: 0; }
.gds-topbar a { text-decoration: none; }
.gds-topbar__messages > * { display: inline-flex; align-items: center; gap: .5rem; }
.gds-ico::before { content: ""; width: 16px; height: 16px; flex: none; background: currentColor; -webkit-mask: var(--gds-ico) center / contain no-repeat; mask: var(--gds-ico) center / contain no-repeat; }
.gds-ico--truck { --gds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3z'/%3E%3Cpath d='M14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='18' r='2'/%3E%3Ccircle cx='17' cy='18' r='2'/%3E%3C/svg%3E"); }
.gds-ico--lock { --gds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E"); }
.gds-ico--spark { --gds-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linejoin='round'%3E%3Cpath d='M12 3l2 5 5 2-5 2-2 5-2-5-5-2 5-2z'/%3E%3C/svg%3E"); }
.gds-topbar .wp-block-social-links { gap: .25rem .75rem; }
.gds-topbar .wp-block-social-link a { padding: 4px; }
@media (max-width: 781px) {
	.gds-topbar__inner { justify-content: center !important; }
	.gds-topbar__end, .gds-topbar__messages > :not(:first-child) { display: none !important; }
	.gds-topbar__messages { justify-content: center; }
}

.gds-header { border-bottom: 1px solid #EDE5D9; transition: box-shadow var(--gds-ease); }
.gds-header__inner { min-height: var(--gds-header-h); transition: min-height var(--gds-ease); }
.is-scrolled .gds-header { box-shadow: 0 6px 24px rgba(33, 29, 26, .06); }
.is-scrolled .gds-header__inner { min-height: 68px; }
.gds-header__logo { flex: none; margin: 0; }
.gds-header__logo img { width: 150px; height: auto; transition: width var(--gds-ease); }
.is-scrolled .gds-header__logo img { width: 120px; }
.gds-header__nav { flex: 1 1 auto; }
.gds-header__nav .wp-block-navigation-item__content { display: inline-flex; align-items: center; min-height: 44px; padding: 0; text-decoration: none; }
.gds-header__nav .current-menu-item > .wp-block-navigation-item__content, .gds-header__nav [aria-current="page"] { color: var(--wp--preset--color--primary); box-shadow: inset 0 -1.5px 0 currentColor; }
.gds-header__nav .wp-block-navigation__submenu-container { border: 1px solid #EDE5D9 !important; border-radius: 14px; padding: .5rem !important; min-width: 240px !important; box-shadow: 0 18px 40px rgba(33, 29, 26, .10); background: #fff !important; }
.gds-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .5rem .75rem !important; border-radius: 8px; width: 100%; box-shadow: none; }
.gds-header__nav .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--base); }

.gds-header__icons { flex: none; }
.gds-header__icons > * { margin: 0 !important; }
.gds-header__search .wp-block-search__button { width: 44px; height: 44px; padding: 0; border-radius: 50%; background: transparent; color: var(--wp--preset--color--ink); border: 0; }
.gds-header__search .wp-block-search__button svg { width: 22px; height: 22px; fill: currentColor; }
.gds-header__search .wp-block-search__inside-wrapper { border: 0; padding: 0; }
.gds-header__search.wp-block-search__searchfield-hidden .wp-block-search__input { width: 0; padding: 0; border: 0; }
.gds-header__search:not(.wp-block-search__searchfield-hidden) .wp-block-search__input { width: min(60vw, 260px); border: 1px solid #D8CCBA; border-radius: 999px; padding: .5rem 1rem; }
.gds-header__account a { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; color: var(--wp--preset--color--ink); }
.gds-header__account .wc-block-customer-account__account-icon, .gds-header__account svg { width: 22px !important; height: 22px !important; }
.gds-header__cart .wc-block-mini-cart__button { min-width: 44px; min-height: 44px; padding: 0 6px; color: var(--wp--preset--color--ink); }
.gds-header__cart .wc-block-mini-cart__badge { background: var(--wp--preset--color--primary) !important; color: #fff !important; font-weight: 700; }
.gds-header__cart .wc-block-mini-cart__amount { display: none; }

/* Menu mobile (superposition) */
.wp-block-navigation__responsive-container.is-menu-open { padding: 1.25rem 1.25rem 2rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content { padding-top: 3.5rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content { font-size: 1.125rem; min-height: 48px; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container { gap: .25rem; }
.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__submenu-container { padding-left: 1rem !important; border: 0 !important; box-shadow: none; background: transparent !important; }
.wp-block-navigation__responsive-container-open, .wp-block-navigation__responsive-container-close { width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }

@media (max-width: 781px) {
	:root { --gds-header-h: 60px; }
	.gds-header__inner { display: grid !important; grid-template-columns: 96px 1fr 96px; min-height: 60px; gap: 0 !important; }
	.is-scrolled .gds-header__inner { min-height: 56px; }
	.gds-header__nav { order: -1; grid-column: 1; justify-self: start; }
	.gds-header__logo { grid-column: 2; justify-self: center; }
	.gds-header__logo img, .is-scrolled .gds-header__logo img { width: 104px; }
	.gds-header__icons { grid-column: 3; justify-self: end; }
	.gds-header__account, .gds-header__wishlist { display: none !important; }
}

/* ---------------------------------------------------------------
 * Sections (compositions de l'accueil)
 * ------------------------------------------------------------- */
.gds-section-head__text { max-width: 680px; }
.gds-section-head__text > * { margin: 0; }
.gds-section-head .wp-block-heading { margin: 0; }
.gds-lead { font-size: 1.0625rem; color: var(--wp--preset--color--brown); margin: 0; }
.gds-createurs .gds-lead { color: #D9CCBA; }
.gds-link-more a { font-weight: 600; font-size: .875rem; }
.gds-section-head > .gds-shop-link { flex: none; }

.gds-feature { border-radius: 20px; overflow: hidden; }
.gds-feature .wp-block-media-text__content { padding: clamp(2rem, 6vw, 5rem) clamp(1.5rem, 5vw, 4.5rem); display: flex; flex-direction: column; gap: 1.5rem; }
.gds-feature .wp-block-media-text__content > * { margin: 0; }
.gds-feature .wp-block-media-text__media { align-self: stretch; height: 100%; }
.gds-feature .wp-block-media-text__media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; }
.gds-story .wp-block-media-text__media img { border-radius: 20px; aspect-ratio: 5 / 4; object-fit: cover; }
.gds-story .wp-block-media-text__content { padding: 2rem clamp(0rem, 5vw, 5.5rem); display: flex; flex-direction: column; gap: 1.5rem; }
.gds-story .wp-block-media-text__content > * { margin: 0; }
@media (max-width: 600px) {
	.gds-feature .wp-block-media-text__media img { min-height: 0; aspect-ratio: 4 / 3; }
	.gds-feature .wp-block-media-text__media { order: -1; }
	.gds-story .wp-block-media-text__content { padding: 1.75rem 0 0; }
}

.gds-newsletter { align-items: center; gap: 2.5rem 4.5rem !important; }
.gds-newsletter .wp-block-heading { font-size: clamp(2rem, 3.6vw, 3rem); }
.gds-newsletter p { color: #F3DCD8; margin: 0; }

/* Pages */
.gds-page-title { margin-top: .5rem; }
.gds-crumbs, .gds-breadcrumb { font-size: .8125rem; color: var(--wp--preset--color--brown); }
.gds-crumbs a, .gds-breadcrumb a { color: var(--wp--preset--color--brown); }
.gds-crumbs a:hover { color: var(--wp--preset--color--primary-dark); }
.gds-breadcrumb__sep { margin: 0 .5rem; opacity: .6; }
.wp-block-details.gds-faq { border-bottom: 1px solid var(--wp--preset--color--line); padding: 1.125rem 0; }
.wp-block-details.gds-faq summary { font-weight: 600; font-size: 1.0625rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; min-height: 44px; align-items: center; }
.wp-block-details.gds-faq summary::after { content: "+"; font-size: 1.5rem; font-weight: 400; color: var(--wp--preset--color--primary); }
.wp-block-details.gds-faq[open] summary::after { content: "–"; }
.wp-block-details.gds-faq summary::-webkit-details-marker { display: none; }
.gds-404 .wp-block-search { max-width: 480px; margin-inline: auto; }

/* Formulaires génériques */
:where(input[type="text"], input[type="email"], input[type="search"], input[type="tel"], input[type="password"], input[type="number"], textarea, select):not(.wc-block-components-text-input input) { font: inherit; border: 1px solid #D8CCBA; border-radius: 10px; padding: .75rem 1rem; background: #fff; color: var(--wp--preset--color--ink); min-height: 44px; box-sizing: border-box; }
.wp-block-search__button { border-radius: 999px; }

/* ---------------------------------------------------------------
 * Pied de page
 * ------------------------------------------------------------- */
.gds-footer { font-size: .875rem; }
.gds-footer__title { font-family: var(--wp--preset--font-family--body) !important; font-size: .75rem !important; font-weight: 700 !important; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 1.25rem !important; color: var(--wp--preset--color--base) !important; }
.gds-footer__logo img { background: var(--wp--preset--color--base); padding: 10px 16px; border-radius: 12px; box-sizing: content-box; }
.gds-footer__brand > * + * { margin-top: 1.125rem; }
.gds-footer__cats { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .75rem; }
.gds-footer__cats a { color: #D9CCBA; text-decoration: none; }
.gds-footer__cats a:hover { color: #fff; }
.gds-footer__menu .wp-block-navigation-item__content, .gds-footer__legal .wp-block-navigation-item__content { color: #D9CCBA; }
.gds-footer__legal .wp-block-navigation-item__content { color: #B8A994; }
.gds-footer__copy { color: #B8A994; margin: 0; }
.gds-social .wp-block-social-link { color: var(--wp--preset--color--sand); }
.gds-social--ring .wp-block-social-link a { width: 44px; height: 44px; border: 1px solid var(--wp--preset--color--brown); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; padding: 0; }

/* ---------------------------------------------------------------
 * Animations discrètes
 * ------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
	.gds-reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms cubic-bezier(.2, .7, .2, 1); }
	.gds-reveal.is-visible { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ==========================================================================
   v1.1 — Bandeau pleine largeur, couleurs et gaieté (repris du site en ligne)
   ========================================================================== */
.gds-header__account a{width:44px;height:44px;display:inline-flex;align-items:center;justify-content:center}
.gds-main--full{padding-left:0!important;padding-right:0!important}
.gds-main--full>.wp-block-post-content{max-width:none!important;width:100%;padding-left:0!important;padding-right:0!important}
.gds-main--full>.wp-block-post-content>.alignfull{max-width:none!important;margin-left:0!important;margin-right:0!important;padding-left:clamp(1rem,4vw,2.5rem)!important;padding-right:clamp(1rem,4vw,2.5rem)!important}
.gds-main--full>.wp-block-post-content>.gds-hero-section{padding:0!important}
.gds-hero-section>.gds-hero{max-width:none!important;width:100%!important;margin:0!important;border-radius:0!important}
.gds-hero .gds-slide{min-height:clamp(560px,calc(100vh - 128px),820px)}
.gds-hero .gds-slide__content{max-width:640px;margin-left:max(clamp(1rem,4vw,2.5rem),calc((100vw - 1280px)/2 + 2.5rem))}
.gds-hero .gds-slide.is-right .gds-slide__content{margin-left:auto;margin-right:max(clamp(1rem,4vw,2.5rem),calc((100vw - 1280px)/2 + 2.5rem))}
.gds-hero .gds-slide.is-center .gds-slide__content{margin:0 auto}
.gds-hero__controls{left:max(clamp(1rem,4vw,2.5rem),calc((100vw - 1280px)/2 + 2.5rem))!important}
.gds-hero-section::after{content:"";display:block;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 12 6 0l6 12z' fill='%23B50918'/%3E%3Cpath d='M12 12 18 0l6 12z' fill='%23D9902F'/%3E%3Cpath d='M24 12 30 0l6 12z' fill='%2352684A'/%3E%3Cpath d='M36 12 42 0l6 12z' fill='%23594232'/%3E%3C/svg%3E") repeat-x;background-size:48px 12px}
@media (max-width:781px){
 .gds-hero .gds-slide{min-height:calc(100svh - 96px);max-height:760px}
 .gds-hero .gds-slide__content{margin:0!important;max-width:none;padding:1.5rem 1.25rem 3.75rem}
 .gds-hero .gds-slide__title{font-size:clamp(2.25rem,10vw,2.75rem)}
 .gds-hero__controls{left:50%!important}
}
:root{--gds-ocre:#D9902F;--gds-rose:#F6DED8;--gds-sauge:#E4ECDF;--gds-miel:#FBEFD9}
.gds-topbar{background:var(--wp--preset--color--primary-dark)!important;color:#FBEFD9!important}
.gds-topbar a{color:#FBEFD9!important}
.gds-header{border-bottom:0!important}
.gds-site-header::after{content:"";display:block;height:6px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 12 6 0l6 12z' fill='%23B50918'/%3E%3Cpath d='M12 12 18 0l6 12z' fill='%23D9902F'/%3E%3Cpath d='M24 12 30 0l6 12z' fill='%2352684A'/%3E%3Cpath d='M36 12 42 0l6 12z' fill='%23594232'/%3E%3C/svg%3E") repeat-x;background-size:24px 6px}
.gds-features{border:0!important;background:#fff;border-radius:20px;padding:1.5rem 1.75rem!important;box-shadow:0 10px 30px rgba(133,11,21,.06)}
.gds-features__item:nth-child(1) .gds-features__icon{background:var(--gds-rose);color:#B50918}
.gds-features__item:nth-child(2) .gds-features__icon{background:var(--gds-miel);color:#A8650E}
.gds-features__item:nth-child(3) .gds-features__icon{background:var(--gds-sauge);color:#3E5238}
.gds-features__item:nth-child(4) .gds-features__icon{background:#EFE3D6;color:#594232}
.gds-univers{background:var(--gds-rose);padding-bottom:var(--wp--preset--spacing--60)!important;margin-top:var(--wp--preset--spacing--50)!important}
.gds-univers .is-style-eyebrow{color:#B50918}
.gds-cat__media{box-shadow:0 12px 30px rgba(133,11,21,.12)}
.gds-cat:nth-child(5n+1) .gds-cat__more{color:#B50918}
.gds-cat:nth-child(5n+2) .gds-cat__more{color:#3E5238}
.gds-cat:nth-child(5n+3) .gds-cat__more{color:#A8650E}
.gds-cat:nth-child(5n+4) .gds-cat__more{color:#850B15}
.gds-cat:nth-child(5n+5) .gds-cat__more{color:#594232}
.gds-coups .is-style-eyebrow{color:#A8650E}
.gds-card__media{box-shadow:0 8px 22px rgba(33,29,26,.08)}
.gds-badge.is-new{background:#52684A}
.gds-badge.is-sale{background:#D9902F;color:#211D1A}
.gds-collection .gds-feature{background:var(--gds-miel)!important}
.gds-collection .is-style-eyebrow{color:#A8650E!important}
.gds-nouveautes{background:var(--gds-sauge);padding-bottom:var(--wp--preset--spacing--60)!important;margin-top:var(--wp--preset--spacing--60)!important}
.gds-nouveautes .is-style-eyebrow{color:#3E5238}
.gds-createurs{position:relative}
.gds-createurs::before,.gds-footer::before{content:"";position:absolute;left:0;right:0;top:0;height:10px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='12' viewBox='0 0 48 12'%3E%3Cpath d='M0 12 6 0l6 12z' fill='%23B50918'/%3E%3Cpath d='M12 12 18 0l6 12z' fill='%23D9902F'/%3E%3Cpath d='M24 12 30 0l6 12z' fill='%2352684A'/%3E%3Cpath d='M36 12 42 0l6 12z' fill='%23594232'/%3E%3C/svg%3E") repeat-x;background-size:40px 10px}
.gds-footer{position:relative}
.gds-histoire .is-style-eyebrow{color:#B50918}
.gds-newsletter{background:linear-gradient(135deg,#B50918,#850B15 60%,#6E1A12)!important;position:relative;overflow:hidden}
.gds-newsletter::after{content:"";position:absolute;right:-60px;top:-60px;width:220px;height:220px;border-radius:50%;background:rgba(217,144,47,.25);pointer-events:none;z-index:0}
.gds-newsletter>*{position:relative;z-index:1}
.wp-element-button,.wp-block-button__link{transition:transform .15s ease,background .2s}
.wp-element-button:hover,.wp-block-button__link:hover{transform:translateY(-1px)}
.gds-footer__cats ul{list-style:none!important;padding-left:0!important;margin:0}
.gds-footer__cats li{margin:0 0 .85rem;padding:0}
.gds-footer__cats li::marker{content:none}
.wp-site-blocks>.gds-main--full{margin-top:0!important}
