.usedbd-header { background: var(--usedbd-paper); }
.usedbd-header__main { display: grid; grid-template-columns: minmax(0, auto) minmax(180px, 1fr) auto; gap: 26px; align-items: center; min-height: 92px; }
.usedbd-brand { display: flex; min-width: 0; align-items: center; }
.usedbd-brand .custom-logo-link img { display: block; width: auto; max-width: 200px; max-height: 58px; object-fit: contain; }
.usedbd-brand__fallback { color: var(--usedbd-ink); font-family: var(--usedbd-font-heading); font-size: 21px; font-weight: 800; }
.usedbd-search { display: flex; width: min(100%, 620px); margin-inline: auto; border: 1px solid var(--usedbd-line); border-radius: 999px; background: var(--usedbd-surface); padding: 5px 6px 5px 15px; }
.usedbd-search input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--usedbd-ink); }
.usedbd-search button { width: 38px; height: 38px; flex: 0 0 auto; border: 0; border-radius: 50%; background: var(--usedbd-ink); color: #fff; font-size: 23px; line-height: 1; }
.usedbd-header__actions { display: flex; gap: 8px; align-items: center; }
.usedbd-header__icon, .usedbd-menu-toggle { position: relative; display: grid; width: 40px; height: 40px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--usedbd-ink); font-size: 22px; }
.usedbd-header__icon:hover, .usedbd-menu-toggle:hover { background: var(--usedbd-orange-pale); }
.usedbd-cart-count { position: absolute; top: 0; right: 0; display: grid; width: 18px; height: 18px; place-items: center; border: 2px solid var(--usedbd-paper); border-radius: 50%; background: var(--usedbd-orange); color: #fff; font-size: 10px; font-weight: 700; }
.usedbd-menu-toggle { display: none; }
.usedbd-nav-wrap { border-block: 1px solid var(--usedbd-line); }
.usedbd-nav-wrap__inner { display: flex; min-height: 54px; align-items: center; }
.usedbd-primary-menu { display: flex; width: 100%; align-items: center; }
.usedbd-menu-list, .usedbd-menu-list ul { display: flex; gap: 30px; align-items: center; margin: 0; padding: 0; list-style: none; }
.usedbd-menu-list a { display: block; padding-block: 16px; color: var(--usedbd-ink); font-size: 13px; font-weight: 600; }
.usedbd-menu-list a:hover { color: var(--usedbd-orange); }
.usedbd-footer { background: var(--usedbd-ink); color: #fff; }
.usedbd-footer__main { display: flex; justify-content: space-between; align-items: center; gap: 32px; padding-block: 30px; }
.usedbd-footer__brand { display: flex; align-items: center; }
.usedbd-footer__brand .custom-logo-link img { display: block; width: auto; max-width: 180px; max-height: 54px; object-fit: contain; }
.usedbd-footer__brand strong { color: #fff; font-family: var(--usedbd-font-heading); font-size: 18px; font-weight: 800; }
.usedbd-footer__links { display: flex; align-items: center; }
.usedbd-footer-menu { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.usedbd-footer-menu a { color: #fff; font-size: 12px; }
.usedbd-footer__bottom { display: flex; min-height: 49px; justify-content: space-between; align-items: center; gap: 18px; border-top: 1px solid rgb(255 255 255 / 20%); color: #fff; font-size: 11px; }
.usedbd-footer__bottom p { margin: 0; }
.usedbd-post-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.usedbd-post-card { overflow: hidden; border: 1px solid var(--usedbd-line); border-radius: 7px; background: #fff; }
.usedbd-post-card img { display: block; width: 100%; aspect-ratio: 1.7 / 1; object-fit: cover; }
.usedbd-post-card__body { padding: 14px; }
.usedbd-post-card h2 { margin: 0 0 8px; font-family: var(--usedbd-font-heading); font-size: 17px; }
.usedbd-post-card p { margin: 0; color: var(--usedbd-muted); font-size: 12px; }
.usedbd-not-found { display: grid; min-height: 42vh; justify-items: start; align-content: center; }

@media (max-width: 900px) {
  .usedbd-header__main { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; }
}
@media (max-width: 760px) {
  .site-container { width: min(100% - 32px, 1280px); }
  .usedbd-header__main { grid-template-columns: minmax(0, 1fr) auto; gap: 12px; padding-block: 13px; }
	.usedbd-brand .custom-logo-link img { max-width: 160px; max-height: 48px; }
	.usedbd-brand__fallback { font-size: 18px; }
  .usedbd-search { grid-column: 1 / -1; grid-row: 2; }
  .usedbd-header__actions { grid-column: 2; grid-row: 1; gap: 2px; }
  .usedbd-menu-toggle { display: grid; }
  .usedbd-nav-wrap__inner { min-height: 48px; }
  .usedbd-primary-menu { display: none; }
  .usedbd-primary-menu.is-open { position: absolute; top: 100%; right: 0; left: 0; z-index: 20; display: block; border-bottom: 1px solid var(--usedbd-line); background: var(--usedbd-paper); padding: 8px 16px; box-shadow: var(--usedbd-shadow); }
  .usedbd-menu-list, .usedbd-menu-list ul { display: grid; gap: 0; }
  .usedbd-menu-list a { padding-block: 12px; border-bottom: 1px solid var(--usedbd-line); }
  .usedbd-footer__main { align-items: flex-start; flex-direction: column; gap: 18px; }
  .usedbd-post-grid { grid-template-columns: 1fr; }
}