/* ==========================================================================
   bliv-venue.css
   Web-version af Venue Onboarding fra appen.
   Matcher BusinessProfileSetupView's designsprog:
   - baggrund #F6F6F3
   - mørk #202124
   - tekst #0F172A
   - capsule pills, kort med skygge, sektions-headere
   ========================================================================== */

:root {
  --bv-bg: #f5f5f2;
  --bv-card: #ffffff;
  --bv-dark: #202124;
  --bv-text: #202124;
  --bv-muted: rgba(32, 33, 36, 0.66);
  --bv-muted-2: rgba(32, 33, 36, 0.5);
  --bv-soft: rgba(32, 33, 36, 0.08);
  --bv-soft-2: rgba(32, 33, 36, 0.14);
  --bv-accent: #05ae74;
  --bv-accent-soft: rgba(5, 174, 116, 0.1);
  --bv-warning: #fbbf24;
  --bv-danger: #ef4444;
  --bv-radius-card: 24px;
  --bv-radius-pill: 9999px;
  --bv-radius-input: 16px;
  --bv-shadow-card: 0 20px 56px rgba(0, 0, 0, 0.06);
  --bv-shadow-pop: 0 28px 72px -24px rgba(32, 33, 36, 0.32);
  --bv-font: -apple-system, BlinkMacSystemFont, "Inter", "Helvetica Neue",
             Arial, "Segoe UI", system-ui, sans-serif;
  --bv-bottom-bar-height: 84px;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bv-bg);
  color: var(--bv-text);
  font-family: var(--bv-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
  line-height: 1.45;
}

html {
  scroll-padding-bottom: calc(var(--bv-bottom-bar-height) + env(safe-area-inset-bottom));
}

button { font-family: inherit; cursor: pointer; }
a { color: inherit; }

body.bv-modal-open {
  overflow: hidden;
}

.bv-autofill-decoys {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

.bv-autofill-decoys input {
  width: 1px;
  height: 1px;
  border: 0;
  padding: 0;
}

/* -----  PARTNER GATE  ----- */
.bv-gate {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.bv-gate__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.56);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.bv-gate__panel {
  position: relative;
  z-index: 1;
  width: min(100%, 560px);
  background: var(--bv-card);
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--bv-shadow-pop);
}

.bv-gate__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(32, 33, 36, 0.08);
  color: var(--bv-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bv-gate__panel h1 {
  margin: 16px 0 12px;
  font-size: 28px;
  line-height: 1.1;
  font-weight: 800;
  color: var(--bv-dark);
}

.bv-gate__panel p {
  margin: 0 0 10px;
  color: rgba(15, 23, 42, 0.72);
  font-size: 15px;
  line-height: 1.65;
}

.bv-gate__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.bv-btn--link {
  text-decoration: none;
}

/* -----  TOP BAR (sticky, indeholder progressbar)  ----- */
.bv-topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 20px 10px;
  background: rgba(246, 246, 243, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--bv-soft);
  transform: translateZ(0);
}
.bv-topbar__row {
  display: flex;
  align-items: center;
  justify-content: center;
}
.bv-topbar__logo {
  height: 24px;
  width: auto;
  display: block;
  -webkit-user-select: none;
  user-select: none;
}

/* -----  LAYOUT  ----- */
.bv-main {
  padding: 0 0 140px;
}
.bv-shell {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -----  STEPPER (sidder inde i sticky topbar)  ----- */
.bv-stepper {
  margin: 10px 0 0;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}
.bv-stepper__bar {
  height: 6px;
  background: var(--bv-soft);
  border-radius: 3px;
  overflow: hidden;
}
.bv-stepper__fill {
  height: 100%;
  width: 20%;
  background: var(--bv-dark);
  border-radius: 3px;
  transition: width 240ms ease;
}
.bv-stepper__label {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bv-muted);
  letter-spacing: 0.4px;
}

