/* Age restriction modal styles */

.mfg-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-4);
  background: radial-gradient(circle at top, rgba(0, 0, 0, 0.7), rgba(5, 8, 20, 0.95));
}

.mfg-age-modal {
  width: 100%;
  max-width: 480px;
  background: linear-gradient(145deg, rgba(11, 16, 32, 0.98), rgba(5, 8, 20, 0.99));
  border-radius: var(--radius-xl);
  padding: var(--space-6) var(--space-5);
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(255, 255, 255, 0.12);
  position: relative;
}

.mfg-age-modal::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 0 0, rgba(255, 23, 68, 0.18), transparent 55%),
              radial-gradient(circle at 100% 100%, rgba(255, 183, 77, 0.16), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
}

.mfg-age-modal > * {
  position: relative;
}

.mfg-age-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-3);
}

.mfg-age-header h2 {
  font-size: var(--font-size-2xl);
}

.mfg-age-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-4);
  margin-bottom: var(--space-2);
}

.mfg-age-note {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

@media (max-width: 480px) {
  .mfg-age-modal {
    padding: var(--space-5) var(--space-4);
  }

  .mfg-age-header {
    flex-direction: column-reverse;
    align-items: flex-start;
  }

  .mfg-age-actions {
    flex-direction: column;
  }

  .mfg-age-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* When age overlay is present, body scrolling should be disabled via JS */
