/*
Theme Name: Mug Délice
Template: riverbank
Version: 1.0
Text Domain: mug-delice
*/
@font-face{font-family:Source Serif;src:url(assets/carnet-roman.woff2) format("woff2");font-weight:200 900;font-display:swap}
@font-face{font-family:Source Serif;src:url(assets/carnet-italic.woff2) format("woff2");font-style:italic;font-weight:200 900;font-display:swap}
:root{--ink:#30271f;--wine:#842f2b;--paper:#fbf8ef;--line:#d6cab7;--serif:'Source Serif',Georgia,serif;--sans:system-ui,sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:20px}body{background:var(--paper);color:var(--ink);font:1rem/1.6 var(--sans);margin:0}body .wp-site-blocks{padding:0}body :where(h1,h2,h3){font-family:var(--serif);font-weight:540;letter-spacing:-.043em;color:var(--ink);line-height:1.04}a{color:var(--wine);text-underline-offset:.2em}a:focus-visible,summary:focus-visible,button:focus-visible,select:focus-visible{outline:3px solid #287168;outline-offset:4px}*,*:before,*:after{box-sizing:border-box}
.md-gingham{height:8px;background-color:#f5eadd;background-image:repeating-linear-gradient(90deg,transparent 0 7px,#9a353166 7px 14px),repeating-linear-gradient(0deg,transparent 0 4px,#a9393052 4px 8px)}
.mf-head,.md-footer,.md-hero,.md-collections,.md-feature{max-width:1312px;margin-inline:auto;padding-inline:clamp(20px,5vw,76px)}.mf-head{height:85px;display:flex;align-items:center;gap:2rem;position:relative;z-index:6;border-bottom:1px solid var(--line)}.md-brand{display:inline-flex;align-items:center;gap:.45rem;white-space:nowrap;color:var(--wine);text-decoration:none;font:650 clamp(1.7rem,2.4vw,2.5rem)/1 var(--serif);letter-spacing:-.065em}.md-brand img{width:53px;height:53px}.md-brand i{font-weight:530}.mf-nav{margin:auto;display:flex;gap:clamp(1rem,3vw,3rem)}.mf-nav details{position:relative}.mf-nav summary{cursor:pointer;list-style:none;padding:.75rem .2rem;color:var(--ink);font:530 .96rem var(--sans)}.mf-nav summary::-webkit-details-marker{display:none}.mf-nav summary:after{content:'';display:inline-block;width:6px;height:6px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);margin:0 0 .2rem .55rem}.md-sub{position:absolute;background:var(--paper);border:1px solid var(--line);border-radius:4px;box-shadow:0 8px 18px #3e25151a;padding:.7rem 1.3rem;min-width:220px}.md-sub div+div{border-top:1px solid var(--line);margin-top:.45rem;padding-top:.45rem}.md-sub a{display:block;color:var(--ink);padding:.25rem 0;text-decoration:none;font-size:.92rem}.md-sub a:first-child{color:var(--wine);font-weight:650}.md-sub a:hover,.md-footer a:hover{text-decoration:underline}.md-bag,.mf-toggle{font:550 .93rem var(--sans);color:var(--ink);background:transparent;display:flex;align-items:center;gap:.55rem;text-decoration:none}.mf-toggle{display:none;border:1px solid var(--line);padding:.5rem .75rem;border-radius:4px}
.mf-home{margin:0!important}.md-hero{display:grid;grid-template-columns:0.87fr 1.13fr;gap:clamp(2rem,4vw,5.5rem);align-items:center;padding-top:clamp(38px,4.7vw,72px);padding-bottom:clamp(40px,4vw,68px)}.md-kicker{display:flex;align-items:center;gap:.65rem;color:var(--wine);font:650 .75rem/1.3 var(--sans);letter-spacing:.15em;text-transform:uppercase;margin:0 0 1rem}.md-kicker:before{content:'';height:2px;width:29px;background:var(--wine)}.md-hero h1{font:520 clamp(4.4rem,6.45vw,6.35rem)/.97 var(--serif);letter-spacing:-.064em;margin:.23em 0}.md-hero h1 em{font-weight:480;color:var(--wine)}.md-lede{font:400 1.085rem/1.64 var(--sans);max-width:39ch;color:#554b40;margin:1.25rem 0 1.55rem}.md-buttons{display:flex;align-items:center;gap:1.1rem;flex-wrap:wrap}.md-button,body .woocommerce a.button.alt,body .woocommerce button.button.alt{display:inline-block;color:white;background:var(--wine);text-decoration:none;padding:.82rem 1.18rem;border:1px solid var(--wine);border-radius:4px;font:580 .96rem var(--sans)}.md-button:hover{background:#652420}.md-text-link{color:var(--wine);font:600 .93rem var(--sans)}.md-photo{position:relative;margin:0;padding:10px 10px 0;background:#fffdf6;border:1px solid #d5c7b2;box-shadow:2px 6px 12px #50311716;transform:rotate(1.6deg)}.md-photo:before,.md-photo:after{content:'';position:absolute;z-index:1;width:70px;height:24px;opacity:.82;background:repeating-linear-gradient(92deg,#e1cf9e 0 1px,#e6d6ad 2px 5px);clip-path:polygon(2% 5%,96% 0,100% 95%,2% 100%,4% 77%,0 60%,4% 42%,0 25%)}.md-photo:before{top:0;left:-17px;transform:rotate(-27deg)}.md-photo:after{bottom:11px;right:-21px;transform:rotate(-32deg)}.md-photo img{width:100%;height:auto;aspect-ratio:1.63;object-fit:cover;display:block}.md-photo figcaption{font:italic 480 1.03rem var(--serif);text-align:center;padding:7px 0 10px;color:#625342}.md-collections{padding-block:26px 52px;border-top:1px solid var(--line)}.md-sectionhead{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:22px;gap:1rem}.md-sectionhead h2,.md-feature h2{font-size:clamp(2.15rem,3.8vw,3.8rem);margin:.1em 0}.md-sectionhead p{font:italic 1.15rem var(--serif);margin:0;color:#695a4c}.md-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.md-card{display:block;color:var(--ink);text-decoration:none;overflow:hidden;border:1px solid var(--line);background:#fffaf0;border-radius:5px}.md-card img{width:100%;height:auto;aspect-ratio:2.08;object-fit:cover;display:block}.md-card span{display:block;font:550 clamp(1.35rem,2vw,1.85rem) var(--serif);padding:.5rem 1rem .68rem}.md-card:hover span{color:var(--wine);text-decoration:underline}.md-feature{display:flex;align-items:center;gap:clamp(1.5rem,5vw,5rem);padding-block:38px;border-top:1px solid var(--line)}.md-feature img{width:clamp(140px,26vw,345px);border:1px solid var(--line);border-radius:5px;height:auto}.md-feature p{max-width:45ch}.md-footer{border-top:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;padding-block:2rem;margin-top:1rem}.md-footer nav{display:flex;flex-wrap:wrap;gap:.8rem 1.3rem}.md-footer nav a{font:.9rem var(--sans);color:#4d423a}.md-category{display:flex;align-items:center;gap:2rem;margin:1rem auto 1.5rem!important;max-width:1160px!important}.md-category img{width:clamp(100px,20vw,240px);aspect-ratio:1.58;object-fit:cover;border-radius:4px}.md-category h1{margin:0}.md-empty{text-align:center;padding-block:1.5rem}.mf-page,.mf-text{max-width:1160px;margin:auto;padding:2rem clamp(1rem,4vw,4rem);min-height:45vh}.mf-filtre{max-width:1160px!important;margin:.8rem auto 1.5rem}.mf-filtre summary{cursor:pointer;color:var(--wine);text-decoration:underline}.mf-filtre nav{display:flex;flex-wrap:wrap;gap:.7rem 1.5rem;padding:1rem}.wp-block-term-description{max-width:70ch!important}.wp-block-woocommerce-product-template{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:1rem!important}.wp-block-woocommerce-product-template>li{width:auto!important}.woocommerce div.product form.cart .variations select{padding:.68rem;min-height:44px}.wp-site-blocks>main:not(.mf-home){padding-inline:clamp(16px,4vw,64px)}.md-footer .md-brand{font-size:1.8rem}.md-footer .md-brand img{width:41px;height:41px}
@media(max-width:850px){.mf-head{height:70px;gap:.75rem}.mf-toggle{display:inline-flex;margin-left:auto}.mf-nav{display:none;position:absolute;top:100%;left:0;right:0;background:var(--paper);border-bottom:1px solid var(--line);padding:10px 20px;max-height:70vh;overflow-y:auto}.mf-nav.is-open{display:block}.mf-nav summary{padding:1rem .25rem}.md-sub{position:static;box-shadow:none}.md-hero{gap:1.7rem}.md-hero h1{font-size:clamp(3.2rem,7.3vw,5rem)}.md-lede{font-size:1rem}.md-cards{gap:14px}}
@media(max-width:700px){.md-brand img{width:39px;height:39px}.mf-head{padding-inline:15px}.md-bag{font-size:.87rem}.md-hero{grid-template-columns:1fr;padding:30px 22px 33px;gap:28px}.md-hero h1{font-size:clamp(3.65rem,13vw,4.9rem)}.md-kicker{margin:0 0 .8rem}.md-lede{margin:.85rem 0 1.1rem}.md-photo{margin:0 5px}.md-photo img{aspect-ratio:1.75}.md-photo figcaption{font-size:.95rem}.md-sectionhead{display:block;margin-bottom:18px}.md-sectionhead p{margin-top:.45rem}.md-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.md-card img{aspect-ratio:1.45}.md-card span{padding:.6rem;font-size:1.13rem}.md-feature{display:grid;grid-template-columns:1fr}.md-feature img{width:100%;max-width:300px}.md-category{gap:.9rem}.md-category h1{font-size:2.1rem}.md-category .md-kicker{font-size:.66rem}.wp-block-woocommerce-product-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}.md-footer nav{line-height:1.6}.md-collections{padding-bottom:30px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}


.md-search{font:500 .92rem var(--sans)}.md-search label{display:block;margin-bottom:.3rem}.md-search div{display:flex}.md-search input,.md-search button{font:inherit;padding:.45rem .6rem;border:1px solid var(--line);background:#fffaf0;color:var(--ink)}.md-search input{width:9rem}.md-search button{color:var(--wine);cursor:pointer}