/* -----  ERROR BANNER  ----- */
.bv-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 12px 14px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

/* -----  STEP HEADER  ----- */
.bv-step-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 8px 0 18px;
}
.bv-step-header__icon {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: var(--bv-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(32, 33, 36, 0.18);
}
.bv-step-header h1 {
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 2px;
  letter-spacing: -0.2px;
}
.bv-step-header p {
  margin: 0;
  font-size: 14px;
  color: var(--bv-muted);
}

/* -----  CARD / SECTION  ----- */
.bv-card {
  background: var(--bv-card);
  border-radius: var(--bv-radius-card);
  padding: 22px;
  margin-bottom: 16px;
  box-shadow: var(--bv-shadow-card);
}
.bv-card__header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
}
.bv-card__icon {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: var(--bv-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 34px;
}
.bv-card__header h2 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px;
}
.bv-card__header p {
  font-size: 13px;
  color: var(--bv-muted);
  margin: 0;
}

/* -----  BUSINESS TYPE GRID  ----- */
.bv-types {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
@media (max-width: 480px) {
  .bv-types { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.bv-type {
  background: var(--bv-bg);
  border: 1px solid var(--bv-soft);
  border-radius: 16px;
  padding: 14px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  transition: all 140ms ease;
  font-size: 13px;
  font-weight: 600;
  color: var(--bv-text);
  cursor: pointer;
}
.bv-type:hover { border-color: var(--bv-soft-2); }
.bv-type[aria-pressed="true"] {
  background: var(--bv-dark);
  color: #fff;
  border-color: var(--bv-dark);
  box-shadow: 0 12px 28px rgba(32, 33, 36, 0.18);
}
.bv-type__icon {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bv-type[aria-pressed="true"] .bv-type__icon { color: #fff; }

/* -----  PLAN PICKER  ----- */
.bv-plans {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.bv-plan {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--bv-card);
  border: 1.5px solid var(--bv-soft);
  border-radius: 20px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--bv-text);
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}
.bv-plan:hover {
  border-color: var(--bv-soft-2);
}
.bv-plan[aria-pressed="true"] {
  border-color: var(--bv-accent);
  box-shadow: 0 0 0 4px var(--bv-accent-soft);
}
.bv-plan__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.bv-plan__heading {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.bv-plan__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--bv-dark);
  letter-spacing: -0.2px;
}
.bv-plan__tagline {
  font-size: 13px;
  color: var(--bv-muted);
}
.bv-plan__price {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  padding: 8px 12px;
  background: var(--bv-accent-soft);
  border-radius: 14px;
  color: var(--bv-accent);
  font-weight: 700;
}
.bv-plan__amount {
  font-size: 18px;
  line-height: 1.1;
}
.bv-plan__period {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.85;
}
.bv-plan__badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bv-dark);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.bv-plan__features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.bv-plan__features li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--bv-text);
  font-weight: 500;
}
.bv-plan__features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--bv-accent-soft);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2305AE74' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.bv-plan__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 2px;
  padding: 11px 16px;
  border-radius: 9999px;
  background: var(--bv-bg);
  color: var(--bv-text);
  font-size: 14px;
  font-weight: 700;
  border: 1px solid var(--bv-soft);
  transition: background 140ms ease, color 140ms ease, border-color 140ms ease;
}
.bv-plan[aria-pressed="true"] .bv-plan__action {
  background: var(--bv-accent);
  color: #fff;
  border-color: var(--bv-accent);
}

/* -----  INPUTS  ----- */
.bv-inputs { display: flex; flex-direction: column; gap: 12px; }
.bv-input-row { display: flex; gap: 12px; }
.bv-input-row .bv-input { flex: 1; }
@media (max-width: 480px) { .bv-input-row { flex-direction: column; } }

