/* =====================================================================
   CATALOGUE & ORDER PLATFORM - Public website styles
   (colours below are the default scheme; theme.php overrides them with
   the scheme chosen in Admin > Look & logo)
   Design schema follows hentiesbaai.com / Municipal Website Platform:
   fixed header + numbered tab navigation, header band per tab, hero,
   footer. Colours taken from the WP logo:
     ink navy #140036 | leaf blue #7d93b3 | mist #c9d4e6 | gold sprig #c8a46a
   ===================================================================== */
:root {
  --ink: #140036;
  --ink-2: #2a1d5e;
  --blue: #7d93b3;
  --blue-dark: #5c7398;
  --mist: #c9d4e6;
  --gold: #c8a46a;
  --gold-dark: #a8844a;
  --cream: #faf7f2;
  --pick: #f6ead2;
  --bg: #f4f3f6;
  --line: #e2dfea;
  --muted: #5d587a;
  --text: #1d1640;
  --red: #b03030;
  --green: #2d6a37;
  --radius: 12px;
  --shadow: 0 4px 18px rgba(20, 0, 54, .10);
  --serif: Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: var(--bg);
  font-size: 16px; line-height: 1.55; display: flex; flex-direction: column; overflow: hidden;
}
a { color: var(--ink-2); }
a:hover { color: var(--gold-dark); }
img { max-width: 100%; }
button, input, select, textarea { font: inherit; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 999; }
.hide { display: none !important; }

