
.bhb-app,
.bhb-app * {
  box-sizing: border-box;
}

.bhb-app {
  --bhb-green: #91F88D;
  --bhb-black: #000;
  --bhb-border: #d9d9d9;
  --bhb-soft: #f7f7f7;
  color: #000;
  font-family: Inter, Arial, sans-serif;
}

.bhb-hero {
  padding: 34px 0 28px;
  border-bottom: 1px solid #eee;
  margin-bottom: 32px;
}

.bhb-kicker {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.bhb-hero h1 {
  font-size: clamp(34px, 6vw, 72px);
  line-height: .95;
  margin: 0 0 14px;
  max-width: 920px;
}

.bhb-hero p {
  font-size: 18px;
  margin: 0;
  max-width: 720px;
}

.bhb-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 36px;
  align-items: start;
}

.bhb-left { min-width: 0; }

.bhb-step {
  border: 1px solid var(--bhb-border);
  padding: 24px;
  margin-bottom: 18px;
  background: #fff;
}

.bhb-step h2 {
  margin: 0 0 16px;
  font-size: 24px;
}

.bhb-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.bhb-field label {
  display: block;
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 6px;
}


.bhb-required { color: #c40000; font-weight: 900; }

.bhb-field input.bhb-invalid,
.bhb-field select.bhb-invalid,
.bhb-field textarea.bhb-invalid {
  border-color: #c40000 !important;
  box-shadow: 0 0 0 2px rgba(196,0,0,.08);
}

.bhb-field-error {
  color: #c40000;
  font-size: 13px;
  font-weight: 700;
  margin: 6px 0 0;
}

.bhb-field input,
.bhb-field select,
.bhb-field textarea {
  width: 100%;
  border: 1px solid #bbb;
  padding: 13px 12px;
  font-size: 16px;
  border-radius: 0;
  background: #fff;
  color: #000;
}

.bhb-packages {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bhb-card {
  position: relative;
  border: 1px solid var(--bhb-border);
  padding: 18px;
  cursor: pointer;
  background: #fff;
  min-height: 130px;
  text-align: left;
}

.bhb-card:hover,
.bhb-card.active {
  border: 2px solid var(--bhb-green);
  padding: 17px;
}

.bhb-card h3 {
  margin: 0 0 8px;
  font-size: 21px;
}

.bhb-price {
  font-size: 24px;
  font-weight: 900;
}

.bhb-card small {
  display: block;
  color: #555;
  margin-top: 8px;
  line-height: 1.35;
}

.bhb-badge {
  display: inline-block;
  background: var(--bhb-green);
  color: #000;
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  padding: 5px 7px;
  margin-bottom: 10px;
}

.bhb-preview-grid {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.bhb-balloon-stage {
  background: var(--bhb-soft);
  border: 1px solid var(--bhb-border);
  min-height: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px;
}

.bhb-balloon-preview {
  position: relative;
  width: 250px;
  min-height: 345px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bhb-balloon-preview img.bhb-balloon-img {
  display: block;
  max-width: 245px;
  max-height: 345px;
  width: auto;
  height: auto;
}

.bhb-logo-on-balloon {
  position: absolute;
  left: 50%;
  top: 39%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 68px;
  object-fit: contain;
  z-index: 2;
  filter: drop-shadow(0 1px 1px rgba(255,255,255,.4));
}

.bhb-logo-placeholder {
  position: absolute;
  left: 50%;
  top: 39%;
  transform: translate(-50%, -50%);
  border: 1px dashed rgba(0,0,0,.45);
  width: 102px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 11px;
  font-weight: 900;
  line-height: 1.2;
  color: #000;
  background: rgba(255,255,255,.25);
  z-index: 2;
}

.bhb-upload-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: #555;
}

.bhb-balloon-colour-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.bhb-balloon-colour {
  border: 1px solid var(--bhb-border);
  background: #fff;
  cursor: pointer;
  padding: 8px;
  min-height: 112px;
  text-align: center;
}

.bhb-balloon-colour.active {
  border: 2px solid var(--bhb-green);
  padding: 7px;
}

.bhb-balloon-thumb {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 6px;
}

.bhb-balloon-thumb img {
  max-height: 72px;
  max-width: 72px;
  object-fit: contain;
}

.bhb-colour-name,
.bhb-ink-name {
  display: block;
  font-weight: 800;
  font-size: 13px;
}

.bhb-ink-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.bhb-ink {
  border: 1px solid var(--bhb-border);
  background: #fff;
  cursor: pointer;
  padding: 10px;
  min-height: 88px;
  text-align: left;
}

.bhb-ink.active {
  border: 2px solid var(--bhb-green);
  padding: 9px;
}

.bhb-swatch {
  width: 100%;
  height: 28px;
  border: 1px solid rgba(0,0,0,.25);
  margin-bottom: 8px;
}

.bhb-swatch.metallic {
  background-image: linear-gradient(120deg, rgba(255,255,255,.65), rgba(0,0,0,.12), rgba(255,255,255,.5));
}

.bhb-ink-price {
  display: block;
  font-size: 12px;
  color: #555;
  margin-top: 3px;
}

.bhb-ink-note {
  margin: 0 0 12px;
  color: #555;
  font-size: 14px;
}

.bhb-checkbox-card {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border: 1px solid var(--bhb-border);
  padding: 14px;
  margin-bottom: 10px;
  cursor: pointer;
}

.bhb-checkbox-card input {
  margin-top: 4px;
}

.bhb-checkbox-card strong { display: block; }
.bhb-checkbox-card span span {
  display: block;
  color: #555;
  font-size: 13px;
  margin-top: 2px;
}

.bhb-summary {
  position: sticky;
  top: 20px;
  border: 1px solid #000;
  padding: 22px;
  background: #fff;
}

.bhb-summary h3 {
  margin: 0 0 16px;
  font-size: 25px;
}

.bhb-summary-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid #eee;
  padding: 9px 0;
  font-size: 14px;
}

.bhb-summary-line strong {
  text-align: right;
}

.bhb-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: 16px;
  font-size: 18px;
  font-weight: 900;
}

.bhb-total span:last-child {
  font-size: 34px;
}

.bhb-button {
  display: block;
  width: 100%;
  background: #000;
  color: #fff;
  border: 0;
  border-radius: 0;
  padding: 16px 14px;
  font-size: 16px;
  font-weight: 900;
  margin-top: 16px;
  cursor: pointer;
}

.bhb-button:hover { background: #222; }

.bhb-error {
  display: none;
  background: #fff4f4;
  border: 1px solid #e1a0a0;
  padding: 12px;
  margin-top: 12px;
  font-size: 14px;
}

.bhb-error.show { display: block; }
.bhb-error.success { background: #f0fff0; border-color: var(--bhb-green); }

.bhb-mobile-bar { display: none; }

@media (max-width: 980px) {
  .bhb-wrap { grid-template-columns: 1fr; }
  .bhb-summary {
    position: static;
    margin-bottom: 76px;
  }
  .bhb-packages,
  .bhb-balloon-colour-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhb-preview-grid,
  .bhb-row { grid-template-columns: 1fr; }
  .bhb-ink-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bhb-mobile-bar {
    display: flex;
    position: fixed;
    z-index: 9999;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
    color: #fff;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    font-weight: 900;
  }
  .bhb-mobile-bar button {
    background: var(--bhb-green);
    color: #000;
    border: 0;
    padding: 10px 14px;
    font-weight: 900;
  }
}

@media (max-width: 560px) {
  .bhb-step { padding: 18px; }
  .bhb-packages,
  .bhb-balloon-colour-grid { grid-template-columns: 1fr 1fr; }
}


.bhb-access-box {
  border: 1px solid #d9d9d9;
  background: #f7f7f7;
  padding: 14px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
}


.bhb-access-box {
  border-left: 4px solid #91F88D;
}

.bhb-upload-note,
.bhb-ink-note {
  line-height: 1.45;
}

.bhb-price-note {
  font-size: 13px;
  color: #555;
  line-height: 1.45;
}


/* v2.6 visual reset: cleaner, tighter version of the original builder style */
.bhb-hero {
  padding: 24px 0 22px;
  margin-bottom: 24px;
}

.bhb-hero h1 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  max-width: 860px;
}

.bhb-hero p {
  font-size: 17px;
  max-width: 760px;
}

.bhb-step {
  padding: 22px;
}

.bhb-card {
  min-height: 118px;
}

.bhb-card h3 {
  font-size: 19px;
}

.bhb-price {
  font-size: 22px;
}

.bhb-summary {
  border: 1px solid #111;
  box-shadow: none;
}

.bhb-balloon-stage {
  background: #fff;
}

.bhb-access-box {
  background: #fafafa;
}


/* v2.7: page gutters, sticky order box and SEO sections */
.bhb-app {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px 48px;
}

.bhb-wrap {
  align-items: start;
}

.bhb-right {
  align-self: start;
  position: sticky;
  top: 96px;
  z-index: 5;
}

.bhb-summary {
  position: sticky;
  top: 96px;
  max-height: calc(100vh - 120px);
  overflow: auto;
}

.bhb-hero {
  max-width: 1040px;
  padding-top: 34px;
}

.bhb-hero h1 {
  max-width: 980px;
}

.bhb-hero p {
  max-width: 880px;
}

.bhb-seo-content {
  max-width: 1040px;
  margin: 42px 0 24px;
  border-top: 1px solid #e7e7e7;
  padding-top: 32px;
}

.bhb-seo-content h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.bhb-seo-content h3 {
  font-size: 24px;
  margin: 26px 0 10px;
}

.bhb-seo-content p {
  font-size: 17px;
  line-height: 1.55;
  max-width: 850px;
}

@media (max-width: 980px) {
  .bhb-app {
    padding: 0 18px 82px;
  }

  .bhb-right,
  .bhb-summary {
    position: static;
    top: auto;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 560px) {
  .bhb-app {
    padding-left: 14px;
    padding-right: 14px;
  }
}


/* v2.8 branded header/logo */
.bhb-brand-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 0 18px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 20px;
}

.bhb-brand-logo-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.bhb-brand-logo {
  display: block;
  width: auto;
  height: 78px;
  max-width: 360px;
  object-fit: contain;
}

.bhb-brand-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.bhb-brand-contact a {
  color: #000;
  text-decoration: none;
  border: 1px solid #e5e5e5;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 800;
  background: #fff;
}

.bhb-brand-contact a:first-child {
  background: #91F88D;
  border-color: #91F88D;
}

@media (max-width: 760px) {
  .bhb-brand-header {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 16px;
  }

  .bhb-brand-logo {
    height: 58px;
    max-width: 280px;
  }

  .bhb-brand-contact a {
    padding: 9px 12px;
    font-size: 14px;
  }
}


/* v2.9: plugin should not render its own header; theme owns logo/header */
.bhb-brand-header {
  display: none !important;
}

/* v2.9: stronger desktop sticky order panel */
@media (min-width: 981px) {
  .bhb-wrap {
    align-items: start !important;
    overflow: visible !important;
  }

  .bhb-right {
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    height: fit-content !important;
    z-index: 20 !important;
  }

  .bhb-summary {
    position: sticky !important;
    top: 96px !important;
    max-height: calc(100vh - 120px) !important;
    overflow-y: auto !important;
  }
}


/* v3.0 clean builder: no plugin header; theme owns branding */
.bhb-brand-header,
.bhb-brand-logo,
.bhb-brand-logo-link,
.bhb-brand-contact {
  display: none !important;
}

.bhb-app {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px 64px;
  overflow: visible !important;
}

.bhb-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 36px;
  align-items: start !important;
  overflow: visible !important;
}

@media (min-width: 981px) {
  .bhb-right {
    position: sticky !important;
    top: 96px !important;
    align-self: start !important;
    height: max-content !important;
    z-index: 20 !important;
  }

  .bhb-summary {
    position: relative !important;
    top: auto !important;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
  }
}

.bhb-hero {
  max-width: 1040px;
  padding-top: 28px;
}

.bhb-hero h1 {
  font-size: clamp(36px, 4.7vw, 64px);
  line-height: 1.02;
  max-width: 1040px;
}

.bhb-hero p {
  max-width: 900px;
}

.bhb-seo-content {
  max-width: 1040px;
  margin: 42px 0 24px;
  border-top: 1px solid #e7e7e7;
  padding-top: 32px;
}

.bhb-seo-content h2 {
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  margin: 0 0 16px;
}

.bhb-seo-content h3 {
  font-size: 24px;
  margin: 26px 0 10px;
}

.bhb-seo-content p {
  font-size: 17px;
  line-height: 1.55;
  max-width: 850px;
}

.bhb-access-box {
  border: 1px solid #d9d9d9;
  border-left: 4px solid #91F88D;
  background: #fafafa;
  padding: 14px;
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .bhb-app {
    padding: 0 18px 82px;
  }

  .bhb-wrap {
    grid-template-columns: 1fr;
  }

  .bhb-right,
  .bhb-summary {
    position: static !important;
    top: auto !important;
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 560px) {
  .bhb-app {
    padding-left: 14px;
    padding-right: 14px;
  }
}


/* v3.1 final clean: plugin never outputs branding/header */
.bhb-brand-header,
.bhb-clean-header,
.bhb-brand-logo,
.bhb-theme-logo,
.bhb-brand-contact {
  display: none !important;
}

.bhb-hero h1 {
  max-width: 900px;
}


/* v3.2 JS sticky fallback helpers */
@media (min-width: 981px) {
  .bhb-right {
    position: relative !important;
    min-height: 1px;
  }

  .bhb-summary-fixed {
    z-index: 999 !important;
  }

  .bhb-summary-bottomed {
    z-index: 20 !important;
  }
}


/* v3.4: reliable CSS-only sticky order box */
@media (min-width: 981px) {
  .bhb-wrap {
    align-items: start !important;
    overflow: visible !important;
  }

  .bhb-right {
    position: sticky !important;
    top: 24px !important;
    align-self: start !important;
    height: max-content !important;
    z-index: 10 !important;
  }

  body.admin-bar .bhb-right {
    top: 58px !important;
  }

  .bhb-summary {
    position: relative !important;
    top: auto !important;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  body.admin-bar .bhb-summary {
    max-height: calc(100vh - 112px);
  }

  .bhb-summary-fixed,
  .bhb-summary-bottomed {
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: auto !important;
  }
}

/* v3.4: make generated location pages look like landing pages, not blog essays */
.bhb-location-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px 56px;
}

.bhb-location-hero {
  padding: 42px 0 28px;
  border-bottom: 1px solid #ececec;
  margin-bottom: 26px;
}

.bhb-location-kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 12px;
  font-weight: 900;
}

.bhb-location-hero h1 {
  font-size: clamp(38px, 5vw, 76px);
  line-height: .96;
  margin: 0 0 16px;
  max-width: 980px;
}

.bhb-location-hero p {
  font-size: 19px;
  line-height: 1.35;
  max-width: 860px;
  margin: 0;
}

.bhb-location-builder {
  margin: 26px 0 42px;
}

.bhb-location-content {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin: 34px 0;
}

.bhb-location-card {
  border: 1px solid #e0e0e0;
  padding: 24px;
  background: #fff;
}

.bhb-location-card h2 {
  font-size: 27px;
  line-height: 1.08;
  margin: 0 0 12px;
}

.bhb-location-card p {
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
}

.bhb-location-nearby {
  border-top: 1px solid #ececec;
  padding-top: 28px;
  margin-top: 28px;
}

.bhb-location-nearby h2 {
  font-size: 30px;
  margin: 0 0 14px;
}

.bhb-location-nearby ul {
  columns: 2;
  margin: 0;
  padding-left: 20px;
}

.bhb-location-page-legacy {
  font-size: 18px;
  line-height: 1.6;
}

.bhb-location-page-legacy h1,
.bhb-location-page-legacy h2 {
  line-height: 1.1;
  max-width: 980px;
}

.bhb-location-page-legacy h1 {
  font-size: clamp(38px, 5vw, 70px);
}

.bhb-location-page-legacy h2 {
  font-size: clamp(28px, 3vw, 38px);
  margin-top: 34px;
}

.bhb-location-page-legacy p {
  max-width: 980px;
}

@media (max-width: 800px) {
  .bhb-location-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .bhb-location-content {
    grid-template-columns: 1fr;
  }

  .bhb-location-nearby ul {
    columns: 1;
  }
}


/* v3.5 SEO page flow: H1, configurator, then SEO copy */
.bhb-location-builder {
  margin: 28px 0 44px;
}

.bhb-location-copy-intro {
  max-width: 980px;
  border-top: 1px solid #ececec;
  padding-top: 34px;
  margin: 36px 0 22px;
}

.bhb-location-copy-intro h2 {
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  margin: 0 0 12px;
}

.bhb-location-copy-intro p {
  font-size: 18px;
  line-height: 1.55;
  margin: 0;
}

.bhb-location-page > .bhb-app {
  padding-left: 0;
  padding-right: 0;
}


/* v3.6: rank-harder SEO page polish */
.bhb-location-page a {
  color: #000;
  text-decoration-thickness: 2px;
  text-decoration-color: #91F88D;
  text-underline-offset: 3px;
}

.bhb-location-nearby a {
  font-weight: 800;
}

.bhb-location-page h2 {
  scroll-margin-top: 120px;
}

.bhb-location-page p {
  text-wrap: pretty;
}


/* v3.7: make generated SEO pages match homepage/builder scale */
.bhb-location-page {
  width: 100% !important;
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding: 0 40px 72px !important;
}

.bhb-location-page .bhb-location-hero {
  max-width: 1040px !important;
  padding: 34px 0 30px !important;
  margin-bottom: 34px !important;
  border-bottom: 1px solid #ececec !important;
}

.bhb-location-page .bhb-location-hero h1 {
  font-size: clamp(36px, 4.7vw, 64px) !important;
  line-height: 1.02 !important;
  max-width: 980px !important;
  margin-bottom: 16px !important;
}

.bhb-location-page .bhb-location-hero p {
  max-width: 900px !important;
  font-size: 18px !important;
  line-height: 1.45 !important;
}

.bhb-location-page .bhb-location-builder {
  margin: 0 0 56px !important;
  width: 100% !important;
}

.bhb-location-page .bhb-location-builder .bhb-app {
  max-width: 1440px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  padding-bottom: 0 !important;
}

.bhb-location-page .bhb-location-builder .bhb-hero {
  display: none !important;
}

.bhb-location-page .bhb-location-copy-intro {
  max-width: 1040px !important;
  margin: 52px 0 26px !important;
  padding-top: 36px !important;
  border-top: 1px solid #ececec !important;
}

.bhb-location-page .bhb-location-copy-intro h2 {
  font-size: clamp(30px, 3.2vw, 46px) !important;
}

.bhb-location-page .bhb-location-copy-intro p {
  max-width: 900px !important;
  font-size: 18px !important;
  line-height: 1.55 !important;
}

.bhb-location-page .bhb-location-content {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 34px 0 46px !important;
  max-width: 1180px !important;
}

.bhb-location-page .bhb-location-card {
  padding: 28px !important;
  border: 1px solid #e0e0e0 !important;
  background: #fff !important;
}

.bhb-location-page .bhb-location-card h2 {
  font-size: clamp(24px, 2.2vw, 34px) !important;
  line-height: 1.08 !important;
  margin-bottom: 14px !important;
}

.bhb-location-page .bhb-location-card p {
  font-size: 16.5px !important;
  line-height: 1.58 !important;
}

.bhb-location-page .bhb-location-nearby {
  max-width: 1040px !important;
  margin-top: 42px !important;
  padding-top: 34px !important;
  border-top: 1px solid #ececec !important;
}

.bhb-location-page .bhb-location-nearby h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
}

