/* MatillaPlant — verificación de edad (primera visita) */

.mp-age-gate {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}

.mp-age-gate[hidden] {
  display: none;
}

.mp-age-gate.is-visible {
  display: flex;
}

.mp-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(16, 16, 16, 0.68);
  backdrop-filter: blur(2px);
}

.mp-age-gate__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 480px);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  margin: 0 auto;
  padding: 28px 24px 32px;
  background: var(--white, #fff);
  border: 2px solid var(--ink, #101010);
  box-shadow: 6px 6px 0 rgba(16, 16, 16, 0.1);
  text-align: center;
  color: var(--ink, #101010);
}

.mp-age-gate__icon {
  margin: 0 auto 20px;
  width: 72px;
  height: 72px;
}

.mp-age-gate__icon svg {
  display: block;
  width: 100%;
  height: auto;
}

.mp-age-gate__title {
  margin: 0 0 16px;
  font-family: 'Anton', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink, #101010);
}

.mp-age-gate__text {
  margin: 0 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(16, 16, 16, 0.82);
}

.mp-age-gate__question {
  margin: 0 0 20px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink, #101010);
}

.mp-age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mp-age-gate .btn {
  width: 100%;
  justify-content: center;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 14px 24px;
  border: 2px solid var(--ink, #101010);
  border-radius: 0;
  box-shadow: none;
}

.mp-age-gate .btn-primary {
  background: var(--lime, #A0C542);
  border-color: var(--lime, #A0C542);
  color: var(--ink, #101010);
}

.mp-age-gate .btn-primary:hover,
.mp-age-gate .btn-primary:focus-visible {
  background: var(--lime-dark, #7C9A32);
  border-color: var(--lime-dark, #7C9A32);
  color: var(--ink, #101010);
}

.mp-age-gate__reject {
  background: transparent;
  border-color: var(--ink, #101010);
  color: var(--ink, #101010);
}

.mp-age-gate__reject:hover,
.mp-age-gate__reject:focus-visible {
  background: var(--concrete, #F3F3EF);
  border-color: var(--ink, #101010);
  color: var(--ink, #101010);
}

body.mp-age-gate-open {
  overflow: hidden;
}

@media (min-width: 520px) {
  .mp-age-gate__panel {
    padding: 32px 36px 36px;
  }

  .mp-age-gate__actions {
    flex-direction: row;
    justify-content: center;
  }

  .mp-age-gate .btn {
    width: auto;
    min-width: 200px;
  }
}
