/* LookDiscounts Style Sheet */

:root {
  --brand:#e52a2a; /* match your logo red */
  --brand-dark:#c61e1e;
}

.brand-bar { background:var(--brand)!important; color:#fff!important; }
.brand-btn { background:var(--brand); color:#fff; border:none; padding:10px 16px; border-radius:6px; cursor:pointer }
.brand-btn:hover { background:var(--brand-dark) }

.offer-card {
  transition: transform .15s ease, box-shadow .15s ease;
  border-radius:10px;
  overflow:hidden;
  position: relative;
}
.offer-card:hover { transform:translateY(-3px); box-shadow:0 10px 25px rgba(0,0,0,.12) }

.badge {
  position:absolute; top:8px; left:8px;
  background:rgba(229, 42, 42, 0.80);
  color:#fff; padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  backdrop-filter: blur(2px);
}

@media (max-width: 600px) {
  .badge {
    /* top: 4px;
    left: 4px;
    padding: 4px 8px; */
    font-size: 10px;
  }
}

.nav-link { padding:12px 16px; display:inline-block }
.search-wrap { max-width:900px; margin:auto }

.category-chip {
  border:1px solid #eee;
  border-radius:999px;
  padding:10px 14px;
  display:inline-flex;
  gap:8px;
  align-items:center;
}
.category-chip:hover { border-color:var(--brand); color:var(--brand) }

.footer { background:#111; color:#eee }
.footer a { color:#ddd }

/* make images tidy */
.img-fit { width:100%;height:180px;  object-fit:cover;}

.logo-margin { margin:6px 10px; }
.logo-size { width:130px; height:25px; vertical-align:middle }

/* Header smaller */
header { padding: 2px 0 !important; }
header h1 { font-weight: 600 !important; font-size: 18px; margin: 4px 0; }
header p { margin: 0; font-size: 12px; color: #777; }

/* Slideshow */
.slideshow-container {
  max-width: 100%;
  position: relative;
  margin: auto;
 }

.slide {
  position: relative;
  display: none; /* hidden by default, shown by JS */
}

.slide img {
  width: 100%;
  height: 260px;       /* fixed desktop banner height */
  object-fit: cover;    /* crop neatly */
 /* object-fit: contain; */
}

/* Mobile adjustment */
@media (max-width: 600px) {
  .slide img {
	  width: 100%;
    height: 240;       /* taller on mobile */
    object-fit: contain; /* don’t crop small banners */
   /*  background: #fff; */    /* fill gaps if aspect ratio differs */
  }
}
/* --- Fix: Slide text overlay --- */
.slide-text {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(229, 42, 42, 0.8);
  color: #fff;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 13px;
  line-height: 1.4em;
  z-index: 2;
  max-width: 85%;         /* prevent overflow */
  white-space: normal;    /* allow wrapping */
  box-sizing: border-box; /* consistent padding */
}

@media (max-width: 600px) {
  .slide-text {
    font-size: 11px;
    padding: 3px 8px;
    top: 12px;
    left: 8px;
    max-width: 75%;
  }
}

/* Responsive tweaks */
@media (max-width:600px){ 
  .img-fit { height:160px  }
}

/* Extra small devices: fallback to 1 card per row */
@media (max-width: 400px) {
  .offer.w3-col { width: 100% !important;}
 }

/* Mobile adjustments */
@media (max-width: 600px) {
  /* Reduce card padding */
  .offer-card .w3-padding { padding: 8px !important; }

  /* Reduce card title font */
  .offer-card h6 { font-size: 13px !important; line-height: 1.3em; }

  /* Reduce subtitle/address font */
  .offer-card p { font-size: 12px !important; }

  /* Reduce button font + padding */
  .offer-card button { font-size: 12px !important; padding: 6px !important; }

  /* Control card image height so it doesn't stretch too tall */
  .offer-card img {
	max-height: 230px;
    object-fit: cover;
	/* object-fit: contain; */
  }
}

/* Dots overlay inside slideshow */
.dots-container {
  position: relative;
  bottom: 20px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 5;
}

.dot {
  height: 6px;
  width: 6px;
  margin: 0 0px;
  background-color: #bbb;
   border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.active-dot { background-color: var(--brand); }

@media (max-width: 600px) {
  .dot { height: 6px; width: 6px; margin: 0 0px; }
  .dots-container { bottom: 20px; }
}

.city-filters {
  max-width: 1200px;
  margin-top: 2px;  /* pull filters upwards */
}

/* Light border for mobile menu items */
#navSmall .nav-item {
  border-bottom: 1px solid #f1f1f1; /* light grey */
}
