/*
 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
*/
html, body {
  overflow-x: hidden;
}

.woocommerce-notices-wrapper {
	width: 100% !important;
}

.zero-price-visible {
	width: 100% !important; /* Ensure it takes full width */
}

@media (max-width: 477px) {
  #add-to-quote-button {
    width: 100% !important; /* Full width on small screens */
  }
}

#add-to-quote-button {
	margin-top: 45px;
}


.checkout-button {
	line-height: 1 !important;
}

.woocommerce-notices-wrapper:not(:empty) {
  margin-bottom: -2rem !important;
	
}

.woocommerce-message {
  border: 1px solid rgb(221, 222, 223);	
  font-size: 1.5rem;
  max-width: 1100px;
	margin: 0 auto;
}

.woocommerce-error {
	max-width: 1100px;
	border-radius: 8px;
}


.add-quote-button:hover:not(:disabled) {
  background-color: rgba(0, 0, 0, 0) !important;
  color: #006cb2 !important;
  border: 1px solid #006cb2 !important;
}

/* Gravity Forms custom styles */
body .gform_wrapper .gfield input[type="text"],
body .gform_wrapper .gfield input[type="email"],
body .gform_wrapper .gfield input[type="url"],
body .gform_wrapper .gfield input[type="tel"],
body .gform_wrapper .gfield input[type="number"],
body .gform_wrapper .gfield input[type="password"],
body .gform_wrapper .gfield select,
body .gform_wrapper .gfield textarea {
  border-radius: 8px;
}

/* Gravity Forms - Form ID 1 complete error styling override */
body #gform_wrapper_1 .gform_validation_errors {
  background: none !important;
  border-color: white !important;
  color: white !important;
}

/* Remove red background on interaction (click/focus/active) */
body #gform_wrapper_1 .gform_validation_errors:active,
body #gform_wrapper_1 .gform_validation_errors:focus,
body #gform_wrapper_1 .gform_validation_errors:focus-within {
  background: none !important;
}

/* Make OL white */
body #gform_wrapper_1 .gform_validation_errors ol {
  color: white !important;
}

/* Make error links white */
body #gform_wrapper_1 .gform_validation_errors ol a,
body #gform_wrapper_1 .gform-theme--framework .gform_validation_errors ol a {
  color: white !important;
  text-decoration: underline; /* optional for visibility */
}

.gform-theme--framework .gform_validation_errors {
	box-shadow: none !important;
}

body #gform_wrapper_1 .gform_validation_errors:focus,
body #gform_wrapper_1 .gform_validation_errors:active,
body #gform_wrapper_1 .gform_validation_errors:focus-visible {
  outline: none !important;
  box-shadow: none !important;
}


/* Error icon (text and circle border) */
body #gform_wrapper_1 .gform-icon--circle-error {
  color: white !important;
  fill: white !important;
  border-color: white !important;
  stroke: white !important;
}

/* Input field border when error */
body #gform_wrapper_1 .gfield_error input,
body #gform_wrapper_1 .gfield_error select,
body #gform_wrapper_1 .gfield_error textarea {
  border-color: white !important;
}

/* Inline validation messages */
body #gform_wrapper_1 .validation_message,
body #gform_wrapper_1 .gfield_error .gfield_description,
body #gform_wrapper_1 .gfield_error .ginput_container {
  color: white !important;
}


/* Style form labels */
body .gform_wrapper .gfield_label {
  color: white;
}
.gform_button {
	background: white !important;
	color: #006CB2 !important;
	text-transform: uppercase !important;
	border-radius: 8px !important;
}

.gform_button:hover {
	background: #006CB2 !important;
	color: white !important;
	text-transform: uppercase !important;
	border-radius: 8px !important;
	border: 1px solid white !important;
}

.gfield_required_text {
	color: white !important;
}

.gform-theme--foundation #gform_fields_1 {
  grid-row-gap: 10px !important;
}