/*
 * Shop Age Gate — mirrors the xsmokehub vape-shop age gate (Layout.tsx):
 * a full-screen overlay gate card + an "Access Restricted" blocked screen.
 * Body gets .shop-age-lock (overflow hidden) while the gate is shown.
 */

.shop-age-lock {
  overflow: hidden;
}

/* ---- Overlay + gate card ---- */
.shop-age-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

.shop-age-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 448px;
  padding: 40px;
  background-color: #ffffff;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.shop-age-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto 24px;
  border-radius: 999px;
  background-color: #f5f5f5;
}

.shop-age-heading {
  margin: 0 0 8px;
  font-family: 'DM Serif Display', serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.2;
  color: #222222;
}

.shop-age-divider {
  width: 32px;
  height: 1px;
  margin: 0 auto 20px;
  background-color: #222222;
}

.shop-age-note1 {
  margin: 0 0 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.625;
  color: #555555;
}

.shop-age-note2 {
  margin: 0 0 32px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.625;
  color: #222222;
}

.shop-age-note2 strong {
  font-weight: 600;
}

.shop-age-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.shop-age-btn {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 12px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.shop-age-btn-primary {
  background-color: #222222;
  color: #ffffff;
}

.shop-age-btn-primary:hover {
  background-color: #000000;
}

.shop-age-btn-secondary {
  background-color: #f5f5f5;
  color: #888888;
}

.shop-age-btn-secondary:hover {
  color: #222222;
  background-color: #ededed;
}

.shop-age-footer {
  margin: 24px 0 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.625;
  color: #bbbbbb;
}

/* ---- Access Restricted screen ---- */
.shop-age-denied {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background-color: #f5f5f5;
}

.shop-age-denied-inner {
  text-align: center;
  max-width: 384px;
}

.shop-age-denied-emoji {
  margin: 0 0 24px;
  font-size: 48px;
  line-height: 1;
}

.shop-age-denied-heading {
  margin: 0 0 12px;
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
  color: #222222;
}

.shop-age-denied-text {
  margin: 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.625;
  color: #888888;
}
