/**
 * FoodCase shell -- the redesigned header, top bar, drawer and footer.
 *
 * This file ships on EVERY page, redesigned and legacy alike, so it deliberately
 * carries no global reset: no `*`, no `html`, no `body`, no bare element
 * selectors. assets/css/global.css keeps owning the page underneath, and
 * nothing here can reach it -- every selector below is anchored to one of the
 * shell components.
 *
 * What the components need from the redesign reset is re-applied scoped to them,
 * in the block directly below.
 *
 * The home page additionally loads foodcase.css, which restates these rules with
 * identical values plus the page-specific sections. Generated from foodcase.css
 * by a one-off script; if you change a shell rule, change it in both.
 */

/* --- the reset, scoped ------------------------------------------------------
   Everything the shell borrows from the global reset in foodcase.css, confined
   to the shell components.

   Every rule below is wrapped in :where(), which contributes zero specificity.
   That matters: foodcase.css writes this reset with bare element selectors, so
   `a` is 0,0,1 and loses to `.fc-btn--primary` at 0,1,0. Written as
   `.fc-header a` it would be 0,1,1 and win instead -- which is exactly how the
   header CTA lost its light text. :where() keeps the scope without changing the
   cascade, so each selector below carries the same weight as its counterpart in
   foodcase.css. Do not remove it. */

:where(.fc-header, .topbar, .drawer, .fc-footer, .skip-link),
:where(.fc-header, .topbar, .drawer, .fc-footer) *,
:where(.fc-header, .topbar, .drawer, .fc-footer) *::before,
:where(.fc-header, .topbar, .drawer, .fc-footer) *::after {
  box-sizing: border-box;
}

/* The container base, the shell's stand-in for `body`. This one is meant to be
   a real class selector: descendants inherit from it, and any component rule
   that sets its own colour still wins on the element itself. */
.fc-header,
.topbar,
.drawer,
.fc-footer,
.skip-link {
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #2d262b;
}

:where(.fc-header, .topbar, .drawer, .fc-footer) a {
  color: inherit;
  text-decoration: none;
}

:where(.fc-header, .topbar, .drawer, .fc-footer) img,
:where(.fc-header, .topbar, .drawer, .fc-footer) picture,
:where(.fc-header, .topbar, .drawer, .fc-footer) svg,
:where(.fc-header, .topbar, .drawer, .fc-footer) video {
  display: block;
  max-width: 100%;
}

:where(.fc-header, .topbar, .drawer, .fc-footer) img {
  height: auto;
}

:where(.fc-header, .topbar, .drawer, .fc-footer) button,
:where(.fc-header, .topbar, .drawer, .fc-footer) input,
:where(.fc-header, .topbar, .drawer, .fc-footer) select,
:where(.fc-header, .topbar, .drawer, .fc-footer) textarea {
  font: inherit;
  color: inherit;
}

:where(.fc-header, .topbar, .drawer, .fc-footer) button {
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

/* foodcase.css scopes this one to [class] as well, so it keeps that weight. */
:where(.fc-header, .topbar, .drawer, .fc-footer) ul[class],
:where(.fc-header, .topbar, .drawer, .fc-footer) ol[class] {
  margin: 0;
  padding: 0;
  list-style: none;
}

:where(.fc-header, .topbar, .drawer, .fc-footer) h1,
:where(.fc-header, .topbar, .drawer, .fc-footer) h2,
:where(.fc-header, .topbar, .drawer, .fc-footer) h3,
:where(.fc-header, .topbar, .drawer, .fc-footer) h4,
:where(.fc-header, .topbar, .drawer, .fc-footer) h5,
:where(.fc-header, .topbar, .drawer, .fc-footer) h6,
:where(.fc-header, .topbar, .drawer, .fc-footer) p,
:where(.fc-header, .topbar, .drawer, .fc-footer) figure,
:where(.fc-header, .topbar, .drawer, .fc-footer) blockquote,
:where(.fc-header, .topbar, .drawer, .fc-footer) dl,
:where(.fc-header, .topbar, .drawer, .fc-footer) dd {
  margin: 0;
}

:where(.fc-footer) address {
  font-style: normal;
}

/* --- lifted from foodcase.css ---------------------------------------------- */

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-400-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-500-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/poppins-600-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-700-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 300;
  padding: 12px 20px;
  background-color: #3f8104;
  border-radius: 0 0 8px 8px;
  color: #ffffff;
  font-weight: 600;
  transition: top 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.skip-link:focus {
  top: 0;
}

.fc-btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 14px 24px;
  border: 1px solid transparent;
  border-radius: 44px;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.15;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.25s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.25s cubic-bezier(0.4, 0, 0.2, 1), transform 0.15s cubic-bezier(0.4, 0, 0.2, 1);
}

