/* SpotsRated — layout fixes & image constraints */

/* Cravings / categories grid */
.fp-categories {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.fp-category {
  display: flex !important;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid var(--fp-border, #e7e3da);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.fp-category:hover {
  transform: translateY(-3px);
  box-shadow: var(--fp-shadow-soft, 0 18px 45px rgba(17, 24, 39, 0.08));
  color: inherit;
}

.fp-category__media {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--fp-cream, #fff7e8);
  flex-shrink: 0;
}

.fp-category__media img {
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  display: block;
}

.fp-category__body strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--fp-text, #111827);
}

.fp-category__body span {
  display: block;
  font-size: 12px;
  color: var(--fp-muted, #6b7280);
  margin-top: 2px;
}

/* Cuisine gallery — uniform tiles */
.fp-cuisine-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.fp-cuisine-card__media {
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: var(--fp-cream, #fff7e8);
}

.fp-cuisine-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* City tiles */
.city-tile {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--fp-cream, #fff7e8);
}

.city-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Big city cards */
.fp-bigcity {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 5 / 4;
  background: var(--fp-cream, #fff7e8);
}

.fp-bigcity img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Floating hero cards */
.floating-food-card__media {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--fp-cream, #fff7e8);
}

.floating-food-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Dish / place cards */
.fp-dish-card__media,
.fp-place-tile__media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--fp-cream, #fff7e8);
}

.fp-dish-card__media img,
.fp-place-tile__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .fp-categories {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .fp-categories {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .fp-category {
    padding: 14px;
  }

  .fp-category__media {
    width: 56px;
    height: 56px;
    min-width: 56px;
  }
}
