:root{

--primary:#0C831F;

--primary-dark:#076518;

--bg:#f8f9fb;

--text:#1f2937;

--border:#e5e7eb;

--card:#fff;

}

/* HEADER */

.site-header{

background:#fff;

position:sticky;

top:0;

z-index:999;

box-shadow:0 2px 15px rgba(0,0,0,.06);

padding:12px 0;

}

.logo img{

height:42px;

}

.header-actions{

display:flex;

align-items:center;

justify-content:flex-end;

gap:20px;

}

.header-actions a{

text-decoration:none;

color:#111;

font-size:20px;

position:relative;

}

.cart-count{

position:absolute;

top:-8px;

right:-10px;

width:20px;

height:20px;

background:red;

color:#fff;

font-size:11px;

border-radius:50%;

display:flex;

align-items:center;

justify-content:center;

}

.location-box{

gap:10px;

align-items:center;

padding-right:20px;

border-right:1px solid #ddd;

}

.location-box i{

font-size:22px;

color:var(--primary);

}

.location-box strong{

display:block;

font-size:14px;

}

.location-box span{

font-size:12px;

color:#666;

}

.search-box{

background:#f5f5f5;

border-radius:12px;

height:50px;

display:flex;

align-items:center;

padding:0 15px;

gap:10px;

}

.search-box input{

border:none;

background:none;

outline:none;

width:100%;

}

.mobile-search{

background:#fff;

padding:10px 0;

}

/* ── Product Card ── */
.crowdfavCard {
  background: #ffffff;
  border-radius: 16px;
  overflow: hidden;
  border: 0.5px solid #e9e9eb;
  display: flex;
  flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  height: 100%;
}
 
.crowdfavCard:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.09);
}
 
/* ── Image area ── */
.crowdfavCard .imgdiv {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f5f5f5;
}
 
.crowdfavCard .imgdiv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
 
.crowdfavCard:hover .imgdiv img {
  transform: scale(1.04);
}
 
/* ── Wishlist button ── */
.card-wishlist {
  position: absolute;
  top: 8px;
  left: 8px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  border: 0.5px solid rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
  z-index: 2;
}
 
.card-wishlist svg {
  width: 16px;
  height: 16px;
  transition: fill 0.15s ease;
}
 
.card-wishlist:hover svg path {
  fill: #e24b4a;
  fill-opacity: 1;
}
 
/* ── Veg / Non-Veg badge ── */
.card-type-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 20px;
  z-index: 2;
  letter-spacing: 0.2px;
}
 
.card-type-badge .type-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  flex-shrink: 0;
}
 
.card-type-badge.veg {
  background: rgba(220, 255, 220, 0.9);
  color: #1a7a1a;
}
 
.card-type-badge.veg .type-dot {
  background: #22a722;
}
 
.card-type-badge.nonveg {
  background: rgba(255, 220, 220, 0.9);
  color: #a32d2d;
}
 
.card-type-badge.nonveg .type-dot {
  background: #e24b4a;
}
 
/* ── Discount overlay at bottom of image ── */
.card-discount-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 10px 8px;
  background: linear-gradient(to top, rgba(0,0,0,0.45), transparent);
  display: flex;
  align-items: center;
  gap: 5px;
  pointer-events: none;
}
 
.card-discount-pill {
  background: #fc8019;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 20px;
  letter-spacing: 0.3px;
}
 
