/*
Theme Name: Skippy's Frietkar
Description: Website voor Skippy’s Frietkar uit Denekamp, inclusief pakketten en winkeltje.
Version: 1.1.1
Requires at least: 6.3
Requires PHP: 7.4
Text Domain: skippys-frietkar
*/
:root {
  --ink: #241a13;
  --dark: #231810;
  --cream: #fff8ec;
  --paper: #fffcf6;
  --orange: #ffae42;
  --rust: #9c3c14;
  --muted: #645348;
  --line: #e8d8c6;
  --shadow: 0 12px 30px #4e29100c;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
h1,h2,h3,p,figure { margin: 0; }
h1,h2,h3 { line-height: 1.08; letter-spacing: -.045em; }
h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
section[id] { scroll-margin-top: 5.5rem; }
:focus-visible { outline: 3px solid #ca6200; outline-offset: 4px; }
.skip { position: absolute; z-index: 4; left: 1rem; top: -5rem; background: white; padding: .5rem 1rem; }
.skip:focus { top: 1rem; }
.wrap { width: min(74rem, calc(100% - 3.5rem)); margin-inline: auto; }
.top { background: var(--paper); position: sticky; top: 0; z-index: 3; border-bottom: 1px solid var(--line); }
.bar,.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 1.3rem; }
.bar { min-height: 5rem; }
.brand { display: inline-flex; gap: .7rem; align-items: center; font-weight: 850; text-decoration: none; line-height: 1.15; white-space: nowrap; }
.brand img { object-fit: cover; border-radius: 50%; }
.brand small { display: block; text-transform: uppercase; letter-spacing: .13em; font-weight: 700; font-size: .73rem; margin-top: .25rem; }
nav { display: flex; gap: clamp(1rem, 3vw, 2.4rem); }
nav a { font-weight: 700; text-decoration: none; font-size: .93rem; }
nav a:hover, .footer a:hover { text-decoration: underline; }
.menu-button { display: none; }
.button { display: inline-flex; justify-content: center; align-items: center; padding: .72rem 1.12rem; min-height: 2.85rem; text-decoration: none; border: 1px solid transparent; border-radius: .45rem; color: var(--dark); background: var(--orange); font-weight: 800; line-height: 1.25; text-align: center; }
.button:hover { background: #ffbf65; }
.button.outline { color: #fff7ec; border-color: #b6a08b; background: transparent; }
.button.outline:hover { background: #493328; }
.button.dark { background: var(--dark); color: #fff7ec; }
.button.dark:hover { background: #523725; }
.hero { background: var(--dark); color: var(--cream); padding: clamp(2.1rem, 5vw, 4.65rem) 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.16fr; align-items: center; gap: clamp(1.7rem, 4.5vw, 4.4rem); }
.hero h1 { font-size: clamp(2.6rem, 5.7vw, 5.35rem); font-weight: 900; line-height: .99; letter-spacing: -.075em; margin: .75rem 0 1.2rem; }
.hero h1 em { font-style: normal; color: var(--orange); }
.eyebrow { color: var(--rust); font-size: .82rem; letter-spacing: .12em; font-weight: 850; text-transform: uppercase; margin-bottom: .6rem; }
.hero .eyebrow, .contact .eyebrow { color: #ffc474; }
.eyebrow span { display: inline-block; width: 1.3rem; height: 2px; margin-right: .4rem; vertical-align: middle; background: currentColor; }
.intro { max-width: 30rem; color: #f0dfd1; font-size: 1.12rem; }
.actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.55rem; }
.hero-photo { position: relative; }
.hero-photo::before { content: ''; position: absolute; inset: .55rem -.5rem -.53rem .5rem; border: 1px solid #ce8a4c; border-radius: .8rem; }
.hero-photo img { position: relative; width: 100%; height: auto; aspect-ratio: 1.48; object-fit: cover; border-radius: .65rem; }
.hero-photo-controls { position: absolute; top: .65rem; left: .65rem; display: flex; gap: .35rem; }
.hero-photo [hidden] { display: none; }
.hero-photo-controls button { min-width: 2.75rem; min-height: 2.75rem; padding: 0 .65rem; border: 1px solid #fff7; border-radius: .45rem; background: var(--dark); color: var(--cream); font-weight: 750; }
.hero-photo-controls button:hover { background: var(--cream); color: var(--dark); }
.hero-photo-controls button[aria-label] { font-size: 1.5rem; line-height: 1; }
.service { background: var(--orange); }
.service-row { display: flex; justify-content: space-between; gap: .6rem 1.1rem; flex-wrap: wrap; padding-block: .62rem; font-weight: 800; }
.service-row span::before { content: '✓'; margin-right: .46rem; }
.packages,.about,.how,.contact { padding-block: clamp(2.8rem, 6vw, 5.9rem); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem; }
.section-head > p { max-width: 25rem; color: var(--muted); }
.filters { margin: 1.65rem 0 1.25rem; display: flex; gap: .55rem; flex-wrap: wrap; }
.filters button { border: 1px solid #d4bda8; background: transparent; color: var(--ink); border-radius: 99rem; padding: .4rem .8rem; font-weight: 750; font-size: .93rem; }
.filters button[aria-pressed="true"], .filters button:hover { background: var(--dark); color: var(--cream); border-color: var(--dark); }
.package-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.package { background: white; display: flex; flex-direction: column; border: 1px solid var(--line); border-top: 4px solid #e89140; border-radius: .65rem; padding: 1.2rem; box-shadow: var(--shadow); min-width: 0; }
.package[data-group="full"] { border-top-color: var(--rust); }
.package h3 { font-size: 1.55rem; margin: 0 0 .45rem; }
.package .kind { color: var(--rust); font-weight: 800; font-size: .88rem; margin-bottom: .35rem; }
.price { margin-block: .25rem; display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem; color: var(--muted); }
.price strong { color: var(--ink); font-size: 2rem; font-weight: 900; line-height: 1; letter-spacing: -.06em; white-space: nowrap; }
.minimum { font-weight: 750; margin: .2rem 0 .7rem; }
.package .summary { color: var(--muted); margin-bottom: .65rem; }
details { border-top: 1px solid var(--line); padding-block: .6rem; }
summary { cursor: pointer; font-weight: 750; }
details p { margin-top: .35rem; }
.package details { margin-top: auto; }
.package .button { margin-top: .65rem; align-self: flex-start; }
.package-note { margin-top: 1.4rem; color: var(--muted); border-inline-start: 3px solid #e89140; padding-inline-start: .85rem; }
.how { background: #fff0d9; }
.how-grid,.about,.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.4rem, 5vw, 4.9rem); align-items: center; }
.how-photo,.about img { width: 100%; height: auto; aspect-ratio: 1.48; object-fit: cover; border-radius: .7rem; }
.how ol { list-style: none; counter-reset: steps; padding: 0; margin: 1.1rem 0 .75rem; }
.how li { display: flex; gap: .7rem; margin: .85rem 0; counter-increment: steps; }
.how li::before { content: counter(steps); border-radius: 50%; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; flex: none; background: #fac875; font-weight: 800; }
.how li p,.about p:not(.eyebrow) { margin-top: .35rem; color: var(--muted); }
.about h2,.contact h2 { margin-bottom: .8rem; }
.about .button { margin-top: 1.1rem; }
.contact { color: var(--cream); background: var(--dark); }
.contact .phone { display: inline-block; margin-top: .8rem; color: #ffc474; font-weight: 850; }
form { background: var(--cream); color: var(--ink); padding: clamp(.9rem, 3vw, 1.65rem); border-radius: .7rem; }
.fields { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-bottom: .9rem; }
label { display: grid; align-content: start; gap: .25rem; font-weight: 750; font-size: .93rem; min-width: 0; }
input,select { color: var(--ink); width: 100%; min-width: 0; border: 1px solid #ad9076; border-radius: .35rem; background: white; padding: .48rem .55rem; min-height: 2.5rem; }
.wide { grid-column: 1 / -1; }
.form-help { color: var(--muted); font-size: .88rem; margin-top: .5rem; }
.footer { background: var(--paper); padding-block: 1.1rem; }
.footer-row { flex-wrap: wrap; }
.business-details { margin-top: 1rem; padding-top: .8rem; border-top: 1px solid var(--line); }
.business-details dl { display: flex; flex-wrap: wrap; gap: .65rem 2rem; margin: .65rem 0 0; }
.business-details dt { font-weight: 750; }
.business-details dd { margin: 0; }
.footer-copyright { margin-top: .75rem; color: var(--muted); font-size: .88rem; }
@media (max-width: 57rem) {
  .header-cta { display: none; }
  .package-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 43rem) {
  .wrap { width: calc(100% - 2rem); }
  .bar { flex-wrap: wrap; min-height: 4.25rem; padding-block: .5rem; gap: .55rem; }
  .menu-button { display: block; border: 1px solid var(--line); border-radius: .35rem; background: var(--paper); padding: .35rem .7rem; font-weight: 750; }
  nav { display: none; width: 100%; flex-direction: column; gap: 0; }
  nav.open { display: flex; }
  nav a { padding-block: .4rem; }
  .hero-grid,.how-grid,.about,.contact-grid { grid-template-columns: 1fr; }
  .about img { order: 2; }
  .section-head { flex-direction: column; align-items: start; }
  .service-row { justify-content: flex-start; font-size: .92rem; }
}
@media (max-width: 31rem) { .package-grid { grid-template-columns: 1fr; } }
@media (max-width: 23rem) { .fields { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.top .brand img { width: 4.9rem; height: auto; }
.bar { min-height: 5.3rem; }
.hero-photo .hero-logo {
  position: absolute;
  right: .85rem;
  bottom: .75rem;
  width: clamp(6.6rem, 14vw, 11rem);
  aspect-ratio: auto;
  padding: .38rem;
  background: #fffaf0;
  border-radius: 50%;
  box-shadow: 0 .4rem 1.4rem #0005;
}
.shop { background: #fff0d9; padding-block: clamp(2.8rem, 6vw, 5.2rem); }
.shop-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem; margin-top: 1.6rem; }
.product { display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: .7rem; box-shadow: var(--shadow); }
.product > img { width: 100%; aspect-ratio: 2.45; height: auto; object-fit: cover; object-position: center 47%; }
.product-copy { display: flex; flex-direction: column; flex: 1; padding: 1.2rem; }
.product h3 { font-size: clamp(1.42rem, 4vw, 1.85rem); margin-bottom: .4rem; }
.product .price { margin-top: .75rem; }
.product-minimum { color: var(--muted); font-weight: 650; }
.product-order { display: flex; flex-wrap: wrap; align-items: flex-end; gap: .65rem; margin-top: auto; background: transparent; padding: .8rem 0 0; }
.product-order label { flex: 0 1 7rem; }
.product-order input { min-height: 2.85rem; }
@media (max-width: 46rem) {
  .bar { min-height: 4.55rem; }
  .top .brand img { width: 4.15rem; }
  .top nav { gap: .7rem; }
}
@media (max-width: 43rem) {
  .top nav { gap: 0; }
  .hero-photo .hero-logo { right: .55rem; bottom: .5rem; }
}
@media (max-width: 35rem) { .shop-grid { grid-template-columns: 1fr; } }

body.admin-bar .top { top: 32px; }
@media (max-width: 782px) { body.admin-bar .top { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .top { top: 0; } }
