:root {
  --bmg-black: #101418;
  --bmg-ink: #18212b;
  --bmg-gold: #c89b45;
  --bmg-gold-dark: #9a7028;
  --bmg-red: #c9252c;
  --bmg-white: #ffffff;
  --bmg-surface: #f5f7f9;
  --bmg-border: #dfe5ea;
  --bmg-success: #157347;
  --bmg-danger: #b42318;
  --bmg-radius-sm: 8px;
  --bmg-radius-md: 14px;
  --bmg-radius-lg: 24px;
  --bmg-shadow-sm: 0 8px 24px rgb(16 20 24 / 8%);
  --bmg-shadow-md: 0 18px 48px rgb(16 20 24 / 14%);
  --bmg-container: 1200px;
  --bmg-space-1: 0.5rem;
  --bmg-space-2: 0.75rem;
  --bmg-space-3: 1rem;
  --bmg-space-4: 1.5rem;
  --bmg-space-5: 2rem;
  --bmg-space-6: 3rem;
  --bmg-space-7: 4.5rem;
}

html {
  scroll-behavior: smooth;
}

body.bmg-pccc-site {
  color: var(--bmg-ink);
  background: var(--bmg-white);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body.bmg-pccc-site *,
body.bmg-pccc-site *::before,
body.bmg-pccc-site *::after {
  box-sizing: border-box;
}

.bmg-pccc-site [id] { scroll-margin-top: 140px; }

.bmg-conversion-page #page {
  width: 100%;
  max-width: none;
}

.bmg-conversion-page .widget-area { display: none; }

body.bmg-menu-open {
  overflow: hidden;
}

/* Replace the old GeneratePress chrome while preserving all post/product data. */
.bmg-pccc-site #masthead,
.bmg-pccc-site #site-navigation,
.bmg-pccc-site > .site-footer,
.bmg-pccc-site .footer-widgets {
  display: none;
}

.bmg-pccc-site .site-content {
  padding-top: 40px;
}

.bmg-conversion-page .site-content,
.bmg-conversion-page .content-area,
.bmg-conversion-page .site-main,
.bmg-conversion-page .inside-article,
.bmg-conversion-page .entry-content {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

.bmg-conversion-page .entry-header {
  display: none;
}

.bmg-pccc-site :where(h1, h2, h3, h4) {
  color: var(--bmg-black);
  font-weight: 750;
  line-height: 1.2;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.bmg-pccc-site h1 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.bmg-pccc-site h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.8rem);
}

/* One readable type scale for legacy posts and pages. */
.bmg-pccc-site :where(.entry-title, .page-title) {
  margin-bottom: 1.2rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.bmg-pccc-site :where(.entry-content, .woocommerce-product-details__short-description) {
  color: #303944;
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.1rem);
  line-height: 1.78;
}

body.bmg-pccc-site:not(.bmg-conversion-page) .entry-content :where(p, li):not(.bmg-home *),
body.bmg-pccc-site .woocommerce-product-details__short-description :where(p, li),
body.bmg-pccc-site .woocommerce-Tabs-panel--description :where(p, li) {
  font-size: clamp(1rem, 0.96rem + 0.18vw, 1.1rem) !important;
  line-height: 1.78 !important;
  font-family: inherit !important;
}

body.bmg-pccc-site:not(.bmg-conversion-page) .entry-content :where(p, li, h1, h2, h3, h4, h5, h6):not(.bmg-home *) :where(span, strong, b, em, a, font),
body.bmg-pccc-site :where(.woocommerce-product-details__short-description, .woocommerce-Tabs-panel--description) :where(p, li) :where(span, strong, b, em, a, font) {
  font-size: inherit !important;
  line-height: inherit !important;
  font-family: inherit !important;
}

body.bmg-pccc-site:not(.bmg-conversion-page) .entry-content h2:not(.bmg-home *) {
  margin: 2.4em 0 0.7em;
  font-size: clamp(1.65rem, 2.8vw, 2.35rem) !important;
}

