.hdp-portal { --hdp-ink:#1b1b1b; --hdp-mute:#6b6b6b; --hdp-line:rgba(0,0,0,.1); --hdp-soft:rgba(0,0,0,.035); --hdp-ok:#2e7d32; }
.hdp-portal h2 { margin:0 0 .3em; }
.hdp-head { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; margin-bottom:16px; }
.hdp-head p { margin:0; color:var(--hdp-mute); max-width:640px; }
.hdp-cartlink { white-space:nowrap; font-weight:600; border:1px solid var(--hdp-line); padding:8px 14px; border-radius:4px; text-decoration:none; }
.hdp-tiers { background:var(--hdp-soft); border-left:3px solid var(--hdp-ink); padding:10px 14px; margin-bottom:16px; }
.hdp-small { color:var(--hdp-mute); font-size:.85em; }
.hdp-tools { display:flex; gap:10px; margin-bottom:12px; flex-wrap:wrap; }
.hdp-tools input, .hdp-tools select { padding:8px 10px; min-width:220px; }
.hdp-tablewrap { overflow-x:auto; }
.hdp-table { width:100%; border-collapse:collapse; margin:0; }
.hdp-table th { text-align:left; font-size:.78em; text-transform:uppercase; letter-spacing:.05em; color:var(--hdp-mute); padding:8px; border-bottom:2px solid var(--hdp-line); }
.hdp-table td { padding:10px 8px; border-bottom:1px solid var(--hdp-line); vertical-align:middle; }
.hdp-num { text-align:right; white-space:nowrap; }
.hdp-price { font-weight:700; }
.hdp-c-img { width:64px; }
.hdp-c-img img { width:56px; height:56px; object-fit:cover; border-radius:3px; display:block; }
.hdp-c-qty { width:96px; text-align:right; }
.hdp-c-qty input { width:80px; padding:6px 8px; text-align:right; }
.hdp-name { font-weight:600; text-decoration:none; }
.hdp-variant, .hdp-sku, .hdp-qtiers { font-size:.85em; color:var(--hdp-mute); }
.hdp-qtiers { color:var(--hdp-ok); }
.hdp-oos { color:#b3261e; font-size:.85em; font-weight:600; }
.hdp-back { color:#a15c00; font-size:.85em; }
.hdp-bar { position:sticky; bottom:0; display:flex; justify-content:space-between; align-items:center; gap:12px; padding:12px 14px; margin-top:12px; background:#fff; border:1px solid var(--hdp-line); border-radius:4px; box-shadow:0 -2px 10px rgba(0,0,0,.06); z-index:5; }
.hdp-count, .hdp-est { font-weight:700; }
.hdp-login { max-width:420px; }
@media (max-width:700px) {
	.hdp-head { flex-direction:column; }
	.hdp-table thead { display:none; }
	.hdp-table, .hdp-table tbody, .hdp-table tr, .hdp-table td { display:block; width:100%; }
	.hdp-table tr { display:grid; grid-template-columns:64px 1fr; gap:0 10px; padding:10px 0; border-bottom:1px solid var(--hdp-line); }
	.hdp-table td { border:0; padding:2px 0; }
	.hdp-table td.hdp-c-img { grid-row:span 5; }
	.hdp-table td.hdp-num { text-align:left; }
	.hdp-table td.hdp-num::before { content:attr(data-label) ": "; color:var(--hdp-mute); font-weight:400; }
	.hdp-c-qty { text-align:left; width:auto; }
	.hdp-bar { flex-direction:column; align-items:stretch; text-align:center; }
}
