/* custom.css */

/* Container for number, stars & count */
.resto-rating {
  display: flex;
  align-items: center;
  padding: 4px 0;
  font-size: 0.9rem;
}

/* The numeric rating (e.g. “4.3”) */
.resto-rating-number {
  margin-right: 6px;
  font-weight: 600;
  line-height: 1;
}

/* The stars container */
.resto-rating-stars {
  display: flex;
  line-height: 1;
  margin-right: 6px; /* push count over */
}

/* Each star (we inject the ★ via CSS) */
.resto-rating-stars .star {
  position: relative;
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: 2px;
  color: #ccc; /* default (empty) star color */
  line-height: 1;
  font-size: 1rem; /* control star size */
}
.resto-rating-stars .star::before {
  content: '★';
  position: absolute;
  top: 0;
  left: 0;
}

/* Filled stars */
.resto-rating-stars .star.filled {
  color: #f5a623; /* gold (or your brand color) */
}

/* The review count “(41)” */
.resto-rating-count {
  font-size: 0.6rem;
  color: #666;
  line-height: 1;
  font-weight: 300;
}

/* Ensure cards don’t clip your content */
.city .resto-container .resto {
  /* use min-height so ratings can expand if needed */
  min-height: 140px;
}

/* make the “Jetzt bestellen” CTA into an orange pill/button */
.resto-content > span {
  display: inline-block;
  margin-top: 2px;        /* a bit of space above */
  padding: 2px 8px;       /* roomy click‐area */
  background-color: #ff8000; /* Lieferando orange */
  color: #fff;            /* white text */
  font-weight: 300;
  border-radius: 16px;
  text-decoration: none;  /* no underline */
  cursor: pointer;
}

/* On hover, add a subtle drop-shadow in addition to your existing border */
.resto.moz-tint-1:hover {
  /* existing border-color change will still apply */
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.1),
    0 2px 4px rgba(0, 0, 0, 0.06);
  transition: box-shadow 200ms ease-in-out;
  position: relative;
  z-index: 1;
}

/* Enlarge the logo container */
.resto-logo {
  width: 7.5rem;  /* adjust to taste */
  height: 7.5rem; /* make it square */
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Make the <img> fill that container without distortion */
.resto-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* hide everything past the 30th card */
.hidden-restaurant {
  display: none;
}

/* style the “view more” button */
#view-more {
  display: block;
  margin: 1.5rem auto;
  padding: 0.875rem 1.75rem;    /* match your CTA padding */
  background-color: #FF8000;   /* same orange */
  color: #fff;                 /* white text */
  font-size: 0.875rem;         /* same size */
  font-weight: 600;            /* valid 100–900 scale */
  letter-spacing: 0.04em;      /* a bit more space between letters */
  border: none;
  border-radius: 24px;         /* match your buttons */
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}

#view-more:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}
/* Intro text */
.intro-text {
  background: #fafafa;
  padding: 2rem 0;
}
.intro-text h2 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
}
.intro-text p {
  font-size: 1rem;
  line-height: 1.6;
}

/* FAQ accordion */
.faq-section {
  background: #f9f9f9;
  padding: 2rem 0;
}
.faq-section h2 {
  margin-bottom: 1.5rem;
  font-size: 1.5rem;
}
.faq-item {
  border-bottom: 1px solid #ddd;
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1rem;
  font-size: 1rem;
  background: #fff;
  border: none;
  outline: none;
  cursor: pointer;
  position: relative;
}
.faq-question::after {
  content: "+";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  transition: transform 0.2s;
}
.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
  background: #fff;
}
.faq-answer p {
  padding: 1rem 0;
  margin: 0;
  text-align: left;
}
/* 1) Pull the cities up a bit */
.cities {
  /* remove any large default top‐margin/padding */
  margin-top: 1rem;    /* was probably 2rem or more */
  padding-top: 0;
}

/* 2) Give your intro‐text its own comfortable spacing */
.intro-text {
  margin: 3rem 0;     /* space above & below the text block */
  padding: 0;           /* reset any defaults */
}

/* 3) Ensure the “How it works” section ends with a bit less gap */
.wrapper.what {
  padding-bottom: 3rem; /* shrink bottom padding */
}