.bv-input { display: flex; flex-direction: column; gap: 6px; }
.bv-input__label {
  font-size: 12px;
  font-weight: 600;
  color: var(--bv-muted);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.bv-input input,
.bv-input textarea,
textarea#bv-description {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  color: var(--bv-text);
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--bv-soft-2);
  border-radius: var(--bv-radius-input);
  outline: none;
  box-shadow: 0 1px 2px rgba(32, 33, 36, 0.04);
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}
.bv-input input::placeholder,
textarea::placeholder { color: rgba(15, 23, 42, 0.42); }
.bv-input input:focus,
.bv-input textarea:focus,
textarea#bv-description:focus {
  border-color: var(--bv-dark);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32, 33, 36, 0.06);
}

textarea#bv-description {
  min-height: 120px;
  resize: vertical;
}

/* -----  HINTS / FIELD ERRORS  ----- */
.bv-input__hint {
  font-size: 12px;
  font-weight: 500;
  color: var(--bv-danger);
  margin-top: 2px;
}

.bv-input__meta {
  font-size: 12px;
  line-height: 1.5;
  color: var(--bv-muted);
}

/* -----  PHONE WITH +45 PREFIX (inline in same field) ----- */
.bv-phone {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--bv-soft-2);
  border-radius: var(--bv-radius-input);
  padding: 0 16px;
  box-shadow: 0 1px 2px rgba(32, 33, 36, 0.04);
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}
.bv-phone:focus-within {
  border-color: var(--bv-dark);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32, 33, 36, 0.06);
}
.bv-phone__prefix {
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-muted);
  -webkit-user-select: none;
  user-select: none;
  margin-right: 6px;
  flex: 0 0 auto;
}
.bv-phone input {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  padding: 13px 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--bv-text);
  outline: none;
  min-width: 0;
}
.bv-phone input::placeholder { color: rgba(15, 23, 42, 0.42); }

/* Generic inline-prefix field (used for https://) — same pattern as +45 */
.bv-prefixed {
  display: flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--bv-soft-2);
  border-radius: var(--bv-radius-input);
  padding: 0 16px;
  box-shadow: 0 1px 2px rgba(32, 33, 36, 0.04);
  transition: border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}
.bv-prefixed:focus-within {
  border-color: var(--bv-dark);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(32, 33, 36, 0.06);
}
.bv-prefixed__prefix {
  font-size: 15px;
  font-weight: 600;
  color: var(--bv-muted);
  -webkit-user-select: none;
  user-select: none;
  margin-right: 4px;
  flex: 0 0 auto;
}
.bv-prefixed input {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  padding: 13px 0;
  font-family: inherit;
  font-size: 15px;
  color: var(--bv-text);
  outline: none;
  min-width: 0;
}
.bv-prefixed input::placeholder { color: rgba(15, 23, 42, 0.42); }

/* -----  CUSTOM ADD INPUT (matches small chip styling) ----- */
.bv-custom {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
}
.bv-custom__input {
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 9px 14px;
  background: var(--bv-bg);
  border: 1px dashed var(--bv-soft-2);
  border-radius: 999px;
  color: var(--bv-text);
  outline: none;
  width: 180px;
  max-width: 100%;
  min-height: 36px;
  transition: border-color 120ms ease, background 120ms ease;
}
.bv-custom__input:focus {
  border-style: solid;
  border-color: var(--bv-dark);
  background: #fff;
}
.bv-custom__input::placeholder { color: rgba(15, 23, 42, 0.42); }
.bv-custom__add {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: var(--bv-dark);
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  flex: 0 0 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bv-custom__add:active { transform: scale(0.95); }

.bv-pill--custom { padding-right: 8px; }
.bv-pill--custom .bv-pill__remove {
  margin-left: 6px;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: inherit;
  border: none;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.bv-pill--custom[aria-pressed="false"] .bv-pill__remove {
  background: rgba(15, 23, 42, 0.1);
  color: var(--bv-text);
}

/* -----  HONEYPOT  ----- */
.bv-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* -----  COVER & LOGO  ----- */
.bv-cover-picker {
  display: block;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  height: 190px;
  background: var(--bv-bg);
  border: 1px dashed var(--bv-soft-2);
  margin-bottom: 16px;
}
.bv-cover-picker__preview {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
}
.bv-cover-picker__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 16px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.04) 0%,
    rgba(0, 0, 0, 0.56) 100%
  );
  color: #fff;
}
.bv-cover-picker__overlay strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
}
.bv-cover-picker__overlay span {
  display: block;
  font-size: 12px;
  opacity: 0.85;
  margin-top: 2px;
}
.bv-cover-picker__plus {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  font-weight: 600;
}
.bv-cover-picker.is-uploading .bv-cover-picker__plus { font-size: 14px; }
.bv-cover-picker.has-image { border-style: solid; }

