/*
 Theme Name:   ByFocus
 Theme URI:    https://byfocus.space
 Description:  Craft pixel-perfect websites from strategy to code. No templates, no AI — just handbuilt, conversion-driven web design for businesses that care about quality.
 Author:       ByFocus
 Author URI:   https://byfocus.space
 Template:     bricks
 Version:      1.0.4
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  bricks
 Copyright (c) 2026 ByFocus. All rights reserved.
 This software is released under the GPLv2 license.
*/

/* Shimmer Animation */
@keyframes shimmer {
0% { background-position: 200% 0; }
100% { background-position: -200% 0; }
}

/* Strong Pulse Animation (Blue) */
@keyframes strongPulseBlue {
0% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0.7); }
70% { box-shadow: 0 0 0 12px rgba(29, 78, 216, 0); }
100% { box-shadow: 0 0 0 0 rgba(29, 78, 216, 0); }
}

/* Button Class */
.button-effect {
background: linear-gradient(90deg, #1d4ed8 0%, #3b82f6 25%, #60a5fa 50%, #3b82f6 75%, #1d4ed8 100%);
background-size: 200% 100%;
animation: shimmer 3s infinite linear, strongPulseBlue 1.5s infinite;
border: none;
color: white;
}
/* Checkout buttons: align with homepage Bricks button style */
.woocommerce-checkout #place_order,
.woocommerce a.checkout-button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
.woocommerce .coupon .button,
.woocommerce button.button,
.woocommerce input.button {
  background-color: #2E55A5 !important;
  color: #fff !important;
  border: 1px solid #2E55A5 !important;
  border-radius: 999px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transition: all .2s ease !important;
}

.woocommerce-checkout #place_order:hover,
.woocommerce a.checkout-button:hover,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,
.woocommerce .coupon .button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover {
  background-color: #24448a !important;
  border-color: #24448a !important;
  color: #fff !important;
}

.woocommerce-checkout #place_order:disabled,
.woocommerce button.button:disabled,
.woocommerce input.button:disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
}
/* Woo Blocks checkout: button + simplified field visibility */
.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button,
.wp-block-woocommerce-checkout .wc-block-components-button,
.wp-block-woocommerce-cart .wc-block-cart__submit-button,
.wp-block-woocommerce-cart .wc-block-components-button {
  background-color: #2E55A5 !important;
  color: #fff !important;
  border: 1px solid #2E55A5 !important;
  border-radius: 999px !important;
  padding: 12px 24px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1 !important;
  transition: all .2s ease !important;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:hover,
.wp-block-woocommerce-checkout .wc-block-components-button:hover,
.wp-block-woocommerce-cart .wc-block-cart__submit-button:hover,
.wp-block-woocommerce-cart .wc-block-components-button:hover {
  background-color: #24448a !important;
  border-color: #24448a !important;
  color: #fff !important;
}

.wp-block-woocommerce-checkout .wc-block-components-checkout-place-order-button:disabled,
.wp-block-woocommerce-checkout .wc-block-components-button:disabled {
  opacity: .55 !important;
  cursor: not-allowed !important;
}

