/* Working as of July 7, 2025 */
div#custom-feature-container {
	display: block;
	box-sizing: border-box;
	text-align: center;
	color: #ffffff;	height: 100px;
	background: #000 url("https://resources.finalsite.net/images/f_auto,q_auto,t_image_size_6/v1747422840/esc11net/csayqtsfnlhafjfkjzqi/BluebonnetCatalogBanner.png") no-repeat left bottom;
	background-size: cover;
}
div#custom-feature-container h1 {
	line-height: 10px;
	font-size: 40px;
	margin: 0 0 12px;
	font-weight: bold;
}
div#custom-feature-container .hero-container {
	padding: 16px 48px 0;
}
#home-page .feature-region {
	background: #202B65;
}

#custom-feature-container .hero-container h1 {
    line-height: 1.25;
    overflow-wrap: break-word;
    word-break: break-word;
    font-size: clamp(1.75rem, 1.85vw + 1rem, 3rem);
  }

/* ========== Custom Styles for Listings Page ========== */
/* Working as of July 8, 2025 */

/* --- Layout Tweaks --- */

/* Moves the "Browse Listings" heading down to make space for the Reset button */
#listings h2 {
    margin-top: 24px;
}

/* --- Hide Default Canvas Search Components --- */

/* Hides search label and input field */
#search-form .search-label,
#search-form .search-box-wrapper {
    visibility: hidden;
}

/* --- Product Flags --- */

/* Adjusts vertical placement of FREE product label */
.product-flag.product-flag-free {
    margin-top: -74px; 
}

/* --- Hide Built-in Dropdowns --- */

/* Hides the "Refine" filter dropdown button */
#search-refine-button--refine {
    display: none;
}

/* Makes default category button invisible (still script-accessible) */
#search-refine-button--categories {
    display: none;
}

/* --- Active Button Styling --- */

/* Unified styling for active buttons (Level, Grade, etc.) */
.level-button.active,
.grade-button.active {
    background-color: #0056b3;
    color: white;
    border: 1px solid #004494;
}

/* --- Dropdown Styling --- */

/* Reusable dropdown item style */
.dropdown-item {
    display: block;
    padding: 5px 10px;
    text-decoration: none;
    color: black;
}

/* Hides Login */
a[href="/login"] {
    display: none;
}

/* Hides Name display (if logged in) */
button[data-position-target='Popover_0'] {
    display: none;
}

/* parent that holds the label + dropdown buttons */
#search-form .search-form-container > div > div > div {
    display: flex;
    align-items: center;   
    flex-wrap: wrap;       
  }
  
  .filter-label {
    margin-right: 8px;
    font-weight: 600;
  }

 /* keep text left, icon right—one row, always centered vertically */
#search-form .dropdown-menu .dropdown-item {
  display: flex;                 
  justify-content: space-between;
  align-items: center;           
}

#search-form .dropdown-menu .dropdown-item .icon {
  flex: 0 0 auto;                
  margin-left: .5rem;            
}

#search-form .search-refine-button .search-refine-button__contents {
    display: inline;                  
}