.bv-logo-row { display: flex; align-items: center; gap: 14px; }
.bv-logo-picker {
  position: relative;
  cursor: pointer;
}
.bv-logo-picker__preview {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  background: var(--bv-bg);
  border: 1px dashed var(--bv-soft-2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--bv-muted);
  background-position: center;
  background-size: cover;
  position: relative;
  overflow: hidden;
}
.bv-logo-picker__preview span { display: block; }
.bv-logo-picker__preview.has-image span { display: none; }
.bv-logo-picker::after {
  content: "+";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--bv-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  font-weight: 600;
  border: 2px solid var(--bv-card);
}
.bv-logo-text strong { font-size: 15px; font-weight: 700; display: block; }
.bv-logo-text p { font-size: 13px; color: var(--bv-muted); margin: 4px 0 0; }

/* -----  GALLERY  ----- */
.bv-gallery__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 14px;
  font-weight: 600;
}
.bv-gallery__add {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bv-dark);
  color: #fff;
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.bv-gallery__add.is-disabled {
  background: var(--bv-soft);
  color: var(--bv-muted);
  pointer-events: none;
}
.bv-gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(112px, 1fr));
  gap: 10px;
}
.bv-gallery__empty {
  grid-column: 1 / -1;
  background: var(--bv-bg);
  border-radius: 16px;
  padding: 26px 18px;
  text-align: center;
  font-size: 13px;
  color: var(--bv-muted);
}
.bv-gallery__tile {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bv-bg);
  background-position: center;
  background-size: cover;
}
.bv-gallery__tile.is-uploading::after {
  content: "Uploader…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.bv-gallery__remove {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.bv-gallery__error {
  margin-top: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--bv-danger);
}

/* -----  PRICE PILLS  ----- */
.bv-prices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.bv-price {
  background: var(--bv-card);
  border: 1px solid var(--bv-soft);
  border-radius: 999px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  color: var(--bv-text);
}
.bv-price[aria-pressed="true"] {
  background: var(--bv-dark);
  color: #fff;
  border-color: var(--bv-dark);
}

/* -----  HOURS  ----- */
.bv-hours { display: flex; flex-direction: column; gap: 10px; }
.bv-hour {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  background: var(--bv-bg);
  border-radius: 16px;
}
.bv-hour__day {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}
.bv-hour__times {
  display: flex;
  gap: 6px;
  align-items: center;
  min-width: 0;
}
.bv-hour__times input {
  flex: 1 1 auto;
  min-width: 0;
  font-family: inherit;
  font-size: 14px;
  padding: 8px 10px;
  border: 1px solid var(--bv-soft);
  border-radius: 10px;
  background: #fff;
  color: var(--bv-text);
  text-align: center;
  font-feature-settings: "tnum";
}
.bv-hour__times input::-webkit-date-and-time-value { text-align: center; }
.bv-hour__times input:disabled {
  background: var(--bv-soft);
  color: var(--bv-muted);
}
.bv-hour__toggle {
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bv-card);
  border: 1px solid var(--bv-soft);
  color: var(--bv-text);
  cursor: pointer;
  white-space: nowrap;
  min-width: 70px;
}
.bv-hour.is-closed .bv-hour__toggle {
  background: var(--bv-dark);
  color: #fff;
  border-color: var(--bv-dark);
}
.bv-hour__sep { color: var(--bv-muted); font-weight: 600; }

