
body {
  font-family: Arial, sans-serif;
  background-color: #f7f7f7;
  margin: 0;
  padding: 0;
}

.popup {
  
  width: 90%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  padding: 20px;
  margin: 30px auto;
  position: relative;
  /* min-height: 600px; */
  display: flex;
  flex-direction: column;
  height: 85vh; 
}
#termsContent {
  text-align: left;
  line-height: 1.6;
  font-size: 14px;
  color: #333;
}
.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 22px;
  cursor: pointer;
}
.main-heading {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin: 10px auto 5px;
  width: 100%;
  display: block;
}

.sub-heading {
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-bottom: 15px;
  line-height: 1.4;
}

h2 {
  text-align: center;
  border-bottom: 1px solid #aaa;
  padding-bottom: 10px;
  font-size: 20px;
}
.bottom-section {
  text-align: center;
  font-size: 12px;
  padding-top: 10px;
}

.offer-tile {
    display: flex;
    align-items: center;
    background: #ffffff;
    padding: 14px;
    margin-bottom: 15px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* Hover Animation */
.offer-tile:hover {
    transform: translateY(-6px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.offer-image {
    width: 100px;
    height: 100px;
    min-width: 100px;   /* Important for flex layout */
    border-radius: 12px;
    overflow: hidden;   /* Prevent image overflow */
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;   /* Makes image fit nicely */
   
}
.slider-image {
    width: 150px;
    height: 150px;
    background-color: #f5f5f5; /* Light gray background like the card */
    border-radius: 25px;       /* Heavy rounding seen in your image */
    overflow: hidden;
    display: flex;             /* Centering magic */
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); /* Optional: adds depth */
}

.slider-image img {
    /* If you want it to fill the whole square: */
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    /* OR: If you want the image to sit inside with a margin (like a logo): */
    /* max-width: 80%;
       max-height: 80%;
       object-fit: contain; */
}
/* The parent container */
.slider-container {
    overflow: hidden; /* Hides images that are "off-screen" */
    width: 100%;
}

/* The track that moves */
.slider-track {
    display: flex;
    gap: 20px; /* Space between your 150px cards */
    transition: transform 0.3s ease;
}

/* Ensuring the items STAY 150x150 */
.slider-item {
    flex: 0 0 150px; /* This is the key: Don't grow, don't shrink, stay 150px */
}

.offer-content {
    margin-left: 16px;
    flex: 1;
}

.offer-title {
    font-size: 17px;
    font-weight: 600;
    color: #222;
}

.offer-location {
    font-size: 13px;
    color: #777;
    margin-top: 4px;
}

.offer-follow {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}
h3{
  text-align: center;
}

/* Social Icons Base */
.social {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: white;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* Brand Colors */
.social.google { background: #db4437; }
.social.insta  { background: linear-gradient(45deg,#f58529,#dd2a7b,#8134af); }
.social.whatsapp {
  background: #25D366;
}

/* Icon Hover Animation */
.social:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 10px rgba(0,0,0,0.25);
}
/*slider animation*/
.slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.slider-track {
  display: flex;
  gap: 15px;
  width: max-content;
  animation: infiniteSlide 30s linear infinite;
}

.slider:hover .slider-track {
  animation-play-state: paused;
}

.slider-item {
  flex: 0 0 150px;
  width: 150px;
}

@keyframes infiniteSlide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}





/* LOADER STYLES */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(250, 218, 39, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999999;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loader-overlay.show {
  opacity: 1;
}

.loader-overlay.hidden {
  display: none !important;
}

.loader-container {
  text-align: center;
  background: white;
  padding: 30px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.loader-spinner {
  width: 60px;
  height: 60px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #43a047;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-text {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

/* Terms Popup Background */
#termsPopup {
  position: fixed;
  top: 60px; /* move down 60px from top instead of 0 */
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: flex-start; /* align to top with offset */
  z-index: 999;
  padding-top: 30px; /* extra space above the popup */
}

/* Scrollable Box */
#termsContent {
  width: 85%;
  max-width: 400px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  max-height: 80vh;
  overflow-y: auto;
  scrollbar-width: thin;
}

#termsContent::-webkit-scrollbar {
  width: 6px;
}

#termsContent::-webkit-scrollbar-thumb {
  background: #ccc;
  border-radius: 10px;
}

#termsContent::-webkit-scrollbar-track {
  background: #eee;
}

#closeTerms {
  float: right;
  font-size: 20px;
  cursor: pointer;
}

.bottom-terms {
  color: #000 !important;
  text-decoration: underline;
  cursor: pointer;
}

/* FONT SIZE CLASSES - SINGLE DEFINITION */
.bname {
  font-size: 14px !important;
  font-weight: bold;
  margin-bottom: 2px;
}

.baddress {
  font-size: 10px !important;
  line-height: 1.2;
}

.bcity {
  font-size: 10px !important;
  display: block !important;
  margin-top: 2px;
}
/*Search Box*/
/* SEARCH BOX */
/* SEARCH BOX */
.search-box {
  width: 100%;
  display: flex;
  align-items: center;
  margin: 18px 0 20px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  border-radius: 14px;
  border: 1px solid #e0e0e0;
  outline: none;
  font-size: 14px;
  background: #fff;
  transition: all 0.3s ease;
  box-sizing: border-box;
}

.search-box input:focus {
  border-color: #43a047;
  box-shadow: 0 4px 12px rgba(67,160,71,0.15);
}

.search-box i {
  position: absolute;
  left: 14px;
  color: #999;
  font-size: 14px;
  pointer-events: none;
}
#couponList {
  flex: 1;             /* Take remaining space */
  overflow-y: auto;    /* Enable vertical scroll */
  padding-right: 5px;
   position: relative;
  margin-top: 10px;
}

/* Smooth scroll */
#couponList {
  scroll-behavior: smooth;
}

#noResultsMsg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 16px;
  color: #888;
  display: none;
}
/*show full image in model when user click on image*/
.modal { 
  display: none; 
  position: fixed; 
  z-index: 9999; 
  padding-top: 50px; 
  left: 0; top: 0; 
  width: 100%; 
  height: 100%; 
  background-color: rgba(0, 0, 0, 0.9); 
} /* Full Image */ 
.modal-content { 
  display: block; 
  margin: auto; 
  max-width: 90%; 
  max-height: 90%; 
  object-fit: contain; 
} /* Close Button */ 
.close-btn { 
  position: absolute; 
  top: 20px; right: 40px; 
  font-size: 35px; 
  color: white; 
  cursor: pointer;
 }
 .popup-close-btn {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 24px;
  font-weight: bold;
  color: #333;   /* dark color for visibility */
  cursor: pointer;
  z-index: 1000; /* make sure it’s above all popup content */
}

.popup-close-btn:hover {
  color: #DC143C; /* optional hover effect */
}

/* Responsive Design */
@media (max-width: 420px) {
  .coupon-card { min-height: 60px; }
  #couponList { max-height: 400px; }
  .coupon-left { padding-left: 40px; }
  .coupon-right { padding-left: 15px; }
}

@media (min-width: 600px) {
  .popup { max-width: 550px; }
  #termsContent { max-width: 550px; }
}

@media (min-width: 1024px) {
  .popup { max-width: 600px; }
  #termsContent { max-width: 600px; }
  .coupon-left { padding-left: 60px; }
  .coupon-right { padding-left: 30px; }
  .coupon-small .coupon-right { padding-left: 45px !important; }
}


