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

/* Sticky full header */
#brx-header {
  position: sticky;
  top: 0;
  z-index: 99999;
  background: #fff;
  opacity: 1;
  transition: box-shadow 250ms ease, transform 250ms ease;
}

/* Make sure header inner areas are also solid white */
#brx-header > *,
#brxe-zvxyeb,
#brxe-vhcwht {
  background: #fff;
}

/* 6px white space after the bottom horizontal rule */
#brx-header::after {
  content: "";
  display: block;
  height: 6px;
  background: #fff;
}

/* Smooth sticky active state */
#brx-header.is-sticky {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.08);
}

/* Optional: make sticky header feel cleaner */
#brx-header.is-sticky #brxe-zvxyeb {
  transition: padding 250ms ease;
}

/* WordPress admin bar fix */
.admin-bar #brx-header {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar #brx-header {
    top: 46px;
  }
}