body.bmg-pccc-site:not(.bmg-conversion-page) .entry-content h3:not(.bmg-home *) {
  margin: 1.9em 0 0.65em;
  font-size: clamp(1.3rem, 2vw, 1.75rem) !important;
}

body.bmg-pccc-site:not(.bmg-conversion-page) .entry-content h4:not(.bmg-home *) {
  margin: 1.55em 0 0.55em;
  font-size: clamp(1.1rem, 1.5vw, 1.35rem) !important;
}

.bmg-pccc-site .entry-content :where(img, video) {
  max-width: 100%;
  height: auto;
  border-radius: var(--bmg-radius-md);
}

.bmg-pccc-site .entry-content iframe { max-width: 100%; }
.bmg-table-scroll { overflow-x: auto; max-width: 100%; }
.bmg-table-scroll:focus-visible { outline: 2px solid var(--bmg-gold-dark); }

body.bmg-pccc-site.single-post .inside-article { max-width: 820px; margin-inline: auto; }

.bmg-pccc-site .entry-content blockquote {
  margin: 2rem 0;
  padding: 1.2rem 1.4rem;
  border-left: 4px solid var(--bmg-gold);
  background: #faf7f0;
  font-size: 1.06em;
}

.bmg-pccc-site .entry-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.96rem;
}

.bmg-pccc-site .entry-content :where(th, td) {
  padding: 0.8rem;
  border: 1px solid var(--bmg-border);
  text-align: left;
}

/* Header and navigation */
.bmg-site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bmg-white);
  box-shadow: 0 8px 26px rgb(16 20 24 / 8%);
}

.admin-bar .bmg-site-header {
  top: 32px;
}

.bmg-topbar {
  background: var(--bmg-black);
  color: #f2f4f6;
  font-size: 0.8rem;
}

.bmg-topbar__inner,
.bmg-topbar__contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.bmg-topbar__inner {
  min-height: 34px;
}

.bmg-topbar a {
  color: #fff;
  text-decoration: none;
}

.bmg-topbar__contact a + a {
  padding-left: 1.25rem;
  border-left: 1px solid rgb(255 255 255 / 28%);
}

.bmg-header-main__inner {
  display: flex;
  min-height: 78px;
  align-items: center;
  gap: 1.25rem;
}

.bmg-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.8rem;
  color: var(--bmg-black);
  text-decoration: none;
}

.bmg-brand__mark {
  display: block;
  width: 62px;
  height: 58px;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.bmg-brand__mark img {
  width: 116px;
  max-width: none;
  height: auto;
  transform: translate(-27px, -11px);
}

.bmg-brand__text {
  display: grid;
  line-height: 1.15;
}

.bmg-brand__text strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  letter-spacing: 0.06em;
}

