/*
Theme Name: Saffraantje Clean
Description: Website voor slagerij en traiteur ’t Saffraantje in Ingelmunster.
Version: 1.1.0
Requires at least: 6.2
Requires PHP: 7.4
Text Domain: saffraantje-clean
*/
:root{--ink:#271c19;--wine:#642c2e;--cream:#faf6ef;--sand:#efe3d4;--white:#fff;--line:#dbcec1}
*{box-sizing:border-box}
body{margin:0;background:var(--cream);color:var(--ink);font:1rem/1.6 system-ui,sans-serif}
a{color:inherit;text-underline-offset:.22em}
a:focus-visible,button:focus-visible{outline:3px solid #bd7851;outline-offset:4px}
img{max-width:100%;height:auto;display:block}
h1,h2,h3{font-family:Georgia,serif;font-weight:normal;line-height:1.12;margin:0 0 .65em}
h1{font-size:clamp(2.75rem,7vw,5.8rem)}
h2{font-size:clamp(2.1rem,4.5vw,3.5rem)}
h3{font-size:1.4rem}
p{margin:0 0 1rem}
.wrap{width:min(1160px,calc(100% - 2.5rem));margin-inline:auto}
.skip{position:absolute;top:-5rem;z-index:20;background:white;padding:.75rem}
.skip:focus{top:0}
.site-header{position:sticky;top:0;z-index:10;background:var(--cream);border-bottom:1px solid var(--line)}
.admin-bar .site-header{top:32px}
.top,.brand,nav,.actions{display:flex;align-items:center;gap:1rem}
.top{justify-content:space-between;min-height:76px}
.brand{font:1.35rem/1.1 Georgia,serif;text-decoration:none;flex-shrink:0;gap:.65rem}
.brand img{border-radius:50%}
.brand small{display:block;font:.72rem/1.4 system-ui,sans-serif}
nav{gap:clamp(.55rem,1.6vw,1.5rem);white-space:nowrap}
nav a{font-size:.9rem;text-decoration:none}
nav a:hover{text-decoration:underline}
section[id],footer[id]{scroll-margin-top:8rem}
.hero{display:grid;grid-template-columns:1fr 1fr;align-items:stretch;background:var(--wine);color:white}
.hero-copy{padding:clamp(2rem,6vw,6rem) clamp(1.25rem,5vw,5rem) }
.hero p{max-width:38ch;font-size:1.1rem}
.hero>img{width:100%;height:100%;min-height:330px;object-fit:cover}
.actions{flex-wrap:wrap;margin-top:1.5rem}
.button{display:inline-block;background:var(--wine);color:white;padding:.65rem 1rem;text-decoration:none;border:1px solid transparent}
.hero .button{background:var(--cream);color:var(--wine)}
.hero .button.secondary{background:transparent;color:white;border-color:white}
.section{padding-block:clamp(2.8rem,6vw,5.4rem)}
.tint{background:var(--sand)}
.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}
.card{background:var(--white);border:1px solid var(--line)}
.card img,.photo-grid img{width:100%;aspect-ratio:7/4;object-fit:cover}
.card h3{padding:1rem;margin:0}
.card p{padding:0 1rem}
.split,.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(1.5rem,5vw,4rem)}
.split>img{width:100%;object-fit:cover;min-height:260px;height:100%}
.photo-grid a{display:block}
.back{display:inline-block;margin-bottom:1.2rem}
.footer{padding-top:3rem;background:#2c2020;color:white}
.footer h2{font-size:2rem}
address{font-style:normal}
.hours{display:grid;grid-template-columns:max-content 1fr;gap:.25rem 1.5rem;margin:0}
.hours dd{margin:0}
.legal{display:flex;gap:1rem;justify-content:space-between;border-top:1px solid #725858;margin-top:2rem;padding-block:1rem;font-size:.9rem}
dialog{max-width:95vw;max-height:95vh;border:0;background:#251d1c;color:white;padding:1rem}
dialog::backdrop{background:#000b}
dialog img{max-height:78vh;object-fit:contain}
dialog button{display:block;margin:0 0 .5rem auto;padding:.4rem .7rem;cursor:pointer}
@media(max-width:900px){.top{flex-direction:column;align-items:flex-start;gap:.5rem;padding-block:.65rem}.top nav{width:100%;overflow:auto;padding:.2rem 0 .4rem}.hero-copy{padding-block:2.5rem}}
@media(max-width:782px){.admin-bar .site-header{top:46px}}
@media(max-width:640px){.hero,.split,.contact-grid{grid-template-columns:1fr}.hero>img{height:245px;min-height:0}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card h3{font-size:1.15rem}.admin-bar .site-header{top:0}}
@media(max-width:360px){.grid{grid-template-columns:1fr}.legal{flex-direction:column}}

.card img.vacature{object-fit:contain;background:#fff}
.order-nav{color:var(--wine);font-weight:700}
.order-page{max-width:860px}
.order-page h1{font-size:clamp(2.5rem,7vw,4.5rem)}
.order-page form h2{margin-top:2rem}
.order-notice{padding:1rem;background:var(--sand);border-left:4px solid var(--wine)}
.order-error{background:#f9e0df}
.order-group{min-inline-size:0;margin:0 0 1rem;padding:.65rem 1rem;background:var(--white);border:1px solid var(--line)}
.order-group legend{font:1.35rem Georgia,serif;color:var(--wine);padding:0 .35rem}
.order-line{display:grid;grid-template-columns:minmax(0,1fr) 5.5rem;gap:1rem;align-items:center;padding:.65rem 0}
.order-line+.order-line{border-top:1px solid var(--line)}
.order-page label{display:block}
.order-page label small{display:block;color:#594844}
.order-page input,.order-page textarea{width:100%;font:inherit;color:var(--ink);background:white;border:1px solid #8d766a;border-radius:.2rem;padding:.45rem .55rem}
.order-fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,14rem),1fr));gap:1rem}
.order-fields input,.order-page textarea{display:block;margin-top:.25rem}
.order-page textarea,.order-hours{margin-bottom:1rem}
.order-hours{margin-top:1rem}
.order-hours dl{margin-top:.5rem}
.order-page button{font:inherit;cursor:pointer}
@media(max-width:360px){.order-line{grid-template-columns:minmax(0,1fr) 4rem;gap:.5rem}}
.hero-copy > p:first-child {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    line-height: 1.3;
}

.hero-copy > h1 + p {
    font-size: clamp(1.3rem, 2vw, 1.65rem);
    line-height: 1.5;
}
