.ba-blog-post-add-to-cart-button {
  margin-left: auto;
  margin-right: auto;
}

/* If the body contains a .poa element, hide the specified divs */
body:has(.poa) .ba-add-to-cart-info,
body:has(.poa) .ba-add-to-cart-button-wrapper {
    display: none !important;
}

.ba-checkout-authentication-wrapper::before {
  background-image: url("/images/logos/glebe_logo.jpg");
  content: "";
  height: 70px;
  position: absolute;
  top: -25px;
  width: 250px;
  background-size: 100%;
}

@media only screen and (max-width: 1005px) {
 .ba-checkout-authentication-wrapper::before {
  	background-image: url("/images/logos/glebe_logo.jpg");
  	content: "";
  	height: 70px;
  	position: absolute;
  	top: 0px;
  	width: 250px;
  	background-size: 100%;
	}
}

/* Style the search input to match your site's fields */
.ba-town-search-field {
    width: 100% !important;
    height: 100% !important;
    padding: 0 15px !important;
    border: 1px solid #eeeeee !important; /* Standard Gridbox border color */
    border-radius: 0.5625rem !important;
    font-size: 14px !important;
    font-family: inherit;
    color: #333333;
    background-color: #f5f8f8 !important;
    box-sizing: border-box !important;
    margin-bottom: 8px !important;
    transition: border-color 0.2s ease;
}

.ba-town-search-field:focus {
    border-color: #2196F3 !important; /* Your primary blue highlight */
    outline: none;
}

/* Style the custom dropdown list */
.ba-town-search-results {
    position: absolute;
    width: 100%;
    max-height: 250px;
    overflow-y: auto;
    background: #ffffff;
    border: 1px solid #cccccc;
    border-top: none;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0 0 4px 4px;
}

/* Individual list items */
.ba-town-search-results div {
    padding: 10px 15px;
    font-size: 14px;
    color: #444;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.1s;
}

/* Scrollbar styling for a cleaner look */
.ba-town-search-results::-webkit-scrollbar {
    width: 6px;
}
.ba-town-search-results::-webkit-scrollbar-thumb {
    background: #cccccc;
    border-radius: 10px;
}