/* ==========================================================================
   HoReCa page, design 4 (05-11-2026)
   Loaded after enquiry-home-theme-v3.css on /horeca-enquiry-05-11-2026 only
   (<main class="... eqx-d4">). Design 3 and the other pages are untouched.

   "Who's cooking?" opens on "All kitchens" (the whole bulk range). A kitchen
   with more than 3 oils is a slider: 3 cards at a time on desktop, 2 on a
   tablet, 1 on a phone, moving by itself (script at the end of the page).
   ========================================================================== */

.eqx-d4 .eqx-reco__nav {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.eqx-d4 .eqx-reco__nav button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--pwp-green);
  border-radius: 50%;
  background: #fff;
  color: var(--pwp-green);
  font-size: 16px;
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.eqx-d4 .eqx-reco__nav button:hover,
.eqx-d4 .eqx-reco__nav button:focus-visible {
  background: var(--pwp-green);
  color: #fff;
}

/* The slider: a scrolling row that snaps to a card; the top padding leaves room for the card lift on hover */
.eqx-d4 .eqx-reco--slider .eqx-reco__list {
  display: flex;
  gap: 14px;
  margin: -8px -2px 0;
  padding: 8px 2px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.eqx-d4 .eqx-reco--slider .eqx-reco__list::-webkit-scrollbar {
  display: none;
}
.eqx-d4 .eqx-reco--slider .eqx-reco__item {
  flex: 0 0 calc((100% - 28px) / 3);
  scroll-snap-align: start;
}
@media (max-width: 991.98px) {
  .eqx-d4 .eqx-reco--slider .eqx-reco__item {
    flex-basis: calc((100% - 14px) / 2);
  }
}
@media (max-width: 575.98px) {
  .eqx-d4 .eqx-reco--slider .eqx-reco__item {
    flex-basis: 100%;
  }
}

/* ---------- "The right oil for every station": cards come in again on every change of filter */
@keyframes eqxD4CardIn {
  from { opacity: 0; transform: translateY(22px) scale(.96); }
  to { opacity: 1; transform: none; }
}
.eqx-d4 [data-finder] .eqx-oil.is-refresh { /* "backwards": after the animation the card's own hover lift works again */
  animation: eqxD4CardIn .5s cubic-bezier(.2, .7, .2, 1) backwards;
  animation-delay: var(--d4-delay, 0ms);
}

/* ---------- Kitchen FAQ (was the problems → fixes menu board): two columns of questions that open */
.eqx-d4 .eqx-faq__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  max-width: 1120px;
  margin: 0 auto;
}
.eqx-d4 .eqx-faq__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.eqx-d4 .eqx-faq__item {
  border: 1px solid var(--eqh-line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--eqh-shadow);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.eqx-d4 .eqx-faq__item[open] {
  border-color: #a8e9a5;
  box-shadow: 0 14px 30px -20px rgba(12, 122, 77, .45);
}
.eqx-d4 .eqx-faq__item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  list-style: none;
  cursor: pointer;
}
.eqx-d4 .eqx-faq__item summary::-webkit-details-marker {
  display: none;
}
.eqx-d4 .eqx-faq__item summary:focus-visible {
  outline: 3px solid rgba(12, 122, 77, .35);
  outline-offset: 2px;
  border-radius: 18px;
}
.eqx-d4 .eqx-faq__icon {
  flex: 0 0 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: #fcf9c2;
  color: var(--pwp-green);
  font-size: 18px;
}
.eqx-d4 .eqx-faq__item[open] .eqx-faq__icon {
  background: var(--pwp-green);
  color: #fff;
}
.eqx-d4 .eqx-faq__q {
  flex: 1;
  font-family: var(--pwp-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--pwp-ink);
}
/* a plus that turns into a minus */
.eqx-d4 .eqx-faq__toggle {
  position: relative;
  flex: 0 0 28px;
  height: 28px;
  border: 1px solid var(--eqh-line);
  border-radius: 50%;
}
.eqx-d4 .eqx-faq__toggle::before,
.eqx-d4 .eqx-faq__toggle::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 2px;
  border-radius: 2px;
  background: var(--pwp-green);
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}
.eqx-d4 .eqx-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(90deg);
}
.eqx-d4 .eqx-faq__item[open] .eqx-faq__toggle::after {
  transform: translate(-50%, -50%) rotate(0deg);
}
.eqx-d4 .eqx-faq__a {
  padding: 0 18px 18px 74px;
}
.eqx-d4 .eqx-faq__a p {
  margin: 0 0 10px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--pwp-muted);
}
.eqx-d4 .eqx-faq__a p b {
  color: var(--pwp-ink);
}
.eqx-d4 .eqx-faq__a a,
.eqx-d4 .eqx-faq__more a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 800;
  color: var(--pwp-green);
  text-decoration: none;
}
.eqx-d4 .eqx-faq__a a:hover,
.eqx-d4 .eqx-faq__more a:hover {
  text-decoration: underline;
}
.eqx-d4 .eqx-faq__more {
  margin: 26px 0 0;
  text-align: center;
  font-size: 15px;
  color: var(--pwp-muted);
}
@media (max-width: 991.98px) {
  .eqx-d4 .eqx-faq__grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
/* the section now ends with a light line of text: 108 / 80px to the next section, like the rest of the page */
.eqh3.eqx-d4 .eqx-faq .eqh-panel {
  padding-bottom: 25px;
}
@media (max-width: 767.98px) {
  .eqh3.eqx-d4 .eqx-faq .eqh-panel {
    padding-bottom: 18px;
  }
}
@media (max-width: 575.98px) {
  .eqx-d4 .eqx-faq__a {
    padding-left: 18px;
  }
}
