/* Himalaya Nepal 2026 plugin: form, thank-you block, consent banner. Deliberately theme-neutral. */

.hr-todo { border-left: 4px solid #e0a800; background: #fff8e1; padding: .5rem .75rem; font-size: .9em; }

.hr-form { display: grid; gap: 1rem; max-width: 560px; margin-inline: auto; }
/* Own our gutter: a full-bleed theme container would otherwise put the labels
   flush against the screen edge on a phone. */
.hr-nepal-form { padding-inline: 1rem; box-sizing: border-box; }
.hr-form label { display: block; font-weight: 600; margin-bottom: .25rem; }
/* border-box is not a safe assumption: Bricksy leaves inputs as content-box, so
   width:100% + padding overflowed the viewport by exactly the padding+border on a
   375px phone. font-size 16px also stops iOS zooming the page on focus. */
.hr-form input[type="text"],
.hr-form input[type="email"],
.hr-form input[type="tel"] { width: 100%; padding: .75rem; font-size: 16px; box-sizing: border-box; }
.hr-form .hr-check { display: flex; gap: .5rem; align-items: flex-start; font-weight: 400; }
/* Block themes (Bricksy) and Elementor style bare `input` with a percentage width,
   which stretches checkboxes and radios and pushes their labels across the row.
   Only text-ish inputs should be full width. */
.hr-form input[type="checkbox"],
.hr-form input[type="radio"] { width: auto; flex: 0 0 auto; margin: .15rem 0 0; }
.hr-form button { padding: .9rem 1.5rem; font-size: 1.05em; cursor: pointer; }
/* Honeypot: hidden without leaving the document flow or pushing the page sideways.
   left:-9999px works but is a latent source of horizontal overflow. */
.hr-form .hr-honey { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.hr-error { color: #b00020; }

.hr-consent { position: fixed; inset: auto 0 0 0; z-index: 9999; background: #1f1f1f; color: #fff; padding: 1rem; font-size: .95em; }
.hr-consent a { color: #fff; }
.hr-consent__inner { max-width: 960px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; justify-content: space-between; }
.hr-consent button { padding: .6rem 1.1rem; cursor: pointer; }
.hr-consent__accept { background: #fff; color: #1f1f1f; border: 0; }
.hr-consent__decline { background: transparent; color: #fff; border: 1px solid #fff; }

.hr-choice { border: 1px solid #ddd; padding: .75rem 1rem 1rem; }
.hr-choice legend { font-weight: 600; padding: 0 .35rem; }
.hr-choice .hr-check { margin-top: .4rem; }
.hr-choice--next { border-style: dashed; }

/* Gift popup. Bottom sheet on phones, small centred card on desktop. */
.hr-gift { position: fixed; inset: 0; z-index: 10000; display: flex; align-items: flex-end; justify-content: center; background: rgba(0,0,0,.35); }
.hr-gift__box { position: relative; background: #fff; width: 100%; max-width: 480px; padding: 1.5rem 1.25rem; border-radius: 12px 12px 0 0; }
.hr-gift__close { position: absolute; top: .4rem; right: .6rem; border: 0; background: none; font-size: 1.6rem; line-height: 1; cursor: pointer; }
.hr-gift__title { font-weight: 700; font-size: 1.15em; margin: 0 0 .4rem; }
.hr-gift__body { margin: 0 0 1rem; }
.hr-gift__form { display: grid; gap: .75rem; }
.hr-gift__label { font-weight: 600; }
.hr-gift__form input[type="email"] { width: 100%; padding: .75rem; font-size: 16px; }
.hr-gift__form button { padding: .8rem 1.2rem; font-size: 1.05em; cursor: pointer; }
.hr-gift__msg { margin: 0; min-height: 1.2em; font-size: .9em; }
@media (min-width: 700px) {
  .hr-gift { align-items: center; }
  .hr-gift__box { border-radius: 12px; }
}