.bhb-location-page .bhb-location-nearby ul {
  columns: 2 !important;
  column-gap: 42px !important;
  line-height: 1.8 !important;
}

/* Legacy AI-generated pages: stop them looking like cramped blog posts */
.bhb-location-page-legacy {
  max-width: 1440px !important;
  padding: 0 40px 72px !important;
}

.bhb-location-page-legacy h1,
.bhb-location-page-legacy h2,
.bhb-location-page-legacy p,
.bhb-location-page-legacy ul {
  max-width: 1040px !important;
}

.bhb-location-page-legacy h1 {
  font-size: clamp(36px, 4.7vw, 64px) !important;
  line-height: 1.02 !important;
  margin-top: 34px !important;
}

.bhb-location-page-legacy h2 {
  font-size: clamp(28px, 3vw, 42px) !important;
  line-height: 1.1 !important;
  margin-top: 44px !important;
}

.bhb-location-page-legacy p {
  font-size: 18px !important;
  line-height: 1.58 !important;
}

@media (max-width: 980px) {
  .bhb-location-page,
  .bhb-location-page-legacy {
    padding-left: 18px !important;
    padding-right: 18px !important;
  }

  .bhb-location-page .bhb-location-content {
    grid-template-columns: 1fr !important;
  }

  .bhb-location-page .bhb-location-nearby ul {
    columns: 1 !important;
  }
}

