/* Vishandel Leliveld – kleuren en opbouw overgenomen van de oude site */
:root {
  --donkerblauw: #004990;
  --lichtblauw: #02add7;
  --rood: #e2001a;
  --voet: #e6f1f8;
  --rand: #c9dcea;
  --tekst: #000;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--tekst);
  font: 13px/1.9 Verdana, Geneva, sans-serif;
  background: #fff url("../template/templates/vishandelleliveld/images/wrapper-background-leliveld.jpg") repeat-x;
}
a { color: var(--rood); text-decoration: none; }
a:hover { color: var(--donkerblauw); text-decoration: underline; }
img { max-width: 100%; height: auto; }
.wrap { max-width: 1000px; margin: 0 auto; }

/* Header: menu linksboven, slider links, logo rechts eroverheen */
.header { position: relative; height: 270px; }
.topmenu { position: absolute; top: 6px; left: 20px; z-index: 3; color: #fff; font-size: 13px; }
.topmenu a { color: #fff; }
.topmenu a:hover, .topmenu a[aria-current] { color: #444; text-decoration: none; }
.slider { position: absolute; top: 38px; left: 0; width: 710px; height: 250px; display: block; }
.slider img { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s; }
.slider img.active { opacity: 1; }
.logo { position: absolute; right: 20px; top: 31px; z-index: 2; width: 380px; }
.logo img { display: block; width: 100%; }

/* Inhoud + rechterkolom */
.columns { display: grid; grid-template-columns: 1fr 260px; gap: 10px; margin-top: 30px; }
.content { background: #fff; border-radius: 6px 6px 0 0; padding: 0 10px 30px; min-height: 500px; line-height: 26px; }
.submenu { display: flex; gap: 12px; padding: 8px 0 18px; }
.submenu a {
  flex: 1; text-align: center; padding: 10px 6px; border-radius: 4px;
  background: var(--lichtblauw); color: #fff; font-size: 13px; line-height: 14px; letter-spacing: .02em;
}
.submenu a:hover, .submenu a[aria-current] { background: var(--donkerblauw); color: #fff; text-decoration: none; }
.content h1 { color: var(--donkerblauw); font-size: 17px; margin: 0 0 6px; }
.content h2 { color: var(--donkerblauw); font-size: 14px; margin: 18px 0 0; }
.content p { margin: 0 0 12px; }

.sidebar { background: #fff; border-radius: 6px; padding: 15px 10px; align-self: start; }
.facebook img { display: block; }
.hoursbox { padding: 20px 10px 0; }
.hoursbox h2 { color: var(--donkerblauw); font-size: 13px; margin: 0 0 8px; }
.hours { border-collapse: collapse; width: 100%; font-size: 12px; line-height: 20px; }
.hours th { text-align: left; font-weight: normal; padding-right: 16px; }

/* Footer */
.footer {
  display: grid; grid-template-columns: 1.3fr 1.3fr 1fr; gap: 10px 20px;
  margin: 20px 0; padding: 14px 40px; background: var(--voet); border-radius: 6px; font-size: 12px; line-height: 20px;
}
.footer a { color: var(--donkerblauw); }
.footer .copy { grid-column: 1 / -1; margin: 10px 0 0; }

/* Schotels */
.dishes { display: grid; gap: 18px; }
.dish { display: grid; grid-template-columns: 220px 1fr; gap: 18px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--rand); }
.dish img { display: block; border-radius: 4px; }
.dish h2 { margin-top: 0 !important; }
.price { color: var(--donkerblauw); }

/* Formulieren */
.form label { display: block; margin-bottom: 10px; font-weight: bold; color: var(--donkerblauw); }
.form input, .form textarea {
  display: block; width: 100%; max-width: 420px; margin-top: 2px; padding: 6px 8px;
  font: inherit; font-weight: normal; color: #000; border: 1px solid var(--donkerblauw); border-radius: 3px; background: #fff;
}
.form button, .button {
  display: inline-block; padding: 8px 20px; border: 0; border-radius: 4px; cursor: pointer;
  background: var(--lichtblauw); color: #fff; font: inherit; font-weight: bold; text-decoration: none;
}
.form button:hover, .button:hover { background: var(--donkerblauw); color: #fff; text-decoration: none; }
.hp { position: absolute; left: -9999px; }
.error { color: var(--rood); font-weight: bold; }
.error:empty { display: none; }

.products { display: grid; }
.product { display: grid; grid-template-columns: 70px 1fr auto 140px; gap: 12px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--rand); line-height: 18px; }
.product img { width: 70px; height: 70px; object-fit: cover; border-radius: 4px; display: block; }
.product small { color: #555; }
.pprice { white-space: nowrap; }
.form .pqty { display: flex; align-items: center; gap: 6px; margin: 0; font-weight: normal; color: #000; }
.form .pqty input { width: 70px; margin: 0; }
.total { font-size: 15px; margin-top: 12px !important; }

/* Tablet en mobiel */
@media (max-width: 1000px) {
  .wrap { padding: 0 10px; }
  .header { height: auto; padding-top: 34px; }
  .slider { position: relative; top: 0; width: 100%; height: auto; aspect-ratio: 709 / 250; }
  .logo { width: 34%; right: 10px; top: 24px; }
}
@media (max-width: 760px) {
  body { font-size: 14px; }
  .header { display: flex; flex-direction: column; }
  .logo { position: static; order: -1; width: 70%; max-width: 300px; margin: 0 auto 8px; }
  .topmenu { position: static; order: -2; text-align: center; margin-bottom: 6px; }
  .header { padding-top: 6px; }
  .columns { grid-template-columns: 1fr; margin-top: 12px; }
  .content { min-height: 0; }
  .submenu { flex-wrap: wrap; gap: 6px; }
  .submenu a { flex: 1 1 30%; }
  .footer { grid-template-columns: 1fr; padding: 14px 16px; }
  .footer br:first-child { display: none; }
  .dish { grid-template-columns: 1fr; }
  .product { grid-template-columns: 60px 1fr auto; }
  .product img { width: 60px; height: 60px; }
  .product .pqty { grid-column: 2 / -1; }
}