.fc-btn:focus-visible {
  outline: 2px solid #3f8104;
  outline-offset: 3px;
}

@media (min-width: 992px) {
  .fc-btn {
    padding: 14px 32px;
  }
}

.fc-btn__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
}

.fc-btn--icon {
  padding-left: 32px;
  padding-right: 24px;
}

.fc-btn:active {
  transform: translateY(1px);
}

.fc-btn--primary {
  background-image: linear-gradient(104deg, #3f8104 0%, #659a36 100%);
  color: #f9f9f6;
  filter: drop-shadow(0 4px 8px rgba(35, 71, 2, 0.25));
}

.fc-btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-image: linear-gradient(104deg, #397504 0%, #3f8104 100%);
  opacity: 0;
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fc-btn--primary:hover::before {
  opacity: 1;
}

.fc-btn--outline {
  background-color: transparent;
  border-color: #3f8104;
  color: #3f8104;
}

.fc-btn--outline:hover {
  background-color: #ecf2e6;
}

.fc-btn--ghost {
  background-color: transparent;
  border-color: #c4c1c3;
  color: #40363c;
}

.fc-btn--ghost:hover {
  border-color: #40363c;
}

.fc-btn--block {
  width: 100%;
}

.fc-btn--sm {
  padding: 12px 24px;
  font-size: 15px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.logo:focus-visible {
  outline: 2px solid #3f8104;
  outline-offset: 3px;
}

@media (min-width: 992px) {
  .logo {
    gap: 8px;
  }
}

.logo__mark {
  flex: 0 0 auto;
  width: 63px;
  height: 42px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .logo__mark {
    width: 81px;
    height: 54px;
  }
}

.logo__type {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.logo__name {
  width: 76px;
  height: auto;
}

@media (min-width: 992px) {
  .logo__name {
    width: 98px;
  }
}

.logo__city {
  width: 36px;
  height: auto;
}

@media (min-width: 992px) {
  .logo__city {
    width: 46px;
  }
}

.logo--footer .logo__mark {
  width: 63px;
  height: 42px;
}

@media (min-width: 992px) {
  .logo--footer .logo__mark {
    width: 101px;
    height: 67px;
  }
}

.logo--footer .logo__name {
  width: 76px;
}

@media (min-width: 992px) {
  .logo--footer .logo__name {
    width: 121px;
  }
}

.logo--footer .logo__city {
  width: 36px;
}

@media (min-width: 992px) {
  .logo--footer .logo__city {
    width: 58px;
  }
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 200;
  visibility: hidden;
  pointer-events: none;
  transition: visibility 0s linear 0.4s;
}

.drawer.is-open {
  visibility: visible;
  pointer-events: auto;
  transition-delay: 0s;
}

@media (min-width: 992px) {
  .drawer {
    display: none;
  }
}

.drawer__overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(27, 23, 25, 0.5);
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer__panel {
  position: absolute;
  inset-block: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: min(320px, 88vw);
  padding: 20px;
  background-color: #ffffff;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer.is-open .drawer__overlay {
  opacity: 1;
}

.drawer.is-open .drawer__panel {
  transform: translateX(0);
}

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.drawer__close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background-color: #f9f9f6;
  border: 1px solid #ebebe3;
  border-radius: 12px;
  color: #2d262b;
  font-size: 22px;
  line-height: 1;
}

.drawer__close:focus-visible {
  outline: 2px solid #3f8104;
  outline-offset: 3px;
}

.drawer__close:hover {
  background-color: #ebebe3;
}

.drawer__nav {
  display: flex;
  flex-direction: column;
}

.drawer__link {
  padding-block: 14px;
  border-bottom: 1px solid #ebebe3;
  color: #2d262b;
  font-size: 17px;
  font-weight: 500;
}

.drawer__link:focus-visible {
  outline: 2px solid #3f8104;
  outline-offset: 3px;
}

.drawer__link:hover, .drawer__link.is-active {
  color: #3f8104;
}

.drawer__footer {
  margin-top: auto;
  padding-top: 8px;
}

.fc-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.fc-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid rgba(95, 96, 96, 0.1);
}

.fc-navbar__inner {
  width: min(100% - 2 * 16px, 1362px);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .fc-navbar__inner {
    width: min(100% - 2 * 24px, 1362px);
  }
}

@media (min-width: 1200px) {
  .fc-navbar__inner {
    width: min(100% - 2 * 32px, 1362px);
  }
}

.fc-navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 12px;
}

@media (min-width: 992px) {
  .fc-navbar__inner {
    gap: 20px;
  }
}

@media (min-width: 1200px) {
  .fc-navbar__inner {
    gap: 24px;
    padding-block: 16px 14px;
  }
}

.fc-navbar__nav {
  display: none;
}

@media (min-width: 992px) {
  .fc-navbar__nav {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}

@media (min-width: 1200px) {
  .fc-navbar__nav {
    gap: 24px;
  }
}

@media (min-width: 1400px) {
  .fc-navbar__nav {
    gap: 32px;
  }
}

.fc-navbar__link {
  color: #000000;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fc-navbar__link:focus-visible {
  outline: 2px solid #3f8104;
  outline-offset: 3px;
}

@media (min-width: 1200px) {
  .fc-navbar__link {
    font-size: 15px;
  }
}

@media (min-width: 1400px) {
  .fc-navbar__link {
    font-size: 16px;
  }
}

.fc-navbar__link:hover, .fc-navbar__link.is-active {
  color: #3f8104;
}

.fc-navbar__cta {
  display: none;
}

@media (min-width: 992px) {
  .fc-navbar__cta {
    display: inline-flex;
    padding: 11px 18px;
    font-size: 13px;
  }
}

@media (min-width: 1200px) {
  .fc-navbar__cta {
    padding: 14px 26px;
    font-size: 15px;
  }
}

@media (min-width: 1400px) {
  .fc-navbar__cta {
    padding: 16px 32px;
    font-size: 16px;
  }
}

.fc-navbar__toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  background-color: #f9f9f6;
  border: 1px solid #ebebe3;
  border-radius: 12px;
  transition: background-color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fc-navbar__toggle:focus-visible {
  outline: 2px solid #3f8104;
  outline-offset: 3px;
}

.fc-navbar__toggle:hover {
  background-color: #ebebe3;
}

@media (min-width: 992px) {
  .fc-navbar__toggle {
    display: none;
  }
}

.fc-navbar__toggle img {
  width: 22px;
  height: 22px;
}

.topbar {
  background-image: linear-gradient(90deg, #231e21 0%, #2d262b 50%, #231e21 100%);
  color: #f6f6f6;
  overflow: hidden;
}

.topbar__inner {
  width: min(100% - 2 * 16px, 1362px);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .topbar__inner {
    width: min(100% - 2 * 24px, 1362px);
  }
}

@media (min-width: 1200px) {
  .topbar__inner {
    width: min(100% - 2 * 32px, 1362px);
  }
}

.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding-block: 6px;
}

@media (min-width: 768px) {
  .topbar__inner {
    gap: 20px;
  }
}

@media (min-width: 992px) {
  .topbar__inner {
    gap: 24px;
    padding-block: 14px;
  }
}

.topbar__item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  line-height: 1.15;
}

@media (min-width: 768px) {
  .topbar__item {
    font-size: 13px;
  }
}

@media (min-width: 992px) {
  .topbar__item {
    font-size: 14px;
  }
}

.topbar__item b {
  font-weight: 700;
}

.topbar__icon {
  flex: 0 0 auto;
  width: 13px;
  height: 13px;
}

@media (min-width: 992px) {
  .topbar__icon {
    width: 14px;
    height: 14px;
  }
}

.topbar__item--secondary {
  display: none;
}

@media (min-width: 992px) {
  .topbar__item--secondary {
    display: flex;
  }
}

.fc-footer {
  background-color: #2d262b;
  color: #f9f9f6;
  z-index: 1;
  position: relative;
}

.fc-footer__inner {
  width: min(100% - 2 * 16px, 1362px);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .fc-footer__inner {
    width: min(100% - 2 * 24px, 1362px);
  }
}

@media (min-width: 1200px) {
  .fc-footer__inner {
    width: min(100% - 2 * 32px, 1362px);
  }
}

.fc-footer__inner {
  display: grid;
  gap: 30px;
  padding-block: 36px;
}

@media (min-width: 768px) {
  .fc-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 40px;
    padding-block: 48px;
  }
}

