/* Make the carousel span the full width of the #feature region */
#feature { position: relative; }
#feature .carousel {
  margin: 0;                 /* remove auto-centering */
  width: 100%;               /* take full feature width */
  max-width: none !important;/* remove previous 1400px cap */
  overflow: hidden;
}

#feature .carousel .item img {
  width: 100%;
  height: 420px;             /* adjust as you like */
  object-fit: cover;
}

#feature .carousel-caption {
  text-shadow: 0 2px 6px rgba(0,0,0,.45);
  padding: 12px 18px;
  border-radius: 6px;
}

#feature .left.carousel-control,
#feature .right.carousel-control {
  background-image: none;
  width: 6%;
}

#feature .carousel-indicators { bottom: 12px; }

@media (max-width: 768px) {
  #feature .carousel .item img { height: 220px; }
  #feature .carousel-caption { font-size: 0.95rem; }
}

/* Category-only home layout */
.catalog-category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.catalog-category-card {
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 10px;
  padding: 18px;
  text-decoration: none;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease;
}
.catalog-category-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.catalog-category-card h3 {
  margin: 0 0 6px 0;
  font-size: 1.05rem;
}
.catalog-category-card p {
  margin: 0;
  color: #666;
  font-size: .9rem;
}

/* Hide listing grid on the root page only (adjust selector if needed) */
body.catalog-index .catalog-listings,
body.catalog-index .catalog-search-results { display: none !important; }

#main {
  padding-left: 3em;
padding-right: 3em;
}

/* Change the height of the cards */

/* Force taller category tiles */
#main .product-tile .product-image {
  height: 280px !important; /* bump from ~180–200px to 280px */
}

#main .product-tile .image-container,
#main .product-tile .image-wrapper {
  height: 100% !important;
}

#main .product-tile .image-wrapper {
  background-size: cover !important;
  background-position: center center !important;
  display: block;
  width: 100%;
  transition: transform .2s ease;
}

#main .product-tile:hover .image-wrapper {
  transform: scale(1.03);
}

/* Keep headings readable */
#main .product-tile .product-heading {
  min-height: 60px;
}

/* Responsive: reduce height on small screens */
@media (max-width: 768px) {
  #main .product-tile .product-image {
    height: 200px !important;
  }
}

/* --- Force taller category tiles and disable theme ratio hacks --- */
#main .product-tile .product-image,
#main .product-tile .image-container,
#main .product-tile .image-wrapper {
  height: 280px !important;         /* adjust 280–320px to taste */
  min-height: 0 !important;
  max-height: none !important;
}

/* Kill any padding-based aspect ratio on theme containers */
#main .product-tile .product-image,
#main .product-tile .image-container {
  padding: 0 !important;
  position: relative;
  overflow: hidden;                  /* keep hover zoom contained */
}

/* Some Catalog themes use ::before to set ratio — turn it off */
#main .product-tile .product-image::before,
#main .product-tile .image-container::before {
  content: none !important;
  display: none !important;
}

/* Make the background image actually fill the taller area */
#main .product-tile .image-wrapper {
  display: block;
  width: 100%;
  background-size: cover !important;
  background-position: center center !important;
  transition: transform .2s ease;
}
#main .product-tile:hover .image-wrapper { transform: scale(1.03); }

/* Neutralize the built-in placeholder <img> so it doesn't force a ratio */
#main .product-tile .image-placeholder {
  display: none !important;
}

/* set the width of the holder for the cards */
@media (min-width: 768px) {
    .nau-browse-tiles-row {
        width: 750px;
    }
}

@media (min-width: 992px) {
    .nau-browse-tiles-row {
        width: 970px;
    }
}

@media (min-width: 1200px) {
    .nau-browse-tiles-row {
        width: 1170px;
    }
}

.nau-browse-tiles-row {
    margin-left: auto;
    margin-right: auto;
}

.search-box-wrapper {
  display:none !important;
}

.search-form__actions {
  display:none !important;
}

#search-form.callout-region {
  background-color: rgb(2, 72, 144) !important;
  height: 40px !important;
}

.search-form-filters {
  display:none !important;
}
.carousel-caption h3 {
  padding-bottom: 10px !important;
}