/*
 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
*/

.brxe-post-content h2 {
	line-height: 1.2;
}






/* ========================================
   Remove Shop on Front Page
======================================== */

.page-id-4204 .shop-nav-section { display: none; }


/* ========================================
   WPGB Search Facet 
======================================== */

input.wpgb-input[name="product_search"]::placeholder {
  opacity: 0.5;
}

/* ========================================
   Lightbox
======================================== */

/* White lightbox background */
body .pswp.brx {
  --pswp-bg: #fff;
  --pswp-icon-color: #111;
  --pswp-icon-color-secondary: #fff;
  --pswp-icon-stroke-color: #fff;
}

body .pswp.brx .pswp__bg {
  background: #fff !important;
  opacity: 1 !important;
}

/* Dark counter and caption text */
body .pswp.brx .pswp__counter,
body .pswp.brx .pswp__caption {
  color: #111;
  text-shadow: none;
}


/* ========================================
   WOOCOMMERCE NOTICES
======================================== */


/* Notice wrappers */

.woocommerce-notices-wrapper,
.woocommerce-NoticeGroup {
    width: 100%;
    max-width: 100%;
    margin: var(--space-l) auto 0 auto;
    padding: 0;
}


/* ========================================
   ALL NOTICES - SHARED STYLES
======================================== */

.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    box-sizing: border-box;
    position: relative;
    width: 100%;

    margin: 0 0 2em;
    padding: 1em 2em 1em 3.5em;

    background-color: #f8f8f8;
    color: var(--primary);

    border: 0;
    border-top: 3px solid;

    border-radius: 0;
    box-shadow: none;

    font-size: 1em;
    font-weight: 400;
    line-height: 1.5;
    text-align: left;

    list-style: none;
}

.woocommerce-notices-wrapper .woocommerce-message a {
    align-items: center;
    background-color: #080808 !important;
    
    border-width: 0;
    color: currentcolor;
    color: var(--white);
    display: inline-flex;
    font-weight: 500;
    justify-content: center;
    min-height: 40px;
    order: 2;
    padding: 7px 15px;
    text-align: center;
    text-decoration: none;
}


/* ========================================
   SUCCESS NOTICES
======================================== */

.woocommerce-message {
    background-color: #f8f8f8;
    color: var(--primary);
    border-top-color: var(--primary);
	outline-color: transparent;
}


/* ========================================
   INFORMATION NOTICES
======================================== */

.woocommerce-info {
    background-color: #f8f8f8;
    color: var(--primary);
    border-top-color: var(--primary);
	outline-color: transparent;
}


/* ========================================
   ERROR NOTICES
======================================== */

.woocommerce-error {
    background-color: #f8f8f8;
    color: var(--primary);
    border-top-color: var(--primary);
}


/* ========================================
   BLOCK-BASED WOOCOMMERCE NOTICES
======================================== */

.wc-block-components-notice-banner {
    box-sizing: border-box;
    width: 100%;
    margin: 0 0 2em;
    padding: 1em;
    border: 1px solid;
    border-radius: 4px;
    font-size: 1em;
    line-height: 1.5;
}

.wc-block-components-notice-banner.is-success {
    background-color: #f8f8f8;
    color: var(--primary);
    border-color: var(--primary);
}

.wc-block-components-notice-banner.is-info {
    background-color: #f8f8f8;
    color: var(--primary);
    border-color: var(--primary);
}

.wc-block-components-notice-banner.is-error {
    background-color: #f8f8f8;
    color: #515151;
    border-color: #f8f8f8;
}


/* ========================================
   WOOCOMMERCE - PROCEED TO CHECKOUT BUTTON
======================================== */

/* Default state */
.woocommerce .wc-proceed-to-checkout a.checkout-button {
    display: block;
    width: 100%;
    box-sizing: border-box;

    margin: 0;
    padding: 1em;

    background-color: var(--primary);
    color: var(--white);

    border: 0;
    border-radius: 3px;
    box-shadow: none;

    font-size: 1.25em;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover state */
.woocommerce .wc-proceed-to-checkout a.checkout-button:hover {
    background-color: var(--primary);
    color: var(--white);;
}

/* Keyboard focus */
.woocommerce .wc-proceed-to-checkout a.checkout-button:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}




/* ========================================
   WOOCOMMERCE - PLACE ORDER BUTTON
======================================== */

/* Default state */
.woocommerce-checkout #place_order {
    display: block;
    width: 100%;
    box-sizing: border-box;

    margin: 0;
    padding: 1em;

    background-color: var(--primary);
    color: var(--white);

    border: 0;
    border-radius: 3px;
    box-shadow: none;

    font-size: 1.25em;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;

    cursor: pointer;
    transition: all 0.2s ease;
}

/* Hover state */
.woocommerce-checkout #place_order:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* Keyboard focus */
.woocommerce-checkout #place_order:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}

/* Disabled state */
.woocommerce-checkout #place_order:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}