/* ── Card body ── */
.crowdfavCard .card-body-inner {
  padding: 12px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
 
/* ── Name + restaurant ── */
.card-name {
  font-size: 14px;
  font-weight: 700;
  color: #3d4152;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
.card-restaurant {
  font-size: 11.5px;
  color: #93959f;
  margin: 2px 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
 
/* ── Rating + meta row ── */
.card-meta {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}
 
.card-rating {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #1e9e1e;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
}
 
.card-rating svg {
  width: 10px;
  height: 10px;
  flex-shrink: 0;
}
 
.card-meta-dot {
  width: 3px;
  height: 3px;
  background: #d4d5d9;
  border-radius: 50%;
  flex-shrink: 0;
}
 
.card-meta-text {
  font-size: 11px;
  color: #93959f;
}
 
/* ── Divider ── */
.card-divider {
  height: 0.5px;
  background: #f0f0f0;
  margin: 2px 0;
}
 
/* ── Price + Add button row ── */
.card-footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
 
.card-prices {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
 
.card-price-now {
  font-size: 15px;
  font-weight: 700;
  color: #3d4152;
}
 
.card-price-was {
  font-size: 12px;
  color: #93959f;
  text-decoration: line-through;
}
 
/* ── Add button ── */
.btngreen {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #ffffff;
  border: 1.5px solid #fc8019;
  color: #fc8019;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 8px;
  cursor: pointer;
  letter-spacing: 0.3px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
 
.btngreen:hover {
  background: #fc8019;
  color: #ffffff;
}
 
.btngreen .btn-plus {
  font-size: 17px;
  line-height: 1;
  margin-top: -1px;
}
 
/* ── Owl carousel item height fix ── */
.product-item .crowdfavCard {
  margin: 4px;
}


/* ── Category Section ── */
.category-section {
  background: #ffffff;
  padding: 24px 0 20px;
  border-bottom: 1px solid #e9e9eb;
}
 
.category-section .section-title {
  font-size: 20px;
  font-weight: 700;
  color: #3d4152;
  margin-bottom: 20px;
  letter-spacing: -0.3px;
}
 
/* ── Grid ── */
#category-slider {
  display: grid !important;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px 6px;
}
 
/* Remove Bootstrap col wrappers */
#category-slider > [class*="col-"] {
  width: auto !important;
  flex: none !important;
  max-width: none !important;
  padding: 0 !important;
}
 
/* ── Hide/show rows ── */
#category-slider > [class*="col-"] {
  display: none;
}
#category-slider > [class*="col-"].cat-visible {
  display: block;
}
 
/* ── Individual item ── */
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 10px 4px 8px;
  border-radius: 12px;
  cursor: pointer;
  transition: background 0.15s ease;
  background: transparent;
  border: none;
  animation: catFadeIn 0.25s ease both;
}
 
@keyframes catFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
 
.category-item:hover,
.category-item.active {
  background: #fff5ef;
}
 
/* ── Image circle ── */
.category-item img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #e9e9eb;
  background: #f8f8f8;
  display: block;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
 
.category-item:hover img,
.category-item.active img {
  border-color: #fc8019;
  transform: scale(1.06);
}
 
/* ── Label ── */
.category-item p {
  font-size: 11px;
  font-weight: 500;
  color: #686b78;
  text-align: center;
  line-height: 1.35;
  margin: 0;
  word-break: break-word;
  transition: color 0.15s ease;
}
 
.category-item:hover p,
.category-item.active p {
  color: #fc8019;
}
 
/* ── Explore / Show less button ── */
.cat-toggle-wrap {
  margin-top: 18px;
  text-align: center;
}
 
.cat-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid #fc8019;
  color: #fc8019;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 22px;
  border-radius: 24px;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  letter-spacing: 0.2px;
}
 
.cat-toggle-btn:hover {
  background: #fc8019;
  color: #ffffff;
}
 
.cat-toggle-btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
}
 
.cat-toggle-btn.expanded svg {
  transform: rotate(180deg);
}
 
/* ── Responsive ── */
@media (max-width: 575px) {
  #category-slider {
    grid-template-columns: repeat(4, 1fr);
  }
  .category-item img {
    width: 52px;
    height: 52px;
  }
  .category-item p {
    font-size: 10px;
  }
}
 
@media (min-width: 576px) and (max-width: 767px) {
  #category-slider {
    grid-template-columns: repeat(6, 1fr);
  }
  .category-item img {
    width: 58px;
    height: 58px;
  }
}
 
@media (min-width: 768px) and (max-width: 1023px) {
  #category-slider {
    grid-template-columns: repeat(8, 1fr);
  }
  .category-item img {
    width: 64px;
    height: 64px;
  }
}
 
@media (min-width: 1024px) {
  #category-slider {
    grid-template-columns: repeat(12, 1fr);
  }
  .category-item img {
    width: 68px;
    height: 68px;
  }
}