.bmg-brand__text small {
  margin-top: 0.3rem;
  color: var(--bmg-gold-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.bmg-primary-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.bmg-primary-menu {
  display: flex;
  margin: 0;
  padding: 0;
  align-items: center;
  gap: 0.15rem;
  list-style: none;
}

.bmg-primary-menu li {
  position: relative;
}

.bmg-primary-menu a {
  display: flex;
  min-height: 44px;
  padding: 0 0.7rem;
  align-items: center;
  color: #242c34;
  font-size: 0.9rem;
  font-weight: 720;
  text-decoration: none;
}

.bmg-primary-menu a:hover,
.bmg-primary-menu .current-menu-item > a {
  color: var(--bmg-red);
}

.bmg-primary-menu .sub-menu {
  position: absolute;
  top: calc(100% - 2px);
  left: 0;
  display: none;
  width: 250px;
  margin: 0;
  padding: 0.55rem;
  border: 1px solid var(--bmg-border);
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--bmg-shadow-md);
  list-style: none;
}

.bmg-primary-menu li:hover > .sub-menu,
.bmg-primary-menu li:focus-within > .sub-menu {
  display: block;
}

.bmg-primary-menu .sub-menu a {
  border-radius: 8px;
}

.bmg-primary-menu .sub-menu a:hover {
  background: var(--bmg-surface);
}

.bmg-header-cta,
.bmg-contact-button {
  display: inline-flex;
  min-height: 46px;
  padding: 0.7rem 1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--bmg-gold);
  border-radius: 8px;
  color: var(--bmg-black);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.bmg-header-cta,
.bmg-contact-button--primary {
  border-color: var(--bmg-red);
  background: var(--bmg-red);
  color: #fff;
}

.bmg-header-phone {
  display: grid;
  flex: 0 0 auto;
  color: var(--bmg-black);
  line-height: 1.2;
  text-decoration: none;
}

.bmg-header-phone span {
  color: #6f7780;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

.bmg-header-phone strong {
  color: var(--bmg-red);
  font-size: 1rem;
}

.bmg-menu-toggle {
  display: none;
  padding: 0.6rem 0.75rem;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid var(--bmg-border);
  background: #fff;
  color: var(--bmg-black);
}

.bmg-menu-close { display: none; }

.bmg-menu-toggle__icon {
  display: grid;
  width: 22px;
  gap: 4px;
}

.bmg-menu-toggle__icon i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

.bmg-menu-backdrop {
  position: fixed;
  inset: 0;
  z-index: 990;
  background: rgb(0 0 0 / 48%);
}
.bmg-menu-backdrop[hidden] { display: none; }

/* Footer */
.bmg-footer-contact {
  padding: clamp(2.4rem, 5vw, 4rem) 0;
  background: linear-gradient(135deg, #f8f1e4, #fff 64%);
  border-top: 1px solid #eadfc9;
}

.bmg-footer-contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
}

.bmg-footer-contact h2 {
  margin: 0.35rem 0 0.5rem;
  font-size: clamp(1.7rem, 3vw, 2.6rem);
}

.bmg-footer-contact p {
  margin: 0;
}

.bmg-footer-contact__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.75rem;
}

.bmg-footer {
  background: #0f1418;
  color: #cbd1d6;
}

.bmg-footer__grid {
  display: grid;
  grid-template-columns: minmax(280px, 1.45fr) repeat(3, minmax(150px, 0.7fr));
  gap: clamp(1.5rem, 4vw, 4rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.bmg-footer h2,
.bmg-footer h3 {
  margin: 0 0 1rem;
  color: #fff;
}

.bmg-footer h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.3rem;
  letter-spacing: 0.05em;
}

.bmg-footer h3 {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bmg-footer p {
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
}

.bmg-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bmg-footer li + li {
  margin-top: 0.65rem;
}

.bmg-footer a {
  color: #edf0f2;
  text-decoration: none;
}

.bmg-footer a:hover {
  color: #e2c181;
}

.bmg-footer__contact-list span {
  display: block;
  color: #89939c;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.bmg-footer__bottom {
  border-top: 1px solid rgb(255 255 255 / 10%);
  font-size: 0.8rem;
}

.bmg-footer__bottom .bmg-container {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}



/* WooCommerce: modern catalogue while keeping the old products and URLs. */
.bmg-pccc-site.woocommerce .site-main,
.bmg-pccc-site.woocommerce-page .site-main {
  padding-bottom: 4rem;
}

.bmg-pccc-site.woocommerce ul.products,
.bmg-pccc-site.woocommerce-page ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.35rem;
}

.bmg-pccc-site.woocommerce ul.products::before,
.bmg-pccc-site.woocommerce ul.products::after,
.bmg-pccc-site.woocommerce-page ul.products::before,
.bmg-pccc-site.woocommerce-page ul.products::after {
  display: none;
}

.bmg-pccc-site.woocommerce ul.products li.product,
.bmg-pccc-site.woocommerce-page ul.products li.product {
  display: flex;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 0 1rem;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--bmg-border);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 10px 30px rgb(16 20 24 / 6%);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bmg-pccc-site.woocommerce ul.products li.product:hover,
.bmg-pccc-site.woocommerce-page ul.products li.product:hover {
  transform: translateY(-4px);
  border-color: #d6bd88;
  box-shadow: 0 18px 42px rgb(16 20 24 / 11%);
}

.bmg-pccc-site.woocommerce ul.products li.product > a:first-child,
.bmg-pccc-site.woocommerce-page ul.products li.product > a:first-child {
  display: flex;
  height: 100%;
  flex-direction: column;
  text-decoration: none;
}

.bmg-pccc-site.woocommerce ul.products li.product img,
.bmg-pccc-site.woocommerce-page ul.products li.product img {
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 0 1rem;
  object-fit: contain;
  background: #f7f8f9;
}

.bmg-pccc-site.woocommerce ul.products li.product .woocommerce-loop-product__title,
.bmg-pccc-site.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
  padding: 0 1rem;
  color: var(--bmg-black);
  font-size: 1rem;
  line-height: 1.42;
}

.bmg-pccc-site.woocommerce ul.products li.product .price,
.bmg-pccc-site.woocommerce-page ul.products li.product .price {
  margin-top: auto;
  padding: 0 1rem;
  color: var(--bmg-red);
  font-size: 1.05rem;
  font-weight: 800;
}

.bmg-pccc-site.woocommerce ul.products li.product .button,
.bmg-pccc-site.woocommerce-page ul.products li.product .button {
  margin: 0.65rem 1rem 0;
  border-radius: 8px;
  background: var(--bmg-black);
  color: #fff;
  text-align: center;
}

.bmg-pccc-site.woocommerce span.onsale {
  min-width: auto;
  min-height: auto;
  padding: 0.4rem 0.65rem;
  border-radius: 6px;
  background: var(--bmg-red);
  line-height: 1.2;
}

.bmg-pccc-site.single-product div.product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 5vw, 5rem);
}

