/* Full-bleed cover hero — layout inspired by euroasiafruit.nl .v5-hero */

.hk-home-cover-hero {
  --hk-cover-paper: #f7f5ee;
  --hk-cover-cream: rgba(247, 245, 238, 0.92);
  --hk-home-cover-hero-img: url("hk-home-cover-hero.jpg");
  position: relative;
  width: 100%;
  height: min(900px, calc(100svh - 100px));
  min-height: 610px;
  overflow: hidden;
  margin: 0 0 0.5rem;
  background-color: #d2c5ae;
}

/* Header bars moved into hero (home only — see hk-home-foodmart.js) */
.hk-home-cover-hero__header {
  left: 0;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 4;
}

.hk-home-cover-hero__header > .container-fluid {
  margin-inline: auto;
  max-width: 1600px;
  pointer-events: auto;
  width: 100%;
}

@media (min-width: 992px) {
  .hk-home-cover-hero {
    height: 100svh;
    min-height: 100svh;
  }

  .hk-home-cover-hero__header .hk-header-top-row {
    column-gap: 1.25rem;
    flex-wrap: nowrap;
  }

  .hk-home-cover-hero__header .hk-header-logo-col {
    margin-right: 0.5rem;
  }

  .hk-home-cover-hero__header .hk-header-search-col {
    flex: 1 1 auto;
    max-width: 100%;
    min-width: 0;
  }

  .hk-home-cover-hero__header .container-fluid.hk-site-header__bar--top .search-bar,
  .hk-home-cover-hero__header .container-fluid.hk-site-header__bar--top .hk-search-bar {
    padding-left: 1rem;
    width: 100%;
  }
}

body.hk-page-home.hk-home-hero-header-mounted #hk-site-header.hk-site-header--hero-mounted {
  background: transparent;
  box-shadow: none;
  height: 0;
  min-height: 0;
  overflow: visible;
  pointer-events: none;
  position: relative;
  z-index: 1100;
}

.hk-home-cover-hero__header .hk-mega-cat-panel {
  pointer-events: auto;
  position: relative;
  width: 100%;
  z-index: 3;
}

html.hk-mega-cat-open body.hk-page-home .hk-mega-cat-panel__inner {
  margin-inline: auto;
  max-width: 1600px;
}

html.hk-mega-cat-open body.hk-page-home .hk-site-header {
  background: transparent;
}

html.hk-mega-cat-open body.hk-page-home .hk-home-cover-hero__header .hk-site-header__bar--nav {
  pointer-events: none;
  visibility: hidden;
}

html.hk-mega-cat-open body.hk-page-home .hk-home-cover-hero {
  overflow: visible;
  z-index: 1200;
}

html.hk-mega-cat-open body.hk-page-home .hk-home-cover-hero__header {
  z-index: 1201;
}

html.hk-mega-cat-open body.hk-page-home .hk-home-cover-hero__header .hk-mega-cat-panel:not([hidden]) {
  background: #fdfdf9;
  box-shadow: 0 16px 48px rgba(20, 32, 28, 0.12);
  position: relative;
  z-index: 1202;
}

.hk-page-home .hk-home-cover-hero__header .hk-main-logo__mark,
.hk-page-home .hk-home-cover-hero__header .hk-main-logo__mark:hover {
  color: #fff;
}

.hk-page-home .hk-home-cover-hero__header .hk-main-logo__mark em {
  color: rgba(255, 255, 255, 0.88);
}

.hk-page-home .hk-home-cover-hero__header .hk-header-top-row {
  border-bottom-color: rgba(255, 255, 255, 0.22) !important;
}

@media (min-width: 992px) {
  .hk-page-home .hk-home-cover-hero__header .hk-site-header__bar--nav .main-menu {
    justify-content: flex-start !important;
  }

  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host .offcanvas-body,
  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host .menu-list {
    justify-content: flex-start !important;
  }

  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host .nav-link,
  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host #offcanvasNavbar .nav-link {
    color: rgba(255, 255, 255, 0.92) !important;
  }

  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host .nav-link:hover,
  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host .nav-link:focus-visible,
  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host #offcanvasNavbar .nav-link:hover,
  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host #offcanvasNavbar .nav-link:focus-visible {
    color: #fff !important;
  }

  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host .nav-link.active,
  .hk-page-home .hk-home-cover-hero__header #hk-header-desktop-menu-host #offcanvasNavbar .nav-link.active {
    color: #fff !important;
    font-weight: 600;
  }
}