@media (min-width: 992px) {
  .fc-footer__inner {
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-block: 56px;
  }
}

@media (min-width: 1200px) {
  .fc-footer__inner {
    grid-template-columns: 318px 318px 318px 202px;
    justify-content: space-between;
    gap: 40px;
    padding-block: 62px 60px;
  }
}

.fc-footer__col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.fc-footer__heading {
  color: #f9f9f6;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.75;
}

.fc-footer__tagline {
  margin-top: 16px;
  color: #c4c1c3;
  font-size: 14px;
  line-height: 1.75;
}

.fc-footer__email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  color: #f9f9f6;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.75;
}

.fc-footer__email:focus-visible {
  outline: 2px solid #f9f9f6;
  outline-offset: 3px;
}

.fc-footer__email img {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
}

.fc-footer__email:hover {
  color: #a7c58c;
}

.fc-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.fc-footer__link {
  color: #f9f9f6;
  font-size: 16px;
  line-height: 1.75;
  transition: color 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fc-footer__link:focus-visible {
  outline: 2px solid #f9f9f6;
  outline-offset: 3px;
}

.fc-footer__link:hover {
  color: #a7c58c;
}

.fc-footer__payments {
  display: flex;
  align-items: center;
  gap: 16px;
}

.fc-footer__payments img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.fc-footer__payments img.is-blik {
  height: 36px;
}

.fc-footer__socials {
  display: flex;
  gap: 12px;
}

.fc-footer__socials a:focus-visible {
  outline: 2px solid #f9f9f6;
  outline-offset: 3px;
}

.fc-footer__socials a {
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.fc-footer__socials a:hover {
  opacity: 0.75;
}

.fc-footer__socials img {
  width: 36px;
  height: 36px;
}

.fc-footer__divider {
  width: min(100% - 2 * 16px, 1362px);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .fc-footer__divider {
    width: min(100% - 2 * 24px, 1362px);
  }
}

@media (min-width: 1200px) {
  .fc-footer__divider {
    width: min(100% - 2 * 32px, 1362px);
  }
}

.fc-footer__divider {
  height: 1px;
  background-color: rgba(249, 249, 246, 0.15);
}

@media (min-width: 1200px) {
  .fc-footer__divider {
    display: none;
  }
}

.fc-footer__legal {
  background-color: #1b1719;
  padding-block: 4px;
  text-align: center;
}

.fc-footer__legal p {
  width: min(100% - 2 * 16px, 1362px);
  margin-inline: auto;
}

@media (min-width: 768px) {
  .fc-footer__legal p {
    width: min(100% - 2 * 24px, 1362px);
  }
}

@media (min-width: 1200px) {
  .fc-footer__legal p {
    width: min(100% - 2 * 32px, 1362px);
  }
}

.fc-footer__legal p {
  padding-block: 8px;
  color: #c4c1c3;
  font-size: 14px;
  line-height: 1.75;
}

/* The CTA wrapper still carries the legacy .dropdown class. On the home page its
   layout came from an inline <style>; on every other page it happened to come
   from assets/css/global.css, which declares the same four properties inside
   media queries. Stating it here means the header no longer depends on either.
   global.css uses `display: flex !important` at its breakpoints and still wins
   there -- same value, so the result is identical. Renaming the class is a
   follow-up: it would change the home page's header layout. */
.fc-navbar__cta.dropdown {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  position: relative;
  margin-left: 8px;
}
