/* Masjid Bilal marketplace
   Lapis and brass: the colors of the tile work in a mosque, on a cool gray page.
   Bricolage Grotesque for headings and every amount, Figtree for everything else. */

body.bmp-shell {
	/* ---- Brand colors, sampled from the Masjid Bilal logo ---------------- */
	--green-500: #00BA1C;   /* the wordmark green */
	--green-600: #0A9A28;
	--green-700: #0B7A28;   /* green that is readable as text */
	--green-800: #0A5A23;
	--green-900: #062E19;   /* deep forest, for dark surfaces */
	--green-950: #03200F;
	--green-200: #BFE6C8;
	--green-100: #E3F6E7;
	--gold-500:  #F8A700;   /* the crescent */
	--gold-600:  #DC9100;
	--gold-800:  #7A4D00;
	--gold-100:  #FFF0CC;
	--purple-700: #380098;  /* the dome */
	--purple-100: #EEE8FB;
	--red-700:   #A8321F;
	--red-100:   #FBE9E5;

	/* ---- Neutrals (a green-tinted gray scale) ----------------------------- */
	--ink:         #0F1D16;
	--ink-soft:    #2B3A32;
	--muted:       #58675F;
	--line:        #DBE3DD;
	--line-strong: #C3CFC7;
	--hover:       #E7EEE8;
	--track:       #E1E8E2;
	--photo-bg:    #E6ECE7;
	--bg:          #F3F6F3;
	--card:        #FFFFFF;

	/* ---- Roles: what each color is used for ------------------------------ */
	--action:        var(--gold-500);    /* primary buttons */
	--action-hover:  var(--gold-600);
	--on-action:     var(--ink);
	--progress:      var(--green-500);   /* funding meters, mosaic squares */
	--success:       var(--green-700);
	--danger:        var(--red-700);
	--focus:         var(--purple-700);  /* keyboard focus ring */
	--surface-dark:  var(--green-900);   /* hero, call to action */
	--surface-darker: var(--green-950);  /* footer */
	--on-dark:       #FFFFFF;
	--on-dark-soft:  #C2DAC9;
	--on-dark-muted: #92B49E;

	--display: "Bricolage Grotesque", "Figtree", system-ui, sans-serif;
	--text:    "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font: 400 16px/1.55 var(--text);
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
body.bmp-shell *, body.bmp-shell *::before, body.bmp-shell *::after { box-sizing: border-box; }
body.bmp-shell img { max-width: 100%; }
body.bmp-shell a { color: inherit; }
body.bmp-shell h1, body.bmp-shell h2, body.bmp-shell h3 { font-family: var(--display); color: var(--ink); margin: 0; letter-spacing: -0.015em; }

.bmp-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bmp-skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--action); color: var(--on-action); padding: 10px 16px; border-radius: 8px; font-weight: 700; }
.bmp-skip:focus { left: 8px; }
.bmp-i { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

body.bmp-shell :focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.bmp-hero :focus-visible, .bmp-cta :focus-visible, .bmp-foot :focus-visible { outline-color: var(--action); }

/* ---- Buttons ----------------------------------------------------------- */

.bmp-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font: 700 15px/1.2 var(--text);
	padding: 12px 22px;
	border-radius: 999px;
	border: 1px solid transparent;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s;
}
body.bmp-shell .bmp-btn--gold { background: var(--action); color: var(--on-action); }
body.bmp-shell .bmp-btn--gold:hover { background: var(--action-hover); }
body.bmp-shell .bmp-btn--ink { background: var(--surface-dark); color: #fff; }
body.bmp-shell .bmp-btn--ink:hover { background: #0C4A28; }
body.bmp-shell .bmp-btn--quiet { background: #fff; color: var(--ink); border-color: var(--line); }
body.bmp-shell .bmp-btn--quiet:hover { border-color: var(--ink); }
.bmp-btn--lg { padding: 15px 28px; font-size: 16px; }
.bmp-btn--sm { padding: 8px 16px; font-size: 14px; }
.bmp-btn--block { display: flex; width: 100%; }
.bmp-btn[disabled] { opacity: .55; cursor: default; }

/* ---- Header ------------------------------------------------------------ */

.bmp-head {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .94);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid var(--line);
}
body.admin-bar .bmp-head { top: 32px; }
@media (max-width: 782px) { body.admin-bar .bmp-head { top: 46px; } }

.bmp-head__bar {
	max-width: 1240px; margin: 0 auto; padding: 0 24px; min-height: 98px;
	display: flex; align-items: center; gap: 28px;
}
.bmp-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: none; }
.bmp-mark { width: 34px; height: 34px; flex: none; background: var(--surface-dark); border-radius: 9px; padding: 3px; }
.bmp-brand__logo { display: block; height: 80px; width: auto; max-width: none; }
.bmp-brand__fallback { display: none; align-items: center; gap: 11px; }
.bmp-brand__sub { padding-left: 14px; margin-left: 2px; border-left: 1px solid var(--line-strong); line-height: 1.2; }
.bmp-brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.bmp-brand__name { font: 700 19px/1.05 var(--display); letter-spacing: -.02em; color: var(--ink); }
.bmp-brand__fallback .bmp-brand__sub { border: 0; padding: 0; margin: 3px 0 0; }
.bmp-brand__sub { font-size: 13px; color: var(--muted); }

.bmp-search { flex: 1; max-width: 520px; position: relative; display: flex; }
.bmp-search input {
	width: 100%; font: 500 15px var(--text); color: var(--ink);
	background: var(--bg); border: 1px solid transparent; border-radius: 999px;
	padding: 11px 48px 11px 20px;
	transition: background-color .15s, border-color .15s;
}
.bmp-search input::placeholder { color: #74847B; }
.bmp-search input:hover { border-color: var(--line); }
.bmp-search input:focus { background: #fff; border-color: var(--surface-dark); outline: none; box-shadow: 0 0 0 3px rgba(56, 0, 152, .25); }
.bmp-search button {
	position: absolute; right: 5px; top: 5px; width: 34px; height: 34px;
	border: 0; border-radius: 50%; background: var(--surface-dark); color: #fff; cursor: pointer;
	display: grid; place-items: center;
}
.bmp-search button:hover { background: #0C4A28; }

.bmp-nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.bmp-nav a:not(.bmp-btn) { padding: 9px 13px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 15px; color: var(--ink); }
.bmp-nav a:not(.bmp-btn):hover { background: var(--bg); }
.bmp-nav .bmp-nav__quiet { color: var(--muted); font-weight: 500; }
.bmp-nav .bmp-btn { margin-left: 8px; }
.bmp-menu { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; place-items: center; }

/* ---- Hero -------------------------------------------------------------- */

.bmp { color: var(--ink); }
.bmp-hero { background: var(--surface-dark); color: #fff; }
.bmp-hero__inner {
	max-width: 1240px; margin: 0 auto; padding: 72px 24px 64px;
	display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 56px; align-items: center;
}
body.bmp-shell .bmp-hero h1 {
	color: #fff; font-weight: 700; font-size: clamp(2.5rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -.03em; max-width: 14ch;
}
.bmp-hero__lede { margin: 22px 0 0; font-size: 1.2rem; line-height: 1.5; color: var(--on-dark-soft); max-width: 38ch; }
.bmp-hero__progress { margin: 26px 0 0; color: #fff; font-size: 1.05rem; max-width: 46ch; }
.bmp-hero__progress strong { font: 700 1.5rem var(--display); color: var(--action); letter-spacing: -.01em; }
.bmp-hero__cta { margin-top: 30px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 26px; }
.bmp-hero__link { color: #fff; font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--action); text-decoration-thickness: 2px; }
.bmp-hero__art { margin: 0; }
.bmp-mosaic { display: block; width: 100%; max-width: 470px; height: auto; margin: 0 auto; overflow: visible; }
.bmp-mosaic rect { transition: fill .15s; stroke: transparent; stroke-width: 2; }
.bmp-mosaic rect.is-open { fill: rgba(255, 255, 255, .13); }
.bmp-mosaic rect.is-part { fill: var(--progress); }
.bmp-mosaic rect.is-done { fill: var(--action); }
.bmp-mosaic a:hover rect, .bmp-mosaic a:focus rect { stroke: #fff; }
.bmp-hero__art figcaption { margin: 18px auto 0; max-width: 470px; font-size: 14px; color: var(--on-dark-muted); }

.bmp-hero--compact .bmp-hero__inner { padding: 44px 24px 40px; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: 48px; align-items: end; }
body.bmp-shell .bmp-hero--compact h1 { font-size: clamp(2rem, 3.6vw, 2.8rem); }
.bmp-hero--compact .bmp-hero__lede { margin-top: 12px; font-size: 1.05rem; }
.bmp-hero--compact .bmp-hero__progress { margin: 0 0 12px; font-size: 1rem; }
.bmp-hero__sub { margin: 10px 0 0; font-size: 14px; color: var(--on-dark-muted); }

/* ---- Progress meter ---------------------------------------------------- */

.bmp-meter { height: 8px; background: var(--track); border-radius: 999px; overflow: hidden; }
.bmp-meter > span { display: block; height: 100%; background: var(--progress); border-radius: 999px; transition: width .5s ease; }
.bmp-meter--lg { height: 12px; }
.bmp-meter--light { background: rgba(255, 255, 255, .16); height: 10px; }
.bmp-meter--light > span { background: var(--action); }

/* ---- Shop layout ------------------------------------------------------- */

.bmp-shop { max-width: 1240px; margin: 0 auto; padding: 32px 24px 64px; display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 36px; align-items: start; }

.bmp-results { min-width: 0; }
.bmp-rail { position: sticky; top: 118px; min-width: 0; }
body.admin-bar .bmp-rail { top: 124px; }
.bmp-rail__toggle { display: none; }
.bmp-rail__block { margin: 0 0 26px; }
.bmp-rail__h { font: 700 16px var(--display); margin: 0 0 8px; }
.bmp-rail__g { font: 600 13px var(--text); color: var(--muted); margin: 22px 0 5px 10px; letter-spacing: 0; }
.bmp-rail__link {
	display: flex; justify-content: space-between; gap: 10px; align-items: baseline;
	padding: 8px 10px; border-radius: 8px; text-decoration: none; font-size: 15px; color: var(--ink);
}
.bmp-rail__link span { color: var(--muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.bmp-rail__link:hover { background: var(--hover); }
body.bmp-shell .bmp-rail__link.is-active { background: var(--surface-dark); color: #fff; font-weight: 600; }
.bmp-rail__link.is-active span { color: #A9C7B3; }

.bmp-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 0 0 18px; flex-wrap: wrap; }
.bmp-count { margin: 0; color: var(--muted); }
.bmp-count strong { color: var(--ink); font: 700 1.25rem var(--display); }
.bmp-sort { display: flex; align-items: center; gap: 10px; margin: 0; }
.bmp-sort label { font-size: 14px; color: var(--muted); }
.bmp-sort select {
	font: 600 14px var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line);
	border-radius: 999px; padding: 9px 36px 9px 16px; cursor: pointer;
	appearance: none; -webkit-appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500l5 5 5-5' fill='none' stroke='%230E2230' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat; background-position: right 14px center;
}

.bmp-chips-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: -4px 0 18px; }
.bmp-filterchip { display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px 6px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); text-decoration: none; font-size: 14px; font-weight: 600; }
.bmp-filterchip .bmp-i { width: 15px; height: 15px; padding: 2px; border-radius: 50%; background: var(--bg); }
.bmp-filterchip:hover { border-color: var(--ink); }
.bmp-clear { font-size: 14px; color: var(--muted); margin-left: 4px; }

/* ---- Product grid and card -------------------------------------------- */

.bmp-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; }

.bmp-card {
	position: relative; display: flex; flex-direction: column;
	background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
	transition: border-color .15s, box-shadow .15s;
}
.bmp-card:hover { border-color: var(--line-strong); box-shadow: 0 8px 24px rgba(6, 46, 25, .10); }
.bmp-card__media { position: relative; display: block; aspect-ratio: 15 / 8; background: var(--photo-bg); overflow: hidden; }
.bmp-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.bmp-card__flag {
	position: absolute; left: 10px; top: 10px; display: inline-flex; align-items: center; gap: 5px;
	background: var(--action); color: var(--on-action); font-weight: 700; font-size: 13px; padding: 4px 11px 4px 8px; border-radius: 999px;
}
.bmp-card__body { padding: 16px 16px 6px; flex: 1; }
.bmp-card__cat { margin: 0; font-size: 13px; color: var(--muted); }
body.bmp-shell .bmp-card__title { font: 600 17px/1.25 var(--display); margin: 3px 0 14px; letter-spacing: -.01em; min-height: 2.5em; }
.bmp-card__title a { text-decoration: none; }
.bmp-card__title a::after { content: ""; position: absolute; inset: 0; }   /* the whole card opens the item */
.bmp-card__left { margin: 0 0 9px; font-size: 14px; color: var(--muted); }
.bmp-card__left strong { display: block; font: 700 28px/1 var(--display); letter-spacing: -.02em; color: var(--ink); margin-bottom: 3px; font-variant-numeric: tabular-nums; }
.bmp-card__left.is-done strong { color: var(--success); }
.bmp-card__meta { margin: 9px 0 0; display: flex; justify-content: space-between; gap: 8px; font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.bmp-card__cta { position: relative; z-index: 1; margin: 12px 16px 16px; }
.bmp-card.is-funded .bmp-card__media img { filter: saturate(.8); }

/* ---- Item page --------------------------------------------------------- */

.bmp-single { max-width: 1240px; margin: 0 auto; padding: 0 24px 64px; }
.bmp-crumbs { padding: 22px 0 14px; font-size: 14px; color: var(--muted); display: flex; gap: 8px; flex-wrap: wrap; }
.bmp-crumbs a { text-decoration-color: var(--line); text-underline-offset: 3px; }

.bmp-item { display: grid; grid-template-columns: minmax(0, 1fr) 410px; gap: 44px; align-items: start; }
.bmp-item__media { margin: 0; border-radius: 12px; overflow: hidden; background: var(--photo-bg); border: 1px solid var(--line); aspect-ratio: 15 / 8; }
.bmp-item__media img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.bmp-thumbs { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; margin-top: 8px; }
.bmp-thumbs img { border-radius: 8px; }
.bmp-video { margin-top: 12px; } .bmp-video iframe { width: 100%; aspect-ratio: 16/9; height: auto; border-radius: 12px; }

.bmp-about { margin-top: 36px; max-width: 64ch; }
.bmp-about h2, .bmp-contributors h2 { font: 700 1.3rem var(--display); margin: 0 0 12px; }
.bmp-about p { margin: 0 0 12px; color: var(--ink-soft); line-height: 1.65; }
.bmp-about__text em { color: var(--muted); }

.bmp-item__side { position: sticky; top: 118px; }
body.admin-bar .bmp-item__side { top: 124px; }
.bmp-buy { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 26px; }
.bmp-buy__cat { margin: 0 0 6px; font-size: 14px; color: var(--muted); }
body.bmp-shell .bmp-buy__title { font: 700 1.75rem/1.12 var(--display); letter-spacing: -.02em; margin: 0 0 22px; }

.bmp-fund__left { margin: 0 0 12px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.bmp-fund__big { font: 700 3rem/1 var(--display); letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.bmp-fund__still { color: var(--muted); font-size: 15px; }
.bmp-fund__line { display: flex; flex-wrap: wrap; gap: 4px 18px; margin: 12px 0 0; font-size: 14px; color: var(--muted); }
.bmp-fund__line strong { color: var(--ink); font-variant-numeric: tabular-nums; }
.bmp-fund__done { display: flex; gap: 10px; align-items: center; margin: 22px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--green-100); color: var(--success); font-weight: 600; }

.bmp-give { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); }
.bmp-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.bmp-chip {
	font: 700 14px var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line);
	padding: 9px 16px; border-radius: 999px; cursor: pointer; transition: border-color .15s, background-color .15s;
}
.bmp-chip:hover { border-color: var(--ink); }
.bmp-chip--rest { background: var(--green-100); border-color: var(--green-200); color: var(--success); }
.bmp-chip--rest:hover { border-color: var(--success); }
.bmp-give__label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.bmp-give__row { display: flex; margin-bottom: 12px; }
.bmp-give__sign { display: grid; place-items: center; padding: 0 16px; background: var(--bg); border: 1px solid var(--line-strong); border-right: 0; border-radius: 10px 0 0 10px; font: 700 1.3rem var(--display); }
.bmp-give__row input {
	flex: 1; min-width: 0; font: 700 1.3rem var(--display); color: var(--ink); background: #fff;
	border: 1px solid var(--line-strong); border-radius: 0 10px 10px 0; padding: 12px 14px;
}
.bmp-give__row input:focus { outline: none; border-color: var(--surface-dark); box-shadow: 0 0 0 3px rgba(56, 0, 152, .25); }
.bmp-check { display: flex; align-items: center; gap: 9px; margin: 16px 0 0; font-size: 15px; cursor: pointer; }
.bmp-check input { width: 18px; height: 18px; accent-color: var(--surface-dark); }
.bmp-fineprint { margin: 12px 0 0; font-size: 13.5px; color: var(--muted); }
.bmp-fineprint a { text-underline-offset: 3px; }
.bmp-fund__message:empty, .bmp-bidbox__message:empty { display: none; }
.bmp-fund__message, .bmp-bidbox__message { margin: 16px 0 0; padding: 12px 14px; border-radius: 10px; background: var(--red-100); color: var(--red-700); font-size: 14.5px; }
.bmp-fund__message.is-good, .bmp-bidbox__message.is-good { background: var(--green-100); color: var(--success); }

.bmp-trust { list-style: none; margin: 24px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); display: grid; gap: 11px; font-size: 14.5px; }
.bmp-trust li { display: flex; gap: 11px; align-items: center; }
.bmp-trust .bmp-i { color: var(--progress); width: 20px; height: 20px; }
.bmp-share { margin-top: 20px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.bmp-share a, .bmp-share button {
	display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--text); color: var(--ink);
	padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; cursor: pointer;
}
.bmp-share a:hover, .bmp-share button:hover { border-color: var(--ink); }
.bmp-buy__note { margin: 18px 0 0; font-size: 14px; color: var(--muted); }

.bmp-contributors { margin-top: 36px; max-width: 64ch; }
.bmp-contributors ul { list-style: none; margin: 0; padding: 0; }
.bmp-contributors li { display: grid; grid-template-columns: 1fr auto 52px; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 15px; }
.bmp-contributors__amount { font: 700 15px var(--display); font-variant-numeric: tabular-nums; }
.bmp-contributors__date { color: var(--muted); text-align: right; }

/* auction panel */
.bmp-figure { margin: 0 0 10px; }
.bmp-figure__label { display: block; font-size: 14px; color: var(--muted); }
.bmp-figure strong { font: 700 2.6rem/1 var(--display); letter-spacing: -.03em; }
.bmp-figure--muted strong { color: var(--muted); }
.bmp-countdown { font-variant-numeric: tabular-nums; font-size: 13px; color: var(--success); font-weight: 600; }
.bmp-countdown.is-urgent { color: var(--danger); }
.bmp-countdown--large { font-size: 1.05rem; margin: 0 0 6px; }
.bmp-leader { margin: 0 0 18px; color: var(--muted); font-size: 15px; }
.bmp-won-note { color: var(--success); font-weight: 700; }
.bmp-bidform label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.bmp-bidform__row { display: flex; gap: 8px; }
.bmp-bidform__row input { flex: 1; min-width: 0; font: 700 1.3rem var(--display); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 14px; }
.bmp-bidbox .bmp-btn--block { margin-top: 14px; }

/* ---- Sections (home, related) ----------------------------------------- */

.bmp-sec { max-width: 1240px; margin: 0 auto; padding: 64px 24px 8px; }
.bmp-sec__head { margin-bottom: 26px; }
.bmp-sec__head h2 { font: 700 clamp(1.7rem, 3vw, 2.3rem)/1.1 var(--display); letter-spacing: -.025em; }
.bmp-sec__head p { margin: 8px 0 0; color: var(--muted); max-width: 56ch; }
.bmp-sec__more { margin: 28px 0 0; }
.bmp-related { padding-top: 56px; }

.bmp-sec--band { max-width: none; background: #fff; border-block: 1px solid var(--line); margin-top: 64px; padding: 56px max(24px, calc((100% - 1192px) / 2)) 60px; }
.bmp-areas { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.bmp-area { display: block; padding: 16px 18px; border-radius: 10px; background: var(--bg); text-decoration: none; transition: background-color .15s; }
.bmp-area:hover { background: var(--hover); }
.bmp-area strong { display: block; font: 600 16px/1.25 var(--display); }
.bmp-area span { font-size: 14px; color: var(--muted); }

.bmp-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px; counter-reset: s; }
.bmp-steps li { position: relative; padding-top: 52px; counter-increment: s; color: var(--ink-soft); }
.bmp-steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; background: var(--surface-dark); color: var(--action); font: 700 18px var(--display); }
.bmp-steps strong { display: block; font: 700 1.15rem var(--display); color: var(--ink); margin-bottom: 4px; }

.bmp-faq details { max-width: 820px; border-bottom: 1px solid var(--line); }
.bmp-faq summary { cursor: pointer; padding: 18px 28px 18px 0; font: 600 1.05rem var(--display); list-style: none; position: relative; }
.bmp-faq summary::-webkit-details-marker { display: none; }
.bmp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.6rem var(--text); color: var(--muted); }
.bmp-faq details[open] summary::after { content: "\2013"; }
.bmp-faq details p { margin: 0 0 18px; color: var(--ink-soft); max-width: 62ch; }

.bmp-cta { margin-top: 72px; background: var(--surface-dark); color: #fff; text-align: center; padding: 64px 24px 68px; }
body.bmp-shell .bmp-cta h2 { color: #fff; font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 700; letter-spacing: -.025em; }
.bmp-cta p { margin: 10px 0 26px; color: var(--on-dark-soft); }

/* ---- Registration ------------------------------------------------------ */

.bmp-auth { padding: 48px 24px 72px; }
.bmp-auth__card { max-width: 940px; margin: 0 auto; display: grid; grid-template-columns: 5fr 6fr; background: #fff; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.bmp-auth__card--single { grid-template-columns: 1fr; max-width: 560px; }
.bmp-auth__side { background: var(--surface-dark); color: #fff; padding: 44px 38px; }
body.bmp-shell .bmp-auth__side h1 { color: #fff; font: 700 clamp(1.8rem, 3vw, 2.3rem)/1.08 var(--display); letter-spacing: -.025em; }
.bmp-auth__side ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; color: var(--on-dark-soft); }
.bmp-auth__side li { position: relative; padding-left: 28px; }
.bmp-auth__side li::before { content: ""; position: absolute; left: 0; top: 4px; width: 16px; height: 16px; border-radius: 50%; background: var(--action); }
.bmp-auth__form { padding: 44px 40px; }
.bmp-auth__form h2, .bmp-auth__form h1 { font: 700 1.6rem var(--display); margin-bottom: 20px; }
.bmp-form label:not(.bmp-check) { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
.bmp-form input[type="text"], .bmp-form input[type="email"], .bmp-form input[type="tel"] {
	width: 100%; font: 500 16px var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 13px 14px;
}
.bmp-form input:focus { outline: none; border-color: var(--surface-dark); box-shadow: 0 0 0 3px rgba(56, 0, 152, .25); }
.bmp-consent { border: 0; padding: 22px 0 0; margin: 0; }
.bmp-consent legend { font-size: 14px; font-weight: 600; padding: 0; margin-bottom: 2px; }
.bmp-consent .bmp-check { margin-top: 10px; }
.bmp-form .bmp-btn { margin-top: 20px; }
.bmp-errors { border-radius: 10px; background: var(--red-100); color: var(--red-700); padding: 12px 14px; margin-bottom: 8px; }
.bmp-errors p { margin: 0 0 4px; font-size: 14.5px; } .bmp-errors p:last-child { margin: 0; }

/* ---- Account ----------------------------------------------------------- */

.bmp-account { max-width: 920px; margin: 0 auto; padding: 44px 24px 72px; }
body.bmp-shell .bmp-account__head h1 { font: 700 clamp(1.9rem, 3.6vw, 2.6rem)/1.05 var(--display); letter-spacing: -.03em; }
.bmp-account__head p { margin: 10px 0 0; color: var(--muted); font-size: 1.05rem; }
.bmp-account__head strong { color: var(--ink); }
.bmp-subhead { font: 700 1.25rem var(--display); margin: 36px 0 12px; }
.bmp-tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.bmp-table { width: 100%; border-collapse: collapse; }
.bmp-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--muted); padding: 12px 18px; border-bottom: 1px solid var(--line); }
.bmp-table td { padding: 14px 18px; border-bottom: 1px solid var(--line); font-size: 15px; font-variant-numeric: tabular-nums; }
.bmp-table tr:last-child td { border-bottom: 0; }
.bmp-tag { display: inline-block; padding: 3px 11px; border-radius: 999px; font-size: 13px; font-weight: 700; background: #EAF0EB; color: var(--muted); }
.bmp-tag--pledged { background: var(--gold-100); color: var(--gold-800); }
.bmp-tag--received, .bmp-tag--active, .bmp-tag--won { background: var(--green-100); color: var(--success); }
.bmp-tag--outbid { background: var(--red-100); color: var(--red-700); }

/* ---- Empty states and pagination -------------------------------------- */

.bmp-empty { padding: 56px 20px; text-align: center; color: var(--muted); }
.bmp-empty__h { font: 700 1.25rem var(--display); color: var(--ink); margin: 0 0 6px; }
.bmp-pagination ul { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; padding: 32px 0 0; margin: 0; }
.bmp-pagination a, .bmp-pagination span { display: inline-block; min-width: 40px; padding: 9px 14px; text-align: center; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.bmp-pagination .current { background: var(--surface-dark); color: #fff; border-color: var(--surface-dark); }
.bmp-pagination a:hover { border-color: var(--ink); }

/* ---- Footer ------------------------------------------------------------ */

.bmp-foot { background: var(--surface-darker); color: #9DBBA8; margin-top: 0; }
.bmp-foot__inner { max-width: 1240px; margin: 0 auto; padding: 48px 24px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px; }
.bmp-foot p { margin: 0 0 8px; font-size: 14.5px; max-width: 52ch; }
.bmp-foot__name { font: 700 1.1rem var(--display); color: #fff; margin-bottom: 8px !important; }
.bmp-foot__links { display: grid; grid-template-columns: repeat(2, auto); justify-content: start; gap: 8px 40px; align-content: start; }
.bmp-foot__links a { color: #D5E6DA; text-decoration: none; font-size: 15px; }
.bmp-foot__links a:hover { color: var(--action); }

/* ---- Responsive -------------------------------------------------------- */

@media (max-width: 1000px) {
	.bmp-item { grid-template-columns: 1fr; gap: 24px; }
	.bmp-item__main { display: contents; }
	.bmp-item__mediawrap { order: 1; }
	.bmp-item__side { order: 2; position: static; }
	.bmp-thumbs, .bmp-video { order: 1; }
	.bmp-about, .bmp-contributors { order: 3; margin-top: 8px; }
	.bmp-hero__inner { grid-template-columns: 1fr; gap: 36px; padding: 52px 24px 48px; }
	.bmp-hero--compact .bmp-hero__inner { grid-template-columns: 1fr; gap: 20px; padding: 36px 24px; }
	.bmp-steps { grid-template-columns: 1fr; gap: 26px; }
}

@media (max-width: 900px) {
	.bmp-shop { grid-template-columns: minmax(0, 1fr); gap: 20px; padding-top: 20px; }
	.bmp-rail { position: static; }
	.bmp-rail__toggle { display: inline-flex; margin: 0 0 12px; padding: 8px 16px; border: 1px solid var(--line); background: #fff; border-radius: 999px; font: 700 14px var(--text); cursor: pointer; }
	.bmp-rail > .bmp-rail__block { display: flex; gap: 8px; overflow-x: auto; margin: 0 -24px 14px; padding: 0 24px 6px; scrollbar-width: none; }
	.bmp-rail > .bmp-rail__block::-webkit-scrollbar { display: none; }
	.bmp-rail > .bmp-rail__block .bmp-rail__h, .bmp-rail > .bmp-rail__block .bmp-rail__g { display: none; }
	.bmp-rail > .bmp-rail__block .bmp-rail__link { flex: none; white-space: nowrap; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 8px 15px; }
	.bmp-rail > .bmp-rail__block .bmp-rail__link span { display: none; }
	.bmp-rail > .bmp-rail__block .bmp-rail__link.is-active { background: var(--surface-dark); border-color: var(--surface-dark); }
	.bmp-rail__more { display: none; padding: 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 8px; }
	.bmp-rail.is-open .bmp-rail__more { display: block; }
}

@media (max-width: 820px) {
	.bmp-head__bar { flex-wrap: wrap; gap: 10px 12px; padding: 10px 16px; }
	.bmp-menu { display: grid; }
	.bmp-search { order: 3; flex: 1 0 100%; max-width: none; }
	.bmp-nav { display: none; order: 4; flex: 1 0 100%; flex-direction: column; align-items: stretch; gap: 2px; padding: 6px 0 10px; border-top: 1px solid var(--line); margin: 0; }
	.bmp-head.is-open .bmp-nav { display: flex; }
	.bmp-nav a:not(.bmp-btn) { padding: 13px 10px; border-radius: 8px; }
	.bmp-nav .bmp-btn { margin: 8px 0 0; }
	.bmp-auth__card { grid-template-columns: 1fr; }
	.bmp-auth__side { padding: 32px 26px; }
	.bmp-auth__form { padding: 30px 24px; }
	.bmp-foot__inner { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 720px) {
	.bmp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	body.bmp-shell .bmp-card__title { font-size: 15px; margin-bottom: 10px; }
	.bmp-card__left strong { font-size: 22px; }
	.bmp-card__body { padding: 12px 12px 4px; }
	.bmp-card__meta { flex-direction: column; gap: 0; }
	.bmp-card__cta { margin: 10px 12px 12px; padding: 10px 12px; font-size: 14px; }
	.bmp-single { padding: 0 16px 48px; }
	.bmp-shop, .bmp-sec, .bmp-account { padding-left: 16px; padding-right: 16px; }
	.bmp-sec--band { padding-left: 16px; padding-right: 16px; }
	.bmp-buy { padding: 20px; }
	.bmp-fund__big { font-size: 2.5rem; }
	.bmp-toolbar { margin-bottom: 14px; }
	.bmp-sort label { display: none; }
	.bmp-contributors li { grid-template-columns: 1fr auto 44px; }
}
@media (max-width: 359px) { .bmp-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
	body.bmp-shell *, body.bmp-shell *::before, body.bmp-shell *::after { transition: none !important; animation: none !important; }
}


/* ---- Real photos, credits ---------------------------------------------- */

.bmp-card__media.is-photo img, .bmp-item__media.is-photo img { object-position: center; }
.bmp-item__mediawrap { min-width: 0; }
.bmp-credit { margin: 8px 2px 0; font-size: 13px; color: var(--muted); line-height: 1.45; }
.bmp-credit a { text-underline-offset: 2px; }
.bmp-about__text h3 { font: 700 1.05rem var(--display); margin: 22px 0 6px; }
.bmp-about__text a { color: var(--success); font-weight: 600; text-underline-offset: 3px; }
.bmp-about__text a:hover { color: var(--ink); }

/* ---- The building: renderings ------------------------------------------ */

.bmp-render { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.bmp-render li { margin: 0; }
.bmp-render img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); display: block; background: var(--photo-bg); }
.bmp-render span { display: block; margin-top: 8px; font-size: 14px; color: var(--muted); }
.bmp-build__facts { max-width: 70ch; margin: 0 0 24px; color: var(--ink-soft); font-size: 1.05rem; }

@media (max-width: 1000px) { .bmp-render { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 820px) { .bmp-brand__logo { height: 56px; } .bmp-head__bar { min-height: 74px; } .bmp-brand__sub { display: none; } }

/* Real photos (uploaded with "-photo" in the file name) are centered; the older illustrations keep the top crop that hides their caption band. */
.bmp-card__media img[src*="-photo"], .bmp-item__media img[src*="-photo"] { object-position: center; }

/* ---- Quantities ---------------------------------------------------------- */

.bmp-card__qty { margin: -6px 0 10px; font-size: 13px; font-weight: 600; color: var(--success); }
.bmp-fund__units { margin: -4px 0 12px; font-size: 15px; font-weight: 600; color: var(--success); }
.bmp-fund__units:empty { display: none; }

/* ---- Payment page ---------------------------------------------------------- */

.bmp-pay { padding: 44px 24px 72px; }
.bmp-pay__wrap { max-width: 820px; margin: 0 auto; }
body.bmp-shell .bmp-pay h1 { font: 700 clamp(1.9rem, 3.6vw, 2.6rem)/1.05 var(--display); letter-spacing: -.03em; }
.bmp-pay__lede { margin: 10px 0 24px; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.bmp-pay__summary { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 18px; padding: 22px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; }
.bmp-pay__label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 3px; }
.bmp-pay__item { font: 700 1.1rem/1.25 var(--display); text-decoration: none; }
.bmp-pay__amount { font: 700 1.7rem/1 var(--display); letter-spacing: -.02em; }
.bmp-pay__ref { font: 700 1.1rem var(--display); letter-spacing: .02em; }
.bmp-pay__hint { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
body.bmp-shell .bmp-pay__h { font: 700 1.3rem var(--display); margin: 38px 0 14px; }
.bmp-pay__done { display: flex; gap: 10px; align-items: center; margin: 22px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--green-100); color: var(--success); font-weight: 600; }
.bmp-pay__methods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bmp-method { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 20px; }
body.bmp-shell .bmp-method h3 { font: 700 1.05rem var(--display); margin: 0 0 6px; }
.bmp-method p { margin: 0 0 12px; font-size: 15px; color: var(--ink-soft); }
.bmp-pay__proof .bmp-form { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 24px; }
.bmp-form select, .bmp-form input[type="file"] { width: 100%; font: 500 16px var(--text); color: var(--ink); background: #fff; border: 1px solid var(--line-strong); border-radius: 10px; padding: 12px 14px; }
.bmp-tag--submitted { background: var(--gold-100); color: var(--gold-800); }
.bmp-paylink { margin-left: 10px; font-weight: 700; font-size: 14px; color: var(--success); text-underline-offset: 3px; white-space: nowrap; }
@media (max-width: 720px) { .bmp-pay { padding: 28px 16px 56px; } .bmp-pay__summary { grid-template-columns: 1fr 1fr; } .bmp-pay__methods { grid-template-columns: 1fr; } }

.bmp-method--lead { border-color: var(--green-200); background: var(--green-100); }
.bmp-method__tag { display: inline-block; margin-left: 6px; padding: 2px 9px; border-radius: 999px; background: var(--action); color: var(--on-action); font: 700 12px var(--text); vertical-align: middle; }

/* ---- Management hub ---------------------------------------------------- */

.bmp-manage { max-width: 1240px; margin: 0 auto; padding: 36px 24px 72px; }
.bmp-mg__head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 14px 24px; margin-bottom: 18px; }
body.bmp-shell .bmp-mg__head h1 { font: 700 clamp(1.8rem, 3.2vw, 2.4rem)/1.05 var(--display); letter-spacing: -.03em; }
.bmp-mg__tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.bmp-mg__tabs a { padding: 8px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: 14.5px; }
.bmp-mg__tabs a:hover { border-color: var(--ink); }
.bmp-mg__tabs a.is-active { background: var(--surface-dark); border-color: var(--surface-dark); color: #fff; }
.bmp-mg__tabs--sub { margin: 4px 0 16px; }
.bmp-mg__note { margin: 0 0 16px; padding: 12px 14px; border-radius: 10px; background: var(--red-100); color: var(--red-700); font-size: 14.5px; }
.bmp-mg__note.is-good { background: var(--green-100); color: var(--success); }
.bmp-mg__filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 12px; }
.bmp-mg__filters input[type="search"], .bmp-mg__filters select { font: 500 15px var(--text); padding: 9px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; min-width: 0; }
.bmp-mg__filters input[type="search"] { flex: 1 1 200px; max-width: 320px; }
.bmp-mg__filters .bmp-btn--gold { margin-left: auto; }
.bmp-mg__count { margin: 0 0 12px; color: var(--muted); font-size: 15px; }
.bmp-mg__count strong { color: var(--ink); }

.bmp-mg__list { background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bmp-mg__row { display: grid; grid-template-columns: minmax(0, 2.6fr) 90px 120px 110px 130px 140px; gap: 12px; align-items: center; padding: 10px 16px; border-bottom: 1px solid var(--line); font-size: 14.5px; transition: background-color .3s; }
.bmp-mg__row:last-child { border-bottom: 0; }
.bmp-mg__row--head { background: var(--bg); font-size: 13px; font-weight: 600; color: var(--muted); }
.bmp-mg__row.is-saving { background: var(--gold-100); }
.bmp-mg__row.is-saved { background: var(--green-100); }
.bmp-mg__item { display: flex; align-items: center; gap: 12px; min-width: 0; }
.bmp-mg__thumb { flex: none; width: 52px; height: 52px; border-radius: 8px; overflow: hidden; background: var(--photo-bg); }
.bmp-mg__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bmp-mg__title { display: block; font: 600 15px/1.25 var(--display); text-decoration: none; }
.bmp-mg__title:hover { text-decoration: underline; }
.bmp-mg__meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 13px; color: var(--muted); }
.bmp-qe { width: 100%; font: 600 15px var(--text); padding: 7px 8px; border: 1px solid var(--line-strong); border-radius: 8px; background: #fff; font-variant-numeric: tabular-nums; }
.bmp-qe:focus { outline: 2px solid var(--focus); border-color: transparent; }
.bmp-qe__cur { position: absolute; margin: 8px 0 0 9px; color: var(--muted); font-size: 14px; }
.bmp-mg__row [data-f="unit"] { padding-left: 20px; }
.bmp-mg__row [role="cell"] { position: relative; }
.bmp-mg__total { font-weight: 700; font-variant-numeric: tabular-nums; }
.bmp-mg__acts { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.bmp-mg__view { font-size: 14px; text-underline-offset: 3px; }

.bmp-ed { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.bmp-ed__card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; margin-bottom: 18px; }
body.bmp-shell .bmp-ed__card h2 { font: 700 1.15rem var(--display); margin: 0 0 12px; }
.bmp-ed label:not(.bmp-check):not(.bmp-ph__add) { display: block; font-size: 14px; font-weight: 600; margin: 16px 0 6px; }
.bmp-ed input[type="text"], .bmp-ed input[type="url"], .bmp-ed input[type="number"], .bmp-ed select { width: 100%; font: 500 16px var(--text); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); }
.bmp-ed input:focus, .bmp-ed select:focus { outline: 2px solid var(--focus); border-color: transparent; }
.bmp-ed__hint { margin: 0 0 12px; font-size: 13.5px; color: var(--muted); }
.bmp-ed__money { display: flex; }
.bmp-ed__money span { display: grid; place-items: center; padding: 0 14px; background: var(--bg); border: 1px solid var(--line-strong); border-right: 0; border-radius: 10px 0 0 10px; font: 700 1.1rem var(--display); }
.bmp-ed__money input { border-radius: 0 10px 10px 0 !important; }
.bmp-ed__total { margin: 16px 0 6px; font-size: 15px; color: var(--muted); }
.bmp-ed__total strong { display: block; font: 700 1.9rem/1.1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.bmp-ed__side { position: sticky; top: 122px; }
.bmp-ed__side .bmp-btn--block { margin-top: 12px; }
.bmp-ed__back { display: block; margin-top: 14px; text-align: center; font-size: 14px; color: var(--muted); }
.bmp-ed__danger { background: transparent; }

.bmp-ph__grid { list-style: none; margin: 0 0 12px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.bmp-ph__grid:empty { display: none; }
.bmp-ph__grid li { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--photo-bg); border: 1px solid var(--line); }
.bmp-ph__grid li > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bmp-ph__badge { position: absolute; left: 6px; top: 6px; padding: 3px 9px; border-radius: 999px; background: var(--action); color: var(--on-action); font: 700 12px var(--text); }
.bmp-ph__tools { position: absolute; inset: auto 0 0 0; display: flex; flex-wrap: wrap; gap: 4px; padding: 6px; background: linear-gradient(transparent, rgba(6, 46, 25, .85)); opacity: 0; transition: opacity .15s; }
.bmp-ph__grid li:hover .bmp-ph__tools, .bmp-ph__grid li:focus-within .bmp-ph__tools { opacity: 1; }
@media (hover: none) { .bmp-ph__tools { opacity: 1; } }
.bmp-ph__tools button { font: 600 11.5px var(--text); padding: 4px 8px; border: 0; border-radius: 999px; background: #fff; color: var(--ink); cursor: pointer; }
.bmp-ph__wait { position: absolute; inset: 0; display: grid; place-items: center; font-size: 13px; color: var(--muted); }
.bmp-ph__add { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 18px; border: 2px dashed var(--line-strong); border-radius: 12px; cursor: pointer; font-weight: 700; color: var(--success); background: var(--bg); }
.bmp-ph__add:hover { border-color: var(--green-600); background: var(--green-100); }
.bmp-ph__add input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.bmp-ph__add:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.bmp-ph__msg { margin: 10px 0 0; font-size: 14px; color: var(--red-700); }
.bmp-ph__msg:empty { display: none; }

.bmp-ed .wp-editor-wrap { border-radius: 10px; overflow: hidden; }
.bmp-ed .mce-tinymce { border-color: var(--line-strong) !important; box-shadow: none !important; }

@media (max-width: 960px) {
	.bmp-ed { grid-template-columns: 1fr; }
	.bmp-ed__side { position: static; }
	.bmp-mg__row { grid-template-columns: 1fr 1fr; }
	.bmp-mg__row--head { display: none; }
	.bmp-mg__row .bmp-mg__item { grid-column: 1 / -1; }
	.bmp-mg__row [role="cell"]:nth-child(2)::before { content: "How many "; font-size: 12px; color: var(--muted); display: block; }
	.bmp-mg__row [role="cell"]:nth-child(3)::before { content: "Price of one"; font-size: 12px; color: var(--muted); display: block; }
	.bmp-qe__cur { margin-top: 28px; }
	.bmp-mg__row [data-f="unit"] { padding-left: 20px; }
}
@media (max-width: 720px) { .bmp-manage { padding: 24px 16px 56px; } .bmp-mg__filters .bmp-btn--gold { margin-left: 0; } }

/* ---- Item page: photo thumbnails ---------------------------------------- */

.bmp-thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.bmp-thumb { width: 76px; height: 76px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; background: var(--photo-bg); cursor: pointer; }
.bmp-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bmp-thumb.is-active { border-color: var(--surface-dark); }
.bmp-thumb:hover { border-color: var(--line-strong); }

/* ---- Offers and donated items ------------------------------------------- */

.bmp-offer { max-width: 760px; margin: 0 auto; padding: 36px 24px 72px; }
.bmp-offer__lede { margin: 6px 0 22px; color: var(--muted); font-size: 1.05rem; max-width: 60ch; }
.bmp-ed--single { display: block; }
.bmp-ed--single .bmp-ed__card + .bmp-ed__card { margin-top: 18px; }
.bmp-ed textarea, .bmp-ed__ta { width: 100%; font: 500 16px var(--text); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); }
.bmp-ed input[type="datetime-local"] { width: 100%; font: 500 16px var(--text); padding: 11px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.bmp-offer__mine { margin-top: 40px; }
body.bmp-shell .bmp-offer__mine h2, body.bmp-shell .bmp-mg__h2 { font: 700 1.25rem var(--display); margin: 28px 0 12px; }
.bmp-mg__badge { display: inline-block; min-width: 20px; padding: 1px 7px; margin-left: 4px; border-radius: 999px; background: var(--action); color: var(--on-action); font: 700 12px var(--text); text-align: center; }
.bmp-mg__tabs a.is-active .bmp-mg__badge { background: #fff; }
.bmp-mg__row--donated { grid-template-columns: minmax(0, 2.6fr) 110px 150px 140px; }
.bmp-mg__choose { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; max-width: 820px; }
.bmp-mg__pick { display: block; padding: 26px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; text-decoration: none; }
.bmp-mg__pick:hover { border-color: var(--ink); }
.bmp-mg__pick strong { display: block; font: 700 1.2rem var(--display); margin-bottom: 6px; }
.bmp-mg__pick span { color: var(--muted); font-size: 15px; }
.bmp-ed__seller { border-color: var(--gold-500); background: var(--gold-100); }
.bmp-ed__link { display: block; margin: 12px auto 0; background: none; border: 0; padding: 4px; font: 600 14px var(--text); color: var(--muted); text-decoration: underline; cursor: pointer; }
@media (max-width: 960px) { .bmp-mg__row--donated { grid-template-columns: 1fr 1fr; } .bmp-mg__choose { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .bmp-offer { padding: 24px 16px 56px; } }
.bmp-ed--single .bmp-btn--lg { margin-top: 18px; }

/* ---- Pop-up ---------------------------------------------------------------- */

body.bmp-modal-open { overflow: hidden; }
.bmp-modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(6, 46, 25, .62); }
.bmp-modal.is-open { display: flex; }
.bmp-modal__box { width: 100%; max-width: 460px; padding: 32px 30px 26px; background: #fff; border-radius: 16px; box-shadow: 0 24px 60px rgba(0, 0, 0, .28); text-align: center; animation: bmp-pop .18s ease-out; }
.bmp-modal__icon { display: inline-grid; place-items: center; width: 56px; height: 56px; margin-bottom: 14px; border-radius: 50%; background: var(--green-100); color: var(--success); }
body.bmp-shell .bmp-modal__box h2 { font: 700 1.5rem/1.15 var(--display); letter-spacing: -.02em; margin: 0 0 10px; }
.bmp-modal__box p { margin: 0 0 22px; color: var(--ink-soft); font-size: 1.02rem; line-height: 1.55; }
.bmp-modal__acts { display: flex; flex-direction: column; gap: 10px; }
@keyframes bmp-pop { from { transform: translateY(8px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .bmp-modal__box { animation: none; } }

/* ---- Cart ------------------------------------------------------------------ */

.bmp-cartpage { max-width: 1040px; margin: 0 auto; padding: 36px 24px 72px; }
.bmp-cart { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.bmp-cart__lines { list-style: none; margin: 0; padding: 0; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.bmp-cart__line { display: grid; grid-template-columns: 64px minmax(0, 1fr) 150px auto; gap: 14px; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.bmp-cart__line:last-child { border-bottom: 0; }
.bmp-cart__thumb { width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--photo-bg); }
.bmp-cart__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bmp-cart__title { display: block; font: 600 1rem/1.25 var(--display); text-decoration: none; }
.bmp-cart__title:hover { text-decoration: underline; }
.bmp-cart__meta { display: block; margin-top: 3px; font-size: 13px; color: var(--muted); }
.bmp-cart__amt { position: relative; }
.bmp-cart__cur { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 600; }
.bmp-cart__amt input { width: 100%; font: 700 1.05rem var(--text); padding: 11px 12px 11px 26px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; font-variant-numeric: tabular-nums; }
.bmp-cart__amt input:focus { outline: 2px solid var(--focus); border-color: transparent; }
.bmp-cart__remove { background: none; border: 0; padding: 6px; font: 600 14px var(--text); color: var(--muted); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.bmp-cart__remove:hover { color: var(--red-700); }
.bmp-cart__sum { position: sticky; top: 122px; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.bmp-cart__total { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 14px; font-size: 15px; color: var(--muted); }
.bmp-cart__total strong { font: 700 1.9rem/1 var(--display); letter-spacing: -.02em; color: var(--ink); }
.bmp-cart__sum label:not(.bmp-check) { display: block; margin: 12px 0 6px; font-size: 14px; font-weight: 600; }
.bmp-cart__sum input[type="email"] { width: 100%; font: 500 16px var(--text); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; }
.bmp-cart__sum .bmp-btn--block { margin-top: 12px; }
.bmp-give__email { margin-bottom: 12px; }
.bmp-give__email[hidden] { display: none; }
.bmp-give__email label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 600; }
.bmp-give__email input { width: 100%; font: 500 16px var(--text); padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 10px; }
.bmp-give .bmp-btn--block + .bmp-btn--block { margin-top: 10px; }
.bmp-fund__held { margin: 18px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--gold-100); color: var(--gold-800); font-size: 15px; line-height: 1.5; }

.bmp-cartlink { position: relative; }
.bmp-cartlink__n { display: inline-block; min-width: 20px; margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--action); color: var(--on-action); font: 700 12px/1.5 var(--text); text-align: center; }
.bmp-cartlink__n[hidden] { display: none; }
.bmp-method__note { margin: 10px 0 0 !important; padding: 10px 12px; border-radius: 8px; background: var(--gold-100); color: var(--gold-800); font-size: 14px !important; }
.bmp-pay__lines ul { list-style: none; margin: 6px 0 0; padding: 0; }
.bmp-pay__lines li { display: flex; justify-content: space-between; gap: 14px; padding: 5px 0; font-size: 15px; }
.bmp-pay__lines li a { text-decoration: none; font-weight: 600; }
.bmp-pay__lines li span { font-variant-numeric: tabular-nums; color: var(--muted); }

@media (max-width: 900px) {
	.bmp-cart { grid-template-columns: 1fr; }
	.bmp-cart__sum { position: static; }
	.bmp-cart__line { grid-template-columns: 56px minmax(0, 1fr); }
	.bmp-cart__amt { grid-column: 2; }
	.bmp-cart__remove { grid-column: 2; justify-self: start; padding-left: 0; }
}
@media (max-width: 720px) { .bmp-cartpage { padding: 24px 16px 56px; } }

/* ---- Privacy policy and other plain pages ---------------------------------- */

.bmp-legal { max-width: 760px; margin: 0 auto; padding: 44px 24px 88px; }
body.bmp-shell .bmp-legal h1 { font: 700 clamp(2rem, 4vw, 2.8rem)/1.05 var(--display); letter-spacing: -.03em; margin: 0 0 14px; }
body.bmp-shell .bmp-legal h2 { font: 700 1.4rem/1.2 var(--display); letter-spacing: -.015em; margin: 38px 0 10px; }
body.bmp-shell .bmp-legal h3 { font: 700 1.05rem var(--display); margin: 24px 0 6px; }
.bmp-legal p, .bmp-legal li { line-height: 1.7; color: var(--ink-soft); font-size: 1.02rem; }
.bmp-legal ul { padding-left: 22px; margin: 8px 0 14px; }
.bmp-legal li { margin: 5px 0; }
.bmp-legal a { color: var(--success); text-underline-offset: 3px; }
.bmp-mg__method { font: 500 13.5px var(--text); padding: 6px 8px; border: 1px solid var(--line-strong); border-radius: 999px; background: #fff; max-width: 130px; }
.bmp-btn--danger { color: var(--red-700); }
.bmp-mg__acts form { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }


/* =========================================================================
   Redesign: warm, welcoming, a little ornamental
   ========================================================================= */

body.bmp-shell {
	--bg: #FAF7F0;
	--line: #E9E2D3;
	--line-strong: #D5CCB8;
	--hover: #F4EFE3;
	--track: #EDE7D9;
	--photo-bg: #EFE9DB;
	--muted: #636557;
	--ink-soft: #30362D;
	--cream: #FFF8E7;
	--shadow-1: 0 1px 2px rgba(40, 34, 12, .05), 0 6px 18px rgba(40, 34, 12, .07);
	--shadow-2: 0 2px 6px rgba(40, 34, 12, .06), 0 20px 44px rgba(40, 34, 12, .13);
	--r-md: 18px;
	--r-lg: 26px;
	--pattern: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='88' viewBox='0 0 88 88'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.075' stroke-width='1.3'%3E%3Crect x='22' y='22' width='44' height='44'/%3E%3Crect x='22' y='22' width='44' height='44' transform='rotate(45 44 44)'/%3E%3Ccircle cx='44' cy='44' r='10'/%3E%3Cpath d='M0 0l22 22M88 0L66 22M0 88l22-22M88 88L66 66'/%3E%3C/g%3E%3C/svg%3E");
	background: var(--bg);
}

/* ---- Header ---- */
.bmp-head { background: rgba(255, 255, 255, .94); border-bottom: 1px solid var(--line); box-shadow: 0 10px 30px rgba(40, 34, 12, .05); }
.bmp-head__bar { min-height: 90px; }
.bmp-brand__logo { height: 70px; }
.bmp-search input { background: var(--hover); }
.bmp-nav a:not(.bmp-btn):hover { background: var(--hover); }
.bmp-nav__top, .bmp-search--drawer, .bmp-scrim { display: none; }

/* ---- Buttons ---- */
body.bmp-shell .bmp-btn { transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .2s; }
body.bmp-shell .bmp-btn--gold { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 8px 20px rgba(248, 167, 0, .28); }
body.bmp-shell .bmp-btn--gold:hover { transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 12px 26px rgba(248, 167, 0, .36); }
body.bmp-shell .bmp-btn--quiet { box-shadow: var(--shadow-1); }
body.bmp-shell .bmp-btn--quiet:hover { transform: translateY(-1px); }

/* ---- Hero ---- */
.bmp-hero {
	position: relative; overflow: hidden;
	background:
		radial-gradient(900px 480px at 88% -8%, rgba(30, 140, 80, .55) 0%, rgba(30, 140, 80, 0) 62%),
		radial-gradient(700px 420px at -6% 110%, rgba(248, 167, 0, .16) 0%, rgba(248, 167, 0, 0) 60%),
		linear-gradient(165deg, #08401F 0%, #062E19 52%, #041F11 100%);
}
.bmp-hero::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 88px 88px; -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .15) 100%); mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .15) 100%); pointer-events: none; }
.bmp-hero__inner { position: relative; padding: 78px 24px 104px; }
.bmp-hero--compact .bmp-hero__inner { padding: 52px 24px 48px; }
.bmp-eyebrow { display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 8px 16px 8px 13px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .18); color: #F6E8BF; font: 600 14.5px var(--text); }
.bmp-eyebrow span { width: 8px; height: 8px; border-radius: 50%; background: var(--action); box-shadow: 0 0 0 4px rgba(248, 167, 0, .28); }
body.bmp-shell .bmp-hero--home h1 { font-size: clamp(2.6rem, 5.4vw, 4.4rem); max-width: 13ch; }
.bmp-hero--home .bmp-hero__lede { font-size: 1.25rem; max-width: 40ch; }
.bmp-hero__stat { margin-top: 34px; max-width: 470px; padding: 20px 22px 18px; border-radius: 20px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.bmp-hero__stat .bmp-hero__progress { margin: 0 0 12px; }
.bmp-hero__stat .bmp-hero__sub { margin: 10px 0 0; }
.bmp-meter--light { background: rgba(255, 255, 255, .17); }
.bmp-meter--light > span { background: linear-gradient(90deg, #FFC24A, var(--action)); }
.bmp-arch { position: relative; max-width: 460px; margin: 0 auto; aspect-ratio: 1 / 1; border-radius: 999px 999px 26px 26px; overflow: hidden; background: #0B4B28; border: 3px solid var(--action); box-shadow: 0 0 0 10px rgba(248, 167, 0, .14), 0 34px 70px rgba(0, 0, 0, .4); }
.bmp-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 42% center; display: block; }
.bmp-hero__art figcaption { margin: 22px auto 0; max-width: 460px; text-align: center; color: var(--on-dark-muted); font-size: 14px; }

/* ---- Trust strip ---- */
.bmp-assure { max-width: 1240px; margin: -48px auto 0; padding: 0 24px; position: relative; z-index: 3; }
.bmp-assure ul { list-style: none; margin: 0; padding: 26px 30px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; background: #fff; border-radius: var(--r-lg); box-shadow: var(--shadow-2); }
.bmp-assure li { display: flex; gap: 15px; align-items: flex-start; }
.bmp-assure__ic { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; background: var(--green-100); color: var(--success); }
.bmp-assure strong { display: block; font: 700 1.05rem/1.25 var(--display); margin-bottom: 3px; }
.bmp-assure li span:not(.bmp-assure__ic) { display: block; color: var(--muted); font-size: 14.5px; line-height: 1.45; }

/* ---- Sections ---- */
.bmp-sec { padding: 88px 24px 8px; }
.bmp-sec__head { margin-bottom: 34px; }
.bmp-sec__head::before { content: ""; display: block; width: 48px; height: 4px; margin-bottom: 18px; border-radius: 4px; background: var(--action); }
.bmp-sec__head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.bmp-sec__head p { font-size: 1.08rem; }
.bmp-sec--band { background: #fff; border-block: 0; box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); margin-top: 88px; padding-top: 72px; padding-bottom: 76px; }

/* ---- Cards ---- */
.bmp-grid { gap: 24px; }
.bmp-card { border: 0; border-radius: var(--r-md); box-shadow: var(--shadow-1); overflow: hidden; transition: transform .22s ease, box-shadow .22s ease; }
.bmp-card:hover { border: 0; transform: translateY(-5px); box-shadow: var(--shadow-2); }
.bmp-card__media img { transition: transform .6s ease; }
.bmp-card:hover .bmp-card__media img { transform: scale(1.05); }
.bmp-card__body { padding: 20px 20px 8px; }
.bmp-card__cat { color: var(--success); font-weight: 600; }
.bmp-card__cta { margin: 14px 20px 20px; }
.bmp-meter { height: 10px; }
.bmp-meter > span { background: linear-gradient(90deg, var(--green-600), var(--green-500)); }
.bmp-card__flag { box-shadow: 0 4px 12px rgba(0, 0, 0, .18); }

/* ---- Shop ---- */
.bmp-rail__link { border-radius: 12px; }
.bmp-rail__link.is-active { background: var(--surface-dark); }
.bmp-item__media, .bmp-render img { border-radius: var(--r-md); }
.bmp-item__media { border: 0; box-shadow: var(--shadow-1); }
.bmp-buy { border: 0; border-radius: var(--r-lg); box-shadow: var(--shadow-2); padding: 30px; }

/* ---- Areas, steps, questions ---- */
.bmp-areas { gap: 14px; }
.bmp-area { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; box-shadow: var(--shadow-1); transition: transform .2s ease, box-shadow .2s ease, border-color .2s; }
.bmp-area:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-2); border-color: var(--green-200); }
.bmp-area span { color: var(--success); font-weight: 600; }
.bmp-steps { gap: 22px; }
.bmp-steps li { padding: 30px 26px 28px; background: #fff; border-radius: var(--r-md); box-shadow: var(--shadow-1); font-size: 1.03rem; line-height: 1.55; }
.bmp-steps li::before { position: static; margin-bottom: 18px; width: 48px; height: 48px; background: var(--action); color: var(--ink); font-size: 20px; box-shadow: 0 8px 18px rgba(248, 167, 0, .3); }
.bmp-faq details { background: #fff; border: 1px solid var(--line); border-radius: 16px; margin: 0 0 12px; padding: 4px 22px; box-shadow: var(--shadow-1); }
.bmp-faq details[open] { border-color: var(--green-200); }
.bmp-faq summary { padding: 16px 0; }

/* ---- Watch the building fill in ---- */
.bmp-watch { padding-top: 88px; }
.bmp-watch__card {
	position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center;
	padding: 56px 56px 52px; border-radius: 32px; color: #fff;
	background: radial-gradient(700px 400px at 100% 0%, rgba(30, 140, 80, .5) 0%, rgba(30, 140, 80, 0) 60%), linear-gradient(160deg, #08401F 0%, #062E19 60%, #041F11 100%);
	box-shadow: var(--shadow-2);
}
.bmp-watch__card::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 88px 88px; opacity: .8; pointer-events: none; }
.bmp-watch__copy, .bmp-watch__art { position: relative; }
body.bmp-shell .bmp-watch__copy h2 { color: #fff; font: 700 clamp(1.9rem, 3.4vw, 2.7rem)/1.08 var(--display); letter-spacing: -.025em; margin: 0 0 14px; }
.bmp-watch__copy p { margin: 0 0 26px; color: var(--on-dark-soft); font-size: 1.1rem; line-height: 1.55; max-width: 40ch; }
.bmp-watch__art .bmp-mosaic { max-width: 440px; }

/* ---- Call to action ---- */
.bmp-cta { position: relative; overflow: hidden; margin-top: 96px; padding: 84px 24px 88px; background: radial-gradient(800px 380px at 50% -20%, rgba(30, 140, 80, .5) 0%, rgba(30, 140, 80, 0) 65%), linear-gradient(165deg, #08401F 0%, #062E19 60%, #041F11 100%); }
.bmp-cta::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 88px 88px; opacity: .8; pointer-events: none; }
.bmp-cta > * { position: relative; }

/* ---- Footer ---- */
.bmp-foot { position: relative; overflow: hidden; margin-top: 0; background: linear-gradient(180deg, #062E19 0%, #041F11 100%); color: #A9C7B3; }
.bmp-foot::before { content: ""; position: absolute; inset: 0; background-image: var(--pattern); background-size: 88px 88px; opacity: .6; pointer-events: none; }
.bmp-foot__inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 64px 24px 36px; display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 40px; }
.bmp-foot__logo { display: inline-block; margin-bottom: 16px; padding: 6px; border-radius: 18px; background: #fff; }
.bmp-foot__logo img { display: block; width: 76px; height: 76px; }
.bmp-foot p { margin: 0 0 10px; font-size: 14.5px; line-height: 1.6; max-width: 44ch; }
.bmp-foot p a { color: #E7F2EA; }
.bmp-foot__col h3 { margin: 4px 0 14px; font: 700 1rem var(--display); color: #fff; }
body.bmp-shell .bmp-foot__col h3 { margin: 4px 0 14px; }
.bmp-foot__col a { display: block; padding: 5px 0; color: #D5E6DA; text-decoration: none; font-size: 15px; }
.bmp-foot__col a:hover { color: var(--action); }
.bmp-foot__legal { position: relative; max-width: 1240px; margin: 0 auto; padding: 22px 24px 34px; border-top: 1px solid rgba(255, 255, 255, .12); }
.bmp-foot__legal p { margin: 0; font-size: 13.5px; color: #8FB09B; max-width: none; }

/* ---- Cards used elsewhere pick up the same softness ---- */
.bmp-ed__card, .bmp-method, .bmp-pay__summary, .bmp-cart__lines, .bmp-cart__sum, .bmp-assure ul, .bmp-mg__list { border-radius: var(--r-md); }
.bmp-ed__card, .bmp-method, .bmp-pay__summary, .bmp-cart__lines, .bmp-cart__sum, .bmp-mg__list { border-color: transparent; box-shadow: var(--shadow-1); }

/* ---- Tall side panels scroll instead of getting cut off ---- */
@media (min-width: 901px) {
	.bmp-item__side, .bmp-rail, .bmp-ed__side, .bmp-cart__sum {
		top: 112px; max-height: calc(100vh - 130px); overflow-y: auto; overscroll-behavior: contain;
		padding: 4px 8px 18px; margin: -4px -8px 0;
		scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent;
	}
	body.admin-bar .bmp-item__side, body.admin-bar .bmp-rail, body.admin-bar .bmp-ed__side, body.admin-bar .bmp-cart__sum { top: 144px; max-height: calc(100vh - 162px); }
	.bmp-item__side::-webkit-scrollbar, .bmp-rail::-webkit-scrollbar, .bmp-ed__side::-webkit-scrollbar, .bmp-cart__sum::-webkit-scrollbar { width: 8px; }
	.bmp-item__side::-webkit-scrollbar-thumb, .bmp-rail::-webkit-scrollbar-thumb, .bmp-ed__side::-webkit-scrollbar-thumb, .bmp-cart__sum::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 8px; }
}

/* ---- Phones and tablets: a drawer menu that scrolls ---- */
body.bmp-nav-open { overflow: hidden; }
@media (max-width: 900px) {
	.bmp-head { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; }
	.bmp-head__bar { min-height: 70px; gap: 12px; flex-wrap: nowrap; }
	.bmp-brand__logo { height: 54px; }
	.bmp-head__bar > .bmp-search { display: none; }
	.bmp-menu { display: grid; order: 0; }
	.bmp-nav {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 70; width: min(88vw, 360px);
		display: flex; flex-direction: column; align-items: stretch; gap: 2px; margin: 0; padding: 0 12px 32px; order: 0; flex: none; border: 0;
		background: #fff; box-shadow: -24px 0 60px rgba(0, 0, 0, .28);
		overflow-y: auto; -webkit-overflow-scrolling: touch; overscroll-behavior: contain;
		transform: translateX(105%); visibility: hidden; transition: transform .26s ease, visibility .26s;
	}
	body.admin-bar .bmp-nav { top: 46px; }
	.bmp-head.is-open .bmp-nav { transform: none; visibility: visible; }
	.bmp-nav__top { display: flex; align-items: center; justify-content: space-between; position: sticky; top: 0; z-index: 1; margin: 0 -12px 6px; padding: 16px 16px 14px 24px; background: #fff; border-bottom: 1px solid var(--line); font: 700 1.15rem var(--display); }
	.bmp-nav__close { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
	.bmp-search--drawer { display: flex; order: 0; flex: none; width: auto; margin: 10px 4px 12px; max-width: none; }
	.bmp-search--drawer input { height: 48px; padding-top: 0; padding-bottom: 0; }
	.bmp-search--drawer button { top: 7px; }
	.bmp-nav a:not(.bmp-btn) { padding: 15px 14px; border-radius: 12px; font-size: 16.5px; }
	.bmp-nav .bmp-btn { margin: 10px 4px 0; }
	.bmp-scrim { display: block; position: fixed; inset: 0; z-index: 65; background: rgba(6, 46, 25, .55); opacity: 0; visibility: hidden; transition: opacity .26s, visibility .26s; }
	.bmp-head.is-open .bmp-scrim { opacity: 1; visibility: visible; }

	.bmp-hero__inner { padding: 52px 22px 84px; grid-template-columns: 1fr; gap: 40px; }
	.bmp-hero--home h1 { max-width: none; }
	.bmp-arch { max-width: 340px; }
	.bmp-assure { margin-top: -40px; }
	.bmp-assure ul { grid-template-columns: 1fr; gap: 20px; padding: 24px; }
	.bmp-watch__card { grid-template-columns: 1fr; padding: 40px 28px; gap: 28px; border-radius: 26px; }
	.bmp-foot__inner { grid-template-columns: 1fr 1fr; gap: 32px; padding-top: 52px; }
	.bmp-foot__about { grid-column: 1 / -1; }
	.bmp-sec { padding-top: 64px; }
}
@media (max-width: 560px) {
	.bmp-foot__inner { grid-template-columns: 1fr; }
	.bmp-hero__stat { padding: 16px 18px; }
}
@media (prefers-reduced-motion: reduce) {
	.bmp-card, .bmp-card__media img, .bmp-area, body.bmp-shell .bmp-btn, .bmp-nav, .bmp-scrim { transition: none; }
	.bmp-card:hover, .bmp-area:hover, body.bmp-shell .bmp-btn--gold:hover { transform: none; }
}
