/* Buzz Moving Tools. Palette from the Buzz Movers site: #231F20, #000000, #F4BC1C, #FFFFFF */
.bmt {
	--bmt-dark: #231F20;
	--bmt-black: #000000;
	--bmt-yellow: #F4BC1C;
	--bmt-white: #FFFFFF;
	--bmt-line: #E4E2E0;
	--bmt-soft: #F6F5F4;
	--bmt-muted: #5C5859;
	--bmt-error: #B3261E;
	font-family: inherit;
	color: var(--bmt-black);
	line-height: 1.5;
	display: grid;
	gap: 24px;
	margin: 0 auto;
	max-width: 1180px;
}
.bmt *, .bmt *::before, .bmt *::after { box-sizing: border-box; }
.bmt [hidden] { display: none !important; }
.bmt-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bmt-title { font-weight: 700; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); line-height: 1.2; margin: 0 0 8px; color: var(--bmt-black); }
.bmt-lead { margin: 0 0 20px; color: var(--bmt-muted); max-width: 60ch; }

/* inputs and buttons */
.bmt-input {
	width: 100%; font: inherit; font-size: 16px; padding: 12px 14px;
	border: 1px solid var(--bmt-line); border-radius: 10px; background: var(--bmt-white); color: var(--bmt-black);
}
.bmt-input:focus { outline: none; border-color: var(--bmt-dark); box-shadow: 0 0 0 3px rgba(244, 188, 28, .45); }
.bmt-input.is-invalid { border-color: var(--bmt-error); }
.bmt-btn {
	display: inline-flex; align-items: center; justify-content: center; width: 100%;
	font: inherit; font-weight: 700; font-size: 1rem; padding: 14px 20px; min-height: 48px;
	border-radius: 10px; border: 2px solid transparent; cursor: pointer; text-decoration: none; text-align: center;
}
.bmt-btn--primary { background: var(--bmt-yellow); color: var(--bmt-black); }
.bmt-btn--primary:hover { background: #E2AA0C; color: var(--bmt-black); }
.bmt-btn--primary:disabled { background: #6B6768; color: #CFCBCC; cursor: not-allowed; }
.bmt-btn--ghost { background: transparent; color: var(--bmt-white); border-color: rgba(255,255,255,.35); margin-top: 8px; }
.bmt-btn--ghost:hover { border-color: var(--bmt-white); color: var(--bmt-white); }
.bmt-btn:focus-visible, .bmt-step__btn:focus-visible, .bmt-room__head:focus-visible, .bmt-opt input:focus-visible + span { outline: 3px solid var(--bmt-yellow); outline-offset: 2px; }
.bmt-link { color: var(--bmt-yellow); font-weight: 700; }

/* ---------- Volume calculator ---------- */
.bmt-search { margin-bottom: 16px; position: sticky; top: 0; z-index: 3; background: var(--bmt-white); padding: 8px 0; }
.bmt-rooms { display: grid; gap: 10px; }
.bmt-room { border: 1px solid var(--bmt-line); border-radius: 20px; background: var(--bmt-white); overflow: hidden; }
.bmt-room__head {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	padding: 16px 20px; cursor: pointer; list-style: none;
}
.bmt-room__head::-webkit-details-marker { display: none; }
.bmt-room__head::after {
	content: ""; width: 10px; height: 10px; flex: none; margin-left: 4px;
	border-right: 2px solid var(--bmt-black); border-bottom: 2px solid var(--bmt-black);
	transform: rotate(45deg) translateY(-3px); transition: transform .2s;
}
.bmt-room[open] > .bmt-room__head::after { transform: rotate(-135deg) translateY(-3px); }
.bmt-room__name { margin: 0; font-size: 1.05rem; font-weight: 700; flex: 1; color: var(--bmt-black); }
.bmt-room__total { font-size: .875rem; color: var(--bmt-muted); white-space: nowrap; }
.bmt-room.has-items .bmt-room__total { color: var(--bmt-black); font-weight: 700; }
.bmt-items { list-style: none; margin: 0; padding: 0 8px 8px; }
.bmt-item {
	display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name step" "vol step";
	align-items: center; column-gap: 12px; padding: 10px 12px; border-radius: 12px;
}
.bmt-item + .bmt-item { border-top: 1px solid var(--bmt-soft); }
.bmt-item.is-picked { background: var(--bmt-soft); }
.bmt-item__name { grid-area: name; font-size: .95rem; }
.bmt-item__vol { grid-area: vol; font-size: .8rem; color: var(--bmt-muted); }
.bmt-step { grid-area: step; display: inline-flex; align-items: center; gap: 4px; }
.bmt-step__btn {
	width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--bmt-line);
	background: var(--bmt-white); color: var(--bmt-black); font-size: 1.25rem; line-height: 1; cursor: pointer;
}
.bmt-item.is-picked .bmt-step__btn[data-step="1"] { background: var(--bmt-yellow); border-color: var(--bmt-yellow); }
.bmt-step__qty {
	width: 44px; text-align: center; font: inherit; font-weight: 700; font-size: 16px;
	border: 0; background: transparent; -moz-appearance: textfield; appearance: textfield;
}
.bmt-step__qty::-webkit-outer-spin-button, .bmt-step__qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.bmt-empty { padding: 16px 0; color: var(--bmt-muted); }
.bmt-disclaimer { font-size: .8rem; line-height: 1.45; color: var(--bmt-muted); margin: 16px 0 0; }

/* summary: sticky bar on mobile */
.bmt-summary {
	position: sticky; bottom: 0; z-index: 5;
	background: var(--bmt-dark); color: var(--bmt-white);
	border-radius: 20px 20px 0 0; padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
}
.bmt-summary.is-expanded { position: static; border-radius: 20px; }
.bmt-summary__inner { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; align-items: center; }
.bmt-summary__label { margin: 0; font-size: .8rem; color: #CFCBCC; grid-column: 1; }
.bmt-summary__value { margin: 0; font-size: 1.75rem; font-weight: 700; line-height: 1.1; color: var(--bmt-yellow); grid-column: 1; }
.bmt-summary__meta { margin: 0; font-size: .85rem; color: #CFCBCC; grid-column: 1; }
.bmt-summary__truck { margin: 4px 0 0; font-weight: 700; grid-column: 1; }
.bmt-summary__inner .bmt-btn--primary { grid-column: 2; grid-row: 1 / span 3; width: auto; padding: 12px 16px; font-size: .9rem; }
.bmt-summary__inner .bmt-btn--ghost { display: none; }
.bmt-summary__value { white-space: nowrap; }
.bmt-gate__sum { margin: 0; font-weight: 700; color: var(--bmt-yellow); }
.bmt-disclaimer--side { display: none; }

.bmt-gate, .bmt-done { display: grid; gap: 14px; }
.bmt-gate__intro { margin: 0; color: #E8E6E6; }
.bmt-field { display: grid; gap: 6px; }
.bmt-field label { font-size: .875rem; font-weight: 700; color: var(--bmt-white); }
.bmt-field-row { display: grid; gap: 14px; }
.bmt-hp { position: absolute; left: -9999px; }
.bmt-consent { display: flex; gap: 10px; align-items: flex-start; font-size: .85rem; color: #E8E6E6; }
.bmt-consent input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--bmt-yellow); }
.bmt-consent a { color: var(--bmt-yellow); }
.bmt-error { margin: 0; padding: 10px 14px; border-radius: 10px; background: #FCE8E6; color: var(--bmt-error); font-size: .875rem; }
.bmt-done__head { margin: 0; font-weight: 700; font-size: 1.1rem; }
.bmt-done__rooms { list-style: none; margin: 0; padding: 0; }
.bmt-done__rooms li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: .95rem; }
.bmt-done__rec p { margin: 0 0 6px; color: #E8E6E6; }
.bmt-noscript { padding: 16px; background: var(--bmt-soft); border-radius: 12px; }

/* ---------- Truck vs shared ---------- */
.bmt-tvs__form { display: grid; gap: 18px; }
.bmt-q { border: 0; margin: 0; padding: 0; min-width: 0; }
.bmt-q__legend { display: flex; gap: 12px; align-items: baseline; font-weight: 700; font-size: 1.05rem; margin-bottom: 10px; padding: 0; }
.bmt-q__num {
	flex: none; width: 30px; height: 30px; border-radius: 50%; display: inline-grid; place-items: center;
	background: var(--bmt-dark); color: var(--bmt-yellow); font-size: .9rem;
}
.bmt-q__opts { display: grid; gap: 8px; }
.bmt-opt { position: relative; display: block; cursor: pointer; }
.bmt-opt input { position: absolute; opacity: 0; }
.bmt-opt span {
	display: block; padding: 14px 16px; border: 1px solid var(--bmt-line); border-radius: 12px;
	background: var(--bmt-white); font-size: .95rem;
}
.bmt-opt input:checked + span { background: var(--bmt-dark); border-color: var(--bmt-dark); color: var(--bmt-white); }
.bmt-tvs__result { background: var(--bmt-dark); color: var(--bmt-white); border-radius: 20px; padding: 24px 20px; }
.bmt-tvs__placeholder { margin: 0; color: #CFCBCC; }
.bmt-tvs__pick { margin: 4px 0 12px; font-size: 1.5rem; font-weight: 700; line-height: 1.2; color: var(--bmt-yellow); }
.bmt-tvs__why { margin: 0 0 18px; padding-left: 18px; display: grid; gap: 6px; color: #E8E6E6; }
.bmt-tvs__actions { display: grid; gap: 8px; }
.bmt-tvs__explain h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 6px; color: var(--bmt-black); }
.bmt-tvs__explain p { margin: 0 0 16px; max-width: 70ch; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
	.bmt-field-row { grid-template-columns: 1fr 1fr; }
	.bmt-q__opts { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
	.bmt-tvs__actions { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
	.bmt-volume { grid-template-columns: minmax(0, 1fr) 360px; align-items: start; gap: 32px; }
	.bmt-summary { position: sticky; top: 24px; bottom: auto; border-radius: 20px; padding: 28px 24px; }
	.bmt-summary.is-expanded { position: sticky; }
	.bmt-summary__inner { display: block; }
	.bmt-summary__value { font-size: 3rem; margin: 4px 0; }
	.bmt-summary__inner .bmt-btn--primary { width: 100%; margin-top: 20px; padding: 14px 20px; font-size: 1rem; }
	.bmt-summary__inner .bmt-btn--ghost { display: flex; }
	.bmt-tvs__actions { grid-template-columns: 1fr; }
	.bmt-disclaimer--side { display: block; color: #CFCBCC; }
	.bmt-disclaimer--main { display: none; }
	.bmt-tvs { grid-template-columns: minmax(0, 1fr) 380px; column-gap: 32px; align-items: start; }
	.bmt-tvs > .bmt-title, .bmt-tvs > .bmt-lead, .bmt-tvs__explain { grid-column: 1 / -1; }
	.bmt-tvs__result { position: sticky; top: 24px; padding: 28px 24px; }
	.bmt-item { grid-template-columns: 1fr 90px auto; grid-template-areas: "name vol step"; }
}
@media (prefers-reduced-motion: reduce) { .bmt * { transition: none !important; } }
