/* Gastroplan-wide accessibility and small-screen refinements, v2. */
:focus-visible {
  outline: 3px solid #fe7f2d;
  outline-offset: 3px;
}

html,
body {
  max-width: 100%;
  overflow-x: clip;
}

.gp-urgent-pricing-cards {
  display: none;
}

@media (max-width: 639px) {
  button,
  [role="button"],
  input[type="submit"],
  input[type="button"],
  input[type="checkbox"] + span,
  a.inline-flex,
  a[href^="mailto:"],
  a[href^="tel:"],
  a.rounded-lg,
  a.rounded-xl,
  a.rounded-full,
  a[aria-label*="forside" i],
  a[aria-label*="home" i] {
    min-height: 44px;
  }

  a[aria-label*="forside" i],
  a[aria-label*="home" i] {
    min-width: 44px;
  }

  input[type="checkbox"] + span {
    display: inline-flex;
    align-items: center;
  }

  .gp-urgent-pricing-table {
    display: none !important;
  }

  .gp-urgent-pricing-cards {
    display: grid;
    gap: 0.9rem;
    padding: 0 1rem 1.25rem;
  }

  .gp-urgent-pricing-card {
    border: 1px solid rgba(254, 127, 45, 0.4);
    border-radius: 0.85rem;
    background: #215e61;
    color: #f5fbe6;
    padding: 1rem;
    box-shadow: 0 8px 22px rgba(23, 42, 46, 0.18);
  }

  .gp-urgent-pricing-card dt {
    color: rgba(245, 251, 230, 0.78);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    margin-top: 0.55rem;
    text-transform: uppercase;
  }

  .gp-urgent-pricing-card dt:first-child {
    margin-top: 0;
  }

  .gp-urgent-pricing-card dd {
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    margin: 0.12rem 0 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
}
