/* Die Onnie se Laai. Colours and fonts come from brand/logo/Omslagmaker.html. */
:root {
  --ink: #1E1B33;
  --cream: #FDF6E6;
  --blue: #C3D6FF;
  --lilac: #D9CDFA;
  --aqua: #BFE8F5;
  --yellow: #FFD84D;
  --red: #C63A2A;
  --green: #2E6B33;
  --white: #FFFFFF;
  --line: #E4E2F0;
  --afr: #C63A2A;
  --wis: #2A4BA0;
  --edge: 2.5px solid var(--ink);
  --lift: 0 4px 0 var(--ink);
  --radius: 18px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Baloo 2", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.5;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-underline-offset: 0.18em; }
h1, h2, h3, p, ul, blockquote { margin: 0; }
h1 { font-size: clamp(2.4rem, 7vw, 4rem); font-weight: 800; line-height: 1.05; text-wrap: balance; }
h2 { font-size: clamp(1.6rem, 4vw, 2.1rem); font-weight: 800; line-height: 1.15; margin-bottom: 1.25rem; text-wrap: balance; }
:focus-visible { outline: 3px solid var(--wis); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2rem, 68rem); margin-inline: auto; }
.narrow { max-width: 44rem; }
.center { text-align: center; }
.hand { font-family: "Caveat", cursive; font-weight: 700; font-size: 1.6rem; line-height: 1.1; }
.lead { font-size: clamp(1.15rem, 2.6vw, 1.4rem); font-weight: 600; margin-top: 0.75rem; text-wrap: pretty; }
.gap { margin-top: 2.5rem; }

.skip { position: absolute; left: -999px; top: 0; background: var(--yellow); padding: 0.5rem 1rem; z-index: 10; }
.skip:focus { left: 0.5rem; top: 0.5rem; }
.draft { background: var(--ink); color: var(--cream); text-align: center; font-size: 0.9rem; padding: 0.25rem 1rem; }

/* Header */
.top { background: var(--blue); }
.top__in { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.25rem; padding-block: 0.6rem; }
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; font-family: "Caveat", cursive; font-weight: 700; font-size: 1.9rem; line-height: 1; }
.brand img { width: 56px; height: 56px; border-radius: 50%; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem; margin-left: auto; }
.nav a, .lang { text-decoration: none; font-weight: 700; padding: 0.3rem 0.8rem; border-radius: 999px; border: 2.5px solid transparent; }
.nav a:hover, .lang:hover { background: var(--cream); }
.nav a[aria-current="page"] { background: var(--cream); border-color: var(--ink); }
.lang { border-color: var(--ink); background: var(--white); font-size: 0.95rem; }

/* Bands and scalloped edges (the scallop echoes the logo badge) */
.band { padding-block: clamp(2.5rem, 6vw, 4rem); }
.band--blue { background: var(--blue); }
.band--lilac { background: var(--lilac); }
.band--aqua { background: var(--aqua); }
.scallop { height: 18px; background-repeat: repeat-x; background-size: 36px 18px; background-position: center top; }
.scallop--blue { background-image: radial-gradient(circle at 50% 0, var(--blue) 0 17px, transparent 18px); }
.scallop--ink { background-image: radial-gradient(circle at 50% 100%, var(--ink) 0 17px, transparent 18px); }

/* Hero */
.hero { padding-block: clamp(2rem, 6vw, 4rem) clamp(1.5rem, 4vw, 2.5rem); }
.hero__in { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 2rem; }
.hero__slogan { font-size: clamp(1.6rem, 4vw, 2.1rem); margin-bottom: 0.4rem; }
.hero__logo { width: min(100%, 22rem); justify-self: center; border-radius: 50%; transform: rotate(-4deg); }
.pagehead { padding-block: clamp(1.75rem, 5vw, 3rem) 1.25rem; }
.notfound .wrap + .wrap { margin-top: 3rem; }
.notfound .btn { margin-top: 1.25rem; }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 1.75rem; }
.actions--center { justify-content: center; }
.btn {
  display: inline-block; font: inherit; font-weight: 700; line-height: 1.2; text-align: center;
  text-decoration: none; cursor: pointer; color: var(--ink); background: var(--yellow);
  border: var(--edge); border-radius: 999px; padding: 0.65rem 1.4rem; box-shadow: var(--lift);
  transition: transform 0.08s, box-shadow 0.08s;
}
.btn:hover { transform: translateY(2px); box-shadow: 0 2px 0 var(--ink); }
.btn:active { transform: translateY(4px); box-shadow: none; }
.btn--white { background: var(--white); }
.btn--small { font-size: 1rem; padding: 0.45rem 1rem; }
.more { margin-top: 1.5rem; font-weight: 700; }

