/*
Theme Name: Pépites du Pressoir
Description: Boutique de démonstration de cookies artisanaux.
Version: 1.0.1
Text Domain: pepites-du-pressoir
*/
:root{--ink:#421d18;--cream:#fff8eb;--pink:#f5c5ce;--line:#e4cec3;--accent:#8d2c49}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:18px}body{margin:0;background:var(--cream);color:var(--ink);font:17px/1.5 system-ui,sans-serif}a{color:inherit;text-decoration:none}button,select{font:inherit}button{cursor:pointer}img{display:block;width:100%;height:100%;object-fit:cover}h1,h2,h3{font-family:Georgia,serif;line-height:1.04;margin:0;letter-spacing:-.04em}h2{font-size:clamp(2.4rem,5vw,4.4rem)}h3{font-size:clamp(1.65rem,3vw,2.25rem)}p{margin:0 0 1.1rem}.notice{text-align:center;background:var(--ink);color:#fff5e7;padding:7px 12px;font-size:.81rem}header{display:flex;align-items:center;justify-content:space-between;padding:8px max(5vw,20px);background:#fffaf0;gap:14px}.logo{width:82px;height:76px;object-fit:contain;mix-blend-mode:multiply}nav{display:flex;gap:clamp(14px,4vw,48px);font-weight:650;font-size:.9rem}nav a:hover,footer a:hover{text-decoration:underline}.outline,.button{border:1px solid var(--ink);border-radius:100px;padding:11px 20px;font-weight:700;display:inline-block;font-size:.94rem}.outline{background:transparent;color:var(--ink)}.button{background:var(--ink);color:#fff8eb}.button:hover{background:#71332b}.outline:hover{background:#f4e3d6}#count{padding-left:6px}.hero{min-height:540px;display:grid;grid-template-columns:1fr 1fr;background:#f7d3d9}.herotext{padding:clamp(42px,8vw,112px) 7vw;align-self:center}.eyebrow{font-weight:750;letter-spacing:.13em;text-transform:uppercase;font-size:.77rem;margin-bottom:16px}.hero h1{font-size:clamp(3.7rem,8vw,8rem);line-height:.89}.hero em{color:var(--accent);font-weight:normal}.lead{max-width:380px;margin:25px 0}.heroart{height:100%;position:relative;overflow:hidden;background:#99bdcd}.heroart img{position:absolute;height:153%;bottom:0;object-position:center bottom}.seal{position:absolute;top:24px;right:24px;display:grid;place-content:center;border-radius:100%;width:108px;aspect-ratio:1;text-align:center;background:#ffedb9;font-family:Georgia,serif;line-height:1.1;font-weight:bold;transform:rotate(8deg)}.wrap{max-width:1240px;margin:auto;padding:75px 5vw}.shop>.eyebrow,.shop>h2,.sectioncopy{text-align:center}.sectioncopy{margin:15px auto 30px}.grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.card{background:#fffcf6;border:1px solid var(--line);border-radius:24px;overflow:hidden}.productphoto,.mosaic{height:clamp(220px,32vw,350px);overflow:hidden}.productphoto img,.mosaic img{object-position:center 95%}.mosaic{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;background:#fff8eb}.mosaic img{min-height:0;min-width:0}.cardbody{padding:23px}.cardtitle{display:flex;justify-content:space-between;align-items:baseline;gap:10px;margin-bottom:13px}.cardtitle span{font-weight:800;white-space:nowrap}.cardbody label{font-size:.92rem;display:block}.cardbody select{display:block;width:100%;margin:8px 0 12px;padding:9px 14px;border:1px solid var(--line);border-radius:10px;background:white;color:var(--ink)}.special{display:grid;grid-template-columns:1fr 1fr;background:#f4c3cd}.specialphoto{height:430px}.specialphoto img{object-position:center 60%}.specialtext{align-self:center;padding:45px 7vw}.specialtext p:not(.eyebrow),.club p:not(.eyebrow){margin:18px 0}.club{display:grid;grid-template-columns:1fr auto;align-items:center;gap:20px}.plan{padding:28px;background:#dbe4c5;border-radius:24px}.plan strong{font:700 2.8rem Georgia,serif}.plan small{font-size:1.1rem}footer{background:var(--ink);color:#fff8eb;padding:28px 5vw;display:flex;justify-content:space-between;gap:14px;font-weight:750}footer span{display:block;font-weight:400;font-size:.9rem}dialog{border:0;border-left:1px solid var(--line);background:#fffaf2;color:var(--ink);margin:0 0 0 auto;min-height:100dvh;width:min(460px,100%);max-width:100%;padding:24px}dialog::backdrop{background:#30151280}.carthead,.cartrow,.totalrow{display:flex;justify-content:space-between;align-items:center;gap:10px}.carthead h2{font-size:2rem}.cartrow{padding:15px 0;border-bottom:1px solid var(--line)}.cartrow button{padding:4px 11px}.totalrow{margin-top:13px}.demonote{font-size:.9rem;margin-top:24px}.cartempty{margin-top:25px}:focus-visible{outline:3px solid #8251ac;outline-offset:3px}@media(max-width:700px){header{flex-wrap:wrap}nav{order:3;justify-content:space-between;flex:0 0 100%;padding-bottom:9px;gap:5px;font-size:.82rem}.hero,.grid,.special,.club{grid-template-columns:1fr}.heroart{height:340px}.herotext{padding:42px 6vw}.wrap{padding:50px 5vw}.specialphoto{height:300px}.specialtext{padding:33px 6vw}.mosaic img{object-position:center 86%}footer{font-size:.9rem}}
.heroart img{height:184%}.mosaic{grid-template-rows:minmax(0,1fr)}.mosaic img{height:155%;align-self:end}
.offershero{background:#f7d3d9}.offershero .wrap{padding-top:55px;padding-bottom:48px}.offershero h1{font-size:clamp(3.2rem,8vw,7.2rem)}.offershero p:not(.eyebrow){margin:15px 0 22px;max-width:620px}.offershero nav{flex-wrap:wrap;justify-content:flex-start;gap:8px}.offershero nav a{border:1px solid var(--ink);border-radius:100px;padding:7px 13px}.offerscontent{display:grid;gap:24px}.offerblock{padding:clamp(18px,4vw,36px);background:#fffcf6;border:1px solid var(--line);border-radius:26px}.offerblock h2{font-size:clamp(2rem,4.7vw,3.8rem)}.offerheading{display:flex;align-items:end;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:16px}.offerprice{font:700 clamp(1.45rem,3vw,2.1rem)/1.15 Georgia,serif;margin:12px 0}.offerheading .offerprice{margin:0}.offerprice small{display:block;font:600 .85rem/1.5 system-ui,sans-serif;margin-top:3px}.fullgallery,.duo{display:grid;gap:15px;margin:22px 0}.fullgallery{grid-template-columns:repeat(3,minmax(0,1fr))}.duo{grid-template-columns:repeat(2,minmax(0,1fr));max-width:520px}.offerblock figure{margin:0}.offerblock figcaption{font-size:.875rem;font-weight:650;margin-top:6px}.offerblock img{width:100%;height:auto;object-fit:contain;border-radius:13px}.offertwo{display:grid;grid-template-columns:minmax(0,.85fr) minmax(0,1fr);align-items:center;gap:clamp(18px,4vw,44px)}.offertwo label{display:block;font-weight:650}.offertwo select{display:block;width:100%;max-width:390px;padding:10px 12px;border:1px solid var(--line);color:var(--ink);background:white;border-radius:10px;margin:6px 0 14px}.monthoffer{background:#f7d3d9}.subscription{background:#e2e8d1}nav [aria-current=page]{text-decoration:underline;text-underline-offset:4px}@media(max-width:700px){.fullgallery{grid-template-columns:repeat(2,minmax(0,1fr))}.offertwo{grid-template-columns:minmax(0,1fr)}.offertwo .fullportrait{max-width:430px;margin:auto}.offertwo:not(.monthoffer) .fullportrait{order:1}}
.cart-quantity{display:flex;align-items:center;gap:6px;flex-shrink:0}.cart-quantity span{min-width:2ch;text-align:center;font-variant-numeric:tabular-nums}.cartrow .cart-quantity button{display:grid;place-items:center;min-width:44px;min-height:44px;padding:0;line-height:1;font-size:1.15rem}

@keyframes hero-cookie-reveal {
  0% { transform: scale(1.09) translateY(1.5%); }
  100% { transform: scale(1) translateY(0); }
}

@keyframes hero-seal-reveal {
  0% { opacity: 0; transform: translateY(8px) rotate(2deg) scale(.92); }
  100% { opacity: 1; transform: translateY(0) rotate(8deg) scale(1); }
}

@media (prefers-reduced-motion: no-preference) {
  .heroart img {
    transform-origin: 50% 81%;
    animation: hero-cookie-reveal 4.5s cubic-bezier(.2,.65,.3,1) both;
  }
  .heroart .seal {
    animation: hero-seal-reveal .7s ease-out .35s both;
  }
}
.freshness{color:var(--ink)}.shop>.freshness{text-align:center;margin:-14px auto 28px}.offershero p.freshness{margin-top:-10px}

.about{background:#f9e5d7}
.about-layout{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:clamp(24px,5vw,70px)}
.about-copy h2{margin-bottom:20px}
.about-copy p:last-child{margin-bottom:0}
.about-photo{margin:0}
.about-photo img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain;background:#f3decf;border-radius:22px}
.about-photo figcaption{font-size:.82rem;margin-top:8px;color:#66473b}
@media(max-width:700px){.about-layout{grid-template-columns:1fr}header nav{flex-wrap:wrap;justify-content:center;column-gap:14px;row-gap:8px}}

.back-to-top {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin: 0 16px 16px auto;
  border: 1px solid var(--cream);
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  font-size: 1.4rem;
  box-shadow: 0 3px 12px #421d1840;
}
.back-to-top--floating {
  position: fixed;
  z-index: 20;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  margin: 0;
}
.back-to-top:hover { background: #71332b; }
.back-to-top[hidden] { display: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