@media (max-width: 560px) {
  .bhb-location-page,
  .bhb-location-page-legacy {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }
}


/* v3.8: single H1 on SEO location pages */
body.bhb-seo-location-page .entry-title,
body.bhb-seo-location-page .page-title,
body.bhb-seo-location-page h1.entry-title,
body.bhb-seo-location-page header.entry-header {
  display: none !important;
}

/* v3.8: order summary tidying + reliable homepage sticky fallback */
.bhb-summary {
  background: #fff !important;
}

.bhb-summary-line {
  align-items: flex-start;
  gap: 18px;
}

.bhb-summary-line span {
  color: #111;
}

.bhb-summary-line strong {
  max-width: 190px;
  line-height: 1.25;
}

@media (min-width: 981px) {
  .bhb-force-sticky {
    z-index: 9999 !important;
    box-shadow: 0 10px 28px rgba(0,0,0,.08);
  }
}

/* v3.8: generated location footer links */
.bhb-footer-locations {
  background: #fafafa;
  border-top: 1px solid #e8e8e8;
  padding: 38px 24px;
  margin-top: 48px;
}

.bhb-footer-locations-inner {
  max-width: 1440px;
  margin: 0 auto;
}

.bhb-footer-locations h2 {
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.08;
  margin: 0 0 18px;
}