.bmg-pccc-site.single-product div.product::before,
.bmg-pccc-site.single-product div.product::after { display: none; }

.bmg-pccc-site.single-product div.product .woocommerce-product-gallery,
.bmg-pccc-site.single-product div.product .summary {
  width: auto;
  float: none;
}

.bmg-pccc-site.single-product .product_title {
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.bmg-pccc-site.single-product .summary .price {
  color: var(--bmg-red);
  font-size: 1.5rem;
  font-weight: 850;
}

.bmg-pccc-site.single-product .woocommerce-product-gallery__wrapper {
  padding: 1rem;
  border: 1px solid var(--bmg-border);
  border-radius: 18px;
  background: #f7f8f9;
}

.bmg-pccc-site.single-product .woocommerce-tabs,
.bmg-pccc-site.single-product .related {
  grid-column: 1 / -1;
}

.bmg-pccc-site a {
  text-underline-offset: 0.16em;
}

.bmg-pccc-site :where(button, .button, .wp-element-button) {
  min-height: 46px;
  border-radius: var(--bmg-radius-sm);
  font-weight: 700;
  transition: transform 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.bmg-pccc-site :where(button, .button, .wp-element-button):hover {
  transform: translateY(-1px);
  box-shadow: var(--bmg-shadow-sm);
}

.bmg-pccc-site :where(button, a, input, select, textarea):focus-visible {
  outline: 3px solid color-mix(in srgb, var(--bmg-gold) 65%, white);
  outline-offset: 3px;
}

.bmg-container {
  width: min(100% - 2rem, var(--bmg-container));
  margin-inline: auto;
}

.bmg-section {
  padding-block: clamp(3rem, 7vw, 6rem);
}

.bmg-card {
  background: var(--bmg-white);
  border: 1px solid var(--bmg-border);
  border-radius: var(--bmg-radius-md);
  box-shadow: var(--bmg-shadow-sm);
}

.bmg-eyebrow {
  color: var(--bmg-gold-dark);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bmg-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 768px) {
  :root {
    --bmg-space-7: 3rem;
  }

  .bmg-container {
    width: min(100% - 1.25rem, var(--bmg-container));
  }

  .bmg-pccc-site :where(button, .button, .wp-element-button) {
    min-height: 48px;
  }
}

@media (max-width: 1100px) {
  .bmg-header-phone,
  .bmg-primary-nav .bmg-header-cta {
    display: none;
  }

  .bmg-menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .bmg-menu-close {
    display: grid;
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    min-height: 48px;
    padding: 0;
    place-items: center;
    background: #f1f3f5;
    color: #101418;
    border: 0;
    font-size: 1.8rem;
  }

  .admin-bar .bmg-menu-close { top: 3rem; }

  .bmg-primary-nav .bmg-header-cta { display: flex; margin-top: 1.25rem; }

  html:not(.bmg-js) .bmg-primary-nav {
    position: static;
    height: auto;
    padding: 1rem;
    width: 100%;
    visibility: visible;
    transform: none;
  }
  html:not(.bmg-js) .bmg-header-main__inner { flex-wrap: wrap; }
  html:not(.bmg-js) .bmg-menu-toggle,
  html:not(.bmg-js) .bmg-menu-close { display: none; }

  .bmg-primary-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    display: block;
    width: min(88vw, 390px);
    height: 100dvh;
    padding: 5.5rem 1.2rem 2rem;
    overflow-y: auto;
    background: #fff;
    box-shadow: -20px 0 50px rgb(0 0 0 / 18%);
    transform: translateX(105%);
    visibility: hidden;
    transition: transform 200ms ease, visibility 200ms ease;
  }

  .bmg-primary-nav.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  .bmg-primary-menu {
    display: block;
  }

  .bmg-primary-menu a {
    min-height: 50px;
    padding: 0 0.35rem;
    border-bottom: 1px solid var(--bmg-border);
    font-size: 1rem;
  }

  .bmg-primary-menu .sub-menu {
    position: static;
    display: block;
    width: auto;
    padding: 0 0 0 1rem;
    border: 0;
    box-shadow: none;
  }

  .bmg-primary-menu .sub-menu a {
    color: #59636c;
    font-size: 0.92rem;
  }

  .bmg-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .bmg-pccc-site.woocommerce ul.products,
  .bmg-pccc-site.woocommerce-page ul.products {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  .admin-bar .bmg-site-header {
    top: 46px;
  }

  .bmg-topbar__inner > span:first-child,
  .bmg-topbar__contact a:last-child {
    display: none;
  }

  .bmg-topbar__inner,
  .bmg-topbar__contact {
    justify-content: center;
  }

  .bmg-header-main__inner {
    min-height: 68px;
  }

  .bmg-brand__mark {
    width: 52px;
    height: 50px;
  }

  .bmg-brand__mark img {
    width: 98px;
    transform: translate(-23px, -9px);
  }

  .bmg-brand__text strong {
    font-size: 0.9rem;
  }

  .bmg-brand__text small {
    font-size: 0.58rem;
  }

  .bmg-footer-contact__grid {
    grid-template-columns: 1fr;
  }

  .bmg-footer-contact__actions {
    justify-content: flex-start;
  }

  .bmg-footer__grid {
    grid-template-columns: 1fr;
  }

  .bmg-footer__bottom {
    padding-bottom: 66px;
  }

  .bmg-footer__bottom .bmg-container {
    display: grid;
    padding-block: 1rem;
  }

  

  

  

  

  .bmg-pccc-site.woocommerce ul.products,
  .bmg-pccc-site.woocommerce-page ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.8rem;
  }

  .bmg-pccc-site.woocommerce ul.products li.product .woocommerce-loop-product__title,
  .bmg-pccc-site.woocommerce-page ul.products li.product .woocommerce-loop-product__title {
    padding-inline: 0.75rem;
    font-size: 0.9rem;
  }

  .bmg-pccc-site.woocommerce ul.products li.product .price,
  .bmg-pccc-site.woocommerce-page ul.products li.product .price {
    padding-inline: 0.75rem;
    font-size: 0.94rem;
  }

  .bmg-pccc-site.woocommerce ul.products li.product .button,
  .bmg-pccc-site.woocommerce-page ul.products li.product .button {
    margin-inline: 0.75rem;
    padding-inline: 0.5rem;
    font-size: 0.82rem;
  }

  .bmg-pccc-site.single-product div.product {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .bmg-brand__text small {
    display: none;
  }

  .bmg-footer-contact__actions {
    display: grid;
  }

  .bmg-contact-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
