/* Search Summary Styling */
.search-summary, .ais-RefinementList-count {
  color: #777;
  font-size: 0.9em;
}

/* Card Styling */
.card-body {
  padding: 0.5rem;
}

/* Post Styling */
.post-title {
  font-weight: bold;
}
.post-excerpt {
  font-size: 0.9em;
}
.post-date {
  font-style: italic;
  font-size: 0.8em;
}
.action-icon {
  position: absolute;
  right: 0.5rem;
  top: 0.5rem;
}

/* Hits Section */
/* Remove default styling */
.ais-Hits-list,.ais-InfiniteHits-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Ensure Bootstrap grid layout */
.ais-Hits-item,.ais-InfiniteHits-item {
  margin: 0;
  padding: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
}

/* Infinite Hits Item */
.ais-Hits-item, .ais-InfiniteHits-item {
  background: none !important;
}

.ais-Highlight-highlighted, .ais-Snippet-highlighted {
  background-color: rgba(250, 245, 202, 0.52);
  color: #252525;
}



#hits {
  margin: 4px 0;
  padding: 10px 0;
  border-top: 2px solid #eee;
}

.hit {
  font-size: 0;
  padding: 15px 0;
  border-bottom: 1px solid #eee;
}

.hit-name {
  margin: 0;
}

.hit-image {
  display: inline-block;
  width: 16%;
  text-align: center;
}

.hit-image img {
  max-width: 100%;
  max-height: 180px;
}

.hit-content {
  font-size: 13px;
  font-weight: 300;
  display: inline-block;
  width: 81%;
  margin-left: 3%;
  vertical-align: top;
}

.hit-stars {
  font-size: 17px;
  margin: 4px 0;
  color: #868686;
}

.hit-content .hit-price {
  float: right;
  margin-left: 20px;
  color: #ffffff;
  background: #383838;
  padding: 4px;
  border-radius: 3px;
}

.hit-content .hit-price, .hit-content .hit-name {
  font-weight: normal;
  margin-top: 0;
}

.hit-content mark {
  font-style: normal;
  color: #ed5565;
  background-color: transparent;
  border-bottom: solid 1px rgba(244, 107, 91, 0.5);
}

.hit-content p {
  font-size: 13px;
}

.hit-description mark, .hit-category-breadcrumb mark {
  color: inherit;
  background-color: inherit;
}

.hit-category-breadcrumb {
  margin: 5px 0 2px 0;
}

.hit-content .hit-description {
  color: #868686;
  margin: 1px 0 10px 0;
  font-size: 14px;
}

/* Search Box Container */
.search-box-container {
  border-radius: 10px;
  background: #fff;
  padding: 15px;
  box-shadow: 0px 0px 20px 10px #f3f3f3 !important;
}

/* Header Styling */
.ast-main-header-wrap, .ast-below-header-bar, .entry-header {
  display: none;
}

.card
{
  border: 0px !important;
  box-shadow: 0px 0px 20px 10px #f3f3f3 !important;
  width:95% !important;
  margin-top: 15px !important;
  border-radius: 10px !important;
}

/* Card Container */
.card-container {
  padding-right: 10px;
  padding-bottom: 10px;
}

/* SearchBox Form */
.ais-SearchBox-form {
  border-radius: 50px;
}

.ais-SearchBox-input {
  border-radius: 10px;
}

.ais-SearchBox-form:before {
  right: 2rem !important;
  left: unset !important;
}

/* Pagination Styling */
.ais-Pagination {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.ais-Pagination-list {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 10px;
}

.ais-Pagination-item {
  margin: 0;
}

/* Refinement Title */
.refinement-title {
  color: #000;
  font-weight: 600;
}

/* Hit Title */
.hit-title a {
  color: #000;
  text-decoration: none;
}

.hit-title {
  line-height: 1.2;
  margin-bottom: 0.5rem;
  color: #000;
}

/* Hit Card Hover Effect */
.hit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

.hit-card {
  transition: transform 0.2s, box-shadow 0.2s;
}

/* Custom Button Styling */
.btn-outline-custom-black {
  color: #000000;
  border-color: #000000;
}

.btn-outline-custom-black:hover {
  color: #ffffff;
  background-color: #000000;
}

.ais-InfiniteHits-loadMore
{
  color: #000 !important;
}