/* On narrow screens stack: day on its own row, then [open] – [close] [toggle] */
@media (max-width: 480px) {
  .bv-hour {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "day toggle"
      "times times";
    row-gap: 8px;
    padding: 12px;
  }
  .bv-hour__day { grid-area: day; }
  .bv-hour__toggle { grid-area: toggle; }
  .bv-hour__times { grid-area: times; }
}

/* -----  ADDRESS AUTOCOMPLETE ----- */
.bv-address-search { position: relative; }
.bv-address-suggest {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 4px 0 0;
  padding: 4px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--bv-soft);
  border-radius: 14px;
  box-shadow: var(--bv-shadow-pop);
  max-height: 280px;
  overflow-y: auto;
  z-index: 40;
}
.bv-address-suggest li {
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--bv-text);
  cursor: pointer;
  line-height: 1.3;
}
.bv-address-suggest li[aria-selected="true"],
.bv-address-suggest li:hover {
  background: var(--bv-bg);
}
.bv-address-suggest li small {
  display: block;
  margin-top: 2px;
  color: var(--bv-muted);
  font-size: 12px;
}

/* -----  PILLS (TAGS / FEATURES)  ----- */
.bv-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bv-pill {
  background: var(--bv-bg);
  border: 1px solid var(--bv-soft);
  color: var(--bv-text);
  padding: 9px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}
.bv-pill[aria-pressed="true"] {
  background: var(--bv-dark);
  color: #fff;
  border-color: var(--bv-dark);
}

/* -----  TURNSTILE CARD  ----- */
.bv-turnstile-card .cf-turnstile {
  display: flex;
  justify-content: center;
}

.bv-legal-consent {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--bv-bg);
  border: 1px solid var(--bv-soft);
}

.bv-legal-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--bv-dark);
}

.bv-legal-consent label {
  font-size: 13px;
  line-height: 1.6;
  color: var(--bv-text);
}

.bv-legal-consent a {
  color: var(--bv-dark);
  font-weight: 700;
}

.bv-legal-note {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--bv-muted);
}

/* -----  BOTTOM BAR  ----- */
.bv-bottombar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  background: rgba(246, 246, 243, 0.92);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  backdrop-filter: saturate(180%) blur(14px);
  border-top: 1px solid var(--bv-soft);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  transition: background-color 160ms ease,
              border-color 160ms ease;
}
.bv-bottombar > * { flex: 0 0 auto; }

body.bv-keyboard-open .bv-bottombar {
  background: var(--bv-bg);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-top-color: rgba(15, 23, 42, 0.12);
}

.bv-btn {
  appearance: none;
  border: none;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  transition: transform 180ms cubic-bezier(0.22, 1, 0.36, 1),
              opacity 120ms ease,
              background-color 160ms ease,
              color 160ms ease,
              border-color 160ms ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  will-change: transform;
}
.bv-btn--primary { min-width: 220px; }
.bv-btn--ghost   { min-width: 100px; }

