/*
Theme Name: BusyBearz V24
Theme URI: https://busybearz.com/
Author: BusyBearz
Description: Lightweight BusyBearz inventory theme derived from the approved V9b homepage refinement.
Version: 24.0
Text Domain: busybearz
*/

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
:root {
  --page-bg:#ffffff;
  --burgundy:#4f111e;
  --cream:#f7f2e7;
  --gold:#c29a47;
  --text:#2b2623;
  --line:#d8d1c5;
}
body {
  margin:0;
  font-family:Arial, Helvetica, sans-serif;
  color:var(--text);
  background:var(--page-bg);
}
img { max-width:100%; height:auto; }
a { color:inherit; }
.site {
  width:min(100%,1680px);
  margin:0 auto;
  background:var(--page-bg);
  min-height:100vh;
  box-shadow:0 0 18px rgba(0,0,0,.08);
}
.banner { width:100%; background:var(--page-bg); line-height:0; }
.banner img { display:block; width:100%; height:auto; }

.main-nav {
  display:flex;
  justify-content:center;
  flex-wrap:wrap;
  gap:0;
  background:var(--burgundy);
  margin-top:12px;
  border:2px solid var(--gold);
  border-radius:8px;
  overflow:hidden;
}
.main-nav a {
  color:white;
  text-decoration:none;
  font-weight:700;
  padding:13px 20px;
}
.main-nav a:hover,.main-nav a:focus { background:#742438; }

.home-title-panel {
  max-width:1500px;
  margin:24px clamp(14px,2.4vw,40px) 14px;
  padding:16px 18px;
  text-align:center;
}
.home-title-panel h1 {
  margin:0;
  color:var(--burgundy);
  font-size:18px;
  line-height:1.25;
  font-weight:700;
}

.category-index {
  margin:0 clamp(12px,2vw,30px) 18px;
  padding:9px 12px;
  background:var(--cream);
  border:2px solid var(--gold);
  border-radius:8px;
}
.category-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:8px;
}
.category-links a {
  color:var(--burgundy);
  background:white;
  border:1px solid var(--gold);
  border-radius:5px;
  padding:7px 13px;
  text-decoration:none;
  font-weight:700;
  line-height:1.2;
}
.category-links a:hover,.category-links a:focus-visible { background:#fff8e8; }

.inventory { padding:0 clamp(12px,2vw,30px) 34px; }
.category-section { scroll-margin-top:12px; margin:0 0 30px; }
.category-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:13px;
}
.category-heading h2 {
  margin:0;
  padding:7px 18px;
  font-size:16px;
  color:var(--burgundy);
  background:var(--cream);
  border:2px solid var(--gold);
  border-radius:8px;
  flex:0 1 auto;
}
.category-heading a {
  white-space:nowrap;
  font-size:13px;
  color:#641a2a;
  text-decoration:none;
  font-weight:700;
}
.item-grid {
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(190px,225px));
  gap:16px;
  justify-content:start;
}
.item-card {
  width:100%;
  background:white;
  border:1px solid var(--line);
  border-radius:7px;
  overflow:hidden;
  box-shadow:0 1px 4px rgba(0,0,0,.08);
}
.thumb {
  width:100%;
  aspect-ratio:4/3;
  display:block;
  overflow:hidden;
  background:#e9e5dd;
  border-bottom:1px solid var(--line);
}
.thumb img { width:100%; height:100%; object-fit:contain; display:block; }
.thumb-placeholder {
  width:100%; height:100%;
  display:grid; place-items:center;
  color:#756e65; font-size:13px; text-align:center; padding:8px;
}
.item-info { padding:9px 10px 11px; }
.item-title {
  display:block;
  color:#3c151c;
  text-decoration:none;
  font-weight:700;
  line-height:1.25;
  font-size:15px;
}
.item-title:hover,.item-title:focus { text-decoration:underline; }
.price { margin-top:6px; font-weight:700; font-size:16px; }

/* Individual BusyBearz item page */
.item-page { padding:24px clamp(14px,2.4vw,40px) 18px; }
.item-page-inner { max-width:1500px; margin:0 auto; }
.bb-panel,
.item-description .bb-section {
  width:100%; box-sizing:border-box; background:var(--cream);
  border:1px solid var(--gold); border-radius:8px;
  padding:16px 18px; margin:0 0 16px;
}
.item-title-panel h1 {
  margin:0;
  color:var(--burgundy);
  font-size:18px;
  line-height:1.25;
  text-align:center;
  font-weight:700;
}

