/* Mobile-laag voor de Claude Design-mocks (Blijk + Promocorp). Alleen actief onder 1080px. */
/* Basis buiten de media query: lade en knop bestaan ook op desktop in de DOM, maar zijn daar onzichtbaar */
.mob-drawer { display: none; }
.mob-menu-btn { display: none; }
@media (max-width: 1080px) {
  html, body { overflow-x: hidden; }
  img, video { max-width: 100%; }

  /* Merkenbalk: één horizontaal scrollbare strook i.p.v. wrappen */
  [data-gb], [data-groupbar] {
    height: auto !important; min-height: 48px; padding: 6px 16px !important;
    gap: 12px !important; flex-wrap: nowrap !important;
  }
  .mob-gb-strip {
    display: flex !important; flex-wrap: nowrap !important; align-items: flex-end !important;
    overflow-x: auto !important; overflow-y: hidden !important; min-width: 0 !important; max-width: 100%; flex: 1 1 0% !important;
    -webkit-overflow-scrolling: touch; scrollbar-width: none; -ms-overflow-style: none;
    scroll-snap-type: x proximity; padding-bottom: 2px;
  }
  .mob-gb-strip::-webkit-scrollbar { display: none; }
  .mob-gb-strip > * { scroll-snap-align: start; flex: 0 0 auto !important; padding-left: 10px !important; padding-right: 10px !important; }

  /* Sticky header: compacter */
  header > div:first-child { padding-left: 16px !important; padding-right: 16px !important; gap: 10px !important; height: 72px !important; min-height: 64px; }
  header > div:first-child > a:last-child { padding-left: 14px !important; padding-right: 14px !important; height: 42px !important; font-size: 13px !important; white-space: nowrap; }
  header img { max-height: 42px !important; }

  /* Geïnjecteerde menuknop + lade */
  .mob-menu-btn {
    flex: none; width: 44px; height: 44px; margin-left: auto; display: inline-flex; align-items: center; justify-content: center;
    background: transparent; border: 1px solid currentColor; border-radius: 0; cursor: pointer; color: inherit; padding: 0;
  }
  .mob-menu-btn svg { width: 22px; height: 22px; display: block; }
  .mob-drawer {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 1000; overflow-y: auto;
    padding: 18px 20px 40px; display: none; flex-direction: column; gap: 4px;
    font-size: 18px; line-height: 1.3;
  }
  .mob-drawer.open { display: flex; }
  .mob-drawer a, .mob-drawer button {
    display: block; width: 100%; text-align: left; padding: 14px 0; border: 0; border-bottom: 1px solid rgba(128,128,128,0.25);
    background: none; color: inherit; font: inherit; text-decoration: none; cursor: pointer;
  }
  .mob-drawer .mob-drawer-kicker { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.55; margin: 22px 0 6px; }
  .mob-drawer .mob-drawer-cta { margin-top: 18px; text-align: center; font-weight: 700; border: 0; padding: 16px; }
  body.mob-drawer-open { overflow: hidden; }
}
@media (max-width: 620px) {
  [data-gb] > span:last-child, [data-groupbar] > span:last-child { display: none !important; }
  [data-gb] > span:first-child, [data-groupbar] > span:first-child { display: none !important; }
  .mob-gb-strip > * { font-size: 13px !important; }
}

@media (max-width: 620px) {
  /* Promo.nl: secundaire infobalk (telefoon/inloggen) verbergen op telefoons */
  div:has(+ header#om-hdr) { display: none !important; }
}

@media (max-width: 620px) {
  /* label 'Promocorp' / 'Blijk Groep' vóór de merkenstrook verbergen op telefoons */
  span:has(+ .mob-gb-strip) { display: none !important; }
}

/* Time 4 Gifts-mock: header met zoekbalk/AI-knop/account/offertelijst en categoriebalk passend op telefoons */
@media (max-width: 700px) {
  header > div:first-child { flex-wrap: wrap !important; height: auto !important; min-height: 0; padding: 10px 16px !important; gap: 10px 12px !important; }
  header > div:first-child > a:first-child img { height: 40px !important; }
  header > div:first-child > div:nth-child(2) { order: 3; flex: 1 1 100% !important; width: 100%; gap: 8px !important; }
  header > div:first-child > div:nth-child(2) > div > div { height: 46px !important; padding: 0 16px !important; }
  header > div:first-child > div:nth-child(2) input { font-size: 15px !important; }
  header > div:first-child > div:nth-child(2) > button { height: 46px !important; padding: 0 14px !important; font-size: 15px !important; }
  header > div:first-child > div:last-child { margin-left: auto; gap: 10px !important; }
  header > div:first-child > div:last-child > span:first-child > span:last-child { display: none !important; }
  header > div:first-child + div > div { height: 50px !important; overflow-x: auto; white-space: nowrap; gap: 18px !important; padding: 0 16px !important; font-size: 15px !important; scrollbar-width: none; }
  header > div:first-child + div > div::-webkit-scrollbar { display: none; }
  header > div:first-child + div > div > * { flex: none; }
}
