/* APEX op de telefoon (20 oktober 2026): nieuw menu (keuze B), rustige kopbalk, compacte footer (keuze A). */

/* ---------- Footer: groepen op de computer gewoon zichtbaar ---------- */
.apxv-links { display: contents; }

/* ---------- Kopbalk: alleen logo en menu (Luuk: "Weg, alleen logo en menu") ---------- */
@media screen and (max-width: 991px) {
  .navbar-2 .mobile-locations { display: none !important; }
}

/* ---------- Menu ---------- */
html.apxm-vast, html.apxm-vast body { overflow: hidden; }
.apxm { --blauw: #4E71FF; --lijn: rgba(255, 255, 255, .1); position: fixed; inset: 0; z-index: 2147483600; display: flex; flex-direction: column; background: #0B0C10; color: #fff; font-family: Poppins, sans-serif; -webkit-font-smoothing: antialiased; transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); }
.apxm[hidden] { display: none; }
.apxm.is-open { transform: none; }
.apxm *, .apxm *::before, .apxm *::after { box-sizing: border-box; }
.apxm a { color: inherit; text-decoration: none; }
.apxm ul { list-style: none; margin: 0; padding: 0; }
.apxm p { margin: 0; }
.apxm button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
.apxm svg { display: block; flex: none; }
.apxm-top { flex: none; height: 72px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--lijn); }
.apxm-logo { display: flex; align-items: center; min-height: 44px; }
.apxm-logo img { height: 22px; width: auto; display: block; }
.apxm-sluit { width: 44px; height: 44px; margin-right: -10px; display: flex; align-items: center; justify-content: center; border-radius: 50%; }
.apxm-sluit svg { width: 22px; height: 22px; }
.apxm-lijf { flex: 1; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain; padding: 4px 16px 24px; }
.apxm .apxm-label { margin: 22px 0 10px; font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blauw); }
.apxm-tegels { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.apxm-tegel { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: #15171D; isolation: isolate; }
.apxm-tegel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* 3B (keuzebord 20 okt 2026): de foto blijft echt, een blauwe gloed komt van onder op achter de naam,
   met een dunne lichtlijn op de onderrand zoals de ledstrips in de gym */
.apxm-tegel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 34%, rgba(0,0,0,.72) 66%, rgba(0,0,0,.92) 100%); }
.apxm-gloed { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(120% 62% at 50% 108%, rgba(78,113,255,.82) 0%, rgba(78,113,255,.5) 38%, rgba(78,113,255,.14) 66%, rgba(78,113,255,0) 82%); }
.apxm-tegel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; z-index: 3; background: #9DB0FF; box-shadow: 0 0 12px 2px rgba(78,113,255,.9); }
.apxm-naam { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 3; display: flex; flex-direction: column; }
.apxm-tegel strong { font-size: 18px; font-weight: 600; color: #fff; }
.apxm-tegel small { font-size: 12px; color: #fff; }
.apxm-rijen { border-radius: 14px; background: #15171D; overflow: hidden; }
.apxm-rijen li + li { border-top: 1px solid var(--lijn); }
.apxm-rijen a { display: flex; align-items: center; justify-content: space-between; min-height: 50px; padding: 0 14px 0 16px; font-size: 16px; color: #fff; }
.apxm-rijen a[aria-current="page"] { color: var(--blauw); }
.apxm-rijen a svg { width: 16px; height: 16px; color: #5B6170; }
.apxm-voet { flex: none; padding: 12px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--lijn); }
.apxm-cta { display: flex; align-items: center; justify-content: center; height: 54px; border-radius: 12px; background: var(--blauw); color: #fff !important; font-weight: 600; font-size: 16px; }
.apxm a:focus-visible, .apxm button:focus-visible { outline: 2px solid var(--blauw); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .apxm { transition: none; } }

/* ---------- Footer op de telefoon ---------- */
@media screen and (max-width: 767px) {
  footer.uui-footer08_component .uui-padding-vertical-xlarge { padding-top: 44px; padding-bottom: 36px; }
  footer .uui-footer02_top-wrapper, footer .uui-footer02_left-wrapper { display: block !important; }
  footer .div-block-66 { display: block; margin-bottom: 28px; }
  /* nieuwsbrief: kop, één veld met een ronde knop, korte regel eronder */
  footer .uui-footer02_right-wrapper > .uui-text-size-small { display: none; }
  footer .uui-footer08_heading { margin-bottom: 12px; font-size: 17px; font-weight: 600; color: #fff; text-align: center; }
  footer .uui-footer02_form-block { margin: 0; }
  footer .uui-footer02_form { display: flex !important; flex-direction: row !important; align-items: center; height: 54px; margin: 0 0 10px; padding: 0 5px 0 18px; border-radius: 999px; background: #111318; border: 1px solid rgba(255, 255, 255, .14); }
  footer .uui-footer02_form:focus-within { border-color: #4E71FF; }
  footer .uui-footer02_form .uui-form_input { flex: 1; min-width: 0; height: 100%; margin: 0 !important; padding: 0; border: 0 !important; background: transparent !important; box-shadow: none !important; color: #fff; font-size: 15px; text-align: left; }
  footer .uui-footer02_form .uui-form_input::placeholder { color: #7A8191; }
  footer .uui-footer02_form .uui-button { flex: none; width: 44px !important; height: 44px; min-height: 0; margin: 0 !important; padding: 0 !important; border: 0; border-radius: 50%; font-size: 0; color: transparent; background: #4E71FF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 10h12M11 5l5 5-5 5'/%3E%3C/svg%3E") center / 18px no-repeat; }
  footer .uui-footer02_form-block .uui-text-size-small { font-size: 12px; color: #7A8191; text-align: center; }
  footer .uui-footer02_form-block .success-message, footer .uui-footer02_form-block .error-message { margin-top: 10px; border-radius: 12px; text-align: center; }
  /* linkgroepen: open- en dichtklappen */
  footer .uui-footer02_link-list { display: block; margin: 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
  footer .uui-footer02_left-wrapper > .uui-footer02_link-list:first-of-type { border-top: 1px solid rgba(255, 255, 255, .1); }
  footer .uui-footer02_link-list-heading { position: relative; display: flex; width: 100% !important; box-sizing: border-box; align-items: center; min-height: 58px; margin: 0; padding-right: 44px; font-size: 17px; font-weight: 500; color: #fff; text-transform: none; letter-spacing: 0; cursor: pointer; }
  footer.apxv-js .uui-footer02_link-list-heading::after { content: ""; position: absolute; right: 0; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .2); background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23fff' stroke-width='1.7' stroke-linecap='round'%3E%3Cpath d='M4 10h12M10 4v12'/%3E%3C/svg%3E") center / 14px no-repeat; transition: transform .2s ease; }
  footer.apxv-js .is-open .uui-footer02_link-list-heading::after { transform: rotate(45deg); }
  footer .uui-footer02_link-list-heading:focus-visible { outline: 2px solid #4E71FF; outline-offset: 2px; }
  footer .apxv-links { display: block; padding-bottom: 12px; }
  footer.apxv-js .uui-footer02_link-list:not(.is-open) .apxv-links { display: none; }
  footer .uui-footer02_link { display: flex; align-items: center; min-height: 42px; margin: 0; padding: 0; font-size: 15px; color: #C9CED8; }
  /* onderkant: iconen, kleine links, copyright, alles in het midden */
  footer .uui-footer02_bottom-wrapper { display: flex !important; flex-direction: column; align-items: center; margin-top: 28px; padding-top: 0; border-top: 0; }
  footer .uui-footer02_social-list { order: -1; display: flex !important; justify-content: center !important; gap: 10px; width: 100%; margin: 0 0 22px; }
  footer .uui-footer02_social-link { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .16); color: #fff; }
  footer .uui-footer02_social-icon { width: 20px; height: 20px; }
  footer .uui-footer02_legal-list-wrapper, footer .uui-footer02_legal-list, footer .small-links.footer { display: block !important; width: 100% !important; max-width: 100%; min-width: 0; }
  footer .small-links.footer { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: center; align-items: center; gap: 0 16px; }
  footer .small-links.footer .w-dyn-list, footer .small-links.footer .w-dyn-items, footer .small-links.footer .w-dyn-item { display: contents; }
  footer .small-links.footer .uui-button-link { width: auto; min-height: 32px; padding: 0; font-size: 13px; font-weight: 400; color: #98A2B3; }
  footer .small-links.footer .uui-button-icon { display: none; }
  footer .uui-space-medium { height: 14px; }
  footer .text-color-gray500 { font-size: 12px; text-align: center; }

  /* Personal training: een gymfoto die het kader helemaal vult (Luuk koos Almelo, X van dichtbij) */
  .image-15 .location-block-image { height: 100% !important; object-fit: cover; object-position: 50% 50%; }
}
.image-15 picture { display: contents; }

/* Tablet (768 tot 991 pixels): de regel met kleine footerlinks paste net niet en schoof de pagina 5 pixels opzij */
@media screen and (min-width: 768px) and (max-width: 991px) {
  footer .uui-footer02_bottom-wrapper { gap: 16px; }
  footer .uui-footer02_legal-list-wrapper, footer .uui-footer02_legal-list { min-width: 0; max-width: 100%; }
  footer .uui-footer02_legal-list { grid-template-columns: minmax(0, 1fr) !important; }
  footer .small-links.footer { flex-wrap: wrap !important; row-gap: 8px; min-width: 0; max-width: 100%; }
}

/* Prijstabel op smalle telefoons (onder 480 pixels): de tekst in de kopregel mag smaller worden,
   anders viel het icoontje rechts 2 pixels buiten beeld */
@media screen and (max-width: 479px) {
  .list-item-container.table-row > :not(.table-row-icon) { min-width: 0; flex-shrink: 1; }
  .list-item-container.table-row > .table-row-icon { flex-shrink: 0; }
}

/* Smalle telefoons (bijvoorbeeld 360 pixels breed): kaarten mogen meekrimpen, anders schoof de pagina opzij.
   Vestigingslijst op de lidmaatschapspagina's (8 px), prijskaarten (3 px), lange kop in het privacybeleid (25 px). */
@media screen and (max-width: 479px) {
  .div-block-102 > .w-dyn-list { min-width: 0; width: 100%; }
  .div-block-102 ._2-grid.w-dyn-items { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  .div-block-102 .w-dyn-item, .div-block-102 .location-block-small-image-wrap { min-width: 0; }
  ._2-grid:has(> .product-container) { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; }
  ._2-grid > .product-container { min-width: 0; }
  ._2-grid > .product-container { padding-left: 8px; padding-right: 8px; }
  ._2-grid > .product-container .horizontal-product-text-row-2-half { hyphens: manual; -webkit-hyphens: manual; }
  ._2-grid > .product-container .price_wrap { flex-wrap: wrap; justify-content: center; column-gap: 4px; }
  ._2-grid > .product-container .horizontal-product-text-row-3 { white-space: nowrap; }
  .w-richtext h1, .w-richtext h2 { overflow-wrap: anywhere; hyphens: auto; }
}
@media screen and (max-width: 379px) {
  ._2-grid > .product-container .horizontal-product-text-row-3 { font-size: 24px; }
}

/* ---------- 10B: menubalk onderin (keuzebord 20 okt 2026) ---------- */
.apxmb { display: none; }
@media (max-width: 991px) {
  .apxmb { position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 2147482000;
    display: grid; grid-template-columns: 1fr 1fr 1.5fr 1fr 1fr; gap: 2px; align-items: stretch; padding: 6px;
    background: #101113; border: 1px solid #26272b; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,.6);
    font-family: Poppins, system-ui, sans-serif; }
  .apxmb-knop, .apxmb-proef { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; min-height: 56px;
    border-radius: 14px; border: 0; background: none; color: #C4C9D4; font: 500 12px/1.2 Poppins, system-ui, sans-serif; text-decoration: none; cursor: pointer; padding: 0 2px; }
  .apxmb-knop svg { width: 23px; height: 23px; }
  .apxmb-knop[aria-current], .apxmb-knop.is-actief { color: #fff; background: #1c1d21; }
  .apxmb-knop[aria-current] svg, .apxmb-knop.is-actief svg { color: #4E71FF; }
  .apxmb-proef { background: #4E71FF; color: #fff; font-weight: 600; font-size: 14px; text-align: center; line-height: 1.15; }
  .apxmb-knop:focus-visible, .apxmb-proef:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
  /* ruimte onderaan de pagina, en de WhatsApp-knop boven de balk in plaats van eroverheen */
  html.apxmb-aan body { padding-bottom: calc(84px + env(safe-area-inset-bottom)); }
  html.apxmb-zicht .apx-wa__knopvak, html.apxmb-zicht .apx-wa__toast { bottom: calc(70px + env(safe-area-inset-bottom)); }
  html.apxmb-zicht .apx-wa__venster { bottom: calc(80px + env(safe-area-inset-bottom)); }
  /* pas zichtbaar na een stukje scrollen */
  .apxmb { transition: transform .3s ease, opacity .3s ease; }
  .apxmb:not(.apxmb-zicht) { transform: translateY(calc(100% + 24px)); opacity: 0; pointer-events: none; visibility: hidden; }
  .apx-wa__knopvak, .apx-wa__toast { transition: bottom .3s ease; }
  /* als het grote menu open is, verdwijnt de balk */
  html.apxm-vast .apxmb { display: none; }
}

@media (prefers-reduced-motion: reduce) { .apxmb, .apx-wa__knopvak, .apx-wa__toast { transition: none !important; } }