.bhb-footer-location-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.bhb-footer-location-links a,
.bhb-all-locations-link {
  color: #000;
  text-decoration: none;
  border: 1px solid #ddd;
  background: #fff;
  padding: 9px 12px;
  font-weight: 800;
}

.bhb-footer-location-links a:hover,
.bhb-all-locations-link:hover {
  border-color: #91F88D;
  background: #91F88D;
}

/* v3.8: locations index page */
.bhb-locations-index {
  max-width: 1440px;
  margin: 0 auto;
  padding: 42px 40px 70px;
}

.bhb-locations-index h1 {
  font-size: clamp(38px, 5vw, 72px);
  line-height: .98;
  margin: 0 0 16px;
}

.bhb-locations-index p {
  font-size: 19px;
  max-width: 820px;
}

.bhb-location-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 30px;
}

.bhb-location-links-grid a {
  display: block;
  border: 1px solid #ddd;
  padding: 18px;
  color: #000;
  text-decoration: none;
  font-weight: 900;
  background: #fff;
}

.bhb-location-links-grid a:hover {
  border-color: #91F88D;
  background: #91F88D;
}

@media (max-width: 900px) {
  .bhb-location-links-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .bhb-location-links-grid {
    grid-template-columns: 1fr;
  }

  .bhb-locations-index {
    padding-left: 18px;
    padding-right: 18px;
  }
}

