/* ------------------------------------------------------------
   OPENINGSUREN-WIDGET (zwevend, rechtsonder)
   ------------------------------------------------------------ */
.omc-hours {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  font-family: 'Inter', system-ui, sans-serif;
}

/* ── Trigger ── */
.omc-hours-toggle {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--dark, #101A15);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  box-shadow: 0 8px 24px rgba(16, 26, 21, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.omc-hours-toggle:hover {
  background: #1a2a20;
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(16, 26, 21, 0.28);
}

.omc-hours-toggle:focus-visible,
.omc-hours-close:focus-visible,
.omc-hours-btn:focus-visible,
.omc-hours-route:focus-visible {
  outline: 2px solid var(--green, #32653D);
  outline-offset: 3px;
}

.omc-hours-chev {
  transition: transform 0.2s ease;
  opacity: 0.7;
}

.omc-hours.is-open .omc-hours-chev {
  transform: rotate(180deg);
}

/* ── Status-bolletje ── */
.omc-hours-dot {
  width: 9px;
  height: 9px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--light, #bdbdbd);
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.55);
}

.omc-hours.is-live .omc-hours-dot {
  background: #4ade80;
  animation: omc-hours-pulse 2.4s ease-out infinite;
}

.omc-hours.is-soon .omc-hours-dot {
  background: #f5a524;
}

.omc-hours.is-shut .omc-hours-dot {
  background: #d1524f;
}

@keyframes omc-hours-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
  70%  { box-shadow: 0 0 0 7px rgba(74, 222, 128, 0); }
  100% { box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

/* ── Paneel ── */
.omc-hours-panel {
  width: 320px;
  max-width: calc(100vw - 48px);
  background: #fff;
  border: 1px solid var(--border, #e8e8e8);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(16, 26, 21, 0.18);
  overflow: hidden;
  transform-origin: bottom right;
  animation: omc-hours-in 0.22s cubic-bezier(0.2, 0.8, 0.3, 1);
}

@keyframes omc-hours-in {
  from { opacity: 0; transform: translateY(10px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.omc-hours-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  background: var(--green, #32653D);
  color: #fff;
}

.omc-hours-head h4 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.omc-hours-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  transition: background 0.15s;
}

.omc-hours-close:hover {
  background: rgba(255, 255, 255, 0.26);
}

.omc-hours-notice {
  padding: 11px 18px;
  background: #fff8e8;
  border-bottom: 1px solid #f2e3c2;
  font-size: 12.5px;
  line-height: 1.45;
  font-weight: 500;
  color: #7a5a12;
}

.omc-hours-status {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 18px;
  background: #f7f9f7;
  border-bottom: 1px solid var(--border, #e8e8e8);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--grey, #313131);
}

.omc-hours-list {
  list-style: none;
  padding: 10px 18px 6px;
}

.omc-hours-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 6px 0;
  font-size: 13.5px;
  color: var(--grey, #313131);
}

.omc-hours-row.is-today {
  font-weight: 700;
  color: var(--dark, #101A15);
}

.omc-hours-time.is-closed {
  color: var(--mid, #888b8e);
}

.omc-hours-note {
  margin: 4px 18px 0;
  padding-top: 10px;
  border-top: 1px solid var(--border, #e8e8e8);
  font-size: 12px;
  line-height: 1.5;
  color: var(--mid, #888b8e);
}

.omc-hours-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 18px 12px;
}

.omc-hours-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 42px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.omc-hours-btn--primary {
  background: var(--green, #32653D);
  color: #fff;
}

.omc-hours-btn--primary:hover {
  background: #274f30;
}

.omc-hours-btn--ghost {
  border: 1px solid var(--border, #e8e8e8);
  color: var(--grey, #313131);
}

.omc-hours-btn--ghost:hover {
  border-color: var(--green, #32653D);
  color: var(--green, #32653D);
}

.omc-hours-route {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 18px 16px;
  font-size: 12px;
  line-height: 1.4;
  color: var(--mid, #888b8e);
  text-decoration: none;
}

.omc-hours-route:hover {
  color: var(--green, #32653D);
}

.omc-hours-route svg {
  flex-shrink: 0;
}

/* ── Mobiel ── */
@media (max-width: 600px) {
  .omc-hours {
    right: 16px;
    bottom: 16px;
    left: 16px;
    align-items: flex-end;
  }
  .omc-hours-panel {
    width: 100%;
    max-width: 100%;
  }
  .omc-hours-toggle {
    height: 46px;
    padding: 0 16px;
  }
}

/* De onderafstand wordt in JS bijgesteld als er iets anders in deze hoek staat. */
.omc-hours {
  transition: bottom 0.2s ease;
}

@media (prefers-reduced-motion: reduce) {
  .omc-hours-panel { animation: none; }
  .omc-hours-toggle { transition: none; }
  .omc-hours.is-live .omc-hours-dot { animation: none; }
}