.item-title-intro {
  margin-top:7px;
  color:#2b2623;
  font-size:14px;
  line-height:1.35;
  font-style:italic;
  font-weight:400;
  text-align:center;
}
.item-title-price { white-space:nowrap; }

.item-gallery-panel { overflow:hidden; }
.gallery-preview-wrap { display:flex; justify-content:center; align-items:center; min-height:340px; padding:4px 0 10px; }
.gallery-main { position:relative; display:inline-block; max-width:100%; cursor:zoom-in; touch-action:manipulation; }
.gallery-main img { display:block; max-width:100%; width:auto; height:auto; max-height:500px; object-fit:contain; margin:0 auto; }
.gallery-instruction { text-align:center; font-size:13px; color:#5f5042; margin:0 0 10px; }
.gallery-strip-shell { display:grid; grid-template-columns:40px minmax(0,1fr) 40px; gap:8px; align-items:center; }
.gallery-strip { display:flex; gap:10px; overflow-x:auto; overflow-y:hidden; scroll-behavior:smooth; scrollbar-width:thin; padding:2px 1px 6px; -webkit-overflow-scrolling:touch; }
.gallery-strip::-webkit-scrollbar { height:8px; }
.gallery-thumb { flex:0 0 210px; border:1px solid #d7c79f; border-radius:6px; background:#fff; padding:4px; cursor:pointer; aspect-ratio:4/3; box-sizing:border-box; }
.gallery-thumb img { width:100%; height:100%; object-fit:cover; display:block; }
.gallery-thumb:hover,.gallery-thumb:focus-visible { border-color:var(--burgundy); }
.gallery-thumb.is-active { border:2px solid var(--gold); padding:3px; }
.gallery-scroll { width:40px; height:44px; border:1px solid var(--gold); border-radius:6px; background:#fffaf0; color:var(--burgundy); font-size:19px; line-height:1; cursor:pointer; }
.gallery-scroll:disabled { opacity:.35; cursor:default; }

.item-description { width:100%; margin:0; font-size:16px; line-height:1.45; }
.item-description .bb-section > :first-child { margin-top:0; }
.item-description .bb-section > :last-child { margin-bottom:0; }
.item-description .bb-section h3 { color:var(--burgundy); font-size:19px; margin:.85em 0 .35em; }
.item-description .bb-spacer { display:none !important; }
.item-description .bb-subhead {
  margin:.75em 0 0 0 !important;
  color:#2b2623 !important;
  font-size:16px !important;
  font-weight:400 !important;
  line-height:1.3;
}
.item-description ul.bb-bullets { margin-top:.35em !important; margin-bottom:.75em !important; padding-left:1.35em !important; }
.item-description ul.bb-bullets li { margin:0 !important; line-height:1.45; }
.item-description ul.bb-bullets li + li { margin-top:.35em !important; }
.item-description ul.bb-bullets + .bb-subhead { margin-top:.75em !important; }
.item-description p { margin:.5em 0; }

.buying-panel h2 {
  color:var(--burgundy);
  font-size:18px;
  font-weight:700;
  margin:0 0 10px;
}
.buying-panel p { margin:.4em 0; line-height:1.45; }

.bb-lightbox { position:fixed; inset:0; z-index:99999; display:none; background:rgba(0,0,0,.94); overflow:hidden; }
.bb-lightbox.is-open { display:block; }
.bb-lightbox-viewport { position:absolute; inset:0; overflow:auto; -webkit-overflow-scrolling:touch; cursor:grab; touch-action:pan-x pan-y pinch-zoom; }
.bb-lightbox-viewport.is-dragging { cursor:grabbing; }
.bb-lightbox-stage { min-width:100%; min-height:100%; display:flex; align-items:center; justify-content:center; padding:24px; box-sizing:border-box; }
.bb-lightbox-image { display:block; width:auto; height:auto; max-width:none; max-height:none; user-select:none; -webkit-user-drag:none; }
.bb-lightbox-close { position:fixed; top:12px; right:12px; z-index:100002; min-width:86px; height:44px; padding:0 12px; border:1px solid rgba(255,255,255,.55); border-radius:7px; background:rgba(32,32,32,.82); color:#fff; font-size:16px; font-weight:700; cursor:pointer; }
.bb-lightbox-hint { position:fixed; left:50%; bottom:14px; transform:translateX(-50%); z-index:100001; background:rgba(32,32,32,.78); color:white; padding:7px 11px; border-radius:6px; font-size:13px; pointer-events:none; transition:opacity .4s ease; }
.bb-lightbox-hint.is-hidden { opacity:0; }

@media (max-width:700px) {
  .item-page { padding-left:10px; padding-right:10px; }
  .bb-panel,.item-description .bb-section { padding:10px 14px; }
  .item-title-panel h1 { font-size:18px; }
  .gallery-preview-wrap { min-height:280px; }
  .gallery-main img { max-height:58vh; }
  .gallery-strip-shell { grid-template-columns:34px minmax(0,1fr) 34px; gap:6px; }
  .gallery-scroll { width:34px; height:42px; font-size:22px; }
  .gallery-thumb { flex-basis:44%; min-width:118px; max-width:160px; }
  .bb-lightbox-stage { padding:12px; }
}
@media (max-width:420px) {
  .gallery-thumb { flex-basis:47%; min-width:108px; }
  .bb-lightbox-close { top:8px; right:8px; min-width:82px; height:42px; }
}

.archive-header {
  padding:24px clamp(14px,2.4vw,36px) 10px;
  text-align:center;
}
.archive-header h1 { margin:0 0 8px; color:var(--burgundy); }
.archive-wrap { padding:10px clamp(12px,2vw,30px) 40px; }

.empty-inventory {
  margin:25px clamp(12px,2vw,30px) 40px;
  padding:22px;
  border:1px solid var(--line);
  border-radius:8px;
  background:#faf8f3;
  text-align:center;
}

footer {
  border-top:2px solid var(--gold);
  background:var(--cream);
  padding:22px 15px 26px;
  text-align:center;
}
.footer-logo {
  width:74px; height:74px;
  margin:0 auto 12px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:#6d1828;
  color:#f5df9a;
  border:3px solid #b58a35;
  font-size:12px;
  font-weight:700;
}
footer nav {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px 18px;
  margin-bottom:12px;
}
footer a { color:#571623; font-weight:700; text-decoration:none; }
footer a:hover,footer a:focus { text-decoration:underline; }
footer p { margin:8px 0 0; font-size:13px; }

}
  .item-summary { order:-1; }
}
@media (max-width:520px) {
  .main-nav a { padding:11px 10px; font-size:14px; }
  .category-links a { padding:7px 10px; font-size:14px; }
  .category-heading h2 { font-size:14px; padding:7px 14px; }
  .item-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
  .item-info { padding:8px; }
  .item-title { font-size:14px; }
  .price { font-size:15px; }
  .item-page { padding-left:10px; padding-right:10px; }
  
}
@media (max-width:310px) {
  .item-grid { grid-template-columns:1fr; }
}


/* V10 homepage alignment correction */
.home-main {
  padding-top:24px;
}

.home-title-panel.bb-panel {
  box-sizing:border-box;
  width:auto;
  max-width:none;
  margin:0 0 14px;
  padding:16px 18px;
  background:var(--cream);
  border:2px solid var(--gold);
  border-radius:8px;
  text-align:center;
}

.home-title-panel h1 {
  margin:0;
  color:var(--burgundy);
  font-size:clamp(22px,2.4vw,34px);
  line-height:1.25;
  font-weight:700;
}

.category-index {
  box-sizing:border-box;
  width:auto;
  margin:0 0 18px;
  padding:9px 12px;
  background:var(--cream);
  border:2px solid var(--gold);
  border-radius:8px;
}

.category-links a {
  padding:7px 13px;
  line-height:1.2;
}


/* V12 permanent static pages */
.static-page {
  padding:24px 0 34px;
}

.static-page-inner {
  width:auto;
  max-width:none;
  margin:0;
}

.static-page-title.bb-panel {
  box-sizing:border-box;
  width:auto;
  max-width:none;
  margin:0 0 16px;
  padding:11px 18px;
  background:var(--cream);
  border:2px solid var(--gold);
  border-radius:8px;
  text-align:center;
}

.static-page-title h1 {
  margin:0;
  color:var(--burgundy);
  font-size:20px;
  line-height:1.2;
  font-weight:700;
}

.static-page-body.bb-panel {
  box-sizing:border-box;
  width:auto;
  max-width:none;
  margin:0 0 16px;
  padding:16px 18px;
  background:var(--cream);
  border:2px solid var(--gold);
  border-radius:8px;
  color:#2b2623;
}

/* Static-page content hierarchy follows item DETAILS language */
.static-page-body h2 {
  margin:0 0 10px;
  color:var(--burgundy);
  font-size:18px;
  line-height:1.25;
  font-weight:700;
}

.static-page-body h3 {
  margin:14px 0 6px;
  color:#2b2623;
  font-size:16px;
  line-height:1.25;
  font-weight:400;
}

.static-page-body p,
.static-page-body li {
  color:#2b2623;
}

@media (max-width:640px) {
  .static-page {
    padding-top:18px;
  }

  .static-page-title.bb-panel {
    padding:13px 14px;
  }

  .static-page-title h1 {
    font-size:26px;
  }
}


/* V13 compact shared footer test */
.site-footer {
  margin-top:24px;
  padding:0;
  background:transparent;
}

.footer-shell {
  box-sizing:border-box;
  width:100%;
  background:var(--cream);
  border:3px solid var(--gold);
  border-radius:8px;
  overflow:hidden;
}

.footer-main {
  display:flex;
  align-items:center;
  gap:18px;
  min-height:104px;
  padding:10px 18px;
}

.footer-brand {
  flex:0 0 auto;
}

.footer-logo {
  display:block;
  width:104px;
  height:104px;
  object-fit:contain;
}

.footer-info {
  display:flex;
  flex:1 1 auto;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  color:var(--burgundy);
}

.footer-site-name {
  font-weight:700;
  font-size:18px;
}

.footer-copyright {
  font-size:14px;
  white-space:nowrap;
}

.footer-nav {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0;
  background:var(--burgundy);
  border-top:3px solid var(--gold);
}

.footer-nav a {
  display:block;
  padding:9px 14px;
  color:#f7eedb;
  text-decoration:none;
  font-weight:700;
  line-height:1.15;
}

.footer-nav a:hover,
.footer-nav a:focus-visible {
  text-decoration:underline;
}

/* Balance permanent-page bottom space with the gap above the title panel. */
.static-page {
  padding-bottom:24px;
}

@media (max-width:700px) {
  .footer-main {
    align-items:center;
    min-height:90px;
    gap:12px;
    padding:9px 12px;
  }

  .footer-logo {
    width:88px;
    height:88px;
  }

  .footer-info {
    flex-direction:column;
    align-items:flex-start;
    justify-content:center;
    gap:3px;
  }

  .footer-site-name {
    font-size:16px;
  }

  .footer-copyright {
    font-size:13px;
    white-space:normal;
  }

  .footer-nav a {
    padding:8px 10px;
    font-size:14px;
  }
}


/* V15 — balanced outer page padding */
body {
  box-sizing: border-box;
  padding: 20px;
}

@media (max-width: 700px) {
  body {
    padding: 12px;
  }
}


/* V16 — compact footer + reduced blank space above */
.site-footer {
  margin-top:18px;
  padding:0;
  background:transparent;
}

.footer-shell {
  box-sizing:border-box;
  width:100%;
  background:var(--cream);
  border:3px solid var(--gold);
  border-radius:8px;
  overflow:hidden;
}

.footer-nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  background:var(--burgundy);
  border-top:0;
  padding:0 14px;
}

.footer-links {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:0;
}

.footer-links a {
  display:block;
  padding:10px 14px;
  color:#f7eedb;
  text-decoration:none;
  font-weight:700;
  line-height:1.15;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration:underline;
}

.footer-copyright {
  flex:0 0 auto;
  color:#f7eedb;
  font-size:13px;
  font-style:italic;
  white-space:nowrap;
}

/* Tighten excess blank space at the end of homepage/index content. */
.home-main,
main.home-main {
  padding-bottom:18px;
  min-height:0;
}

@media (max-width:700px) {
  .site-footer {
    margin-top:14px;
  }

  .footer-nav {
    flex-direction:column;
    justify-content:center;
    gap:0;
    padding:4px 8px 7px;
  }

  .footer-links {
    justify-content:center;
  }

  .footer-links a {
    padding:8px 10px;
    font-size:14px;
  }

  .footer-copyright {
    padding:2px 0 4px;
    font-size:12px;
    text-align:center;
  }

  .home-main,
  main.home-main {
    padding-bottom:14px;
  }
}


/* V17 — footer spacing corrections */

/* Eliminate artificial vertical stretch above footer on short homepage content. */
.home-main,
main.home-main {
  min-height:0 !important;
  height:auto !important;
  padding-bottom:0 !important;
  margin-bottom:14px !important;
}

.site-footer {
  margin-top:0 !important;
  padding:0 !important;
  background:transparent !important;
}

/* Even cream spacing around the entire burgundy footer bar. */
.footer-shell {
  box-sizing:border-box;
  width:100%;
  background:var(--cream) !important;
  border:3px solid var(--gold) !important;
  border-radius:8px;
  padding:10px !important;
  overflow:hidden;
}

.footer-nav {
  box-sizing:border-box;
  width:100%;
  margin:0 !important;
  padding:0 14px !important;
  background:var(--burgundy) !important;
  border:0 !important;
  border-radius:3px;
}

/* Keep the footer compact while preserving link tap/click targets. */
.footer-links a {
  padding:9px 14px !important;
}

.footer-copyright {
  padding:0 !important;
}

@media (max-width:700px) {
  .home-main,
  main.home-main {
    margin-bottom:12px !important;
  }

  .footer-shell {
    padding:8px !important;
  }

  .footer-nav {
    padding:4px 8px 6px !important;
  }

  .footer-links a {
    padding:8px 10px !important;
  }
}


/* V18 — homepage/footer final alignment corrections */

/* The old site shell forced short pages to fill the entire viewport,
   creating the large blank field above the footer. */
.home .site {
  min-height:0 !important;
  height:auto !important;
}

/* Keep only a normal content-to-footer rhythm on the homepage. */
.home .inventory {
  padding-bottom:14px !important;
}

.home .category-section:last-child {
  margin-bottom:0 !important;
}

.home-main,
main.home-main {
  margin-bottom:0 !important;
  padding-bottom:0 !important;
}

/* Center the navigation independently of the copyright at right. */
.footer-nav {
  position:relative;
  display:flex !important;
  align-items:center;
  justify-content:center !important;
  min-height:44px;
}

.footer-links {
  margin:0 auto !important;
  justify-content:center !important;
}

.footer-copyright {
  position:absolute;
  right:14px;
  top:50%;
  transform:translateY(-50%);
}

/* The homepage category heading no longer needs right-side spacing
   reserved for the removed Categories link. */
.home .category-heading {
  justify-content:flex-start !important;
}

@media (max-width:900px) {
  /* On narrower screens, let copyright fall below centered links
     rather than overlap them. */
  .footer-nav {
    flex-direction:column;
    padding:4px 8px 7px !important;
  }

  .footer-copyright {
    position:static;
    transform:none;
    padding:2px 0 3px !important;
    text-align:center;
  }
}


/* V19 — alignment cleanup */

/* Remove faint vertical ruler-like shadow along the main site shell. */
.site {
  box-shadow:none !important;
}

/* Align homepage inventory/category content with the main content edge. */
.home .inventory {
  padding-left:0 !important;
  padding-right:0 !important;
}

.home .category-section {
  margin-left:0 !important;
  margin-right:0 !important;
}

.home .category-heading,
.home .item-grid {
  margin-left:0 !important;
  margin-right:0 !important;
}

/* Keep existing adaptive card sizing; reclaimed width is used automatically. */
.home .item-grid {
  grid-template-columns:repeat(auto-fill,minmax(190px,225px));
  gap:16px;
  justify-content:start;
}

/* Center footer navigation links in the burgundy bar independently of copyright. */
.footer-nav {
  position:relative;
  display:grid !important;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  min-height:44px;
}

.footer-links {
  grid-column:2;
  justify-self:center;
  display:flex;
  flex-wrap:wrap;
  justify-content:center !important;
  margin:0 !important;
}

.footer-copyright {
  grid-column:3;
  justify-self:end;
  position:static !important;
  transform:none !important;
  right:auto !important;
  top:auto !important;
  padding-right:0 !important;
}

/* On narrower screens, stack cleanly without overlap. */
@media (max-width:900px) {
  .footer-nav {
    display:flex !important;
    flex-direction:column;
    justify-content:center !important;
  }

  .footer-links {
    margin:0 auto !important;
  }

  .footer-copyright {
    align-self:center;
    padding:2px 0 3px !important;
    text-align:center;
  }
}


/* V21: shared, dashboard-editable flat navigation. */
.main-nav .bb-shared-menu,
.footer-links .bb-shared-menu {
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  list-style:none;
  gap:0;
  margin:0;
  padding:0;
}
.bb-shared-menu > li { list-style:none; margin:0; padding:0; }
.main-nav .bb-shared-menu a { display:block; }
/* V21: equal static-page spacing above title and below final panel.
   Page-level HTML can set margins later, so override only these outer edges. */
.static-page { --bb-static-gap:24px; padding-top:var(--bb-static-gap); padding-bottom:var(--bb-static-gap); }
.static-page-inner > .static-page-body.bb-panel:last-child,
.static-page-inner > .static-page-title.bb-panel:last-child,
.static-page-body > .bb-about-page:last-child,
.static-page-body .bb-about-page > .bb-about-panel:last-child,
.static-page-body > .bb-contact-panel:last-child,
.static-page-body > .bb-sales-panel:last-child { margin-bottom:0 !important; }
@media (max-width:640px) { .static-page { --bb-static-gap:18px; } }

/* V23: small privacy link, with a stacked footer before columns overlap. */
.footer-copyright .bb-footer-privacy { color: inherit; font-size: inherit; font-weight: inherit; font-style: inherit; padding: 0; margin: 0; text-decoration: underline; }
.static-page-body > .bb-privacy-panel:last-child { margin-bottom: 0 !important; }
@media (max-width: 1200px) {
  .footer-nav { display: flex !important; flex-direction: column; justify-content: center !important; }
  .footer-links { margin: 0 auto !important; }
  .footer-copyright { align-self: center; text-align: center; padding: 2px 0 3px !important; }
}

.bb-inventory-search {display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 12px;}
.bb-inventory-search input {font:inherit;max-width:100%;padding:6px 9px;border:1px solid var(--gold);border-radius:4px;}
.home-main [hidden] {display:none!important;}

/* V24: shared content width, consistent panel rhythm, responsive search. */
.site > main.item-page {padding:24px 0 !important; width:100%; max-width:none;}
.item-page > .item-page-inner {max-width:none !important;width:100%;margin:0;}
.item-page-inner > .bb-panel, .item-description .bb-section {margin-bottom:16px;}
.item-description > :last-child {margin-bottom:0;}
.item-description:not(:empty) {margin:0 0 16px;}
.item-page-inner > :last-child {margin-bottom:0;}
.home-title-panel.bb-panel {position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr) minmax(0,1fr);align-items:center;gap:10px;}
.home-title-panel h1 {grid-column:2;}
.home-title-panel .bb-inventory-search {grid-column:3;width:100%;max-width:240px;justify-self:end;margin:0;display:block;}
.home-title-panel .bb-inventory-search input {width:100%;box-sizing:border-box;}
.bb-category-row {display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:10px;}
.bb-category-row .category-links {flex:0 1 auto;min-width:0;}
#bb-search-result {font-size:inherit;font-weight:600;color:var(--burgundy);}
#bb-clear-search {font:inherit;font-weight:700;background:#fff;color:var(--burgundy);border:2px solid var(--burgundy);border-radius:5px;padding:7px 13px;cursor:pointer;}
#bb-clear-search:hover,#bb-clear-search:focus-visible {background:var(--burgundy);color:#fff;}
#subscribe {scroll-margin-top:48px;}
@media(max-width:850px){.home-title-panel.bb-panel{display:flex;flex-direction:column;}.home-title-panel .bb-inventory-search{width:min(100%,240px);}.site > main.item-page{padding:18px 0 !important;}}
