/**
 * Homepage-only visual layout pass.
 * Scope: marketing layout home (`body.gsts-mockup--home`) only.
 *
 * Aligns hero + category rail to the same 1320px content rail used by
 * the rest of the marketing pages (About / FAQ / Kontakt / Locations)
 * so the homepage matches the brochure rhythm instead of rendering full-bleed.
 */

body.gsts-mockup--home .gsts-mockup-home__catalog {
  --gsts-home-rail-max: 1320px;
  --gsts-home-rail-pad: 12px;
  padding-top: 1.25rem;
  padding-bottom: 0;
}

/* ---------- Hero ---------- */
body.gsts-mockup--home .gsts-mockup-home__banner {
  max-width: var(--gsts-home-rail-max);
  margin-inline: auto;
  padding-inline: var(--gsts-home-rail-pad);
  position: relative;
}

body.gsts-mockup--home .gsts-mockup-home__banner .carousel {
  border-radius: 22px;
  overflow: hidden;
  background: var(--gsts-mkt-bg-muted, #f4ece4);
  box-shadow:
    0 16px 36px rgba(20, 31, 51, 0.12),
    0 2px 6px rgba(20, 31, 51, 0.05);
  border: 1px solid var(--gsts-mkt-border, rgba(20, 31, 51, 0.10));
}

body.gsts-mockup--home .gsts-mockup-home__banner .carousel-item {
  height: clamp(320px, 32vw, 420px);
  max-height: 420px !important;
  overflow: hidden;
}

body.gsts-mockup--home .gsts-mockup-home__banner .carousel-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

body.gsts-mockup--home .gsts-mockup-home__banner .carousel-control-prev,
body.gsts-mockup--home .gsts-mockup-home__banner .carousel-control-next {
  width: 8%;
  opacity: 0.7;
}

body.gsts-mockup--home .gsts-mockup-home__banner .carousel-indicators [data-bs-target] {
  background-color: rgba(255, 255, 255, 0.85);
  height: 4px;
  border-radius: 999px;
}

/* ---------- Category rail (overlaps the hero by ~24px) ---------- */
body.gsts-mockup--home .gsts-mockup-home__category-well {
  max-width: var(--gsts-home-rail-max);
  margin: -28px auto 0;
  padding-inline: calc(var(--gsts-home-rail-pad) + 24px);
  position: relative;
  z-index: 4;
}

body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-home-category-strip {
  padding: 0;
}

body.gsts-mockup--home .gsts-mockup-home__category-well .menu-cat-fade-wrapper {
  background: var(--gsts-mkt-bg-card, #fffefb);
  border: 1px solid var(--gsts-mkt-border, rgba(20, 31, 51, 0.10));
  border-radius: 18px;
  box-shadow:
    0 14px 32px rgba(20, 31, 51, 0.10),
    0 2px 6px rgba(20, 31, 51, 0.05);
  margin: 0;
  overflow: hidden;
  --menu-cat-bg: var(--gsts-mkt-bg-card, #fffefb);
}

body.gsts-mockup--home .gsts-mockup-home__category-well .menu-cat-wrapper .layout-scrollable {
  padding-top: 0.45rem;
  padding-bottom: 0.45rem;
}

/* Homepage category chips (scoped to category well only — menu uses #gsts-menus-page-root) */
body.gsts-mockup--home .gsts-mockup-home__category-well #navbar-categories.gsts-cat-chip-strip {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.55rem;
  padding-block: 0.35rem;
  padding-inline: 0.25rem;
}

body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 58px;
  padding: 0.45rem 0.78rem;
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(255, 254, 251, 0.98) 0%, rgba(244, 236, 228, 0.52) 100%);
  border: 1px solid rgba(20, 31, 51, 0.085);
  color: var(--gsts-mkt-navy-soft, #2a3548);
  font-weight: 600;
  font-size: 0.9rem;
  line-height: 1.15;
  white-space: nowrap;
  box-shadow: 0 1px 2px rgba(20, 31, 51, 0.04);
  transition:
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease,
    transform 0.12s ease,
    color 0.12s ease;
}

body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip.nav-link:hover,
body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip.nav-link:focus-visible {
  background: linear-gradient(180deg, #fffefb 0%, rgba(198, 122, 28, 0.1) 100%);
  border-color: rgba(198, 122, 28, 0.38);
  box-shadow:
    0 6px 14px rgba(20, 31, 51, 0.08),
    0 2px 5px rgba(184, 108, 28, 0.1);
  color: var(--gsts-mkt-navy, #141f33);
  transform: translateY(-1px);
}

body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip.nav-link.active {
  background: linear-gradient(180deg, rgba(198, 122, 28, 0.18) 0%, rgba(255, 254, 251, 0.98) 100%);
  border-color: rgba(164, 95, 15, 0.48);
  box-shadow:
    0 6px 16px rgba(184, 108, 28, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: var(--gsts-mkt-orange-deep, #a45f0f);
}

body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip__thumb {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip__thumb img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(20, 31, 51, 0.08);
  background: var(--gsts-mkt-bg-muted, #f4ece4);
}

body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip__ph {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--gsts-mkt-orange-deep, #a45f0f);
  background: rgba(198, 122, 28, 0.12);
  border: 1px solid rgba(198, 122, 28, 0.22);
}

body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip__label {
  font-weight: 600;
  letter-spacing: 0.01em;
  color: inherit;
}

body.gsts-mockup--home .gsts-mockup-home__category-well .menu-cat-arrow {
  width: 32px !important;
  height: 32px !important;
  background: rgba(255, 255, 255, 0.96) !important;
  border: 1px solid rgba(20, 31, 51, 0.08) !important;
  box-shadow: 0 4px 12px rgba(20, 31, 51, 0.08) !important;
  color: var(--gsts-mkt-orange-deep, #a45f0f) !important;
  transition: background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease;
}

body.gsts-mockup--home .gsts-mockup-home__category-well .menu-cat-arrow:hover,
body.gsts-mockup--home .gsts-mockup-home__category-well .menu-cat-arrow:focus-visible {
  background: #fff !important;
  border-color: rgba(198, 122, 28, 0.35) !important;
  box-shadow: 0 6px 16px rgba(184, 108, 28, 0.16) !important;
}

body.gsts-mockup--home .gsts-mockup-home__category-well .menu-cat-chevron {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(20, 31, 51, 0.08);
  box-shadow: 0 4px 12px rgba(20, 31, 51, 0.08);
  transition: background 0.14s ease, border-color 0.14s ease, box-shadow 0.14s ease, opacity 0.18s ease;
}

body.gsts-mockup--home .gsts-mockup-home__category-well .menu-cat-chevron:hover {
  background: #fff;
  border-color: rgba(198, 122, 28, 0.35);
  box-shadow: 0 6px 16px rgba(184, 108, 28, 0.12);
}

/* ---------- Chef recommendation ---------- */
body.gsts-mockup--home .gsts-mockup-home__featured {
  margin-top: 1.4rem;
  max-width: var(--gsts-home-rail-max);
  margin-inline: auto;
}

body.gsts-mockup--home .gsts-mockup-home__featured #featured-menu-box {
  margin-top: 0;
  margin-bottom: 0;
  padding-top: 0.5rem !important;
  padding-bottom: 1.5rem !important;
}

body.gsts-mockup--home .gsts-mockup-home__featured #featured-menu-box .container {
  max-width: 100% !important;
  padding-inline: var(--gsts-home-rail-pad);
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__section-title {
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--gsts-mkt-navy, #141f33);
  font-size: clamp(1.35rem, 1.7vw, 1.7rem);
  margin-bottom: 1.1rem !important;
}

/* ---------- Homepage Chef / featured product cards (scoped to #featured-menu-box only) ---------- */
body.gsts-mockup--home #featured-menu-box .gsts-featured-items__grid {
  --bs-gutter-x: 0.9rem;
  --bs-gutter-y: 0.9rem;
  align-items: stretch;
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__link {
  height: 100%;
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__card {
  background: var(--gsts-mkt-bg-card, #fffefb);
  border: 1px solid var(--gsts-mkt-border, rgba(20, 31, 51, 0.10)) !important;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 8px 22px rgba(20, 31, 51, 0.07),
    0 1px 3px rgba(20, 31, 51, 0.04);
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.14s ease;
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__link:hover .gsts-featured-items__card,
body.gsts-mockup--home #featured-menu-box .gsts-featured-items__link:focus-visible .gsts-featured-items__card {
  border-color: rgba(198, 122, 28, 0.32) !important;
  box-shadow:
    0 14px 32px rgba(20, 31, 51, 0.10),
    0 2px 8px rgba(184, 108, 28, 0.08);
  transform: translateY(-2px);
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__media {
  position: relative;
  aspect-ratio: 4 / 3;
  max-height: 236px;
  overflow: hidden;
  background: var(--gsts-mkt-bg-muted, #f4ece4);
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__body {
  padding: 0.95rem 1.05rem 1.05rem !important;
  min-height: 0;
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__headline {
  align-items: flex-start;
  gap: 0.65rem;
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__title {
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: -0.01em;
  color: var(--gsts-mkt-navy, #141f33);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  flex: 1 1 auto;
  min-width: 0;
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__price {
  font-weight: 700;
  font-size: 0.94rem;
  color: var(--gsts-mkt-orange-deep, #a45f0f);
  flex: 0 0 auto;
  line-height: 1.2;
  margin-top: 0.08rem;
}

body.gsts-mockup--home #featured-menu-box .gsts-featured-items__desc {
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--gsts-mkt-muted, #5c6578);
  margin-top: 0.55rem !important;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  flex-grow: 1;
  min-height: 0;
}

/* ---------- Tablet/mobile responsive (no overlap, shorter hero) ---------- */
@media (max-width: 991.98px) {
  body.gsts-mockup--home .gsts-mockup-home__catalog {
    --gsts-home-rail-pad: 14px;
    padding-top: 0.8rem;
  }

  body.gsts-mockup--home .gsts-mockup-home__banner .carousel-item {
    height: clamp(220px, 52vw, 320px);
    max-height: 320px !important;
  }

  body.gsts-mockup--home .gsts-mockup-home__banner .carousel {
    border-radius: 16px;
  }

  body.gsts-mockup--home .gsts-mockup-home__category-well {
    margin: 0.8rem auto 0;
    padding-inline: var(--gsts-home-rail-pad);
  }

  body.gsts-mockup--home .gsts-mockup-home__category-well .menu-cat-fade-wrapper {
    border-radius: 14px;
    box-shadow: 0 6px 16px rgba(20, 31, 51, 0.08);
  }

  body.gsts-mockup--home .gsts-mockup-home__category-well #navbar-categories.gsts-cat-chip-strip {
    gap: 0.45rem;
  }

  body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip.nav-link {
    min-height: 54px;
    padding: 0.38rem 0.62rem;
    font-size: 0.84rem;
    border-radius: 14px;
  }

  body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip__thumb img,
  body.gsts-mockup--home .gsts-mockup-home__category-well .gsts-cat-chip__ph {
    width: 38px;
    height: 38px;
    border-radius: 10px;
  }

  body.gsts-mockup--home .gsts-mockup-home__category-well .menu-cat-arrow {
    width: 30px !important;
    height: 30px !important;
  }

  body.gsts-mockup--home .gsts-mockup-home__featured {
    margin-top: 1rem;
  }

  body.gsts-mockup--home .gsts-mockup-home__featured #featured-menu-box {
    padding-top: 0.4rem !important;
    padding-bottom: 1.25rem !important;
  }

  body.gsts-mockup--home #featured-menu-box .gsts-featured-items__media {
    max-height: 210px;
  }

  body.gsts-mockup--home #featured-menu-box .gsts-featured-items__card {
    border-radius: 16px;
  }

  body.gsts-mockup--home #featured-menu-box .gsts-featured-items__body {
    padding: 0.85rem 0.95rem 0.95rem !important;
  }

  body.gsts-mockup--home #featured-menu-box .gsts-featured-items__desc {
    -webkit-line-clamp: 2;
    font-size: 0.78rem;
  }
}
