/* === pastel stats strip under menu === */
.statsStrip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin: 12px 0 16px 0;
}

/* base card */
.statBox {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.03);
}

/* top bar (title + count) */
.statTop {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 14px 8px 14px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.16);
  border-radius: 18px 18px 0 0;
}
.statTitle {
  font-size: 13px;
  font-weight: 600;
  color: #0f172a;
}
/* ===== Rate & Review buttons side by side ===== */
.statBlock {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 6px 14px;
  margin-right: 8px;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

.statBlock a.statActionLink {
  text-decoration: none;
  color: #fff; /* soft blue */
  font-weight: 400;
  font-size: 14px;
}

.statBlock:hover {
  background: #eef2ff; /* pastel blue hover */
  border-color: #c7d2fe;
}

@media (max-width: 600px) {
  .statBlock {
    padding: 8px 12px;
    font-size: 13px;
  }
}

.statActionsRow {
  display: flex;
  justify-content: center;   /* centers horizontally */
  align-items: center;
  gap: 14px;                 /* space between buttons */
  margin: 20px auto;         /* centers inside parent */
  text-align: center;
  width: 100%;
}


.statCount {
  background: rgba(255,255,255,0.8);
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  min-width: 48px;
  text-align: center;
}

/* body content */
.statBody {
  padding: 9px 14px 11px 14px;
  background: rgba(255,255,255,.7);
}
.statSubTitle {
  font-size: 11px;
  font-weight: 600;
  color: #73819b;
  margin-bottom: 4px;
}
.statBody ul.miniList {
  margin: 0;
  padding: 0;
  list-style: none;
}
.statBody ul.miniList li {
  font-size: 12px;
  line-height: 1.35;
  color: #0f172a;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.noSubData {
  font-size: 11px;
  color: #94a3b8;
}


.ratingStarsInline {
  display: inline-block;
  margin-left: 6px;
  font-size: 15px;
  vertical-align: middle;
  color: #facc15; /* soft gold */
  line-height: 1;
}
.ratingStarsInline .empty {
  color: #e5e7eb; /* light grey for unfilled */
}

@media (max-width: 600px) {
  .ratingStarsInline {
    font-size: 14px;
  }
}

.miniList .star {
  font-size: 12px;
  color: #ddd;
  margin-left: 1px;
}

.miniList .star.full {
  color: gold;
}

.miniList .star.empty {
  color: #ccc;
}


/* pastel backgrounds */
.stat-views {
  background: linear-gradient(175deg, #e6f0ff 0%, #ffffff 40%);
}
.stat-enq {
  background: linear-gradient(175deg, #fff2df 0%, #ffffff 40%);
}
.stat-cmt {
  background: linear-gradient(175deg, #ffe8f5 0%, #ffffff 40%);
}
.stat-rate {
  background: linear-gradient(175deg, #eafcf0 0%, #ffffff 40%);
}

/* spacer util */
.mb-16 { margin-bottom: 16px; }

/* mobile */
@media (max-width: 768px) {
  .statsStrip {
    grid-template-columns: 1fr;
  }
}
