/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

/* Hide any element marked with .rs-hide-when-no-buy when "do not buy" mode is enabled */
body.rs-hide-pricing .rs-hide-when-no-buy {
  display: none !important;
}

/* Show element only when "do not buy" mode is enabled (hidden by default, flex when on) */
.rs-show-when-no-buy {
  display: none !important;
}
body.rs-hide-pricing .rs-show-when-no-buy {
  display: flex !important;
}

/* WooCommerce Blocks buttons (cart/checkout) — match site dark accent */
.wc-block-components-button:not(.is-link) {
  background-color: #1a1a1a;
  border: 1px solid #1a1a1a;
  color: #fff;
  border-radius: 4px;
  padding: 0.75em 1.5em;
  font-weight: 600;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.wc-block-components-button:not(.is-link):hover,
.wc-block-components-button:not(.is-link):focus,
.wc-block-components-button:not(.is-link):active {
  background-color: #333;
  border-color: #333;
  color: #fff;
}

.wc-block-components-button:not(.is-link):disabled,
.wc-block-components-button:not(.is-link).is-loading {
  opacity: 0.6;
}