.bb-admin-toolbar,
.bb-admin-filters { display:flex; gap:12px; align-items:end; justify-content:space-between; flex-wrap:wrap; margin-bottom:22px; }
.bb-admin-account-wrap,
.bb-admin-account-wrap .cs_account_content { min-width:0; }
.bb-admin-account-wrap .cs_account_content { width:100%; }
.bb-admin-filters { padding:18px; border:1px solid var(--bb-admin-border); background:#fff; border-radius:12px; }
.bb-admin-filters label { min-width:135px; flex:1; }
.bb-admin-filters label span { display:block; font-weight:600; margin-bottom:6px; }
.bb-admin-table-wrap { width:100%; max-width:100%; overflow-x:auto; border:1px solid var(--bb-admin-border); border-radius:12px; background:#fff; }
.bb-admin-table { width:100%; min-width:850px; border-collapse:collapse; }
.bb-admin-table th,
.bb-admin-table td { padding:14px 16px; border-bottom:1px solid var(--bb-admin-border); vertical-align:middle; text-align:left; }
.bb-admin-table th { background:var(--bb-admin-soft); font-size:13px; text-transform:uppercase; }
.bb-admin-thumb { width:66px; height:66px; object-fit:contain; border-radius:8px; background:#f7f2f4; }
.bb-status { display:inline-flex; padding:5px 9px; border-radius:999px; font-size:12px; font-weight:700; background:#eee8eb; }
.bb-status.is-good { background:#e8f7ee; color:#21653a; }
.bb-status.is-warn { background:#fff3d9; color:#74520d; }
.bb-status.is-bad { background:#fff0f2; color:#8d1930; }
.bb-admin-actions { display:flex; flex-wrap:wrap; gap:8px; }
.bb-admin-actions form { margin:0; }
.bb-admin-link-button { border:0; background:transparent; padding:0; color:#9a1b45; text-decoration:underline; }
.bb-admin-empty { padding:55px 24px; text-align:center; border:1px dashed var(--bb-admin-border); border-radius:12px; background:#fff; }
.bb-admin-form-stack { display:grid; gap:24px; }
.bb-admin-image-preview { display:grid; place-items:center; min-height:220px; background:#f7f2f4; border-radius:10px; padding:16px; }
.bb-admin-image-preview img { max-width:100%; max-height:320px; object-fit:contain; }
.bb-gallery-admin { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.bb-gallery-admin-card { border:1px solid var(--bb-admin-border); border-radius:10px; padding:14px; background:#fff; }
.bb-gallery-admin-card img { width:100%; height:190px; object-fit:contain; background:#f7f2f4; }
.bb-inventory-list { max-height:360px; overflow:auto; }
.bb-inventory-row { display:grid; grid-template-columns:130px 80px 80px 1fr; gap:10px; padding:10px 0; border-bottom:1px solid var(--bb-admin-border); font-size:14px; }
.bb-public-status { display:inline-flex; padding:7px 12px; border-radius:999px; background:#f7edf1; font-weight:600; }
.bb-public-status.is-in-stock { background:#e8f7ee; color:#21653a; }
.bb-public-status.is-low-stock { background:#fff3d9; color:#74520d; }
.bb-public-status.is-out-of-stock,
.bb-public-status.is-unavailable { background:#fff0f2; color:#8d1930; }
.bb-product-copy { white-space:pre-line; }
.bb-category-card-link { display:block; color:inherit; }
.bb-category-card-link:hover { color:inherit; }
.bb-pagination > div { display:flex; justify-content:center; gap:6px; flex-wrap:wrap; }
.bb-pagination a,
.bb-pagination span { display:inline-grid; place-items:center; min-width:40px; height:40px; padding:0 10px; border:1px solid #eadfe3; border-radius:6px; }
.bb-pagination .active { background:#db8725; color:#fff; border-color:#db8725; }
.bb-gallery-thumb-button { border:2px solid transparent; background:#fff; padding:4px; border-radius:8px; }
.bb-gallery-thumb-button.is-active { border-color:#db8725; }
.bb-gallery-thumb-button img { width:82px; height:82px; object-fit:contain; }
.bb-product-main-image img { width:100%; height:560px; object-fit:contain; }
.bb-category-hero { min-height:360px; display:flex; align-items:center; background-position:center; background-size:cover; }
.bb-category-hero-copy { padding:35px; border-radius:14px; background:rgba(255,255,255,.9); max-width:660px; }
.bb-filter-card input[type=number] { width:100%; }

@media (max-width:991px) {
  .bb-gallery-admin { grid-template-columns:1fr; }
  .bb-product-main-image img { height:440px; }
}

@media (max-width:767px) {
  .bb-admin-toolbar { align-items:flex-start; flex-direction:column; }
  .bb-admin-filters { display:grid; grid-template-columns:1fr; width:100%; }
  .bb-product-main-image img { height:330px; }
  .bb-category-hero { min-height:300px; }
  .bb-inventory-row { grid-template-columns:1fr 1fr; }
  .bb-inventory-row span:last-child { grid-column:1/-1; }
}