.hk-page-home .hk-home-cover-hero__header .hk-search-bar {
  background: rgba(255, 255, 255, 0.12) !important;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hk-page-home .hk-home-cover-hero__header .hk-search-bar .form-control,
.hk-page-home .hk-home-cover-hero__header .hk-search-bar .form-control:focus {
  color: #fff;
}

.hk-page-home .hk-home-cover-hero__header .hk-search-bar .form-control::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.hk-page-home .hk-home-cover-hero__header .hk-search-bar .hk-mega-cat-trigger {
  color: #fff;
}

.hk-page-home .hk-home-cover-hero__header .hk-search-bar svg {
  color: rgba(255, 255, 255, 0.88);
}

.hk-page-home .hk-home-cover-hero__header .hk-header-icon-btn {
  background: rgba(255, 255, 255, 0.14) !important;
  border: 0 !important;
  color: #fff;
}

.hk-page-home .hk-home-cover-hero__header .hk-header-mobile-toggler {
  color: #fff;
}

.hk-home-cover-hero:not(.hk-home-cover-hero--has-bg)::before {
  background: var(--hk-home-cover-hero-img) 42% center / cover no-repeat;
  content: "";
  filter: brightness(1.1) saturate(1.03);
  inset: 0;
  position: absolute;
  z-index: 0;
}

.hk-home-cover-hero__backgrounds {
  inset: 0;
  overflow: hidden;
  position: absolute;
  z-index: 0;
}

.hk-home-cover-hero__bg {
  background: var(--hk-hero-bg-desktop) 42% center / cover no-repeat;
  filter: brightness(1.1) saturate(1.03);
  inset: 0;
  opacity: 0;
  position: absolute;
  transition: opacity 1.4s ease;
  z-index: 0;
}

.hk-home-cover-hero__bg.is-active {
  opacity: 1;
  z-index: 1;
}

@media (max-width: 767px) {
  .hk-home-cover-hero__bg {
    background-image: var(--hk-hero-bg-mobile);
    background-position: center center;
  }
}

.hk-home-cover-hero__dots {
  bottom: 22px;
  display: flex;
  gap: 10px;
  justify-content: center;
  left: 0;
  pointer-events: auto;
  position: absolute;
  right: 0;
  z-index: 4;
}

.hk-home-cover-hero__dot {
  appearance: none;
  background: rgba(255, 255, 255, 0.42);
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  height: 8px;
  padding: 0;
  transition: background 0.25s ease, transform 0.25s ease, width 0.25s ease;
  width: 8px;
}

.hk-home-cover-hero__dot.is-active {
  background: #fff;
  transform: scale(1.05);
  width: 22px;
}

.hk-home-cover-hero__dot:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hk-home-cover-hero__bg {
    transition: none;
  }
}

.hk-home-cover-hero__shade {
  background:
  linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.72) 0%,
      rgba(0, 0, 0, 0.38) 38%,
      rgba(0, 0, 0, 0.14) 68%,
      transparent 100%
    ),
    linear-gradient(90deg, rgba(0, 0, 0, 0.28) 0%, transparent 58%);
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 2;
}

.hk-home-cover-hero__copy {
  bottom: 64px;
  color: var(--hk-cover-paper);
  display: flex;
  flex-direction: column;
  gap: 20px;
  left: max(64px, calc((100vw - 1600px) / 2));
  position: absolute;
  text-shadow: 0 1px 12px rgba(16, 23, 17, 0.24);
  width: min(44%, 650px);
  z-index: 3;
}

.hk-home-cover-hero__kicker {
  color: var(--hk-cover-cream);
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  line-height: 1.4;
  margin: 0;
  text-transform: uppercase;
}

.hk-home-cover-hero__title {
  color: #fff;
  font-family: var(--heading-font, "Nunito", sans-serif);
  font-size: clamp(34px, 3.6vw, 56px);
  font-weight: 800;
  line-height: 1.18;
  margin: 0;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.hk-home-cover-hero__title > span {
  color: #fff;
  display: block;
}

.hk-home-cover-hero__lead {
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 16px;
  line-height: 1.8;
  margin: 0;
  max-width: 540px;
}

.hk-home-cover-hero__scroll {
  align-items: center;
  align-self: flex-start;
  color: inherit;
  display: inline-flex;
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 14px;
  font-weight: 600;
  gap: 0.5rem;
  min-height: 44px;
  text-decoration: none;
}

.hk-home-cover-hero__scroll svg {
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.hk-home-cover-hero__scroll:hover,
.hk-home-cover-hero__scroll:focus-visible {
  color: inherit;
}

.hk-home-cover-hero__scroll:hover svg,
.hk-home-cover-hero__scroll:focus-visible svg {
  transform: translateX(6px);
}

@media (max-width: 991px) {
  .hk-home-cover-hero__copy {
    width: min(52%, 700px);
  }
}

@media (max-width: 991.98px) {
  .hk-home-cover-hero {
    height: 100svh;
    min-height: 100svh;
  }

  .hk-home-cover-hero__shade {
    background: linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.4) 0%,
      rgba(0, 0, 0, 0.26) 40%,
      rgba(0, 0, 0, 0.36) 78%,
      rgba(0, 0, 0, 0.46) 100%
    );
  }

  .hk-home-cover-hero__bg {
    filter: brightness(0.94) saturate(1.02);
  }
}

@media (max-width: 767px) {
  .hk-home-cover-hero::before {
    background-position: 58% center;
  }

  .hk-home-cover-hero__copy {
    bottom: 36px;
    gap: 14px;
    left: 24px;
    right: 24px;
    width: auto;
  }

  .hk-home-cover-hero__title {
    font-size: clamp(26px, 7.5vw, 34px);
    line-height: 1.22;
    max-width: none;
  }

  .hk-home-cover-hero__lead {
    font-size: 14px;
    line-height: 1.75;
    max-width: 390px;
  }

  .hk-home-cover-hero__kicker {
    font-size: 11px;
  }
}