/* v3.9.3: SEO pages use the exact homepage builder flow, not the old boxed SEO wrapper */
body.bhb-seo-location-page main,
body.bhb-seo-location-page .site-main,
body.bhb-seo-location-page .content-area,
body.bhb-seo-location-page .entry-content,
body.bhb-seo-location-page .wp-block-post-content {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
}

body.bhb-seo-location-page main article,
body.bhb-seo-location-page .hentry,
body.bhb-seo-location-page .type-page {
  width: 100% !important;
  max-width: none !important;
  border: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: visible !important;
}

body.bhb-seo-location-page .bhb-app {
  max-width: 1440px !important;
  margin: 0 auto !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
  overflow: visible !important;
}

.bhb-seo-copy { width: 100%; background: #fff; padding: 0 40px 72px; }
.bhb-seo-copy-inner { max-width: 1440px; margin: 0 auto; border-top: 1px solid #ececec; padding-top: 42px; }
.bhb-seo-copy h2 { font-size: clamp(30px, 4vw, 48px); line-height: 1.05; margin: 0 0 16px; }
.bhb-seo-copy p { font-size: 17px; line-height: 1.55; max-width: 880px; }
.bhb-seo-copy-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin: 34px 0 46px; max-width: 1180px; }
.bhb-seo-copy-grid > div { border: 1px solid #e0e0e0; padding: 24px; background: #fff; }
.bhb-seo-copy-grid h3 { font-size: 24px; line-height: 1.1; margin: 0 0 12px; }
.bhb-seo-nearby { max-width: 1040px; border-top: 1px solid #ececec; padding-top: 30px; }
.bhb-seo-nearby-links { display: flex; flex-wrap: wrap; gap: 10px; }
.bhb-seo-nearby-links a { color: #000; text-decoration: none; border: 1px solid #ddd; background: #fff; padding: 9px 12px; font-weight: 800; }
.bhb-seo-nearby-links a:hover { border-color: #91F88D; background: #91F88D; }

/* v3.9.3: real sticky order box, no internal scrolling */
@media (min-width: 981px) {
  .bhb-wrap, .bhb-left, .bhb-right { overflow: visible !important; }
  .bhb-right { position: sticky !important; top: 96px !important; align-self: start !important; height: fit-content !important; }
  .bhb-summary { position: relative !important; top: auto !important; max-height: none !important; overflow: visible !important; padding: 34px 30px !important; }
  body.admin-bar .bhb-right { top: 128px !important; }
}

@media (max-width: 980px) {
  body.bhb-seo-location-page .bhb-app, .bhb-seo-copy { padding-left: 18px !important; padding-right: 18px !important; }
  .bhb-seo-copy-grid { grid-template-columns: 1fr; }
}
/* v3.9.4: CSS-only sticky order summary + larger ink swatches. */
@media (min-width: 981px) {
  .bhb-wrap, .bhb-left, .bhb-right { overflow: visible !important; }
  .bhb-right {
    position: sticky !important;
    top: 24px !important;
    align-self: start !important;
    height: auto !important;
    z-index: 10 !important;
  }
  body.admin-bar .bhb-right { top: 58px !important; }
  #bhb-summary, .bhb-summary, .bhb-summary-fixed, .bhb-summary-bottomed, .bhb-force-sticky {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }
  #bhb-summary, .bhb-summary { padding: 32px !important; }
}
.bhb-ink { min-height: 124px !important; padding: 16px !important; }
.bhb-ink.active { padding: 15px !important; }
.bhb-swatch {
  display: block !important;
  width: 100% !important;
  height: 54px !important;
  margin-bottom: 12px !important;
  border: 1px solid rgba(0,0,0,.32) !important;
}
.bhb-ink-name { font-size: 17px !important; line-height: 1.15 !important; }
.bhb-ink-price { font-size: 15px !important; }
@media (max-width: 760px) {
  .bhb-ink { min-height: 108px !important; }
  .bhb-swatch { height: 44px !important; }
}

/* v3.9.6: no sticky order sidebar on homepage or SEO pages. */
@media (min-width: 981px) {
  .bhb-right,
  body.admin-bar .bhb-right,
  body.bhb-seo-location-page .bhb-right {
    position: static !important;
    top: auto !important;
    align-self: stretch !important;
    height: auto !important;
    z-index: auto !important;
  }

  #bhb-summary,
  .bhb-summary,
  .bhb-summary-fixed,
  .bhb-summary-bottomed,
  .bhb-force-sticky {
    position: static !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    width: auto !important;
    max-height: none !important;
    overflow: visible !important;
    overflow-y: visible !important;
  }
}

/* v3.9.8: locations index cleanup + duplicate-heading guard. */
body.bhb-seo-location-page .entry-title,
body.bhb-seo-location-page .page-title,
body.bhb-seo-location-page article > header,
body.bhb-seo-location-page .entry-header {
  display: none !important;
}

body.bhb-locations-index-page .bhb-locations-index {
  max-width: 1180px;
  margin: 0 auto 72px;
  padding: 0 40px;
}

body.bhb-locations-index-page .bhb-locations-index h1,
body.bhb-locations-index-page .bhb-locations-index h2 {
  display: none !important;
}

.bhb-locations-index-intro {
  font-size: 20px;
  line-height: 1.45;
  max-width: 860px;
  margin: 0 0 28px;
}

body.bhb-locations-index-page .bhb-location-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 100%;
}

body.bhb-locations-index-page .bhb-location-links-grid a {
  display: block;
  color: #000;
  text-decoration: none;
  border: 1px solid #dedede;
  background: #fff;
  padding: 18px 20px;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.25;
}

body.bhb-locations-index-page .bhb-location-links-grid a:hover {
  border-color: #91F88D;
  background: #91F88D;
}

@media (max-width: 900px) {
  body.bhb-locations-index-page .bhb-location-links-grid { grid-template-columns: 1fr; }
  body.bhb-locations-index-page .bhb-locations-index { padding: 0 18px; }
}

/* v3.10.1 legal pages + checkout terms */
.bhb-secure-payment {
  border: 1px solid #e5e5e5;
  background: #fafafa;
  padding: 12px 13px;
  margin: 14px 0 10px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 700;
}

.bhb-terms-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid var(--bhb-border);
  padding: 12px 13px;
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.35;
  background: #fff;
}

.bhb-terms-card input {
  margin-top: 3px;
  flex: 0 0 auto;
}

.bhb-terms-card:has(input.bhb-invalid) {
  border-color: #c40000 !important;
  box-shadow: 0 0 0 2px rgba(196,0,0,.08);
}

.bhb-terms-card a {
  color: #000;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.bhb-company-note {
  margin-top: 10px;
  color: #555;
  font-size: 12px;
  line-height: 1.35;
}

/* v3.10.2 checkout/customer fields */
.bhb-field textarea {
  width: 100%;
  border: 1px solid #bdbdbd;
  border-radius: 0;
  padding: 12px 14px;
  font: inherit;
  resize: vertical;
  background: #fff;
  color: #111;
}
.bhb-button[disabled],
.bhb-mobile-bar button[disabled] {
  opacity: .55;
  cursor: progress;
}
.bhb-checkout-message {
  max-width: 920px;
  margin: 80px auto;
  padding: 44px;
  border: 1px solid #ddd;
  background: #fff;
}
.bhb-checkout-message h1 {
  margin-top: 0;
}

.bhb-vat-line strong{font-weight:800}.bhb-summary .bhb-secure-payment{font-size:13px;line-height:1.35}

/* v3.10.8 secure checkout success page */
.bhb-secure-success {
  max-width: 920px;
  margin: 48px auto;
  padding: 36px;
  border: 1px solid #111;
  background: #fff;
}
.bhb-success-card {
  border: 1px solid #ddd;
  padding: 22px;
  margin: 22px 0;
  background: #fafafa;
}
.bhb-success-card p { margin: 0 0 10px; }
.bhb-success-safe-note,
.bhb-success-notice {
  padding: 12px 14px;
  background: #f4f4f4;
  border-left: 4px solid #91F88D;
}
.bhb-success-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.bhb-button-secondary {
  background: #fff !important;
  color: #111 !important;
  border: 1px solid #111 !important;
}


/* v3.10.9 secure success action fixes */
.bhb-success-actions .bhb-button,
.bhb-secure-success a.bhb-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  min-width: 220px;
  margin-top: 0 !important;
  padding: 16px 22px !important;
  background: #000 !important;
  color: #fff !important;
  text-decoration: none !important;
  border: 1px solid #000 !important;
  line-height: 1.2;
}
.bhb-success-actions .bhb-button:hover,
.bhb-secure-success a.bhb-button:hover {
  background: #222 !important;
  color: #fff !important;
}
.bhb-success-actions .bhb-button-secondary,
.bhb-secure-success a.bhb-button-secondary {
  background: #fff !important;
  color: #111 !important;
  border-color: #111 !important;
}
.bhb-success-actions .bhb-button-secondary:hover,
.bhb-secure-success a.bhb-button-secondary:hover {
  background: #f4f4f4 !important;
  color: #111 !important;
}


/* v3.11.2 mobile input polish + delivery notes */
.bhb-field textarea {
  min-height: 112px;
  line-height: 1.35;
  resize: vertical;
}
@media (max-width: 768px) {
  .bhb-field input,
  .bhb-field select,
  .bhb-field textarea {
    min-height: 58px;
    font-size: 18px;
    padding: 15px 14px;
    line-height: 1.25;
    -webkit-appearance: none;
    appearance: none;
  }
  .bhb-field input[type="date"],
  .bhb-field input[type="time"] {
    min-height: 62px;
    display: block;
  }
  .bhb-field textarea {
    min-height: 128px;
  }
}

/* v3.12.0 SEO system: homepage/location FAQ and keyword content polish */
.bhb-seo-faq {
  max-width: 1040px;
  border-top: 1px solid #ececec;
  padding-top: 30px;
  margin: 34px 0;
}
.bhb-seo-faq h3 {
  font-size: 22px;
  line-height: 1.15;
  margin: 22px 0 8px;
}
.bhb-seo-content h2,
.bhb-seo-copy h2 {
  letter-spacing: -0.03em;
}
