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

/* bf-tap-targets: 44px minimum touch targets on mobile (no layout shift) */
@media (max-width: 767px) {
	.fluent-cart-add-to-cart-button { min-height: 44px; }
	.lang-item > a { padding-block: 12px !important; margin-block: -12px !important; }
	.brxe-heading > a { display: inline-block; padding-block: 12px; margin-block: -12px; }
}

/* bf-skel: skeleton shown while the delayed Leaflet script has not drawn the map yet */
.bf-map:not(.leaflet-container) {
	background: linear-gradient(100deg, rgba(107,173,13,.08) 30%, rgba(107,173,13,.18) 50%, rgba(107,173,13,.08) 70%);
	background-size: 200% 100%;
	animation: bf-skel 1.4s linear infinite;
	border-radius: inherit;
}
@keyframes bf-skel { to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .bf-map:not(.leaflet-container) { animation: none; } }
