/* Interior Design Planner — front-end + admin styles
 * Palette: Navy #071b3a, Deep Navy #020d24, Gold #c99a4a, Soft Gold #f2eadc,
 * Off-white #fbfaf7, Border #e7e3da, Muted #667085, Success #2f7d46.
 * Mobile-first: layouts stack by default and expand at >= 640px.
 */

.hdp {
	--hdp-navy: #071b3a;
	--hdp-navy-deep: #020d24;
	--hdp-gold: #c99a4a;
	--hdp-gold-soft: #f2eadc;
	--hdp-bg: #fbfaf7;
	--hdp-border: #e7e3da;
	--hdp-muted: #667085;
	--hdp-success: #2f7d46;
	--hdp-radius: 14px;
	color: var(--hdp-navy);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	max-width: 960px;
	margin: 0 auto;
	line-height: 1.5;
}

.hdp [hidden] { display: none !important; }

.hdp *, .hdp *::before, .hdp *::after { box-sizing: border-box; }

/* Progress bar (endowed progress — always visible during the flow) */
.hdp-progress { margin: 0 0 22px; }
.hdp-progress__bar {
	height: 8px;
	background: var(--hdp-gold-soft);
	border-radius: 999px;
	overflow: hidden;
}
.hdp-progress__fill {
	display: block;
	height: 100%;
	background: linear-gradient(90deg, var(--hdp-gold), #d9b06a);
	border-radius: 999px;
	transition: width .35s ease;
}
.hdp-progress__label {
	margin-top: 8px;
	font-size: 13px;
	color: var(--hdp-muted);
	letter-spacing: .01em;
}

/* Steps */
.hdp-step { display: none; animation: hdp-fade .25s ease; }
.hdp-step.is-active { display: block; }
@keyframes hdp-fade { from { opacity: 0; transform: translateY(6px);} to { opacity: 1; transform: none;} }

.hdp-step__title { font-size: 24px; line-height: 1.25; margin: 0 0 6px; font-weight: 700; }
.hdp-step__sub { color: var(--hdp-muted); margin: 0 0 20px; }

/* Choice cards (image-first, one decision per screen) */
.hdp-cards { display: grid; gap: 14px; grid-template-columns: 1fr; }
.hdp-cards--2 { grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.hdp-cards { grid-template-columns: repeat(3, 1fr); }
	.hdp-cards--2 { grid-template-columns: repeat(2, 1fr); }
}

.hdp-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
	background: #fff;
	border: 2px solid var(--hdp-border);
	border-radius: var(--hdp-radius);
	padding: 18px;
	cursor: pointer;
	transition: border-color .15s ease, box-shadow .15s ease, transform .05s ease;
	font: inherit;
	color: inherit;
	width: 100%;
}
.hdp-card--showroom { padding: 14px; gap: 10px; min-height: 320px; }
.hdp-card:hover { border-color: var(--hdp-gold); box-shadow: 0 6px 18px rgba(7,27,58,.08); }
.hdp-card:active { transform: scale(.995); }
.hdp-card.is-selected { border-color: var(--hdp-navy); box-shadow: 0 0 0 3px var(--hdp-gold-soft); }
.hdp-card__emoji { font-size: 30px; }
.hdp-card__swatch { height: 64px; border-radius: 10px; border: 1px solid var(--hdp-border); }
.hdp-card__title { font-weight: 700; font-size: 16px; }
.hdp-card__desc { color: var(--hdp-muted); font-size: 13px; }
.hdp-card__eyebrow {
	font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
	color: var(--hdp-gold); font-weight: 700;
}
.hdp-card__media {
	height: 120px; border-radius: 10px; background: var(--hdp-gold-soft) center/cover no-repeat;
	display: flex; align-items: center; justify-content: center; color: var(--hdp-gold);
	font-weight: 700; width: 100%; max-width: 100%; flex: 0 0 auto; align-self: stretch; overflow: hidden;
}
.hdp-card__media--hero {
	height: 190px;
	border: 1px solid rgba(255,255,255,.45);
	box-shadow: inset 0 1px 0 rgba(255,255,255,.3);
}
.hdp-card--showroom .hdp-card__title { font-size: 18px; line-height: 1.2; }
.hdp-card--showroom .hdp-card__desc { font-size: 14px; line-height: 1.45; }
.hdp-card__count {
	display: inline-flex; align-items: center; align-self: flex-start; margin-top: auto;
	padding: 5px 9px; border-radius: 999px; background: rgba(7,27,58,.08);
	color: var(--hdp-navy); font-size: 12px; font-weight: 700;
}
.hdp-card.is-unavailable { opacity: .48; filter: grayscale(.45); cursor: not-allowed; }
.hdp-catalog-inline-status {
	display: flex; align-items: center; justify-content: space-between; gap: 12px;
	margin-top: 14px; padding: 11px 13px; border: 1px solid #ead9b5; border-radius: 10px;
	background: #fff8e8; color: #76591f; font-size: 12px;
}
.hdp-roomlock {
	display: inline-flex; align-items: center; margin-bottom: 12px; padding: 7px 11px;
	border-radius: 999px; background: #e6f4ea; color: #216e39; font-size: 13px; font-weight: 800;
}
.hdp-planner-entry {
	display: flex; align-items: center; justify-content: space-between; gap: 16px;
	margin-bottom: 18px; padding: 14px 16px; border: 1px solid var(--hdp-border);
	border-radius: 14px; background: #fff;
}
.hdp-planner-entry strong { display: block; margin-top: 3px; color: var(--hdp-navy); font-size: 15px; }
.hdp-room-actions { display: flex; justify-content: center; margin-top: 24px; }
.hdp-projectbar {
	display: flex; align-items: center; gap: 12px; margin-bottom: 18px; padding: 10px 12px;
	border: 1px solid var(--hdp-border); border-radius: 14px; background: #fff;
	position: sticky; top: 42px; z-index: 20; box-shadow: 0 6px 18px rgba(7,27,58,.06);
}
.hdp-projectbar__home, .hdp-projectbar__add, .hdp-projectbar__save, .hdp-projectbar__dashboard {
	border: 0; background: transparent; color: var(--hdp-navy); font: inherit; font-weight: 800; cursor: pointer;
}
.hdp-projectbar__save { color: #216e39; }
.hdp-projectbar__dashboard { text-decoration: none; }
.hdp-projectbar__name { flex: 1; color: var(--hdp-muted); text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hdp-save-status { color: #216e39; font-size: 12px; font-weight: 800; white-space: nowrap; }
.hdp-save-status.is-error { color: #a32121; }
.hdp-workspace-summary__label { color: var(--hdp-muted); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.hdp-workspace-components { display: flex; flex-wrap: wrap; gap: 8px; }
.hdp-workspace-component {
	border: 1px solid var(--hdp-border); border-radius: 999px; padding: 7px 11px; background: var(--hdp-gold-soft);
	color: var(--hdp-navy); font: inherit; font-size: 13px; font-weight: 700;
}
.hdp-workspace-component.is-empty { background: #f1f3f5; color: var(--hdp-muted); }
@media (max-width: 640px) {
	.hdp-projectbar { top: 8px; flex-wrap: wrap; }
	.hdp-projectbar__name { order: -1; flex-basis: 100%; }
}

/* Buttons */
.hdp-nav { display: flex; align-items: center; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.hdp-btn {
	font: inherit; font-weight: 600; border-radius: 999px; padding: 12px 22px;
	border: 2px solid transparent; cursor: pointer; transition: all .15s ease;
}
.hdp-btn--primary { background: var(--hdp-navy); color: #fff; }
.hdp-btn--primary:hover { background: var(--hdp-navy-deep); }
.hdp-btn--ghost { background: #fff; color: var(--hdp-navy); border-color: var(--hdp-border); }
.hdp-btn--ghost:hover { border-color: var(--hdp-navy); }
.hdp-btn--text { background: none; border: none; color: var(--hdp-muted); padding: 12px 8px; }
.hdp-btn--text:hover { color: var(--hdp-navy); text-decoration: underline; }
.hdp-btn:disabled { opacity: .5; cursor: default; }
.hdp-btn--block { display: block; width: 100%; }

.hdp-fineprint { font-size: 12px; color: var(--hdp-muted); margin-top: 16px; }

/* Inputs */
.hdp-input {
	font: inherit; padding: 11px 14px; border: 2px solid var(--hdp-border);
	border-radius: 10px; width: 100%;
}
.hdp-input:focus { outline: none; border-color: var(--hdp-gold); }
.hdp-input--qty { width: 84px; }

/* Results (cards never dead-end; image-first; honest pricing) */
.hdp-results { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 8px; }
@media (min-width: 640px) { .hdp-results { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .hdp-results { grid-template-columns: repeat(3, 1fr); } }

.hdp-result {
	background: #fff; border: 1px solid var(--hdp-border); border-radius: var(--hdp-radius);
	overflow: hidden; display: flex; flex-direction: column; min-width: 0;
}
.hdp-result__media { height: 150px; background: var(--hdp-gold-soft) center/cover no-repeat; flex: 0 0 auto; }
.hdp-result__body { padding: 14px; display: flex; flex-direction: column; gap: 8px; flex: 1; min-width: 0; }
.hdp-result__brand { font-size: 12px; color: var(--hdp-muted); text-transform: uppercase; letter-spacing: .04em; }
.hdp-result__name { font-weight: 700; font-size: 16px; line-height: 1.18; }
.hdp-result__price { font-weight: 700; line-height: 1.2; }
.hdp-result__price small { color: var(--hdp-muted); font-weight: 400; }
.hdp-result__labels { display: flex; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.hdp-chip {
	font-size: 11px; background: var(--hdp-gold-soft); color: #8a6a28;
	padding: 3px 9px; border-radius: 999px; font-weight: 600;
}
.hdp-result__actions { margin-top: 10px; display: flex; gap: 8px; flex-wrap: wrap; align-items: stretch; }
.hdp-result__actions .hdp-btn,
.hdp-result__actions .hdp-detail { flex: 1 1 180px; min-width: 0; }
.hdp-result__actions--collection { flex-direction: column; align-items: stretch; }
.hdp-result__actions--collection .hdp-btn { width: 100%; }

/* Pills / tables / misc */
.hdp-pill { display: inline-block; background: var(--hdp-gold-soft); color: #8a6a28; border-radius: 999px; padding: 3px 10px; font-size: 12px; font-weight: 600; margin-left: 6px; }
.hdp-table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.hdp-table th, .hdp-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--hdp-border); font-size: 14px; }
.hdp-quickadd { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.hdp-quickadd .hdp-input:first-child { flex: 1; min-width: 220px; }
.hdp-quickadd__msg { margin-top: 10px; min-height: 20px; font-size: 14px; }
.hdp-quickadd__msg.is-error { color: #b3261e; }
.hdp-quickadd__msg.is-ok { color: var(--hdp-success); }
.hdp-actions { margin-top: 18px; }

.hdp-projectlist { display: grid; gap: 16px; }
.hdp-projecttabs {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 2px;
}
.hdp-projecttab {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 180px;
	padding: 14px 18px;
	border: 1px solid var(--hdp-border);
	border-radius: 14px;
	background: #fff;
	color: var(--hdp-muted);
	cursor: pointer;
	text-align: left;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}
.hdp-projecttab:hover {
	transform: translateY(-1px);
	border-color: rgba(201,154,74,.75);
	box-shadow: 0 12px 28px rgba(7,27,58,.08);
}
.hdp-projecttab.is-active {
	background: var(--hdp-navy);
	border-color: var(--hdp-navy);
	color: #fff;
	box-shadow: 0 16px 34px rgba(7,27,58,.16);
}
.hdp-projecttab__eyebrow {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}
.hdp-projecttab strong {
	font-size: 15px;
	line-height: 1.25;
}
.hdp-projectcard { background: #fff; border: 1px solid var(--hdp-border); border-radius: var(--hdp-radius); padding: 18px; }
.hdp-projectcard__head { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.hdp-projectcard__head h3 { margin: 0; font-size: 18px; }
.hdp-projectcard__actions { margin-top: 14px; display: flex; gap: 10px; flex-wrap: wrap; }
.hdp-freight-panel {
	margin-top: 22px;
	padding: clamp(18px, 2.4vw, 30px);
	border: 1px solid var(--hdp-border);
	border-radius: 22px;
	background: linear-gradient(135deg, #fff 0%, #fbf8f1 100%);
	box-shadow: 0 18px 50px rgba(7,27,58,.06);
}
.hdp-freight-panel__head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px;
}
.hdp-freight-panel__head h4 { margin: 5px 0 8px; font-size: clamp(24px, 2.2vw, 36px); color: var(--hdp-navy); }
.hdp-freight-panel__head p { max-width: 760px; margin: 0; color: var(--hdp-muted); line-height: 1.55; }
.hdp-freight-panel__total {
	flex: 0 0 auto;
	min-width: 190px;
	padding: 15px 18px;
	border-radius: 16px;
	background: var(--hdp-navy);
	color: #fff;
	text-align: right;
}
.hdp-freight-panel__total span { display: block; margin-bottom: 3px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.hdp-freight-panel__total strong { display: block; color: inherit; font-size: 25px; }
.hdp-freight-panel__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 16px; }
.hdp-freight-status { color: var(--hdp-muted); font-size: 13px; }
.hdp-freight-results { display: grid; gap: 14px; margin-top: 22px; }
.hdp-freight-shipment {
	padding: 18px;
	border: 1px solid var(--hdp-border);
	border-radius: 18px;
	background: #fff;
}
.hdp-freight-shipment.is-quoted { border-color: rgba(47,125,70,.32); }
.hdp-freight-shipment.needs-attention { border-color: rgba(181,93,18,.36); }
.hdp-freight-shipment > header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 18px;
}
.hdp-freight-shipment h5 { margin: 3px 0; color: var(--hdp-navy); font-size: 21px; }
.hdp-freight-shipment > header p { margin: 0; color: var(--hdp-muted); font-size: 13px; }
.hdp-freight-shipment__amount { color: var(--hdp-navy); font-size: 22px; white-space: nowrap; }
.hdp-freight-shipment__categories { display: flex; gap: 7px; flex-wrap: wrap; margin-top: 12px; }
.hdp-freight-shipment__body { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(240px, .65fr); gap: 24px; margin-top: 16px; }
.hdp-freight-shipment__body h6 { margin: 0 0 8px; color: var(--hdp-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .09em; }
.hdp-freight-products,
.hdp-freight-rates { list-style: none; margin: 0; padding: 0; }
.hdp-freight-products li,
.hdp-freight-rates li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px solid var(--hdp-border); }
.hdp-freight-products li:first-child,
.hdp-freight-rates li:first-child { border-top: 0; }
.hdp-freight-products div { min-width: 0; }
.hdp-freight-products strong,
.hdp-freight-products small { display: block; }
.hdp-freight-products small { margin-top: 2px; color: var(--hdp-muted); }
.hdp-freight-rates li.is-selected { color: var(--hdp-success); }
.hdp-freight-shipment__warning { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #fff5e8; color: #7f430c; font-size: 13px; }
.hdp-freight-issues { padding: 14px 16px; border-radius: 14px; background: #fff5e8; color: #6e3c0f; }
.hdp-freight-issues ul { margin: 8px 0 0 18px; }
.hdp-projectcard__msg { margin-top: 10px; font-size: 14px; color: var(--hdp-muted); }
.hdp-profit-panel {
	margin: 18px 0; padding: 18px; border: 1px solid #d9c79f; border-radius: 14px;
	background: linear-gradient(135deg,#fffdf8,#f8f3e7);
}
.hdp-profit-panel > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.hdp-profit-panel h4 { margin: 3px 0 5px; color: var(--hdp-navy); font-size: 21px; }
.hdp-profit-panel header p { max-width: 700px; margin: 0; color: var(--hdp-muted); font-size: 13px; line-height: 1.5; }
.hdp-profit-panel__summary { min-width: 170px; padding: 12px 15px; border-radius: 11px; background: var(--hdp-navy); color: #fff; text-align: right; }
.hdp-profit-panel__summary span, .hdp-profit-panel__summary strong { display: block; }
.hdp-profit-panel__summary span { color: #cbd6e2; font-size: 11px; }
.hdp-profit-panel__summary strong { margin-top: 4px; font-size: 21px; }
.hdp-profit-groups { display: grid; gap: 9px; margin-top: 16px; }
.hdp-profit-group {
	display: grid; grid-template-columns: minmax(160px,.8fr) minmax(240px,1.4fr) minmax(220px,1fr);
	align-items: center; gap: 18px; padding: 13px 14px; border: 1px solid var(--hdp-border); border-radius: 11px; background: #fff;
}
.hdp-profit-group__name strong, .hdp-profit-group__name span { display: block; }
.hdp-profit-group__name strong { color: var(--hdp-navy); }
.hdp-profit-group__name span { margin-top: 3px; color: var(--hdp-muted); font-size: 12px; }
.hdp-profit-group label > span { display: flex; justify-content: space-between; margin-bottom: 6px; color: var(--hdp-muted); font-size: 12px; font-weight: 700; }
.hdp-profit-group output { color: var(--hdp-navy); font-size: 15px; font-weight: 900; }
.hdp-profit-slider { width: 100%; accent-color: var(--hdp-gold); cursor: pointer; }
.hdp-profit-group__money { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; }
.hdp-profit-group__money span { color: var(--hdp-muted); font-size: 11px; }
.hdp-profit-group__money strong { display: block; margin-top: 3px; color: var(--hdp-navy); font-size: 14px; }
.hdp-profit-panel__actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.hdp-profit-panel__actions [role="status"] { color: var(--hdp-muted); font-size: 12px; }
.hdp-cart-review { margin-top: 16px; padding: 17px; border: 1px solid #b9c6d5; border-radius: 14px; background: #fff; }
.hdp-cart-review > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.hdp-cart-review h4 { margin: 3px 0 0; color: var(--hdp-navy); font-size: 21px; }
.hdp-cart-review h5 { margin: 17px 0 7px; color: var(--hdp-navy); font-size: 14px; }
.hdp-cart-review ul { margin: 0; padding: 0; border: 1px solid var(--hdp-border); border-radius: 10px; list-style: none; }
.hdp-cart-review li { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 10px 12px; border-bottom: 1px solid var(--hdp-border); }
.hdp-cart-review li:last-child { border-bottom: 0; }
.hdp-cart-review li div strong, .hdp-cart-review li div small { display: block; }
.hdp-cart-review li div small { margin-top: 3px; color: var(--hdp-muted); }
.hdp-cart-review li > span, .hdp-cart-review li > strong { flex: 0 1 44%; text-align: right; font-size: 12px; }
.hdp-cart-review__notice { padding: 10px 12px; border-radius: 9px; background: #fff5df; color: #75531a; font-size: 13px; font-weight: 700; }
.hdp-cart-review__changed { color: #8a4b16; }
.hdp-cart-review__blocked { border-color: #efd3d3 !important; }
.hdp-cart-review__blocked li > span { color: #8c2f2f; }
.hdp-cart-review__actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 14px; }
.hdp-cart-review__actions [role="status"] { color: var(--hdp-muted); font-size: 12px; }
.hdp-cart-room-link { margin-top: 8px; max-width: 520px; font-size: 13px; }
.hdp-cart-room-link__open {
	padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent;
	color: var(--hdp-navy); font: inherit; font-weight: 800; cursor: pointer;
}
.hdp-cart-room-link__open:hover { color: var(--hdp-gold); }
.hdp-cart-room-link__open:disabled { opacity: .6; cursor: wait; }
.hdp-cart-room-link__current { display: inline-block; margin-left: 9px; color: var(--hdp-success); font-size: 12px; font-weight: 700; }
.hdp-cart-room-link__picker {
	margin-top: 10px; padding: 13px; border: 1px solid var(--hdp-border); border-radius: 10px; background: #f8fafc;
}
.hdp-cart-room-link__picker[hidden] { display: none; }
.hdp-cart-room-link__picker label { display: block; color: var(--hdp-muted); font-size: 12px; font-weight: 800; }
.hdp-cart-room-link__picker .hdp-input { width: 100%; margin-top: 5px; }
.hdp-cart-room-link__steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.hdp-cart-room-link__steps strong { color: var(--hdp-navy); font-size: 13px; }
.hdp-cart-room-link__actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.hdp-cart-room-link__status { margin: 9px 0 0; color: var(--hdp-muted); font-size: 12px; }
.hdp-cart-room-link__status.is-error { color: #a32121; }
.hdp-cart-room-bulk {
	display: grid; grid-template-columns: 1fr; gap: 12px;
	max-width: none; margin: 12px 0 0; padding: 15px; border: 1px solid var(--hdp-border); border-radius: 12px; background: #fff;
}
.hdp-cart-room-bulk h3 { margin: 3px 0; color: var(--hdp-navy); font-size: 21px; }
.hdp-cart-room-bulk p { margin: 0; color: var(--hdp-muted); }
.hdp-cart-room-bulk .hdp-cart-room-link__open {
	padding: 12px 17px; border: 1px solid var(--hdp-navy); border-radius: 8px;
	background: var(--hdp-navy); color: #fff; text-decoration: none; width: 100%;
}
.hdp-cart-room-bulk .hdp-cart-room-link__open:hover { background: var(--hdp-navy-deep); color: #fff; }
.hdp-cart-room-bulk .hdp-cart-room-link__picker { grid-column: 1 / -1; width: 100%; }
.hdp-cart-room-success h3 { margin: 4px 0 7px; color: var(--hdp-navy); font-size: 20px; }
.hdp-cart-room-success p { margin: 0; color: var(--hdp-muted); }
.hdp-cart-item-saved { opacity: .72; }
.woocommerce.hdp-cart-saved-empty .woocommerce-cart-form,
.woocommerce.hdp-cart-saved-empty .cart_totals > h2,
.woocommerce.hdp-cart-saved-empty .cart_totals > .shop_table,
.woocommerce.hdp-cart-saved-empty .checkout-button { display: none !important; }
.wp-block-woocommerce-cart.hdp-cart-saved-empty .wc-block-cart__main,
.wp-block-woocommerce-cart.hdp-cart-saved-empty .wc-block-components-totals-wrapper,
.wp-block-woocommerce-cart.hdp-cart-saved-empty .wc-block-cart__submit-container { display: none !important; }
@media (max-width: 640px) {
	.hdp-cart-room-bulk { grid-template-columns: 1fr; }
	.hdp-cart-room-link__steps { grid-template-columns: 1fr; }
}
.hdp-saas-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.hdp-saas-head .hdp-step__title { margin: 4px 0; }
.hdp-saas-empty { padding: 32px; border: 1px solid var(--hdp-border); border-radius: var(--hdp-radius); background: #fff; text-align: center; }
.hdp-saas-metrics { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.hdp-project-overview { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 12px; margin: 18px 0; }
.hdp-saas-metrics > div, .hdp-project-overview > div {
	display: flex; flex-direction: column; gap: 5px; padding: 15px; border: 1px solid var(--hdp-border); border-radius: 12px; background: #fff;
}
.hdp-saas-metrics span, .hdp-project-overview span { color: var(--hdp-muted); font-size: 12px; }
.hdp-saas-metrics strong { font-size: 24px; color: var(--hdp-navy); }
.hdp-projectcard { padding: 22px; }
.hdp-projectcard.is-collapsed { box-shadow: 0 4px 14px rgba(7,27,58,.05); }
.hdp-projectcard__head { justify-content: space-between; }
.hdp-projectcard__head-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }
.hdp-projectcard__head h3 { font-size: 24px; margin-top: 3px; }
.hdp-projectcard__meta { margin: 5px 0 0; color: var(--hdp-muted); font-size: 12px; }
.hdp-projectcard__body { padding-top: 1px; }
.hdp-project-toggle { min-width: 132px; }
.hdp-project-toggle__icon { font-size: 16px; line-height: 1; }
.hdp-project-edit-form {
	display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px;
	margin-top: 14px; padding: 14px; border: 1px solid var(--hdp-border); border-radius: 12px; background: #f8fafc;
}
.hdp-project-edit-form[hidden] { display: none; }
.hdp-project-edit-form label { color: var(--hdp-muted); font-size: 12px; font-weight: 800; }
.hdp-project-edit-form label.is-wide { grid-column: 1 / -1; }
.hdp-project-edit-form .hdp-input { width: 100%; margin-top: 5px; }
.hdp-project-edit-form__actions { grid-column: 1 / -1; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.hdp-project-edit-form [role="status"] { color: var(--hdp-muted); font-size: 12px; }
.hdp-dashboard-rooms { display: grid; gap: 16px; margin-top: 18px; }
.hdp-dashboard-room { padding: 17px; border: 1px solid var(--hdp-border); border-radius: 14px; background: #fafbfc; }
.hdp-dashboard-room.is-selecting-products { border-color: #9cb1c8; box-shadow: 0 8px 28px rgba(7,27,58,.08); }
.hdp-dashboard-room > header { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hdp-dashboard-room__head-actions { display: flex; align-items: center; gap: 10px; }
.hdp-dashboard-room h4 { margin: 3px 0 10px; font-size: 20px; }
.hdp-dashboard-room__meta { display: flex; flex-wrap: wrap; gap: 14px; margin: 11px 0; color: var(--hdp-muted); font-size: 13px; }
.hdp-dashboard-room,
.hdp-dashboard-product-picker,
.hdp-room-status-grid > div,
.hdp-cabinet-cart,
.hdp-room-product-gallery,
.hdp-room-product-gallery .hdp-wishlist-item,
.hdp-cabinet-cart__table { min-width: 0; }
.hdp-dashboard-product-picker {
	margin: 16px 0 18px; padding: 18px; border: 1px solid #ccd5df;
	border-radius: 14px; background: #fff;
}
.hdp-dashboard-product-picker > header {
	display: flex; align-items: flex-start; justify-content: space-between; gap: 16px;
	margin-bottom: 18px; padding-bottom: 14px; border-bottom: 1px solid var(--hdp-border);
}
.hdp-dashboard-product-picker > header h5 { margin: 3px 0; color: var(--hdp-navy); font-size: 20px; }
.hdp-dashboard-product-picker > header p { margin: 0; color: var(--hdp-muted); font-size: 13px; }
.hdp-dashboard-product-picker .hdp-planner { max-width: none; margin: 0; }
.hdp-room-status-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 14px 0; }
.hdp-room-status-grid > div { padding: 14px; border: 1px solid var(--hdp-border); border-radius: 11px; background: #fff; }
.hdp-room-status-grid span, .hdp-room-status-grid strong, .hdp-room-status-grid small { display: block; }
.hdp-room-status-grid span { color: var(--hdp-muted); font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.hdp-room-status-grid strong { margin-top: 5px; color: var(--hdp-navy); font-size: 18px; }
.hdp-room-status-grid small { margin-top: 4px; color: var(--hdp-muted); font-size: 12px; }
.hdp-room-product-list-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin: 18px 0 8px; }
.hdp-room-product-list-head strong { color: var(--hdp-navy); font-size: 16px; }
.hdp-room-product-list-head span { color: var(--hdp-muted); font-size: 12px; }
.hdp-cabinet-cart { margin: 16px 0; overflow: hidden; border: 1px solid #ccd5df; border-radius: 14px; background: #fff; }
.hdp-cabinet-cart__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 16px; background: #f4f7fa; border-bottom: 1px solid var(--hdp-border); }
.hdp-cabinet-cart__head h5 { margin: 3px 0; color: var(--hdp-navy); font-size: 19px; }
.hdp-cabinet-cart__head p { margin: 0; color: var(--hdp-muted); font-size: 12px; }
.hdp-cabinet-cart__configure { display: flex; align-items: center; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.hdp-cabinet-cart__table { width: 100%; overflow-x: auto; }
.hdp-cabinet-cart table { width: 100%; min-width: 890px; border-collapse: collapse; }
.hdp-cabinet-cart th, .hdp-cabinet-cart td { padding: 11px 12px; border-bottom: 1px solid var(--hdp-border); text-align: left; vertical-align: middle; font-size: 12px; }
.hdp-cabinet-cart th { background: #fafbfc; color: var(--hdp-muted); font-weight: 800; white-space: nowrap; }
.hdp-cabinet-cart td:nth-child(2) { min-width: 170px; }
.hdp-cabinet-cart td:nth-child(2) strong, .hdp-cabinet-cart td:nth-child(2) span { display: block; }
.hdp-cabinet-cart td:nth-child(2) span { margin-top: 2px; color: var(--hdp-muted); }
.hdp-cabinet-cart__photo { width: 72px; min-width: 72px; }
.hdp-cabinet-cart__photo img {
	display: block; width: 54px; height: 54px; object-fit: contain;
	border: 1px solid var(--hdp-border); border-radius: 8px; background: #fff;
}
.hdp-cabinet-cart__photo span {
	display: flex; width: 54px; height: 54px; align-items: center; justify-content: center;
	border-radius: 8px; background: var(--hdp-gold-soft); color: var(--hdp-muted); font-size: 9px; text-align: center;
}
.hdp-cabinet-cart code { color: var(--hdp-navy); font-weight: 800; white-space: nowrap; }
.hdp-cabinet-cart input { width: 62px; padding: 6px; border: 1px solid var(--hdp-border); border-radius: 7px; }
.hdp-cabinet-cart__empty { margin: 0; padding: 18px; color: var(--hdp-muted); }
.hdp-cabinet-cart__total { display: flex; align-items: baseline; justify-content: flex-end; gap: 22px; padding: 15px 18px; background: var(--hdp-navy); color: #fff; }
.hdp-cabinet-cart__total span { font-size: 14px; font-weight: 700; }
.hdp-cabinet-cart__total strong { font-size: 24px; }
.hdp-cabinet-cart__total .woocommerce-Price-amount,
.hdp-cabinet-cart__total .woocommerce-Price-currencySymbol {
	color: inherit !important;
}
.hdp-wishlist { display: grid; gap: 8px; margin: 14px 0; }
.hdp-room-product-gallery { grid-template-columns: repeat(auto-fit,minmax(330px,1fr)); gap: 12px; }
.hdp-room-product-gallery .hdp-wishlist-item {
	grid-template-columns: 96px minmax(0,1fr);
	grid-template-areas: "image body" "controls controls";
	align-items: start; gap: 12px 14px; min-width: 0;
}
.hdp-room-product-gallery .hdp-wishlist-item__image {
	grid-area: image; width: 96px; height: 82px; background-color: #fff; background-size: contain;
}
.hdp-room-product-gallery .hdp-wishlist-item__body { grid-area: body; align-self: center; }
.hdp-wishlist-item__controls {
	grid-area: controls; display: flex; width: 100%; min-width: 0; align-items: center;
	justify-content: flex-end; gap: 10px; flex-wrap: wrap; padding-top: 10px;
	border-top: 1px solid var(--hdp-border);
}
.hdp-wishlist-item__controls .hdp-btn {
	width: auto; min-width: 0; max-width: 100%; padding: 8px 12px;
	border-radius: 9px; font-size: 12px; line-height: 1.25; white-space: normal;
}
.hdp-wishlist-item__controls .hdp-dashboard-remove { margin-left: auto; padding-left: 9px; padding-right: 9px; }
.hdp-wishlist-item__controls > strong { color: var(--hdp-navy); white-space: nowrap; }
.hdp-wishlist-item {
	display: grid; grid-template-columns: 58px minmax(160px,1fr) repeat(4,auto); align-items: center; gap: 12px;
	padding: 10px; border: 1px solid var(--hdp-border); border-radius: 11px; background: #fff;
}
.hdp-wishlist-item__image { width: 58px; height: 52px; border-radius: 8px; background: var(--hdp-gold-soft) center/cover no-repeat; }
.hdp-wishlist-item__body { display: flex; flex-direction: column; min-width: 0; }
.hdp-wishlist-item__body a {
	display: -webkit-box; color: var(--hdp-navy); font-weight: 800; text-decoration: none;
	overflow: hidden; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2;
}
.hdp-wishlist-item__body span { color: var(--hdp-muted); font-size: 12px; }
.hdp-wishlist-item__body small { color: var(--hdp-muted); font-size: 12px; line-height: 1.45; }
.hdp-wishlist-item label { color: var(--hdp-muted); font-size: 12px; white-space: nowrap; }
.hdp-wishlist-item input { width: 62px; margin-left: 4px; padding: 6px; border: 1px solid var(--hdp-border); border-radius: 7px; }
.hdp-material-count { min-width: 74px; text-align: center; color: var(--hdp-muted); font-size: 12px; }
.hdp-material-count strong { display: block; color: var(--hdp-navy); font-size: 20px; }
.hdp-btn--danger { background: #a32121; color: #fff; border-color: #a32121; }
.hdp-room-delete-confirm {
	margin-top: 12px; padding: 13px; border: 1px solid #e3b3b3; border-radius: 10px; background: #fff6f6;
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hdp-room-rename-form, .hdp-room-duplicate-confirm {
	margin-top: 12px; padding: 13px; border: 1px solid var(--hdp-border); border-radius: 10px; background: #fff;
	display: flex; align-items: flex-end; gap: 10px; flex-wrap: wrap;
}
.hdp-room-rename-form[hidden], .hdp-room-duplicate-confirm[hidden] { display: none; }
.hdp-room-rename-form label { flex: 1 1 260px; color: var(--hdp-muted); font-size: 12px; font-weight: 800; }
.hdp-room-rename-form .hdp-input { width: 100%; margin: 5px 0 0; }
.hdp-room-rename-form [role="status"], .hdp-room-duplicate-confirm [role="status"] { color: var(--hdp-muted); font-size: 12px; }
.hdp-room-duplicate-confirm p { flex: 1 1 300px; margin: 0; color: var(--hdp-navy); }
.hdp-project-delete-confirm {
	margin: 14px 0; padding: 14px; border: 1px solid #e3b3b3; border-radius: 10px; background: #fff6f6;
	display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.hdp-project-delete-confirm[hidden] { display: none; }
.hdp-project-delete-confirm p { flex: 1 1 360px; margin: 0; color: #6d2020; }
.hdp-project-delete-confirm [role="status"] { color: var(--hdp-muted); font-size: 12px; }
.hdp-room-delete-confirm[hidden] { display: none; }
.hdp-room-delete-confirm p { flex: 1 1 260px; margin: 0; color: #6d2020; }
.hdp-room-delete-confirm [role="status"] { color: var(--hdp-muted); font-size: 12px; }

/* Variable product option builders */
.hdp-sku-builder, .hdp-material-estimator {
	grid-column: 1 / -1; margin-top: 14px; padding: 16px; border: 1px solid var(--hdp-border);
	border-radius: 12px; background: #f8fafc; min-width: 0;
}
.hdp-sku-builder--vanity-collection { width: 100%; max-width: none; }
.hdp-sku-builder > header, .hdp-material-estimator > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.hdp-sku-builder h4, .hdp-material-estimator h4 { margin: 3px 0 0; font-size: 18px; color: var(--hdp-navy); }
.hdp-sku-builder__filters { display: grid; grid-template-columns: minmax(220px,1fr) minmax(170px,.55fr) minmax(170px,.55fr); gap: 10px; margin: 14px 0 10px; }
.hdp-sku-builder__filters--cabinet { grid-template-columns: minmax(260px,1fr); margin-bottom: 14px; }
.hdp-sku-builder__filters--simple { grid-template-columns: minmax(220px,1fr); }
.hdp-sku-builder__cabinet-filters { display: grid; gap: 10px; margin: 0 0 18px; }
.hdp-sku-builder__cabinet-types[hidden] { display: none !important; }
.hdp-sku-builder__cabinet-groups {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 12px;
	padding: 3px 2px 8px;
	scrollbar-width: thin;
	scrollbar-color: rgba(7,27,58,.22) transparent;
	-webkit-overflow-scrolling: touch;
}
.hdp-sku-builder__cabinet-types {
	display: flex;
	align-items: center;
	flex-wrap: nowrap;
	overflow-x: auto;
	gap: 10px;
	padding: 1px 2px 6px;
	scrollbar-width: thin;
	scrollbar-color: rgba(7,27,58,.18) transparent;
	-webkit-overflow-scrolling: touch;
}
.hdp-sku-builder__cabinet-groups::-webkit-scrollbar,
.hdp-sku-builder__cabinet-types::-webkit-scrollbar {
	height: 8px;
}
.hdp-sku-builder__cabinet-groups::-webkit-scrollbar-track,
.hdp-sku-builder__cabinet-types::-webkit-scrollbar-track {
	background: transparent;
}
.hdp-sku-builder__cabinet-groups::-webkit-scrollbar-thumb,
.hdp-sku-builder__cabinet-types::-webkit-scrollbar-thumb {
	background: rgba(7,27,58,.16);
	border-radius: 999px;
}
.hdp-sku-filter-tile,
.hdp-sku-subfilter-tile {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: auto;
	margin: 0;
	border: 1px solid var(--hdp-border);
	background: #fff;
	color: #3d4047;
	cursor: pointer;
	transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
	scroll-snap-align: start;
	white-space: nowrap;
}
.hdp-sku-filter-tile:hover,
.hdp-sku-subfilter-tile:hover {
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(7,27,58,.08);
}
.hdp-sku-filter-tile {
	gap: 10px;
	min-height: 50px;
	padding: 0 16px;
	border-radius: 999px;
	text-align: left;
	background: #f5f6f8;
}
.hdp-sku-filter-tile::after {
	display: none;
}
.hdp-sku-filter-tile.is-active {
	background: var(--hdp-navy);
	border-color: var(--hdp-navy);
	color: #fff;
	box-shadow: 0 12px 28px rgba(7,27,58,.16);
}
.hdp-sku-filter-tile__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 24px;
	flex: 0 0 28px;
}
.hdp-sku-filter-tile__icon svg {
	display: block;
	width: 28px;
	height: 24px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2.2;
	stroke-linecap: round;
	stroke-linejoin: round;
}
.hdp-sku-filter-tile__label {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .06em;
	line-height: 1.2;
	text-transform: uppercase;
}
.hdp-sku-subfilter-tile {
	min-height: 42px;
	padding: 0 16px;
	border-radius: 999px;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: .05em;
	text-transform: uppercase;
	background: #f6f7f9;
}
.hdp-sku-subfilter-tile.is-active {
	background: #e8f2ff;
	border-color: #cfe2f6;
	color: #2471c4;
}
.hdp-sku-builder__summary { margin-bottom: 10px; font-weight: 800; color: var(--hdp-navy); }
.hdp-sku-builder__table { max-height: min(62vh,620px); overflow: auto; border: 1px solid var(--hdp-border); border-radius: 10px; background: #fff; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
.hdp-sku-builder table { width: 100%; min-width: 100%; border-collapse: collapse; }
.hdp-sku-builder th, .hdp-sku-builder td { padding: 12px 12px; border-bottom: 1px solid var(--hdp-border); text-align: left; font-size: 13px; vertical-align: middle; }
.hdp-sku-builder th { position: sticky; top: 0; z-index: 1; background: #eef2f6; color: var(--hdp-navy); }
.hdp-sku-builder__photo { width: 108px; min-width: 108px; }
.hdp-sku-builder__photo img {
	display: block; width: 84px; height: 84px; object-fit: contain;
	border: 1px solid var(--hdp-border); border-radius: 12px; background: #fff;
	box-shadow: 0 8px 18px rgba(7,27,58,.06);
}
.hdp-sku-builder__photo span {
	display: flex; width: 84px; height: 84px; align-items: center; justify-content: center;
	border-radius: 12px; background: var(--hdp-gold-soft); color: var(--hdp-muted); font-size: 10px; text-align: center;
}
.hdp-sku-builder td:nth-child(2) { min-width: 140px; }
.hdp-sku-builder td:nth-child(3) { min-width: 230px; }
.hdp-sku-builder td:nth-child(3) strong, .hdp-sku-builder td:nth-child(3) span { display: block; }
.hdp-sku-builder td:nth-child(3) span { color: var(--hdp-muted); margin-top: 2px; }
.hdp-sku-builder td strong { font-size: 14px; line-height: 1.3; color: var(--hdp-navy); }
.hdp-sku-builder--vanity-collection td:nth-child(2) { min-width: 250px; }
.hdp-sku-builder--vanity-collection td:nth-child(2) strong,
.hdp-sku-builder--vanity-collection td:nth-child(2) span { display: block; }
.hdp-sku-builder--vanity-collection td:nth-child(2) span { color: var(--hdp-muted); margin-top: 2px; }
.hdp-sku-builder--vanity-collection td:nth-child(3) { min-width: 72px; }
.hdp-sku-builder--options td:nth-child(2) { min-width: 280px; }
.hdp-sku-builder--options td:nth-child(2) strong, .hdp-sku-builder--options td:nth-child(2) span { display: block; }
.hdp-sku-builder--options td:nth-child(2) span { color: var(--hdp-muted); margin-top: 2px; }
.hdp-sku-builder__details { display: block; max-width: 520px; margin-top: 5px; color: var(--hdp-muted); line-height: 1.45; }
.hdp-sku-builder__details b { color: var(--hdp-navy); }
.hdp-sku-builder--options td:nth-child(3) { min-width: 90px; }
.hdp-sku-builder .hdp-sku-qty { width: 68px; margin: 0; }
.hdp-sku-builder__actions, .hdp-material-estimator__actions { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.hdp-sku-builder__message, .hdp-material-message { color: var(--hdp-muted); font-size: 13px; }

/* Square-foot / package calculator */
.hdp-material-estimator__fields { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 10px; margin: 14px 0; }
.hdp-material-estimator__fields label { display: flex; flex-direction: column; gap: 6px; color: var(--hdp-muted); font-size: 12px; font-weight: 700; }
.hdp-material-estimator__fields .hdp-input { width: 100%; margin: 0; }
.hdp-material-estimator__result { display: flex; align-items: baseline; gap: 10px; padding: 12px; border-radius: 10px; background: #fff; border: 1px solid var(--hdp-border); }
.hdp-material-estimator__result strong { color: var(--hdp-navy); font-size: 22px; }
.hdp-material-estimator__result span { color: var(--hdp-muted); font-size: 13px; }
@media (max-width: 760px) {
	.hdp-saas-head { flex-direction: column; }
	.hdp-planner-entry, .hdp-dashboard-product-picker > header { align-items: flex-start; flex-direction: column; }
	.hdp-saas-metrics, .hdp-project-overview, .hdp-room-status-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.hdp-projecttabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
	.hdp-projecttab { min-width: 220px; flex: 0 0 220px; }
	.hdp-dashboard-room > header { flex-direction: column; align-items: stretch; }
	.hdp-dashboard-room__head-actions {
		width: 100%;
		display: grid;
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap: 8px;
		align-items: stretch;
	}
	.hdp-dashboard-room__head-actions .hdp-pill {
		grid-column: 1 / -1;
		justify-self: flex-start;
	}
	.hdp-dashboard-room__head-actions > .hdp-btn {
		width: 100%;
		min-width: 0;
		justify-content: center;
		text-align: center;
	}
	.hdp-dashboard-room__head-actions > .hdp-btn--ghost {
		grid-column: 1 / -1;
	}
	.hdp-dashboard-room__head-actions > .hdp-btn--text {
		min-height: 44px;
		padding: 0 12px;
		border: 1px solid var(--hdp-border);
		border-radius: 12px;
		background: #fff;
		color: var(--hdp-navy);
	}
	.hdp-dashboard-room__head-actions > .hdp-btn--text:hover {
		text-decoration: none;
	}
	.hdp-dashboard-room__meta {
		display: grid;
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap: 8px 12px;
	}
	.hdp-dashboard-room__meta span:last-child {
		grid-column: 1 / -1;
		font-weight: 800;
		color: var(--hdp-navy);
	}
	.hdp-dashboard-product-picker { padding: 16px; }
	.hdp-dashboard-product-picker > header > .hdp-btn {
		width: 100%;
	}
	.hdp-projectbar {
		top: 8px;
		display: grid;
		grid-template-columns: repeat(2,minmax(0,1fr));
		gap: 10px;
	}
	.hdp-projectbar__name,
	.hdp-save-status {
		grid-column: 1 / -1;
		text-align: left;
	}
	.hdp-projectbar__dashboard,
	.hdp-projectbar__save,
	.hdp-projectbar__add,
	.hdp-projectbar__home {
		display: flex;
		align-items: center;
		justify-content: center;
		min-height: 44px;
		padding: 0 12px;
		border: 1px solid var(--hdp-border);
		border-radius: 12px;
		background: #fff;
	}
	.hdp-wishlist-item { grid-template-columns: 52px 1fr auto; }
	.hdp-profit-panel > header { flex-direction: column; }
	.hdp-profit-panel__summary { width: 100%; text-align: left; }
	.hdp-profit-group { grid-template-columns: 1fr; gap: 10px; }
	.hdp-freight-panel__head { flex-direction: column; }
	.hdp-freight-panel__total { width: 100%; text-align: left; }
	.hdp-freight-shipment__body { grid-template-columns: 1fr; gap: 16px; }
	.hdp-wishlist-item__image { width: 52px; }
	.hdp-wishlist-item label, .hdp-wishlist-item > strong { grid-column: span 1; }
	.hdp-sku-builder__filters, .hdp-material-estimator__fields { grid-template-columns: 1fr; }
	.hdp-projectcard__head-actions { justify-content: flex-start; }
	.hdp-cabinet-cart__head { flex-direction: column; }
	.hdp-cabinet-cart__configure { width: 100%; justify-content: flex-start; }
	.hdp-cabinet-cart__configure .hdp-btn {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
	.hdp-cabinet-cart table { min-width: 0; }
	.hdp-cabinet-cart thead { display: none; }
	.hdp-cabinet-cart tbody,
	.hdp-cabinet-cart tr,
	.hdp-cabinet-cart td {
		display: block;
		width: 100%;
	}
	.hdp-cabinet-cart tr {
		display: grid;
		grid-template-columns: 72px minmax(0,1fr);
		gap: 8px 12px;
		padding: 12px;
		border-bottom: 1px solid var(--hdp-border);
	}
	.hdp-cabinet-cart td {
		padding: 0;
		border: 0;
		min-width: 0 !important;
	}
	.hdp-cabinet-cart__photo {
		grid-row: 1 / span 6;
		width: 72px;
		min-width: 72px;
	}
	.hdp-cabinet-cart td:nth-child(2) {
		min-width: 0 !important;
	}
	.hdp-cabinet-cart td:nth-child(2) strong {
		font-size: 18px;
		line-height: 1.25;
	}
	.hdp-cabinet-cart td:nth-child(3),
	.hdp-cabinet-cart td:nth-child(4),
	.hdp-cabinet-cart td:nth-child(5),
	.hdp-cabinet-cart td:nth-child(6),
	.hdp-cabinet-cart td:nth-child(7) {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
		font-size: 13px;
	}
	.hdp-cabinet-cart td:nth-child(3)::before,
	.hdp-cabinet-cart td:nth-child(4)::before,
	.hdp-cabinet-cart td:nth-child(5)::before,
	.hdp-cabinet-cart td:nth-child(6)::before,
	.hdp-cabinet-cart td:nth-child(7)::before {
		flex: 0 0 auto;
		color: var(--hdp-muted);
		font-size: 11px;
		font-weight: 800;
		letter-spacing: .06em;
		text-transform: uppercase;
	}
	.hdp-cabinet-cart td:nth-child(3)::before { content: "SKU"; }
	.hdp-cabinet-cart td:nth-child(4)::before { content: "Finished size"; }
	.hdp-cabinet-cart td:nth-child(5)::before { content: "Qty"; }
	.hdp-cabinet-cart td:nth-child(6)::before { content: "Unit price"; }
	.hdp-cabinet-cart td:nth-child(7)::before { content: "Line total"; }
	.hdp-cabinet-cart td:nth-child(5) input {
		margin-left: 0;
	}
	.hdp-cabinet-cart td:last-child {
		grid-column: 1 / -1;
		display: flex;
		justify-content: flex-end;
		padding-top: 10px;
		border-top: 1px solid var(--hdp-border);
	}
	.hdp-cabinet-cart code {
		white-space: normal;
		overflow-wrap: anywhere;
		text-align: right;
	}
	.hdp-cabinet-cart__total {
		flex-direction: column;
		align-items: flex-start;
		gap: 6px;
	}
	.hdp-room-product-list-head { align-items: flex-start; flex-direction: column; }
	.hdp-room-product-gallery { grid-template-columns: 1fr; }
	.hdp-room-product-gallery .hdp-wishlist-item { grid-template-columns: 72px minmax(0,1fr); }
	.hdp-room-product-gallery .hdp-wishlist-item__image { width: 72px; height: 64px; }
	.hdp-wishlist-item__controls { justify-content: flex-start; }
	.hdp-wishlist-item__controls .hdp-dashboard-remove { margin-left: 0; }
	.hdp-sku-builder { padding: 14px; }
	.hdp-sku-builder__table { max-height: 58vh; }
	.hdp-sku-builder th, .hdp-sku-builder td { padding: 10px 8px; }
	.hdp-sku-builder__photo { width: 84px; min-width: 84px; }
	.hdp-sku-builder__photo img,
	.hdp-sku-builder__photo span { width: 64px; height: 64px; }
	.hdp-sku-filter-tile { min-height: 46px; padding: 0 14px; }
	.hdp-sku-subfilter-tile { min-height: 40px; padding: 0 14px; }
}
@media (max-width: 480px) {
	.hdp-saas-metrics, .hdp-project-overview, .hdp-room-status-grid { grid-template-columns: 1fr; }
	.hdp-projecttab { min-width: 200px; flex-basis: 200px; }
	.hdp-dashboard-room__head-actions { grid-template-columns: 1fr; }
	.hdp-dashboard-room__head-actions .hdp-pill,
	.hdp-dashboard-room__head-actions > .hdp-btn--ghost { grid-column: auto; }
	.hdp-projectbar { grid-template-columns: 1fr; }
	.hdp-dashboard-room__meta { grid-template-columns: 1fr; }
	.hdp-dashboard-room__meta span:last-child { grid-column: auto; }
	.hdp-freight-panel__actions .hdp-btn { width: 100%; }
	.hdp-freight-shipment > header { flex-direction: column; }
	.hdp-freight-shipment__amount { white-space: normal; }
	.hdp-freight-products li { align-items: flex-start; }
	.hdp-wishlist-item { grid-template-columns: 1fr; }
	.hdp-sku-builder__cabinet-groups,
	.hdp-sku-builder__cabinet-types { gap: 8px; }
	.hdp-sku-filter-tile { min-height: 44px; padding: 0 12px; }
	.hdp-sku-filter-tile__label,
	.hdp-sku-subfilter-tile { font-size: 10px; }
	.hdp-sku-builder h4 { font-size: 16px; }
	.hdp-sku-builder__summary { font-size: 14px; }
	.hdp-sku-builder__photo { width: 74px; min-width: 74px; }
	.hdp-sku-builder__photo img,
	.hdp-sku-builder__photo span { width: 56px; height: 56px; }
	.hdp-cabinet-cart tr { grid-template-columns: 60px minmax(0,1fr); }
	.hdp-cabinet-cart__photo { width: 60px; min-width: 60px; }
	.hdp-cabinet-cart__photo img,
	.hdp-cabinet-cart__photo span { width: 52px; height: 52px; }
	.hdp-cabinet-cart td:nth-child(2) strong { font-size: 16px; }
	.hdp-room-product-gallery .hdp-wishlist-item {
		grid-template-columns: 64px minmax(0,1fr);
		grid-template-areas: "image body" "controls controls";
	}
	.hdp-room-product-gallery .hdp-wishlist-item__image { width: 64px; height: 58px; }
}
.hdp-empty { color: var(--hdp-muted); }
.hdp-link { color: var(--hdp-gold); font-weight: 600; text-decoration: none; }

.hdp-toast {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
	background: var(--hdp-navy); color: #fff; padding: 12px 18px; border-radius: 999px;
	font-size: 14px; box-shadow: 0 8px 24px rgba(2,13,36,.25); z-index: 9999; opacity: 0;
	transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.hdp-toast.is-show { opacity: 1; transform: translateX(-50%) translateY(-4px); }

.hdp-priority { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--hdp-border); }
.hdp-priority label { flex: 1; font-weight: 600; }
.hdp-priority input[type="range"] { flex: 1; }

/* ---------------- admin ---------------- */
.hdp-admin .hdp-statgrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; max-width: 760px; margin-top: 14px; }
@media (min-width: 782px) { .hdp-admin .hdp-statgrid { grid-template-columns: repeat(3, 1fr); } }
.hdp-admin .hdp-stat { background: #fff; border: 1px solid #dcdcde; border-radius: 10px; padding: 16px; }
.hdp-admin .hdp-stat__value { font-size: 26px; font-weight: 700; color: #071b3a; }
.hdp-admin .hdp-stat__label { color: #667085; font-size: 13px; margin-top: 4px; }
.hdp-admin .hdp-progress { max-width: 640px; }

.hdp-admin {
	max-width: 1600px;
	padding-right: 20px;
}
.hdp-admin > h1 { margin-bottom: 18px; }
.hdp-kpi-header {
	display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
	margin: 0 0 18px; padding: 26px 28px; border-radius: 18px;
	background: linear-gradient(135deg,#071b3a 0%,#123662 100%); color: #fff;
	box-shadow: 0 18px 42px rgba(7,27,58,.16);
}
.hdp-kpi-header h2 { margin: 2px 0 6px; color: #fff; font-size: 28px; line-height: 1.15; }
.hdp-kpi-header p { margin: 0; color: rgba(255,255,255,.72); font-size: 14px; }
.hdp-kpi-eyebrow {
	margin: 0 0 5px !important; color: #cfa55f !important; font-size: 11px !important;
	font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
}
.hdp-period-tabs { display: flex; align-items: center; gap: 5px; flex: none; padding: 5px; border-radius: 12px; background: rgba(255,255,255,.1); }
.hdp-period-tabs a {
	padding: 8px 12px; border-radius: 9px; color: rgba(255,255,255,.78);
	font-size: 12px; font-weight: 700; text-decoration: none;
}
.hdp-period-tabs a:hover, .hdp-period-tabs a.is-active { background: #fff; color: #071b3a; }
.hdp-kpi-grid {
	display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 14px; margin-bottom: 18px;
}
.hdp-kpi-card {
	position: relative; min-height: 128px; padding: 19px; overflow: hidden;
	border: 1px solid #dfe3e8; border-radius: 14px; background: #fff;
	box-shadow: 0 8px 26px rgba(7,27,58,.045);
}
.hdp-kpi-card::before {
	content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: #c99a4a;
}
.hdp-kpi-card > span { display: block; color: #667085; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.hdp-kpi-card > strong { display: block; margin: 9px 0 7px; color: #071b3a; font-size: 29px; line-height: 1; }
.hdp-kpi-card > small { color: #667085; font-size: 12px; line-height: 1.35; }
.hdp-kpi-card.is-attention::before { background: #d99028; }
.hdp-kpi-card.is-danger { border-color: #e6b9b9; background: #fff9f9; }
.hdp-kpi-card.is-danger::before { background: #b42318; }
.hdp-kpi-card.is-good::before { background: #2f7d46; }
.hdp-admin-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: 18px; margin-bottom: 18px; }
.hdp-admin-dashboard-grid--lower { grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); }
.hdp-admin-panel {
	min-width: 0; padding: 22px; border: 1px solid #dfe3e8; border-radius: 16px;
	background: #fff; box-shadow: 0 8px 28px rgba(7,27,58,.04);
}
.hdp-admin-panel > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.hdp-admin-panel h2 { margin: 2px 0 0; color: #071b3a; font-size: 20px; }
.hdp-funnel-row { display: grid; grid-template-columns: 116px minmax(0,1fr) 38px; align-items: center; gap: 11px; margin: 12px 0; }
.hdp-funnel-row > span { color: #4b5565; font-size: 12px; font-weight: 650; }
.hdp-funnel-row > div { height: 10px; overflow: hidden; border-radius: 99px; background: #eef1f4; }
.hdp-funnel-row i { display: block; min-width: 3px; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#c99a4a,#071b3a); }
.hdp-funnel-row > strong { color: #071b3a; font-size: 13px; text-align: right; }
.hdp-persona-split { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; padding-top: 16px; border-top: 1px solid #e8ebef; }
.hdp-persona-split div { padding: 12px; border-radius: 10px; background: #f7f8fa; }
.hdp-persona-split span, .hdp-persona-split strong { display: block; }
.hdp-persona-split span { color: #667085; font-size: 11px; }
.hdp-persona-split strong { margin-top: 4px; color: #071b3a; font-size: 20px; }
.hdp-health-row { margin: 0 0 16px; }
.hdp-health-row > div:first-child { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.hdp-health-row span { color: #4b5565; font-size: 12px; font-weight: 650; }
.hdp-health-row strong { color: #071b3a; font-size: 14px; }
.hdp-health-meter { height: 9px; margin: 7px 0 5px; overflow: hidden; border-radius: 99px; background: #edf0f3; }
.hdp-health-meter i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg,#2f7d46,#6eaa71); }
.hdp-health-row small, .hdp-admin-muted { color: #7a8494; font-size: 11px; }
.hdp-admin-muted { margin: 18px 0 0; padding-top: 14px; border-top: 1px solid #edf0f3; }
.hdp-attention-list, .hdp-recent-projects { display: grid; gap: 0; }
.hdp-attention-list article, .hdp-recent-projects article {
	display: grid; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0f3;
}
.hdp-attention-list article { grid-template-columns: minmax(0,1fr) auto; }
.hdp-recent-projects article { grid-template-columns: minmax(0,1fr) auto 34px; }
.hdp-attention-list article:first-child, .hdp-recent-projects article:first-child { border-top: 0; }
.hdp-attention-list article div, .hdp-recent-projects article div { min-width: 0; }
.hdp-attention-list strong, .hdp-recent-projects strong,
.hdp-attention-list span, .hdp-recent-projects span { display: block; }
.hdp-attention-list strong, .hdp-recent-projects strong { overflow: hidden; color: #071b3a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.hdp-attention-list span, .hdp-recent-projects span { margin-top: 3px; color: #667085; font-size: 11px; }
.hdp-recent-projects > article > a { font-size: 12px; font-weight: 700; text-decoration: none; }
.hdp-admin-status {
	display: inline-flex !important; margin: 0 !important; padding: 5px 8px; border-radius: 99px;
	background: #f3eadb; color: #815d22 !important; font-weight: 700;
}
.hdp-admin-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 160px; border: 1px dashed #cfd5dc; border-radius: 12px; background: #fafbfc; text-align: center; }
.hdp-admin-empty strong { color: #071b3a; font-size: 17px; }
.hdp-admin-empty span { margin-top: 5px; color: #667085; }
.hdp-admin-quicklinks { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-bottom: 24px; }
.hdp-admin-quicklinks a { display: flex; flex-direction: column; gap: 4px; padding: 17px; border: 1px solid #dfe3e8; border-radius: 12px; background: #fff; text-decoration: none; }
.hdp-admin-quicklinks a:hover { border-color: #c99a4a; box-shadow: 0 9px 24px rgba(7,27,58,.06); }
.hdp-admin-quicklinks strong { color: #071b3a; }
.hdp-admin-quicklinks span { color: #667085; font-size: 12px; }
@media (max-width: 1180px) {
	.hdp-kpi-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
	.hdp-admin-dashboard-grid, .hdp-admin-dashboard-grid--lower { grid-template-columns: 1fr; }
}
@media (max-width: 782px) {
	.hdp-admin { padding-right: 10px; }
	.hdp-kpi-header { align-items: flex-start; flex-direction: column; padding: 21px; }
	.hdp-kpi-grid, .hdp-admin-quicklinks { grid-template-columns: 1fr; }
	.hdp-period-tabs { width: 100%; }
	.hdp-period-tabs a { flex: 1; text-align: center; }
	.hdp-funnel-row { grid-template-columns: 96px minmax(0,1fr) 32px; }
	.hdp-recent-projects article { grid-template-columns: minmax(0,1fr) auto; }
	.hdp-recent-projects > article > a { grid-column: 1 / -1; }
}

/* ============================================================
 * v0.3 — trust + product experience surfaces
 * All honest by design: ratings/specs/financing show REAL data only.
 * ============================================================ */

/* Trust band (honest reassurances — no fake urgency) */
.hdp-trustband {
	list-style: none; margin: 0 0 18px; padding: 12px 14px;
	background: #fff; border: 1px solid var(--hdp-border); border-radius: var(--hdp-radius);
	display: flex; flex-wrap: wrap; gap: 10px 18px;
}
.hdp-trustband li { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--hdp-navy); font-weight: 600; }
.hdp-trustband__check {
	display: inline-flex; align-items: center; justify-content: center;
	width: 18px; height: 18px; border-radius: 50%; background: var(--hdp-success);
	color: #fff; font-size: 11px; font-weight: 700; flex: none;
}

/* Star ratings (rendered only when a real rating exists) */
.hdp-rating { display: inline-flex; align-items: center; gap: 2px; font-size: 13px; }
.hdp-star { color: #d9d4c8; line-height: 1; font-size: 14px; }
.hdp-star.is-on { color: var(--hdp-gold); }
.hdp-rating__num { margin-left: 5px; font-weight: 700; color: var(--hdp-navy); }
.hdp-rating__count { color: var(--hdp-muted); font-weight: 400; }
.hdp-result__rating { margin: -2px 0 2px; }

/* Honest price anchoring */
.hdp-price { font-weight: 700; color: var(--hdp-navy); }
.hdp-price__now { font-weight: 700; }
.hdp-price__was { color: var(--hdp-muted); font-weight: 400; margin-left: 6px; }
.hdp-price__save {
	display: inline-block; margin-left: 8px; font-size: 11px; font-weight: 700;
	color: var(--hdp-success); background: #eaf5ee; border-radius: 999px; padding: 2px 8px; vertical-align: middle;
}
.hdp-price small { color: var(--hdp-muted); font-weight: 400; }

/* Financing note (real program link/label — no fabricated APR) */
.hdp-financing { font-size: 12px; font-weight: 600; color: var(--hdp-gold); text-decoration: none; }
a.hdp-financing:hover { text-decoration: underline; }
.hdp-result__fin { margin-top: -2px; }

/* "Why we picked this" */
.hdp-why { margin-top: auto; }
.hdp-why__cap { display: block; font-size: 11px; color: var(--hdp-muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 5px; }

/* Empty media fallback shows the line name instead of a blank tile */
.hdp-result__media.is-empty { display: flex; align-items: center; justify-content: center; color: var(--hdp-gold); font-weight: 700; text-align: center; padding: 10px; }

/* Spec transparency surface (the "materials hub" at the buy decision) */
.hdp-specs { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.hdp-spec {
	font-size: 11px; color: var(--hdp-navy); background: #f3f1ec;
	border: 1px solid var(--hdp-border); border-radius: 6px; padding: 2px 7px; font-weight: 600;
}

/* SKU list inside a line (image-first, spec-rich rows) */
.hdp-line-skus { margin-top: 12px; border-top: 1px dashed var(--hdp-border); padding-top: 12px; }
.hdp-skulist { display: flex; flex-direction: column; gap: 10px; }
.hdp-sku {
	display: flex; gap: 12px; justify-content: space-between; align-items: flex-start;
	background: var(--hdp-bg); border: 1px solid var(--hdp-border); border-radius: 10px; padding: 12px;
}
.hdp-sku__main { min-width: 0; flex: 1; }
.hdp-sku__name { font-weight: 700; font-size: 14px; }
.hdp-sku__id { margin-top: 2px; }
.hdp-sku__id code { font-size: 12px; color: var(--hdp-muted); }
.hdp-sku__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; flex: none; text-align: right; }
.hdp-sku__price { font-weight: 700; }
.hdp-save-sku.is-saved { color: var(--hdp-success); border-color: var(--hdp-success); }

/* Results quote path (soft, honest alternative to checkout) */
.hdp-results__quote { margin-top: 20px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.hdp-results__quotehint { font-size: 13px; color: var(--hdp-muted); }

/* Inline quote form (optional, no spam, no pre-checked anything) */
.hdp-quoteform {
	margin-top: 14px; padding: 16px; background: #fff;
	border: 1px solid var(--hdp-border); border-radius: var(--hdp-radius);
	display: flex; flex-direction: column; gap: 10px; max-width: 460px;
}
.hdp-quoteform__intro { margin: 0; font-weight: 600; }
.hdp-quoteform__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.hdp-quoteform__grid .hdp-field { margin: 0; font-size: 12px; color: var(--hdp-muted); }
.hdp-quoteform__grid .hdp-field .hdp-input { margin-top: 4px; }
.hdp-quoteform textarea.hdp-input { resize: vertical; min-height: 52px; }
.hdp-quoteform__actions { display: flex; gap: 10px; align-items: center; }
.hdp-qf-msgout { font-size: 13px; color: var(--hdp-muted); min-height: 18px; }
.hdp-qf-ok { margin: 0; color: var(--hdp-success); font-weight: 600; }
@media (max-width: 640px) {
	.hdp-quoteform__grid { grid-template-columns: 1fr; }
	.hdp-project-edit-form { grid-template-columns: 1fr; }
}

@media (min-width: 640px) {
	.hdp-sku { align-items: center; }
}