@media (max-width: 480px) {
  .bv-bottombar { gap: 10px; padding-left: 16px; padding-right: 16px; }
  .bv-bottombar > * { flex: 1 1 0; }
  .bv-btn--primary,
  .bv-btn--ghost { min-width: 0; }
}
.bv-btn:active { transform: scale(0.985); }
.bv-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.bv-btn--primary {
  background: var(--bv-dark);
  color: #fff;
}
.bv-btn--primary:hover { background: #15171a; }
.bv-btn--ghost {
  background: transparent;
  color: var(--bv-text);
  border: 1px solid var(--bv-soft-2);
}
.bv-btn--ghost:hover { background: var(--bv-soft); }

/* -----  SUCCESS  ----- */
.bv-success {
  background: var(--bv-card);
  border-radius: 24px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--bv-shadow-card);
  margin-top: 12px;
}
.bv-success__check {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: var(--bv-accent);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.bv-success h2 {
  margin: 0 0 8px;
  font-size: 22px;
  font-weight: 800;
}
.bv-success p {
  margin: 0 auto 18px;
  max-width: 480px;
  color: var(--bv-muted);
  font-size: 14px;
}
.bv-success__home {
  display: inline-block;
  background: var(--bv-dark);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 20px;
  border-radius: 999px;
}

/* -----  HIDDEN STEP  ----- */
.bv-step[hidden] { display: none; }
.bv-step:not([hidden]) {
  animation: bv-step-enter 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes bv-step-enter {
  from {
    opacity: 0;
    transform: translate3d(0, 10px, 0);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

/* ==========================================================================
   MOBILE TWEAKS
   ========================================================================== */
@media (max-width: 600px) {
  .bv-shell { padding: 0 14px; }
  .bv-main { padding-bottom: 120px; }

  .bv-gate {
    padding: 16px;
  }

  .bv-gate__panel {
    border-radius: 24px;
    padding: 22px;
  }

  .bv-gate__panel h1 {
    font-size: 24px;
  }

  .bv-gate__actions {
    flex-direction: column-reverse;
  }

  .bv-gate__actions > * {
    width: 100%;
  }

  .bv-topbar {
    padding: 10px 14px 8px;
    background: rgba(246, 246, 243, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
  .bv-topbar__logo { height: 18px; }
  .bv-stepper { margin-top: 8px; }
  .bv-stepper__label { font-size: 12px; margin-top: 6px; }

  .bv-step-header { gap: 12px; margin: 4px 0 14px; }
  .bv-step-header__icon { width: 38px; height: 38px; border-radius: 12px; }
  .bv-step-header h1 { font-size: 19px; }
  .bv-step-header p { font-size: 13px; }

  .bv-card { padding: 18px; border-radius: 20px; margin-bottom: 14px; }
  .bv-plan { padding: 16px; border-radius: 18px; }
  .bv-plan__name { font-size: 17px; }
  .bv-plan__amount { font-size: 17px; }
  .bv-card__header { gap: 10px; margin-bottom: 12px; }
  .bv-card__icon { width: 28px; height: 28px; border-radius: 9px; flex: 0 0 28px; }
  .bv-card__header h2 { font-size: 15px; }
  .bv-card__header p { font-size: 12px; }

  .bv-input input,
  .bv-input textarea,
  textarea#bv-description { font-size: 16px; padding: 12px 14px; }

  .bv-cover-picker { height: 160px; }
  .bv-cover-picker__overlay { padding: 12px; }
  .bv-cover-picker__overlay strong { font-size: 14px; }
  .bv-cover-picker__overlay span { font-size: 11px; }

  .bv-logo-row { gap: 12px; }
  .bv-logo-picker__preview { width: 72px; height: 72px; }

  .bv-gallery__grid { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
  .bv-gallery__top { font-size: 13px; }

  .bv-bottombar {
    background: rgba(246, 246, 243, 0.98);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .bv-prices { gap: 8px; }
  .bv-price { padding: 11px 0; font-size: 13px; }

  .bv-hour__times input { font-size: 16px; padding: 8px 8px; }
  .bv-hour__toggle { padding: 7px 12px; font-size: 12px; min-width: 64px; }

  .bv-pill { padding: 8px 12px; font-size: 12px; }

  .bv-success { padding: 26px 20px; border-radius: 20px; }
  .bv-success h2 { font-size: 19px; }
}

/* iOS auto-zoom på inputs forekommer hvis font < 16px — hold dem store nok */
@media (max-width: 380px) {
  .bv-card { padding: 14px; }
  .bv-step-header h1 { font-size: 18px; }
  .bv-cover-picker { height: 140px; }
}
