/* Scoped UI; inherit the site's existing Persian font. */
.lhps-box {
  --lhps-yellow: #ffcf55;
  --lhps-ink: #1c1d22;
  --lhps-bottom: 24px;
  box-sizing: border-box;
  color: var(--lhps-ink);
  font-family: inherit;
  text-align: right;
  line-height: 1.85;
  font-size: 14px;
}
.lhps-box *, .lhps-box *::before, .lhps-box *::after { box-sizing: border-box; }
.lhps-box[hidden], .lhps-box [hidden] { display: none !important; }
.lhps-inline {
  position: relative;
  margin: 28px 0;
  padding: 24px 28px;
  border: 1px solid #edcc71;
  border-inline-start: 5px solid var(--lhps-yellow);
  border-radius: 20px;
  background: #fff9e9;
}
.lhps-box .lhps-eyebrow { display: block; margin: 0 0 6px; font-size: 12px; font-weight: 600; color: #685319; }
.lhps-box .lhps-title { margin: 0 0 8px; padding: 0; border: 0; font-family: inherit; font-size: clamp(17px, 2vw, 21px); font-weight: 800; line-height: 1.75; color: var(--lhps-ink); }
.lhps-box .lhps-copy { margin: 0 0 18px; padding: 0; font-size: 14px; line-height: 1.95; color: #45444a; }
.lhps-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 16px; }
.lhps-box .lhps-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 9px 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--lhps-yellow);
  color: var(--lhps-ink);
  font-family: inherit;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 800;
  text-decoration: none;
  box-shadow: none;
  cursor: pointer;
  transition: background-color .15s ease;
}
.lhps-box .lhps-cta:hover { color: #1c1d22; background: #f7c23e; text-decoration: none; }
.lhps-box .lhps-cta:focus-visible, .lhps-box .lhps-close:focus-visible, .lhps-box .lhps-error a:focus-visible { outline: 3px solid #1c1d22; outline-offset: 3px; }
.lhps-plus { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; flex-shrink: 0; border: 1px solid currentColor; border-radius: 50%; font: 21px/1 Arial, sans-serif; }
.lhps-box .lhps-hint { color: #615c4f; font-size: 11px; line-height: 1.85; }
.lhps-marker { display: block; height: 0; margin: 0; padding: 0; border: 0; }
.lhps-reminder {
  position: fixed;
  inset-inline-end: 24px;
  bottom: calc(var(--lhps-bottom) + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  width: 378px;
  max-width: calc(100vw - 32px);
  max-height: 29vh;
  max-height: 29svh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: 18px 20px;
  border: 1px solid #e9e5da;
  border-top: 4px solid var(--lhps-yellow);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 35px #1c1d221f;
}
.lhps-box .lhps-close {
  position: absolute;
  inset-inline-end: 5px;
  top: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #68666c;
  font: 25px/1 Arial, sans-serif;
  cursor: pointer;
  box-shadow: none;
}
.lhps-box .lhps-close:hover { background: #f5f3ee; color: #1c1d22; }
.lhps-box .lhps-reminder-title { margin: 0 0 3px; padding: 0; padding-inline-end: 28px; border: 0; font-family: inherit; font-size: 15px; font-weight: 800; line-height: 1.9; color: var(--lhps-ink); }
.lhps-box .lhps-reminder-copy { margin: 0 0 12px; padding: 0; color: #615f66; font-size: 12px; line-height: 1.85; }
.lhps-reminder .lhps-cta { width: 100%; min-height: 44px; padding: 8px 12px; font-size: 13px; }
.lhps-box .lhps-error { margin: 12px 0 0; padding: 0; font-size: 12px; line-height: 1.8; color: #45444a; }
.lhps-box .lhps-error a { color: #1c1d22; text-decoration: underline; }
.lhps-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@media (max-width: 600px) {
  .lhps-inline { margin: 22px 0; padding: 18px; border-radius: 16px; }
  .lhps-box .lhps-title { font-size: 17px; }
  .lhps-box .lhps-copy { font-size: 13px; margin-bottom: 14px; }
  .lhps-actions { gap: 9px; }
  .lhps-actions .lhps-cta { width: 100%; }
  .lhps-box .lhps-hint { display: block; width: 100%; text-align: center; font-size: 10px; }
  .lhps-reminder { --lhps-bottom: 12px; inset-inline-end: 12px; max-width: calc(100vw - 24px); padding: 13px 15px; border-radius: 15px; }
  .lhps-box .lhps-reminder-title { font-size: 14px; }
  .lhps-box .lhps-reminder-copy { margin-bottom: 8px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .lhps-box .lhps-cta { transition: none; } }
@media print { .lhps-box, .lhps-marker { display: none !important; } }
