
/* === RBBC HOTFIX v1 ===
   - Hide legacy footer
   - Bigger header logo (mobile)
   - WooCommerce product gutter on mobile
   - Red Add to Cart buttons
   - Sticky Proceed to Checkout
   - Clean up extra floating carts (keep theme's #rbbc-cart-fab if present)
*/

/* 1) Remove footer (theme already has sticky menu) */
footer, #colophon { display: none !important; visibility: hidden !important; height: 0 !important; padding: 0 !important; margin: 0 !important; }

/* 2) Header logo size on mobile */
@media (max-width: 768px){
  .site-branding img.custom-logo, .custom-logo, .site-logo img, .site-header .custom-logo-link img {
    height: 28px !important;
    width: auto !important;
  }
  .site-branding, .site-header .site-branding { padding-left: 10px !important; }
}

/* 3) Woo products spacing on mobile (no edge-touch) */
.woocommerce ul.products, .woocommerce-page ul.products { padding: 0 16px !important; }
.woocommerce ul.products li.product, .woocommerce-page ul.products li.product { margin: 0 0 24px !important; }

/* 4) RBBC red buttons */
.woocommerce a.button, .woocommerce button.button, .woocommerce input.button,
.add_to_cart_button, .single_add_to_cart_button, .woocommerce .button {
  background: #B32821 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 14px !important;
  padding: 12px 18px !important;
  text-transform: none !important;
}
.woocommerce a.button:hover, .woocommerce .button:hover { filter: brightness(1.08); }

/* 5) Sticky proceed to checkout bar */
.woocommerce-cart .wc-proceed-to-checkout, .woocommerce-checkout .wc-proceed-to-checkout {
  position: sticky !important;
  bottom: 0 !important;
  z-index: 100 !important;
  background: rgba(10,10,10,0.92) !important;
  padding: 12px 16px !important;
  margin: 0 !important;
}
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce-checkout .wc-proceed-to-checkout a.checkout-button{
  width: 100% !important;
  background: #B32821 !important;
  border-radius: 14px !important;
}

/* 6) Show only one floating cart button.
   We keep #rbbc-cart-fab if the theme provides it, otherwise keep .rbbc-cart-fab.
   Hide common plugin floaters that caused duplicates.
*/
.woofc-cart-floating, .xoo-wsc-cart-trigger, .cart-icon-fixed, .floating-cart-button,
div[id*="wcf-floating-cart"], .woo-floating-cart, .sticky-mini-cart { display: none !important; }

/* Make sure our cart fab (if present) sits comfortably above the sticky menu */
#rbbc-cart-fab, .rbbc-cart-fab {
  right: 18px !important;
  bottom: 96px !important;
}
