#search-results-container {
    max-width: 1200px;
    margin: 100px auto;
}

.offers-grid {
    padding: 20px;
    display: grid;
    justify-content: center;
    grid-template-columns: repeat(auto-fit, minmax(330px, 0.2fr));
    row-gap: 50px;
    column-gap: 30px;
}

.offer-card {
    height: 550px;
    max-height: 550px;
    background-color: #f5f5f5;
    overflow: hidden;
    box-shadow: 0px 12px 18px -6px rgba(0, 0, 0, 0.39);
    border-radius: 20px;
}

.offer-card-img-container {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.offer-card-img {
    width: 100%;
    height: 290px;
    border-bottom-right-radius: 15%;
    object-fit: cover;
    transition: all .4s ease-in-out;
}

.offer-card:hover .offer-card-img {
    transform: scale(1.15);
}

.card-title {
    width: 100%;
    max-height: 90px;
    border-top-left-radius: 50px;
    padding: 25px 10px 5px;
    overflow: auto;
    background-color: rgba(245, 245, 245, 0.7);
    position: absolute;
    bottom: 0;
	color: #313131; !important

}

.card-title h5 {
   
    margin: 0;

}

.card-meta h5 {
    margin-top: 2rem;
    padding-left: 20px;
    margin-bottom: 10px;
	
}

.meta-business-type {
    background: #FCB713 0% 0% no-repeat padding-box;
    border-radius: 0px 10px 10px 0px;
    width: fit-content;
    padding: 5px 50px 5px 20px;
    margin-bottom: 10px;
}

.meta-business-type a {
    color: white;
    font-size: 20px;
    font-weight: bold;
}

p.meta-excertp {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    padding: 0 20px;
    color: #707070;
    max-height: 80px;
}

.btn-read-more {
    display: block;
    padding: 0 10px;
    text-align: right;
    color: #103366 !important;
}

.search-results-pagination{
    text-align: center;
}
/*css gia offer card */

/* === Exact image size === */
#search-results-container .offer-card-img-container {
  position: relative;
  width: 352.42px;          /* exact width you asked */
  height: 303.62px;         /* exact height you asked */
  overflow: hidden;
}

#search-results-container .offer-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Make the card fit the image width nicely (optional but recommended) */
#search-results-container .offer-card {
  width: 352.42px;          /* keeps the card tight to the image width */
  border-radius: 20px;
  overflow: hidden;
  background: #F5F5F5;
  box-shadow: 0 12px 24px -10px rgba(0,0,0,.25);
}

/* === Description/content area background under the image === */
#search-results-container .card-meta {
  background: #F0F0F0;      /* light grey like the mock */
  padding: 16px 18px 18px;
  position: relative;
  z-index: 0;               /* sits under the bubble’s “lobe” */
}

/* === “Bubble” badge over the image (discount text) ===
   Color: #E1E4E4BF (≈ 75% opacity). Overlaps to the right with a rounded “pointy” end.
*/
#search-results-container .card-title {
  position: absolute;
  left: 12px;
  bottom: -14px;                       /* pull it slightly into the grey area */
  max-width: calc(100% - 24px);
  padding: 12px 16px;
  background: rgba(225,228,228,0.75);  /* #E1E4E4BF */
  color: #2a2a2a;
  border-radius: 16px 40px 16px 16px;  /* rounded bubble */
  backdrop-filter: saturate(140%) blur(2px);
  z-index: 2;                          /* above image & content */
}

/* Bubble text */
#search-results-container .card-title h5 {
  margin: 0;
  color: #313131;                             /* requested color */
  font-family: "Geologica", Arial, sans-serif;
  font-weight: 700;                           /* Bold */
  font-size: 20px;
}

/* Create the rounded “pointy end” that overlaps into the description box */
#search-results-container .card-title::after {
  content: "";
  position: absolute;
  right: -22px;                        /* push outside to create the lobe */
  bottom: 0;
  width: 70px;
  height: 70px;
  background: rgba(225,228,228,0.75);  /* same as bubble */
  border-bottom-left-radius: 70px;     /* quarter circle */
  border-top-right-radius: 0;
  z-index: -1;                         /* place behind the main bubble block */
}

/* Tidy brand/title & tag, if you use them */
#search-results-container .card-meta h5 {
  margin: 12px 0 8px;
  color: #103366;
  font-weight: 600;
}

#search-results-container .meta-business-type {
  display: inline-block;
  background: #02AFC5;
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  margin: 6px 0 10px;
}
#search-results-container .meta-business-type a {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

/* If your grid is squeezing cards, ensure nice gaps */
#search-results-container .offers-grid {
  grid-template-columns: repeat(auto-fit, minmax(352.42px, 1fr));
  gap: 28px;
}

/*test */
.business-pill {
  background-color: #00BFB1;
  color: white;
  font-family: 'Geologica', sans-serif;
  font-weight: 700; /* bold */
  font-size: 17px;
  padding: 8px 28px 8px 18px;
  border-radius: 0 30px 30px 0; /* flat on the left */
  width: fit-content;
  margin: 10px 0 15px 0;
  margin-left: 0; /* start flush with card edge */
  display: inline-block;
}


.business-pill a {
  color: #ffffff;
  text-decoration: none;
  font-family: 'Geologica', sans-serif;
  font-weight: 700;
  font-size: 17px;
}

.business-pill a:hover {
  text-decoration: underline;
}
/* Bubble text (-10% ...) */
#search-results-container .card-title h5 {
  margin: 0;
  color: #313131;                             /* requested color */
  font-family: "Geologica", Arial, sans-serif;
  font-weight: 700;                           /* Bold */
  font-size: 20px;
}

/* Store name */
#search-results-container .store-name {
  margin: 12px 0 8px;
  color: #103366;
  font-family: "Geologica", Arial, sans-serif;
  font-weight: 700;                           /* Bold */
  font-size: 18px;
}

/* Description */
#search-results-container p.meta-excertp {
  margin: 0 0 12px;
  color: #707070;
  font-family: "Geologica", Arial, sans-serif;
  font-weight: 400;                           /* Regular */
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Read more link */
#search-results-container .btn-read-more {
  font-family: "Geologica", Arial, sans-serif;
  font-weight: 300;                           /* Light */
  font-size: 12px;
  color: #103366 !important;
  text-decoration: none;
}
#search-results-container .btn-read-more:hover {
  text-decoration: underline;
}