/* ---------- Fixed top: header + tabs ---------- */
.topbar { flex: 0 0 auto; position: relative; z-index: 50; box-shadow: 0 3px 10px rgba(0,0,0,.12); }
.page-scroll { flex: 1 1 auto; overflow-y: auto; overflow-x: hidden; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; }
.dev-ribbon {
  background: repeating-linear-gradient(135deg, var(--gold) 0 14px, var(--gold-dark) 14px 28px);
  color: #fff; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; padding: 3px 10px; text-transform: uppercase;
}
.site-header { background: var(--ink); color: #fff; }
.header-inner { max-width: 1680px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 10px 22px; }
.crest { flex: 0 0 auto; display: flex; background: #fff; border-radius: 50%; padding: 3px; box-shadow: 0 0 0 3px var(--gold), 0 2px 8px rgba(0,0,0,.35); }
.crest img { width: 74px; height: 74px; border-radius: 50%; display: block; }
.title-wrap { flex: 1; text-align: center; min-width: 0; }
.site-title { margin: 0; font-family: var(--serif); font-size: clamp(20px, 3vw, 38px); letter-spacing: .12em; font-weight: 700; text-transform: uppercase; line-height: 1.1; }
.site-sub { margin: 4px 0 0; font-size: 13px; letter-spacing: .18em; color: var(--gold); text-transform: uppercase; }
.header-tools { display: flex; align-items: center; gap: 10px; flex: 0 0 auto; }
.lang-toggle { display: inline-flex; border: 1px solid rgba(255,255,255,.35); border-radius: 20px; overflow: hidden; }
.lang-toggle button { background: transparent; color: #fff; border: 0; padding: 6px 11px; cursor: pointer; font-size: 12px; font-weight: 700; letter-spacing: .06em; }
.lang-toggle button.on { background: var(--gold); color: var(--ink); }
.hbtn {
  display: inline-flex; align-items: center; gap: 7px; background: rgba(255,255,255,.1); color: #fff; border: 1px solid rgba(255,255,255,.25);
  border-radius: 22px; padding: 7px 14px; cursor: pointer; font-weight: 700; font-size: 13px; text-decoration: none; white-space: nowrap;
}
.hbtn:hover { background: var(--gold); color: var(--ink); }
.hbtn.basket { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.hbtn.basket:hover { background: #fff; }
.hbtn .cnt { background: var(--ink); color: #fff; border-radius: 12px; min-width: 22px; padding: 1px 6px; text-align: center; font-size: 12px; }
.admin-lock { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.1); text-decoration: none; font-size: 16px; }
.admin-lock:hover { background: var(--gold); }
.hamburger { display: none; background: var(--gold); color: var(--ink); border: 0; border-radius: 6px; padding: 8px 12px; font-weight: 700; cursor: pointer; }

.tabnav { background: #fff; border-bottom: 3px solid var(--gold); }
.tabnav > ul { list-style: none; margin: 0; padding: 6px 6px 0; display: flex; gap: 3px; max-width: 1680px; margin: 0 auto; }
.tabnav li { flex: 1 1 0; min-width: 0; }
.tabnav a {
  display: flex; align-items: center; justify-content: center; gap: 6px; height: 100%; padding: 10px 6px;
  font-size: clamp(11px, .9vw, 15px); font-weight: 700; text-align: center; line-height: 1.15;
  color: var(--ink); text-decoration: none; border: 1px solid var(--line); border-bottom: 0; border-radius: 8px 8px 0 0;
  background: linear-gradient(#fff, #f6f4fa);
}
.tabnav a:hover, .tabnav li.active a { background: var(--ink); color: #fff; border-color: var(--ink); }
.badge { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink); font-size: 11px; font-weight: 800; flex: 0 0 auto; }
.tabnav li.active .badge, .tabnav a:hover .badge { background: #fff; }
.tabnav .pill { background: var(--red); color: #fff; border-radius: 10px; font-size: 10px; padding: 1px 6px; }

/* ---------- Header band (top description of each menu) ---------- */
.band { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 60%, var(--blue-dark) 100%); color: #fff; position: relative; overflow: hidden; }
.band-inner { max-width: 1680px; margin: 0 auto; padding: 18px 26px; display: flex; align-items: center; gap: 18px; }
.band .num { font-family: var(--serif); font-size: 46px; color: var(--gold); line-height: 1; opacity: .9; }
.band h2 { margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.2vw, 30px); letter-spacing: .03em; }
.band p { margin: 4px 0 0; color: var(--mist); max-width: 1000px; }
.band::after { content: ""; position: absolute; right: -60px; top: -60px; width: 260px; height: 260px; border: 2px solid rgba(200,164,106,.35); border-radius: 50%; }

main { max-width: 1680px; margin: 0 auto; padding: 18px 16px 40px; min-height: 60vh; width: 100%; }

/* ---------- Generic cards / buttons ---------- */
.card { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px 24px; margin-bottom: 18px; }
.card h3 { margin-top: 0; font-family: var(--serif); color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; background: var(--ink); color: #fff; border: 2px solid var(--ink);
  border-radius: 8px; padding: 9px 18px; font-weight: 700; cursor: pointer; text-decoration: none; font-size: 15px;
}
.btn:hover { background: var(--ink-2); color: #fff; }
.btn.gold { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: var(--gold-dark); color: #fff; }
.btn.line { background: #fff; color: var(--ink); }
.btn.line:hover { background: var(--mist); }
.btn.small { padding: 5px 11px; font-size: 13px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.muted { color: var(--muted); }
.rich p:first-child { margin-top: 0; }
.rich ol li, .rich ul li { margin-bottom: 8px; }

/* ---------- Welcome hero ---------- */
.hero { background: linear-gradient(120deg, var(--ink) 0%, var(--ink-2) 55%, var(--blue-dark) 100%); border-radius: 16px; color: #fff; padding: 30px; display: grid; grid-template-columns: 300px 1fr 300px; gap: 30px; align-items: center; box-shadow: var(--shadow); margin-bottom: 20px; position: relative; overflow: hidden; }
.hero-logo { background: #fff; border-radius: 50%; padding: 8px; box-shadow: 0 0 0 5px var(--gold), 0 12px 30px rgba(0,0,0,.35); aspect-ratio: 1; }
.hero-logo img { width: 100%; height: 100%; border-radius: 50%; display: block; }
.hero-center { text-align: center; }
.kicker { display: inline-block; border: 1px solid rgba(255,255,255,.25); background: rgba(0,0,0,.15); color: var(--gold); padding: 6px 18px; letter-spacing: .16em; font-weight: 800; text-transform: uppercase; font-size: 13px; border-radius: 3px; }
.hero h2 { color: #fff; font-family: var(--serif); font-size: clamp(26px, 3vw, 44px); line-height: 1.12; margin: 14px 0 10px; }
.hero h2 em { color: var(--gold); font-style: normal; }
.hero p { color: var(--mist); font-size: 17px; max-width: 640px; margin: 0 auto 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.hero-facts { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18); border-radius: 12px; padding: 16px 18px; font-size: 14px; }
.hero-facts div { padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.hero-facts div:last-child { border: 0; }
.hero-facts b { color: var(--gold); display: block; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.hero-facts a { color: #fff; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 20px; }
.tile { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; text-decoration: none; color: var(--text); border-top: 4px solid var(--gold); transition: transform .15s; }
.tile:hover { transform: translateY(-3px); color: var(--text); }
.tile .ico { font-size: 30px; }
.tile h3 { margin: 6px 0 4px; font-family: var(--serif); color: var(--ink); }
.tile p { margin: 0; font-size: 14px; color: var(--muted); }
.tile .n { display: inline-block; margin-top: 10px; font-weight: 700; color: var(--gold-dark); font-size: 13px; }
.welcome-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 18px; }

/* ---------- Catalogue: left category buttons + 2-across item frames ---------- */
.cat-layout { display: grid; grid-template-columns: 250px 1fr; gap: 18px; align-items: start; }
.cat-layout > * { min-width: 0; }
.cat-side { position: sticky; top: 0; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); padding: 12px; }
.cat-side h4 { margin: 2px 4px 10px; font-size: 12px; letter-spacing: .14em; color: var(--muted); text-transform: uppercase; }
.cat-search { width: 100%; padding: 9px 11px; border: 1px solid var(--line); border-radius: 8px; margin-bottom: 10px; }
.cat-btns { display: flex; flex-direction: column; gap: 6px; }
.cat-btn {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; padding: 11px 12px; border-radius: 9px;
  border: 1px solid var(--line); background: linear-gradient(#fff, #f6f4fa); color: var(--ink); font-weight: 700; cursor: pointer; font-size: 14px;
}
.cat-btn .ci { width: 24px; text-align: center; font-size: 17px; flex: 0 0 24px; }
.cat-btn .cn { flex: 1; min-width: 0; }
.cat-btn .cc { background: var(--mist); color: var(--ink); border-radius: 10px; padding: 0 8px; font-size: 12px; }
.cat-btn:hover { border-color: var(--gold); }
.cat-btn.on { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: inset 4px 0 0 var(--gold); }
.cat-btn.on .cc { background: var(--gold); }
.cat-empty { color: var(--muted); font-size: 14px; padding: 8px; }

.cat-tools { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.cat-tools h3 { margin: 0; font-family: var(--serif); color: var(--ink); font-size: 22px; }
.pager { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.pager button { min-width: 34px; height: 34px; border: 1px solid var(--line); background: #fff; border-radius: 6px; cursor: pointer; font-weight: 700; color: var(--ink); }
.pager button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager button[disabled] { opacity: .4; cursor: default; }
.pager .info { margin-right: 8px; color: var(--muted); font-size: 14px; }

.items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.frame {
  background: #fff; border: 2px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); display: grid;
  grid-template-columns: 210px 1fr; gap: 16px; padding: 14px; position: relative; transition: background .25s, border-color .25s;
}
.frame.picked { background: var(--pick); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,106,.35), var(--shadow); }
.frame.picked::before { content: "\2714"; position: absolute; top: -10px; right: -10px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; box-shadow: 0 2px 6px rgba(0,0,0,.2); z-index: 3; }
.pic { width: 210px; height: 210px; position: relative; z-index: 1; }
.pic img, .pic .noimg {
  width: 210px; height: 210px; object-fit: contain; background: var(--cream); border-radius: 10px; border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease; transform-origin: top left; cursor: zoom-in; display: block;
}
.pic .noimg { display: flex; align-items: center; justify-content: center; color: var(--blue); font-family: var(--serif); font-size: 42px; cursor: default; }
/* Hover: picture enlarges to double size, above everything else */
.pic:hover { z-index: 20; }
.pic:hover img { transform: scale(2); box-shadow: 0 18px 40px rgba(20,0,54,.35); background: #fff; }
.items > .frame:nth-child(2n) .pic img { transform-origin: top left; }
.ribbon { position: absolute; top: 10px; left: -6px; background: var(--red); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 10px; border-radius: 3px; z-index: 2; text-transform: uppercase; }
.det { min-width: 0; display: flex; flex-direction: column; }
.det .code { font-size: 12px; color: var(--muted); letter-spacing: .06em; }
.det h4 { margin: 2px 0 4px; font-family: var(--serif); font-size: 19px; color: var(--ink); line-height: 1.2; }
.det .desc { font-size: 14px; color: var(--text); margin: 0 0 8px; }
.det .meta { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.det .meta b { color: var(--text); }
.price { font-size: 22px; font-weight: 800; color: var(--ink); }
.price s { font-size: 15px; color: var(--muted); font-weight: 400; margin-right: 6px; }
.price .unit { font-size: 13px; font-weight: 400; color: var(--muted); }
.tiers { display: flex; flex-wrap: wrap; gap: 5px; margin: 6px 0; }
.tier { background: var(--mist); color: var(--ink); border-radius: 12px; font-size: 12px; padding: 2px 9px; font-weight: 700; }
.tier.hit { background: var(--gold); }
.dates { font-size: 12px; color: var(--muted); margin-top: 4px; }
.dates .exp { color: var(--red); font-weight: 700; }
.buy { display: flex; gap: 8px; align-items: center; margin-top: auto; padding-top: 10px; flex-wrap: wrap; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; background: #fff; }
.qty button { width: 32px; height: 36px; border: 0; background: #f2f0f6; cursor: pointer; font-weight: 800; color: var(--ink); }
.qty input { width: 64px; height: 36px; border: 0; text-align: center; font-weight: 700; }
.pick-btn { min-width: 110px; }
.frame.picked .pick-btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.line-est { font-size: 13px; color: var(--muted); }
.empty { text-align: center; padding: 50px 20px; color: var(--muted); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; }
.form-grid .full { grid-column: 1 / -1; }
label.f { display: block; font-weight: 700; font-size: 14px; margin-bottom: 4px; color: var(--ink); }
.inp { width: 100%; padding: 10px 12px; border: 1px solid #cfcadd; border-radius: 8px; background: #fff; }
.inp:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
textarea.inp { min-height: 90px; resize: vertical; }
.hp { position: absolute; left: -5000px; }
.alert { padding: 10px 14px; border-radius: 8px; margin: 10px 0; }
.alert.err { background: #fdecec; color: #8a1f1f; }
.alert.ok { background: #e8f4ea; color: #1e5128; }
.alert.info { background: #eef1f8; color: var(--ink); }
.paybox { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.payopt { border: 2px solid var(--line); border-radius: 10px; padding: 12px; cursor: pointer; display: flex; gap: 10px; align-items: flex-start; }
.payopt.on { border-color: var(--gold); background: var(--pick); }
.payopt b { display: block; }

/* ---------- Basket ---------- */
.btable { width: 100%; border-collapse: collapse; font-size: 14px; }
.btable th { text-align: left; background: var(--ink); color: #fff; padding: 8px; font-weight: 700; }
.btable td { padding: 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.btable .r { text-align: right; white-space: nowrap; }
.btable img { width: 48px; height: 48px; object-fit: contain; background: var(--cream); border-radius: 6px; }
.btable .tot td { font-weight: 800; border-bottom: 0; }
.btable .grand td { font-size: 18px; color: var(--ink); border-top: 2px solid var(--ink); }
.x { background: none; border: 0; color: var(--red); font-size: 18px; cursor: pointer; }
.steps { display: flex; gap: 6px; margin: 4px 0 16px; flex-wrap: wrap; }
.steps span { flex: 1; text-align: center; padding: 7px 4px; border-radius: 6px; background: #eeecf3; color: var(--muted); font-size: 12px; font-weight: 700; min-width: 80px; }
.steps span.done { background: var(--ink); color: #fff; }
.steps span.now { background: var(--gold); color: var(--ink); }
.refbig { font-family: var(--serif); font-size: 34px; color: var(--ink); letter-spacing: .06em; }
.bank { background: var(--cream); border: 1px dashed var(--gold); border-radius: 10px; padding: 12px 16px; }
.bank div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1px solid var(--line); padding: 4px 0; }
.bank div:last-child { border: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 18px; }
.cline { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.cline .ci { width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: var(--gold); display: flex; align-items: center; justify-content: center; flex: 0 0 34px; }
.cline b { display: block; font-size: 12px; letter-spacing: .1em; color: var(--muted); text-transform: uppercase; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--mist); margin-top: 24px; }
.footer-inner { max-width: 1680px; margin: 0 auto; padding: 10px 22px; text-align: center; font-size: 13.5px; line-height: 1.6; }
.footer-inner b { color: var(--gold); letter-spacing: .06em; }
.fsep { margin: 0 9px; color: var(--gold); }
.site-footer h4 { color: var(--gold); margin: 0 0 8px; letter-spacing: .12em; text-transform: uppercase; font-size: 13px; }
.site-footer a { color: #fff; }
.footer-bottom { text-align: center; padding: 6px 10px; font-size: 12px; background: rgba(0,0,0,.25); }

/* ---------- VAT line, remove button, basket total ---------- */
.vatline { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 12px; color: var(--muted); margin: 2px 0 4px; }
.vatline b { color: var(--text); font-weight: 700; }
.rm-btn { background: #fff; color: var(--red); border-color: var(--red); }
.rm-btn:hover { background: var(--red); color: #fff; }
.frame:not(.picked) .rm-btn { display: none; }
.hbtn .btot { font-size: 12px; font-weight: 800; }
@media (max-width: 960px) { .hbtn .btot { display: none; } }

/* ---------- Share buttons (copy link / advert, WhatsApp, e-mail) ---------- */
.band-txt { flex: 1; min-width: 0; }
.band-share { flex: 0 0 auto; position: relative; z-index: 2; }
.share { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.share .sl { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.sh { display: inline-flex; align-items: center; gap: 2px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.08); color: #fff; border-radius: 18px; padding: 6px 11px; cursor: pointer; font-size: 13px; font-weight: 700; white-space: nowrap; }
.sh:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.sh.wa:hover { background: #25d366; border-color: #25d366; color: #fff; }
.share.compact { margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); gap: 5px; }
.share.compact .sh { border-color: var(--line); background: #fff; color: var(--ink); padding: 4px 9px; font-size: 12px; }
.share.compact .sh span { display: none; }
.share.compact .sh:hover { background: var(--gold); border-color: var(--gold); }
.share.compact .sh.wa { color: #128c4b; }
.share.compact .sh.wa:hover { background: #25d366; color: #fff; }
.items.single { grid-template-columns: 1fr; }
@media (max-width: 960px) { .band-inner { flex-wrap: wrap; } .band-share { width: 100%; } }
@media (max-width: 640px) { .band-share .sh span { display: none; } }

/* ---------- Modal ---------- */
.modal-bg { position: fixed; inset: 0; background: rgba(20,0,54,.55); display: none; align-items: flex-start; justify-content: center; z-index: 200; padding: 30px 12px; overflow-y: auto; }
.modal-bg.on { display: flex; }
.modal { background: #fff; border-radius: 14px; width: 100%; max-width: 860px; box-shadow: 0 20px 60px rgba(0,0,0,.4); }
.modal .mh { border-radius: 14px 14px 0 0; }
.modal .mh { background: var(--ink); color: #fff; padding: 14px 20px; display: flex; justify-content: space-between; align-items: center; font-family: var(--serif); font-size: 20px; }
.modal .mh button { background: none; border: 0; color: #fff; font-size: 28px; cursor: pointer; line-height: 1; }
.modal .mb { padding: 20px; }
.toast { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%) translateY(120px); background: var(--ink); color: #fff; padding: 11px 20px; border-radius: 24px; box-shadow: var(--shadow); transition: transform .3s; z-index: 300; font-weight: 700; }
.toast.on { transform: translateX(-50%) translateY(0); }
.toast b { color: var(--gold); }

/* ---------- Responsive ---------- */
@media (max-width: 1350px) { .frame { grid-template-columns: 170px 1fr; } .pic, .pic img, .pic .noimg { width: 170px; height: 170px; } }
@media (max-width: 1180px) {
  .hero { grid-template-columns: 220px 1fr; } .hero-facts { grid-column: 1 / -1; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .items { grid-template-columns: 1fr; }
  .pic, .pic img, .pic .noimg { width: 200px; height: 200px; } .frame { grid-template-columns: 200px 1fr; }
}
@media (max-width: 960px) {
  .hamburger { display: inline-block; }
  .tabnav > ul { display: none; flex-direction: column; padding: 6px; }
  .tabnav.open > ul { display: flex; }
  .tabnav a { justify-content: flex-start; border-radius: 6px; border-bottom: 1px solid var(--line); padding: 12px; font-size: 15px; }
  .cat-layout { grid-template-columns: 1fr; }
  .cat-side { position: static; }
  .cat-btns { flex-direction: row; overflow-x: auto; padding-bottom: 4px; }
  .cat-btn { width: auto; flex: 0 0 auto; }
  .welcome-grid, .contact-grid { grid-template-columns: 1fr; }
  .hbtn .lbl { display: none; }
  .site-sub { display: none; }
}
@media (max-width: 640px) {
  .header-inner { padding: 8px 12px; gap: 10px; }
  .crest img { width: 48px; height: 48px; }
  .title-wrap { text-align: left; }
  .site-title { font-size: 16px; letter-spacing: .06em; }
  .lang-toggle { display: none; }
  .hero { grid-template-columns: 1fr; padding: 22px 16px; } .hero-logo { max-width: 180px; margin: 0 auto; }
  .tiles { grid-template-columns: 1fr; }
  .frame { grid-template-columns: 1fr; }
  .pic { width: 100%; height: auto; } .pic img, .pic .noimg { width: 100%; height: 260px; }
  .pic:hover img { transform: none; }
  .form-grid, .paybox { grid-template-columns: 1fr; }
  .band .num { font-size: 32px; }
  main { padding: 12px 10px 30px; }
  .btable .hm { display: none; }
}
@media print {
  body { display: block; overflow: visible; }
  .topbar, .site-footer, .no-print, .band { display: none !important; }
  .page-scroll { overflow: visible; }
  .modal-bg { position: static; background: none; padding: 0; display: block; }
  .modal { box-shadow: none; }
}

/* ---------- Square / rectangular logos ---------- */
body.logo-square .crest { border-radius: 10px; padding: 4px; }
body.logo-square .crest img { border-radius: 6px; object-fit: contain; background: #fff; }
body.logo-square .hero-logo { border-radius: 18px; padding: 14px; }
body.logo-square .hero-logo img { border-radius: 10px; object-fit: contain; }
.crest img, .hero-logo img { object-fit: contain; background: #fff; }

/* ---------- Home page specials: compact tiles, 4 across ---------- */
.sp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.sptile { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); display: flex; flex-direction: column; overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.sptile:hover { border-color: var(--gold); }
.sptile.picked { background: var(--pick); border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,106,.35), var(--shadow); }
.sp-pic { position: relative; display: block; height: 170px; background: var(--cream); }
.sp-pic img, .sp-pic .noimg { width: 100%; height: 100%; object-fit: contain; display: flex; align-items: center; justify-content: center; font-weight: 800; color: var(--gold-dark); font-size: 22px; }
.sp-save { position: absolute; top: 8px; left: 8px; background: var(--red, #b3261e); color: #fff; font-weight: 800; font-size: 12px; padding: 2px 8px; border-radius: 12px; }
.sptile.picked .sp-pic::after { content: "\2714"; position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border-radius: 50%; background: var(--gold); color: var(--ink); display: flex; align-items: center; justify-content: center; font-weight: 800; }
.sp-body { padding: 8px 10px 10px; display: flex; flex-direction: column; gap: 3px; flex: 1; }
.sp-body h4 { margin: 0; font-size: 14px; line-height: 1.25; color: var(--ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.5em; }
.sp-price { font-size: 15px; color: var(--ink); } .sp-price s { color: #888; font-size: 12px; } .sp-price .unit { font-size: 11px; color: #777; }
.sp-vat, .sp-exp { font-size: 11px; color: #666; } .sp-exp { color: var(--red, #b3261e); }
.sp-buy { margin-top: auto; padding-top: 6px; display: flex; gap: 6px; }
.sp-buy .pick-btn { flex: 1; }
.sptile.picked .pick-btn { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.sptile:not(.picked) .rm-btn { display: none; }
@media (max-width: 1100px) { .sp-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 700px) { .sp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .sp-pic { height: 130px; } .sp-body h4 { font-size: 13px; } }

/* ---------- EFT: bank buttons with logo background ---------- */
.eftp { margin-top: 10px; }
.eftp.hide { display: none; }
.bk-head { font-size: 13px; font-weight: 700; color: var(--ink); margin: 4px 0 6px; }
.bk-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 10px; }
.bk-tile { position: relative; height: 78px; border: 2px solid var(--line); border-radius: 10px; cursor: pointer; background-color: #fff; background-size: cover; background-position: center; background-repeat: no-repeat; padding: 0; overflow: hidden; transition: transform .12s, border-color .12s, box-shadow .12s; }
.bk-tile span { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 700; padding: 2px 4px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bk-tile:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.bk-tile.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(200,164,106,.55); }
.bk-tile.on::after { content: "\2714"; position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--gold); color: var(--ink); font-weight: 800; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.bk-chan { display: flex; gap: 8px; margin: 10px 0 4px; flex-wrap: wrap; }
.bk-chan button { flex: 1; min-width: 150px; border: 2px solid var(--line); background: #fff; border-radius: 8px; padding: 8px; font-weight: 700; cursor: pointer; color: var(--ink); }
.bk-chan button.on { border-color: var(--gold); background: var(--pick); }
.bk-note { font-size: 12px; color: #555; margin: 6px 0 0; }
.bk-open { display: inline-block; }

/* ---------- Track my order: step 1 pay, step 2 proof of payment ---------- */
.paysteps { background: var(--cream); box-shadow: none; border: 1px dashed var(--gold); }
.pstep + .pstep { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--gold); }
.pstep h4, .steph { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; color: var(--ink); font-size: 16px; }
.stepn { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: var(--gold); font-weight: 800; font-size: 15px; flex: 0 0 auto; }
.stepn.sm { width: 22px; height: 22px; font-size: 12px; margin-right: 6px; background: var(--ink); }
.alert.thanks { margin: 14px 0 0; font-weight: 700; }

/* ---------- Contact: map with directions ---------- */
.map-card { margin-top: 18px; }
.map-frame { position: relative; width: 100%; aspect-ratio: 16 / 7; min-height: 260px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--cream); }
.map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.map-acts { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 6px; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 3; } }