/* Product cards */
.grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.5rem; }
.card { background: var(--white); border: var(--edge); border-radius: var(--radius); box-shadow: var(--lift); overflow: hidden; display: flex; flex-direction: column; }
.card[hidden] { display: none; }
.card__cover { width: 100%; aspect-ratio: 600 / 848; object-fit: contain; object-position: top; background: var(--white); border-bottom: var(--edge); }
.card__body { padding: 0.9rem 1rem 1.1rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.card__tags { display: flex; flex-wrap: wrap; gap: 0.35rem; }
.card__title { font-size: 1.15rem; font-weight: 700; line-height: 1.25; }
.card__price { font-size: 1.5rem; font-weight: 800; margin-top: auto; }
.card__price--free { color: var(--green); }
.card .btn { align-self: flex-start; }
.tag { font-size: 0.85rem; font-weight: 700; line-height: 1.2; padding: 0.2rem 0.6rem; border-radius: 999px; background: var(--ink); color: var(--white); }
.tag--afr { background: var(--afr); }
.tag--wis { background: var(--wis); }
.tag--alle { background: var(--green); }

/* Shop filters */
.filters { margin-bottom: 1.75rem; display: grid; gap: 0.6rem; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 0.4rem; }
.filters__label { font-weight: 800; min-width: 3.5rem; }
.pill { font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); background: var(--white); border: var(--edge); border-radius: 999px; padding: 0.2rem 0.9rem; min-width: 2.8rem; }
.pill[aria-pressed="true"] { background: var(--yellow); box-shadow: 0 3px 0 var(--ink); }
.filters__count { font-weight: 600; opacity: 0.8; }
.empty { font-weight: 700; padding-block: 2rem; }

/* Quote, chips, placeholders */
.quote { font-size: clamp(1.2rem, 2.8vw, 1.45rem); font-weight: 600; background: var(--white); border: var(--edge); border-radius: var(--radius); box-shadow: var(--lift); padding: 1.25rem 1.5rem; text-wrap: pretty; }
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.25rem; }
.chips li { background: var(--white); border: var(--edge); border-radius: 999px; padding: 0.3rem 1rem; font-weight: 700; }
.todo { margin-top: 1.25rem; border: 2.5px dashed var(--red); border-radius: var(--radius); padding: 0.9rem 1.1rem; background: var(--white); }

/* Contact */
.contact { display: grid; grid-template-columns: 1.2fr 1fr; gap: 2rem; align-items: start; }
.form, .way { background: var(--white); border: var(--edge); border-radius: var(--radius); box-shadow: var(--lift); padding: 1.5rem; }
.form p + p { margin-top: 1rem; }
.form label { display: block; font-weight: 700; margin-bottom: 0.25rem; }
.form input[type="text"], .form input[type="email"], .form textarea {
  width: 100%; font: inherit; color: var(--ink); background: var(--cream);
  border: var(--edge); border-radius: 12px; padding: 0.55rem 0.8rem;
}
.form textarea { resize: vertical; min-height: 8rem; }
.form__trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__status:empty { display: none; }
.form__status { font-weight: 700; padding: 0.75rem 1rem; border-radius: 12px; background: var(--aqua); }
.form__status[data-state="ok"] { background: #D8F0DA; }
.form__status[data-state="fail"] { background: #FBE0DC; }
.ways { display: grid; gap: 1.5rem; }
.way h2 { font-size: 1.4rem; margin-bottom: 0.5rem; }
.way p + p { margin-top: 0.75rem; }
.way__big { font-size: 1.6rem; font-weight: 800; }

/* Footer */
.foot { background: var(--ink); color: var(--cream); padding-block: 2rem 1.5rem; }
.foot__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem 3rem; }
.foot__name { font-family: "Caveat", cursive; font-weight: 700; font-size: 2rem; line-height: 1.1; }
.foot .hand { color: var(--yellow); margin-top: 0.4rem; }
.foot__links { list-style: none; padding: 0; display: grid; gap: 0.35rem; font-weight: 700; }
.foot__copy { margin-top: 1.75rem; font-size: 0.9rem; opacity: 0.75; }

@media (max-width: 720px) {
  .hero__in, .contact { grid-template-columns: 1fr; }
  .hero__logo { order: -1; width: 11rem; }
  .top__in { gap: 0.35rem 0.5rem; padding-block: 0.45rem; }
  .brand { font-size: 1.55rem; gap: 0.4rem; }
  .brand img { width: 42px; height: 42px; }
  .nav { margin-left: 0; order: 3; width: 100%; gap: 0.1rem; justify-content: space-between; }
  .nav a { font-size: 0.92rem; padding: 0.15rem 0.5rem; }
  .lang { margin-left: auto; font-size: 0.85rem; padding: 0.15rem 0.6rem; }
  .grid { grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr)); gap: 1rem; }
  .card__body { padding: 0.7rem 0.75rem 0.9rem; }
  .card__title { font-size: 1.02rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
