
/* === RBBC patched overrides === */

/* Header: make logo wider and align nicely */
.site-branding img, .custom-logo {
  max-height: 56px;
  width: auto;
}
@media (min-width: 768px) {
  .site-branding img, .custom-logo { max-height: 68px; }
}

/* Remove footer (duplicate of header nav) */
.site-footer, footer.site-footer { display: none !important; }

/* First hero section: ensure the three images fit on small screens */
.rbbc-hero .hero-bunch img {
  max-height: 360px;
  object-fit: contain;
}
@media (max-width: 480px) {
  .rbbc-hero .hero-bunch img { max-height: 260px; }
}

/* Woo: clean shop sidebar widgets & spacing */
.woocommerce .widget-area, .woocommerce .sidebar, .woocommerce-page .widget-area {
  display: none !important;
}
.woocommerce .content-area, .woocommerce .site-main, .woocommerce-page .site-main {
  width: 100%;
}
/* products not touching edge on mobile */
.woocommerce ul.products {
  padding: 0 16px !important;
}
.woocommerce ul.products li.product {
  margin: 0 8px 24px 8px !important;
}
/* product cards */
.woocommerce ul.products li.product .button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button {
  background:#b4241f !important;
  color:#fff !important;
  border-radius: 12px !important;
  border: none !important;
  padding: 12px 16px !important;
  font-weight: 700;
}
.woocommerce button.button.alt,
.woocommerce a.button.alt {
  background:#b4241f !important;
}

/* Sale badge match theme */
.woocommerce span.onsale {
  background:#b4241f !important;
  padding: 0.4rem 0.6rem;
  border-radius: 999px;
  font-weight: 800;
}

/* Cart/checkout: sticky proceed bar */
.woocommerce-cart .wc-proceed-to-checkout,
.woocommerce-checkout .wc-proceed-to-checkout {
  position: sticky;
  bottom: 0;
  z-index: 1001;
  background: rgba(0,0,0,0.85);
  padding: 16px;
  backdrop-filter: blur(4px);
}
.woocommerce-cart .wc-proceed-to-checkout .checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout .checkout-button {
  width: 100%;
  background:#b4241f !important;
  border-radius:12px;
}

/* Floating cart bubble */
#rbbc-cart-fab {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 1002;
  display: flex;
  align-items: center;
  gap: 8px;
  background:#b4241f;
  color:#fff;
  padding: 14px 18px;
  border-radius: 28px;
  box-shadow: 0 8px 24px rgba(0,0,0,.35);
}
#rbbc-cart-fab .cart-icon {
  width: 22px; height: 22px; display:block;
}
#rbbc-cart-fab .cart-count {
  font-weight: 800;
  font-size: 16px;
}

/* Make header logo a bit wider on mobile visibility */
.site-header .site-branding { max-width: 200px; }
