/* age-gate.dev — +18 yaş doğrulama (header.dev ile uyumlu) */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap");

.alb-age-gate {
  --ag-accent: #6a1d5a;
  --ag-accent-hover: #551849;
  --ag-danger: #be102d;
  --ag-text: #3e3c3c;
  --ag-muted: #646464;
  --ag-border: #e5e5e5;
  --ag-bg: #fff;
  --ag-radius: 12px;
  --ag-shadow: 0 24px 64px rgba(0, 0, 0, 0.18);
  position: fixed;
  inset: 0;
  z-index: 100000;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  color: var(--ag-text);
  line-height: 1.5;
}

.alb-age-gate *,
.alb-age-gate *::before,
.alb-age-gate *::after {
  box-sizing: border-box;
}

.alb-age-gate--hidden {
  display: none !important;
}

.alb-age-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 12, 16, 0.72);
  backdrop-filter: blur(6px);
}

.alb-age-gate__panel {
  position: relative;
  z-index: 1;
  min-height: 100%;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 32px;
}

.alb-age-gate__card {
  width: 100%;
  max-width: 560px;
  background: var(--ag-bg);
  border-radius: var(--ag-radius);
  box-shadow: var(--ag-shadow);
  padding: 28px 28px 24px;
  text-align: center;
}

.alb-age-gate__logo {
  display: block;
  margin: 0 auto 16px;
  max-width: 180px;
  height: auto;
}

.alb-age-gate__title {
  margin: 0 0 20px;
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--ag-text);
}

.alb-age-gate__form {
  text-align: left;
}

/* Site notify renkleri (.info / .warning — stylesheets.css ile uyumlu) */
.alb-age-gate__notice {
  display: block;
  margin: 16px 0;
  padding: 12px 12px 12px 36px;
  border-radius: 8px;
  font-size: 0.8125rem;
  line-height: 1.45;
  position: relative;
  text-align: left;
}

.alb-age-gate__notice::before {
  position: absolute;
  left: 12px;
  top: 12px;
  font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "FontAwesome", sans-serif;
  font-weight: 900;
  font-size: 1rem;
  line-height: 1;
}

.alb-age-gate__notice--info {
  color: #00529b;
  background-color: #bde5f8;
  border: 1px solid #93c9e8;
}

.alb-age-gate__notice--info::before {
  content: "\f05a";
}

.alb-age-gate__notice--warning {
  color: #9f6000;
  background-color: #feefb3;
  border: 1px solid #f5d76e;
  margin-top: 12px;
  margin-bottom: 0;
  font-size: 0.75rem;
}

.alb-age-gate__notice--warning::before {
  content: "\f12a";
}

.alb-age-gate__consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin: 0;
  font-size: inherit;
  color: inherit;
  cursor: pointer;
}

.alb-age-gate__consent input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: #00529b;
}

.alb-age-gate__consent strong {
  display: block;
  margin-top: 6px;
  font-weight: 700;
}

.alb-age-gate__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.alb-age-gate__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 16px;
  border: none;
  border-radius: 8px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.alb-age-gate__btn:active {
  transform: scale(0.98);
}

.alb-age-gate__btn--enter {
  background: var(--ag-accent);
  color: #fff;
}

.alb-age-gate__btn--enter:hover {
  background: var(--ag-accent-hover);
}

.alb-age-gate__btn--exit {
  background: #f3f4f6;
  color: var(--ag-text);
  border: 1px solid var(--ag-border);
}

.alb-age-gate__btn--exit:hover {
  background: #e5e7eb;
}

.alb-age-gate__stores {
  margin-top: 20px;
  text-align: left;
}

.alb-age-gate__stores-title {
  display: block;
  margin: 0 0 10px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ag-text);
  text-align: center;
}

.alb-age-gate__store {
  display: block;
  margin-bottom: 8px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #be102d;
  color: #fff !important;
  font-size: 0.9375rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.alb-age-gate__store:last-child {
  margin-bottom: 0;
}

.alb-age-gate__store:hover {
  background: #9a0d25;
  color: #fff;
}

.alb-age-gate__message {
  margin: 14px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.875rem;
  text-align: center;
}

.alb-age-gate__message[hidden] {
  display: none !important;
}

.alb-age-gate__message--error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.alb-age-gate__message--success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.alb-age-gate__whatsapp {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
  text-decoration: none;
  text-align: left;
  font-size: 1.125rem;
  line-height: 1.35;
}

.alb-age-gate__whatsapp i {
  font-size: 2.75rem;
  color: #25d366;
  flex-shrink: 0;
}

.alb-age-gate__whatsapp em {
  display: block;
  font-style: normal;
  font-weight: 700;
  font-size: 1.25rem;
  margin-bottom: 4px;
  color: #15803d;
}

.alb-age-gate__whatsapp span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.alb-age-gate__mersis {
  margin: 14px 0 0;
  font-size: 0.75rem;
  color: var(--ag-muted);
  text-align: center;
}

body.alb-age-gate-open {
  overflow: hidden;
}

@media (max-width: 520px) {
  .alb-age-gate__card {
    padding: 22px 18px 18px;
  }

  .alb-age-gate__actions {
    grid-template-columns: 1fr;
  }

  .alb-age-gate__title {
    font-size: 1rem;
  }

  .alb-age-gate__whatsapp {
    font-size: 1rem;
  }

  .alb-age-gate__whatsapp em {
    font-size: 1.0625rem;
  }

  .alb-age-gate__whatsapp i {
    font-size: 2.25rem;
  }
}
