/* Herman Kuijper — Beagley Copperman–style category strip on FoodMart shell */

:root {
  --hk-bc-green: #99c229;
  --hk-bc-green-hover: #7da622;
  --hk-bc-ink: #302b31;
  /* Dark bands — cool charcoal (How it works + footer) */
  --hk-dark-surface: #16181c;
  --hk-dark-surface-deep: #0f1115;
  --hk-dark-fg: #eceef2;
  --hk-dark-fg-muted: rgba(236, 238, 242, 0.74);
  --hk-dark-fg-subtle: rgba(236, 238, 242, 0.52);
  --hk-dark-fg-label: rgba(236, 238, 242, 0.48);
  --hk-dark-accent: #c8db6a;
  --hk-dark-divider: rgba(255, 255, 255, 0.08);
}

/* Section */
.hk-bc-categories {
  background: #fdfdf9;
  padding-bottom: 3rem !important;
  padding-top: 3rem !important;
}

.hk-bc-categories .section-header {
  margin-bottom: 1.5rem !important;
}

.hk-bc-categories .swiper-prev,
.hk-bc-categories .swiper-next,
.hk-brands-section .swiper-prev,
.hk-brands-section .swiper-next {
  --bs-btn-hover-bg: var(--hk-bc-green);
  --bs-btn-active-bg: var(--hk-bc-green-hover);
}

.hk-bc-categories .swiper-prev:hover,
.hk-bc-categories .swiper-next:hover,
.hk-brands-section .swiper-prev:hover,
.hk-brands-section .swiper-next:hover {
  background: var(--hk-bc-green);
  color: #fff;
}

.hk-bc-categories .swiper-prev:active,
.hk-bc-categories .swiper-next:active,
.hk-brands-section .swiper-prev:active,
.hk-brands-section .swiper-next:active {
  background: var(--hk-bc-green-hover);
  color: #fff;
}

/* BC carousel: reset FoodMart “card” tiles */
.hk-bc-categories .category-carousel.swiper {
  overflow: visible;
  padding-bottom: 0.5rem;
}

.hk-bc-categories .categories-widget__item.swiper-slide,
.hk-bc-categories .categories-widget__item.hk-assortment-tile {
  background: transparent;
  border: none;
  box-shadow: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  height: auto;
  margin: 0;
  padding: 0;
  text-align: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.hk-bc-categories .categories-widget__item.swiper-slide:hover,
.hk-bc-categories .categories-widget__item.hk-assortment-tile:hover {
  box-shadow: none;
  transform: none;
}

.hk-bc-categories .categories-widget__item.swiper-slide:hover .categories-widget__image__src:not(.categories-widget__image__product),
.hk-bc-categories .categories-widget__item.hk-assortment-tile:hover .categories-widget__image__src:not(.categories-widget__image__product) {
  transform: scale(1.08);
}

.hk-bc-categories .categories-widget__image {
  align-items: center;
  display: flex;
  height: 18.375rem;
  justify-content: center;
  overflow: visible;
  width: 100%;
}

.hk-bc-categories .categories-widget__image--layered {
  display: block;
  position: relative;
}

.hk-bc-categories .categories-widget__image__splash {
  display: block;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  width: 100%;
}

.hk-bc-categories .categories-widget__image__product {
  box-sizing: border-box;
  height: 100%;
  inset: 0;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 2%;
  pointer-events: none;
  position: absolute;
  transition: transform 0.3s ease;
  width: 100%;
  z-index: 1;
}

.hk-bc-categories .categories-widget__item.swiper-slide:hover .categories-widget__image__product,
.hk-bc-categories .categories-widget__item.hk-assortment-tile:hover .categories-widget__image__product {
  transform: scale(1.04);
}

@media (min-width: 992px) {
  .hk-bc-categories .categories-widget__image {
    height: 13.875rem;
  }
}

.hk-bc-categories .categories-widget__image__src {
  border-radius: 0;
  display: block;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
  width: auto;
  max-width: 100%;
}

.hk-bc-categories .categories-widget__title {
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.25;
  margin: 0;
  text-align: center;
  text-transform: none;
  color: var(--hk-bc-ink);
}

/* Kill legacy FoodMart category cards if any remain */
.hk-bc-categories .category-item.hk-category-slide {
  display: none;
}

@media (min-width: 992px) {
  .main-menu .offcanvas-body {
    align-items: center;
    display: flex;
    justify-content: flex-end;
  }
}

/* Compact secondary nav row (Assortment, About us, …) */
.hk-site-header .hk-header-nav-row {
  --bs-gutter-y: 0;
  padding-bottom: 0.35rem;
  padding-top: 0.35rem;
}

.hk-site-header .main-menu.navbar {
  min-height: 0;
  padding-bottom: 0;
  padding-top: 0;
}

@media (min-width: 992px) {
  .hk-site-header .main-menu .offcanvas.offcanvas-end {
    background: transparent;
    border: 0;
    height: auto;
    position: static;
    transform: none;
    visibility: visible;
    width: 100%;
  }

  .hk-site-header .main-menu .offcanvas-body {
    flex-grow: 1;
    overflow: visible;
    padding: 0;
  }

  .hk-site-header .main-menu .menu-list .nav-link {
    font-size: 0.9375rem;
    line-height: 1.25;
    padding-bottom: 0.2rem;
    padding-top: 0.2rem;
  }

  .hk-site-header .main-menu .menu-list .nav-link--disabled {
    cursor: default;
    opacity: 0.45;
    pointer-events: none;
    user-select: none;
  }

  .hk-site-header .main-menu .menu-list {
    gap: 0.15rem 1.25rem !important;
  }
}

/* Wordmark — same as hermankuijper.com (.mark / .hk-plp-mark) */
.hk-main-logo__mark {
  color: #14201c;
  display: inline-block;
  font-family: "Space Grotesk", "Inter", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.hk-main-logo__mark:hover {
  color: #14201c;
  opacity: 0.92;
}

.hk-main-logo__mark em {
  color: #3d5b4f;
  font-style: normal;
  font-weight: 500;
}

.hk-header-top-row {
  column-gap: 1rem;
  row-gap: 0.75rem;
  width: 100%;
}

.hk-header-logo-col {
  flex: 0 0 auto;
}

.hk-header-actions {
  flex: 0 0 auto;
}

@media (max-width: 575.98px) {
  .hk-header-logo-col,
  .hk-header-actions {
    flex: 1 1 100%;
  }

  .hk-header-actions {
    justify-content: center !important;
  }
}

@media (min-width: 576px) and (max-width: 991.98px) {
  .hk-header-logo-col {
    flex: 0 0 auto;
  }

  .hk-header-actions {
    margin-left: auto;
  }
}

@media (min-width: 992px) {
  .hk-header-top-row {
    flex-wrap: nowrap;
    column-gap: 1.25rem;
  }

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

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

  .hk-header-actions .cart button {
    align-items: center;
    justify-content: center;
  }

  header .container-fluid:first-of-type .search-bar,
  header .container-fluid:first-of-type .hk-search-bar {
    padding-left: 1rem;
    width: 100%;
  }

  .hk-search-bar__categories {
    max-width: 13rem;
    padding-inline: 1rem 0.85rem;
  }

  .hk-search-bar__form {
    min-width: 0;
    padding-left: 0.35rem;
    --hk-search-field-muted: #747474;
  }

  .hk-search-bar__form .form-control {
    padding-left: 0.35rem;
    text-align: left;
  }

  .hk-search-bar__form .form-control::placeholder {
    color: var(--hk-search-field-muted);
    opacity: 1;
  }
}

.hk-search-bar__icon {
  color: var(--hk-search-field-muted, #747474);
  display: flex;
  flex-shrink: 0;
  line-height: 1;
  margin-right: 0.15rem;
  pointer-events: none;
  user-select: none;
}

.hk-search-bar__icon svg {
  display: block;
  pointer-events: none;
}

.hk-search-bar .hk-mega-cat-trigger {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--bs-body-color, #747474);
  display: inline-flex;
  font-family: var(--bs-body-font-family, "Open Sans", sans-serif);
  font-size: 1rem;
  font-weight: 400;
  gap: 0.25rem;
  letter-spacing: 0.03em;
  line-height: 1.5;
  padding: 0.125rem 0;
  white-space: nowrap;
}

.hk-mega-cat-trigger__chev {
  opacity: 0.65;
  transition: transform 0.2s ease;
}

.hk-mega-cat-trigger[aria-expanded="true"] .hk-mega-cat-trigger__chev {
  transform: rotate(180deg);
}

.hk-site-header {
  position: relative;
  z-index: 1055;
}

/* Cart / search offcanvas above HK header + mega menu */
#offcanvasCart.offcanvas,
#offcanvasSearch.offcanvas {
  --bs-offcanvas-zindex: 1100;
  z-index: 1100;
}

.hk-header-actions .cart .cart-total {
  color: var(--hk-bc-green);
}

.hk-header-actions .cart button:hover .cart-total {
  color: var(--hk-bc-green-hover);
}

#offcanvasCart .text-primary {
  color: var(--hk-bc-green) !important;
}

#offcanvasCart .badge.bg-primary {
  --bs-bg-opacity: 1;
  background-color: var(--hk-bc-green) !important;
}

#offcanvasCart .btn-primary {
  --bs-btn-bg: var(--hk-bc-green);
  --bs-btn-border-color: var(--hk-bc-green);
  --bs-btn-hover-bg: var(--hk-bc-green-hover);
  --bs-btn-hover-border-color: var(--hk-bc-green-hover);
  --bs-btn-active-bg: var(--hk-bc-green-hover);
  --bs-btn-active-border-color: var(--hk-bc-green-hover);
}

.hk-offcanvas-cart__thumb {
  background: #fff;
  border: 1px solid #eef1ef;
  border-radius: 8px;
  display: block;
  line-height: 0;
  overflow: hidden;
}

.hk-offcanvas-cart__thumb img {
  display: block;
  height: 52px;
  object-fit: contain;
  width: 52px;
}

.hk-offcanvas-cart__name {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
}

.hk-offcanvas-cart__line {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

body > .offcanvas-backdrop {
  --bs-backdrop-zindex: 1095;
  z-index: 1095;
}

html.hk-mega-cat-open .hk-site-header {
  background: #fff;
}

.hk-mega-cat-panel {
  background: #fdfdf9;
  border-bottom: 1px solid #e8ece6;
  border-top: 1px solid #e8ece6;
  box-shadow: 0 8px 24px rgba(20, 32, 28, 0.06);
  display: none;
  min-height: calc(100vh - var(--hk-mega-header-bottom, 5.25rem));
  overflow: visible;
  position: relative;
  width: 100%;
  z-index: 1;
}

html.hk-mega-cat-open .hk-mega-cat-panel:not([hidden]) {
  animation: hk-mega-cat-reveal 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  display: block;
}

@keyframes hk-mega-cat-reveal {
  from {
    opacity: 0;
    transform: translateY(-0.5rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hk-mega-cat-panel__inner {
  padding: 1rem 1rem 1.25rem;
}

.hk-mega-cat-layout {
  align-items: flex-start;
  display: flex;
  gap: 0;
  min-height: calc(100vh - var(--hk-mega-header-bottom, 5.25rem) - 2rem);
}

.hk-mega-cat-parents {
  border-right: 1px solid #e8ece6;
  display: flex;
  flex: 0 0 min(100%, 20rem);
  flex-direction: column;
  gap: 0.05rem;
  max-width: 20rem;
  overflow: visible;
  padding-right: 0.85rem;
}

.hk-mega-cat-parent {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  color: #5c6560;
  cursor: pointer;
  display: flex;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  gap: 0.75rem;
  line-height: 1.3;
  padding: 0.45rem 0.75rem;
  text-align: left;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    color 0.15s ease;
  width: 100%;
}

.hk-mega-cat-parent:hover:not(.is-active) {
  background: rgba(20, 32, 28, 0.04);
  color: var(--hk-bc-ink);
}

.hk-mega-cat-parent.is-active {
  background: #fff;
  border-color: transparent;
  box-shadow: 0 2px 8px rgba(20, 32, 28, 0.06);
  color: var(--hk-bc-ink);
  font-weight: 700;
}

.hk-mega-cat-parent:focus-visible {
  outline: 2px solid rgba(153, 194, 41, 0.55);
  outline-offset: 1px;
}

.hk-mega-cat-parent__icon {
  align-items: center;
  background: transparent;
  border-radius: 8px;
  color: #8a9490;
  display: flex;
  flex-shrink: 0;
  height: 1.75rem;
  justify-content: center;
  transition:
    background-color 0.15s ease,
    color 0.15s ease;
  width: 1.75rem;
}

.hk-mega-cat-parent:hover:not(.is-active) .hk-mega-cat-parent__icon {
  color: var(--hk-bc-green-hover);
}

.hk-mega-cat-parent.is-active .hk-mega-cat-parent__icon {
  background: rgba(153, 194, 41, 0.14);
  color: var(--hk-bc-green-hover);
}

.hk-mega-cat-parent__icon svg {
  height: 1.125rem;
  width: 1.125rem;
}

.hk-mega-cat-parent__label {
  flex: 1;
  min-width: 0;
}

.hk-mega-cat-parent__count {
  background: #eef1ef;
  border-radius: 6px;
  color: #8a9490;
  flex-shrink: 0;
  font-size: 0.6875rem;
  font-weight: 600;
  line-height: 1;
  min-width: 1.35rem;
  padding: 0.25rem 0.4rem;
  text-align: center;
}

.hk-mega-cat-parent.is-active .hk-mega-cat-parent__count {
  background: rgba(153, 194, 41, 0.16);
  color: var(--hk-bc-green-hover);
}

.hk-mega-cat-subs {
  flex: 1;
  min-width: 0;
  overflow: visible;
  padding: 0 0 0 1.25rem;
}

.hk-mega-cat-subs__hint,
.hk-mega-cat-subs__empty {
  color: #6f7a76;
  font-size: 0.9rem;
  margin: 1.5rem 0 0;
}

.hk-mega-cat-subs__head {
  align-items: baseline;
  border-bottom: 1px solid #eef1ef;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
}

.hk-mega-cat-subs__title {
  color: var(--hk-bc-ink);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
}

.hk-mega-cat-subs__title:hover {
  color: var(--hk-bc-green-hover);
}

.hk-mega-cat-subs__all {
  color: var(--hk-bc-green-hover);
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.hk-mega-cat-subs__list {
  column-gap: 1.5rem;
  columns: 2;
  list-style: none;
  margin: 0;
  padding: 0;
}

.hk-mega-cat-subs__list li {
  break-inside: avoid;
  margin-bottom: 0.4rem;
}

.hk-mega-cat-subs__list a {
  color: #4a5450;
  font-size: 0.8125rem;
  line-height: 1.35;
  text-decoration: none;
}

.hk-mega-cat-subs__list a:hover {
  color: var(--hk-bc-green-hover);
  text-decoration: underline;
}

.hk-mega-cat-panel__error {
  color: #5c6560;
  margin: 0;
}

@media (min-width: 992px) {
  .hk-mega-cat-panel__inner {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hk-mega-cat-subs__list {
    columns: 3;
  }
}

@media (max-width: 767.98px) {
  .hk-mega-cat-layout {
    flex-direction: column;
  }

  .hk-mega-cat-parents {
    border-bottom: 1px solid #eef1ef;
    border-right: 0;
    flex: 0 0 auto;
    max-width: none;
    padding-right: 0;
  }

  .hk-mega-cat-subs {
    padding: 0.75rem 0 0;
  }

  .hk-mega-cat-subs__list {
    columns: 1;
  }
}

.hk-feature-strip__row {
  justify-content: center;
}

.hk-feature-strip .col {
  display: flex;
  justify-content: center;
}

.hk-feature-strip__card {
  background: transparent;
  height: 100%;
  margin-bottom: 0 !important;
  max-width: 15rem;
  width: 100%;
}

.hk-feature-strip__item {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  text-align: center;
}

.hk-feature-strip__icon {
  align-items: center;
  color: var(--hk-bc-green-hover);
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  line-height: 0;
}

.hk-feature-strip__icon svg {
  height: 3rem;
  width: 3rem;
}

.hk-feature-strip__body h5 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
}

.hk-feature-strip__body .card-text {
  color: #6f7a76;
  font-size: 0.875rem;
  line-height: 1.45;
  margin: 0;
}

.hk-brands-section {
  overflow-x: clip;
  overflow-x: hidden;
  overflow-y: visible;
}

.hk-brands-section .container-fluid,
.hk-brands-section .row {
  max-width: 100%;
}

.hk-brands-section .col-md-12 {
  max-width: 100%;
}

.hk-brands-section .hk-brand-carousel.swiper {
  box-sizing: border-box;
  margin-bottom: 0.5rem;
  overflow: hidden;
  padding: 0.75rem 1rem 1.5rem;
  width: 100%;
}

.hk-brand-carousel .swiper-wrapper {
  align-items: stretch;
}

.hk-brand-carousel .swiper-slide {
  align-self: stretch;
  box-sizing: border-box;
  display: flex;
  height: auto;
  padding: 0.35rem 0.5rem;
}

.hk-brand-carousel .swiper-slide > a {
  display: flex;
  flex: 1 1 auto;
  min-height: 100%;
  min-width: 0;
  width: 100%;
}

.hk-brand-carousel .card {
  box-shadow: 0 0.35rem 1.1rem rgba(34, 34, 34, 0.1) !important;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 0 !important;
  min-height: 9.75rem;
  height: 100%;
  width: 100%;
}

.hk-brand-carousel .card > .row {
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  height: 100%;
  margin: 0;
  width: 100%;
}

.hk-brand-carousel .card > .row > [class*="col-"]:first-child {
  flex: 0 0 38%;
  max-width: 38%;
  width: 38%;
}

.hk-brand-carousel .card > .row > [class*="col-"]:last-child {
  flex: 1 1 62%;
  max-width: 62%;
  min-width: 0;
  width: 62%;
}

.hk-brand-carousel .card-body {
  min-width: 0;
  padding-left: 0.25rem;
}

.hk-brand-carousel .card-body .text-muted {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  color: #222 !important;
  display: -webkit-box;
  font-family: var(--heading-font, "Nunito", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 0.35rem !important;
  max-height: 2.5em;
  overflow: hidden;
}

.hk-brand-carousel .card-body .card-title {
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  color: #787878;
  display: -webkit-box;
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.45;
  margin-bottom: 0;
  max-height: calc(1.45em * 3);
  overflow: hidden;
}

.hk-brand-carousel__logo {
  background: #fff;
  display: block;
  height: 4.5rem;
  margin: 0 auto;
  max-height: 4.5rem;
  object-fit: contain;
  padding: 0.35rem;
  width: 100%;
}

.hk-brand-carousel__cta-card {
  background: linear-gradient(135deg, #f4f9ec 0%, #eef5f8 100%);
  border: 1px dashed rgba(153, 194, 41, 0.45) !important;
  justify-content: center;
}

.hk-brand-carousel__cta-card .card-body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 1rem;
  width: 100%;
}

.hk-brand-carousel__cta-kicker {
  color: var(--hk-bc-green) !important;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem !important;
  text-transform: uppercase;
}

.hk-brand-carousel__cta-title {
  color: var(--hk-bc-ink);
  font-family: var(--heading-font, "Nunito", sans-serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

/* Homepage banner blocks — Herman Kuijper hero + portfolio tiles */
.hk-hero-banner {
  background: #e4ece8;
  display: flex;
  flex-direction: column;
  height: 100%;
  isolation: isolate;
  min-height: 100%;
  overflow: hidden;
  position: relative;
}

.hk-hero-banner::before {
  animation: hk-hero-gradient-rotate 36s linear infinite;
  background: linear-gradient(
    135deg,
    #e0ecd6 0%,
    #dce8f0 38%,
    #c5d4e2 72%,
    #d8e8dc 100%
  );
  content: "";
  height: 180%;
  left: 50%;
  pointer-events: none;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 180%;
  z-index: 0;
}

.hk-hero-banner::after {
  background: rgba(255, 255, 255, 0.28);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

@keyframes hk-hero-gradient-rotate {
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hk-hero-banner::before {
    animation: none;
  }
}

.hk-hero-banner__shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  height: 100%;
  min-height: 100%;
  position: relative;
  z-index: 2;
}

.hk-hero-banner > .banner-content {
  position: relative;
  z-index: 2;
}

.hk-hero-banner__bottom {
  margin-top: auto;
  padding-top: 1.5rem;
}

.hk-hero-kicker {
  color: var(--hk-bc-ink);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  margin: 0 0 0.75rem;
  text-transform: uppercase;
}

.hk-hero-title {
  color: var(--hk-bc-ink);
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.hk-hero-title em {
  color: var(--hk-bc-green);
  font-style: normal;
}

.hk-hero-sub {
  color: #4a454c;
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0;
  max-width: 36rem;
}

a.hk-banner-tile {
  color: inherit;
  display: block;
  min-height: 100%;
  overflow: hidden;
  position: relative;
  text-decoration: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hk-banner-tile .banner-content {
  position: relative;
  z-index: 2;
}

a.hk-banner-tile:hover {
  box-shadow: 0 8px 28px rgba(48, 43, 49, 0.12);
  color: inherit;
  transform: translateY(-2px);
}

.hk-banner-tile--fresh {
  background: #eef8e6;
}

.hk-banner-tile--instant {
  background: #fdeee8;
}

.hk-banner-tile--noodles {
  background: #fff4e6;
}

.hk-banner-tile--tea {
  background: #f3ebe3;
}

.hk-banner-tile--sauces {
  background: #f3eef8;
}

.hk-banner-tile--sweets {
  background: #eef8e6;
}

.hk-mid-category-banners .hk-banner-tile {
  min-height: 16rem;
}

.hk-b2b-portal-banner {
  background-color: #e6f3fb !important;
  background-position: right center !important;
  background-size: contain !important;
}

.hk-b2b-portal-banner__title {
  color: var(--hk-bc-ink);
  line-height: 1.15;
}

.hk-b2b-portal-banner__title em {
  color: var(--hk-bc-green);
  font-style: normal;
}

.hk-b2b-portal-banner__lead {
  color: #4a454c;
  font-size: 1.05rem;
  line-height: 1.55;
  max-width: 32rem;
}

.hk-b2b-portal-banner .section-title span.text-primary {
  color: var(--hk-bc-green) !important;
}

.hk-b2b-portal-banner .hk-b2b-consent {
  align-items: center;
  display: flex;
  gap: 0.5rem;
  padding-left: 0;
}

.hk-b2b-portal-banner .hk-b2b-consent .form-check-input {
  float: none;
  margin-left: 0;
  margin-top: 0;
  flex-shrink: 0;
}

.hk-b2b-portal-banner .hk-b2b-consent .form-check-label {
  line-height: 1.35;
  margin-bottom: 0;
}

.product-item figure {
  background: #fff;
  margin: 0;
  overflow: hidden;
}

.product-item figure > a {
  align-items: center;
  display: flex;
  justify-content: center;
  max-height: 210px;
  min-height: 210px;
  padding: 0.5rem;
}

.product-item figure img,
.product-item figure img.tab-image {
  display: block;
  height: auto;
  margin: 0 auto;
  max-height: 190px;
  max-width: 100%;
  object-fit: contain;
  width: auto;
}

.product-item .btn-wishlist {
  border: 0;
}

.product-item .product-qty {
  align-items: center;
  background: transparent;
  border: 0;
  box-shadow: none;
  display: flex;
  flex-wrap: nowrap;
}

.product-item .product-qty > .input-group-btn {
  align-items: center;
  display: flex;
}

.product-item .product-qty .form-control,
.product-item .product-qty .form-control.quantity,
.product-item .product-qty .input-number {
  align-self: center;
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
  height: 26px;
  line-height: 26px;
  min-height: 0;
  outline: none;
  padding: 0;
  text-align: center;
}

.product-item .product-qty .form-control:focus,
.product-item .product-qty .form-control:focus-visible {
  background: transparent;
  border: 0 !important;
  box-shadow: none !important;
  outline: none;
}

.product-item .product-qty .btn-number {
  align-items: center;
  background: #fff;
  border: 1px solid #e2e2e2 !important;
  box-shadow: none;
  display: inline-flex;
  flex-shrink: 0;
  justify-content: center;
  padding: 0;
}

.product-item .product-qty .btn-number:focus,
.product-item .product-qty .btn-number:focus-visible {
  border-color: #e2e2e2 !important;
  box-shadow: none;
  outline: none;
}

/* Product carousels — shadows need visible section + padded swiper clip box */
.hk-products-carousel-section {
  overflow: visible;
}

/* Best selling → B2B banner */
.hk-products-carousel-section:has(+ .hk-b2b-section) {
  padding-bottom: 0 !important;
}

.hk-products-carousel-section:has(+ .hk-b2b-section) .products-carousel.swiper {
  padding-bottom: 1.75rem;
}

/* Just arrived → How it works */
.hk-products-carousel-section:has(+ .hk-how-it-works) {
  padding-bottom: 0 !important;
}

.hk-products-carousel-section:has(+ .hk-how-it-works) .products-carousel.swiper {
  padding-bottom: 1.75rem;
}

/* Full-bleed contrast band + BC torn mask */
.hk-how-it-works.hk-how-it-works--contrast {
  background-color: var(--hk-dark-surface);
  box-sizing: border-box;
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(2rem, 4.5vw, 3.5rem);
  max-width: 100vw;
  overflow-x: clip;
  padding: clamp(3.5rem, 6vw, 5rem) 0 clamp(3rem, 5vw, 4.25rem);
  position: relative;
  width: 100vw;
}

.hk-how-it-works.hk-how-it-works--contrast .section-title {
  color: var(--hk-dark-fg);
}

.hk-how-it-works.hk-how-it-works--contrast .hk-banner-tag {
  color: var(--hk-dark-accent);
}

/* Beagley Copperman torn-paper mask (theme SVGs, same as .mask--full) */
.hk-bc-mask {
  -webkit-mask-position: 100% 100%;
  mask-position: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: cover;
  mask-size: cover;
}

@media (max-width: 474.98px) {
  .hk-bc-mask--full {
    -webkit-mask-image: url("../images/bc-masks/bc-torn-xs.svg");
    mask-image: url("../images/bc-masks/bc-torn-xs.svg");
  }
}

@media (min-width: 475px) and (max-width: 767.98px) {
  .hk-bc-mask--full {
    -webkit-mask-image: url("../images/bc-masks/bc-torn-sm.svg");
    mask-image: url("../images/bc-masks/bc-torn-sm.svg");
  }
}

@media (min-width: 768px) and (max-width: 991.98px) {
  .hk-bc-mask--full {
    -webkit-mask-image: url("../images/bc-masks/bc-torn-md.svg");
    mask-image: url("../images/bc-masks/bc-torn-md.svg");
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .hk-bc-mask--full {
    -webkit-mask-image: url("../images/bc-masks/bc-torn-lg.svg");
    mask-image: url("../images/bc-masks/bc-torn-lg.svg");
  }
}

@media (min-width: 1200px) and (max-width: 1379.98px) {
  .hk-bc-mask--full {
    -webkit-mask-image: url("../images/bc-masks/bc-torn-xl.svg");
    mask-image: url("../images/bc-masks/bc-torn-xl.svg");
  }
}

@media (min-width: 1380px) and (max-width: 1679.98px) {
  .hk-bc-mask--full {
    -webkit-mask-image: url("../images/bc-masks/bc-torn-2xl.svg");
    mask-image: url("../images/bc-masks/bc-torn-2xl.svg");
  }
}

@media (min-width: 1680px) {
  .hk-bc-mask--full {
    -webkit-mask-image: url("../images/bc-torn-edge.svg");
    mask-image: url("../images/bc-torn-edge.svg");
    -webkit-mask-position: center;
    mask-position: center;
  }
}

.hk-how-it-works.hk-how-it-works--contrast::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 42%,
    rgba(0, 0, 0, 0.14) 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hk-how-it-works.hk-how-it-works--contrast > .container-fluid {
  position: relative;
  z-index: 2;
}

.hk-how-it-works__head {
  max-width: 36rem;
}

.hk-how-it-works.hk-how-it-works--contrast .section-header {
  text-align: center;
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__head {
  max-width: 40rem;
  text-align: center;
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__lead {
  margin-inline: auto;
}

.hk-how-it-works__lead {
  color: #4a454c;
  font-size: 1rem;
  line-height: 1.55;
  margin-top: 0.65rem;
  max-width: 32rem;
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__lead {
  color: var(--hk-dark-fg-muted);
}

.hk-how-it-works__step {
  background: #fff;
  border: 1px solid #fbfbfb;
  border-radius: 16px;
  box-shadow: 0 5px 22px rgba(0, 0, 0, 0.04);
  height: 100%;
  padding: 1.35rem 1.25rem 1.15rem;
  transition: box-shadow 0.3s ease;
}

.hk-how-it-works__step:hover {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.hk-how-it-works__num {
  align-items: center;
  background: rgba(153, 194, 41, 0.14);
  border-radius: 12px;
  color: var(--hk-bc-green-hover);
  display: inline-flex;
  font-family: var(--heading-font, "Nunito", sans-serif);
  font-size: 1.125rem;
  font-weight: 800;
  height: 2.5rem;
  justify-content: center;
  line-height: 1;
  margin-bottom: 1rem;
  width: 2.5rem;
}

.hk-how-it-works__step-title {
  color: var(--hk-bc-ink);
  font-family: var(--heading-font, "Nunito", sans-serif);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

.hk-how-it-works__step-text {
  color: #787878;
  font-family: var(--body-font, "Open Sans", sans-serif);
  font-size: 0.875rem;
  line-height: 1.5;
  margin: 0 0 0.85rem;
}

.hk-how-it-works__link {
  color: var(--hk-bc-ink);
  font-size: 0.9375rem;
  font-weight: 600;
  padding-left: 0;
}

.hk-how-it-works__link:hover {
  color: var(--hk-bc-green-hover);
}

/* Contrast band — steps without cards, centered light copy */
.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__steps > .col {
  display: flex;
  justify-content: center;
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__step {
  align-items: center;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex-direction: column;
  max-width: 18rem;
  padding: 0.35rem 0.75rem 0;
  text-align: center;
  width: 100%;
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__step:hover {
  box-shadow: none;
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__num {
  background: none;
  border-radius: 0;
  color: var(--hk-dark-fg);
  font-size: clamp(2.75rem, 4.5vw, 3.75rem);
  font-weight: 800;
  height: auto;
  line-height: 1;
  margin: 0 auto 0.65rem;
  width: auto;
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__step-title {
  color: var(--hk-dark-fg);
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__step-text {
  color: var(--hk-dark-fg-muted);
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__link {
  align-self: center;
  color: var(--hk-dark-fg);
  display: block;
  margin-inline: auto;
  padding: 0;
  text-align: center;
  width: 100%;
}

.hk-how-it-works.hk-how-it-works--contrast .hk-how-it-works__link:hover {
  color: var(--hk-bc-green);
}

.hk-b2b-section {
  padding-top: 0 !important;
}

/* Back-to-back carousels (Most popular → Just arrived) */
.hk-products-carousel-section + .hk-products-carousel-section {
  padding-top: 0 !important;
}

.hk-products-carousel-section:has(+ .hk-products-carousel-section) {
  padding-bottom: 0 !important;
}

.hk-products-carousel-section:has(+ .hk-products-carousel-section) .container-fluid > .row:last-child {
  padding-bottom: 2.75rem;
}

/* How it works → popular tags */
.hk-how-it-works + .hk-popular-tags {
  padding-top: 0 !important;
}

.hk-how-it-works + .hk-popular-tags .container-fluid > h2 {
  margin-bottom: 1.25rem;
  margin-top: 0;
}

.hk-products-carousel-section .container-fluid,
.hk-products-carousel-section .col-md-12 {
  overflow: visible;
}

/* Carousel row: clip horizontal slide bleed; leave room for card shadows below */
.hk-products-carousel-section .container-fluid > .row:last-child {
  overflow-x: clip;
  overflow-y: visible;
  padding-bottom: 2.25rem;
}

.products-carousel.swiper {
  box-sizing: border-box;
  margin-bottom: 0;
  overflow: visible !important;
  padding: 1rem 1.25rem 0.25rem;
  width: 100%;
}

.products-carousel .swiper-wrapper,
.products-carousel .swiper-slide {
  overflow: visible !important;
}

/* Equal-height product cards in a row (carousel + trending grid) */
.products-carousel .swiper-wrapper {
  align-items: stretch;
}

.products-carousel .product-item.swiper-slide {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  height: auto;
  margin-bottom: 0 !important;
  margin-top: 0.35rem;
}

.product-tabs .hk-trending-product-grid {
  --bs-gutter-x: 1.875rem;
  --bs-gutter-y: 1.875rem;
}

.product-tabs .hk-trending-product-grid > .col {
  display: flex;
}

.product-tabs .hk-trending-product-grid .product-item {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  margin-bottom: 0;
  width: 100%;
}

/* Match .products-carousel Swiper breakpoints (see js/script.js) */
@media (min-width: 1500px) {
  .product-tabs .hk-trending-product-grid.row-cols-lg-4 > .col {
    flex: 0 0 auto;
    max-width: 20%;
    width: 20%;
  }
}

.hk-trending-products-section {
  overflow: visible;
}

.hk-trending-products-section .container-fluid,
.hk-trending-products-section .row,
.hk-trending-products-section .col-md-12 {
  overflow: visible;
}

.product-item > .hk-product-item-actions {
  justify-content: flex-start;
  margin-top: auto;
  padding-top: 0.75rem;
  width: 100%;
}

.product-item .hk-product-add-cart {
  align-items: center;
  display: inline-flex;
  flex-direction: row;
  gap: 0.4rem;
  margin: 0;
}

.product-item .qty {
  display: block;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.hk-fm-product-brand {
  color: #8a9490;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1.2;
  margin: 0;
  text-transform: uppercase;
}

.product-item .hk-fm-product-price-old {
  font-size: 0.875rem;
  font-weight: 500;
}

.hk-banner-tag {
  color: var(--hk-bc-green);
  display: block;
  font-family: "Open Sans", Helvetica, Arial, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.hk-banner-desc {
  color: #5c565e;
  font-size: 0.95rem;
  line-height: 1.45;
  margin: 0;
  max-width: 14rem;
}

.hk-banner-tile .banner-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.hk-banner-tile__art {
  bottom: -4%;
  height: 88%;
  pointer-events: none;
  position: absolute;
  right: -2%;
  width: 58%;
  z-index: 1;
}

.hk-banner-tile__splash {
  display: block;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
  width: 100%;
}

.hk-banner-tile__art .hk-banner-tile__product {
  box-sizing: border-box;
  height: 100%;
  inset: 0;
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  object-position: center center;
  padding: 6%;
  pointer-events: none;
  position: absolute;
  transition: transform 0.3s ease;
  width: 100%;
  z-index: 1;
}

a.hk-banner-tile:hover .hk-banner-tile__art .hk-banner-tile__product {
  transform: scale(1.04);
}

@media screen and (max-width: 991px) {
  .hk-banner-tile__art {
    height: 78%;
    width: 50%;
  }
}

/* HK footer — deep charcoal (same family as How it works) */
.hk-footer {
  background-color: var(--hk-dark-surface-deep);
  box-sizing: border-box;
  color: var(--hk-dark-fg-muted);
  isolation: isolate;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: clamp(2rem, 4vw, 3rem);
  max-width: 100vw;
  overflow: hidden;
  padding: clamp(3rem, 5vw, 4rem) 0 0;
  position: relative;
  width: 100vw;
}

.hk-footer::before {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 42%,
    rgba(0, 0, 0, 0.2) 100%
  );
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.hk-footer__inner {
  max-width: 1320px;
  padding-left: clamp(1rem, 2vw, 1.5rem);
  padding-right: clamp(1rem, 2vw, 1.5rem);
  position: relative;
  z-index: 2;
}

.hk-footer__top {
  align-items: start;
  display: grid;
  gap: clamp(1.75rem, 3vw, 2.5rem);
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.4fr);
  padding-bottom: clamp(1.75rem, 3vw, 2.25rem);
}

.hk-footer__logo {
  color: #fff;
  font-size: clamp(1.35rem, 2vw, 1.65rem);
  margin-bottom: 0.75rem;
}

.hk-footer__logo em {
  color: var(--hk-dark-accent);
}

.hk-footer__logo:hover {
  color: #fff;
  opacity: 0.92;
}

.hk-footer__tag {
  color: var(--hk-dark-fg-muted);
  font-size: 0.875rem;
  line-height: 1.55;
  margin: 0;
  max-width: 22rem;
}

.hk-footer__brand-block .btn-outline-light {
  --bs-btn-color: #14201c;
  --bs-btn-bg: #efefef;
  --bs-btn-border-color: #efefef;
  --bs-btn-hover-color: #14201c;
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: #14201c;
  --bs-btn-active-bg: #f5f5f5;
  --bs-btn-active-border-color: #f5f5f5;
  background-color: #efefef;
  border-color: #efefef;
  color: #14201c;
}

.hk-footer__brand-block .btn-outline-light:hover,
.hk-footer__brand-block .btn-outline-light:focus-visible {
  background-color: #fff;
  border-color: #fff;
  color: #14201c;
}

.hk-footer__nav {
  display: grid;
  gap: 1.25rem 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.hk-footer__heading {
  color: var(--hk-dark-fg-label);
  font-family: "Open Sans", system-ui, sans-serif;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  line-height: 1.3;
  margin: 0 0 0.85rem;
  text-transform: uppercase;
}

.hk-footer__links {
  margin: 0;
}

.hk-footer__links li + li {
  margin-top: 0.45rem;
}

.hk-footer__links a,
.hk-footer__contact-col a {
  color: var(--hk-dark-fg);
  font-size: 0.875rem;
  line-height: 1.5;
  text-decoration: none;
  transition: color 0.15s ease;
}

.hk-site-header .nav-link--disabled {
  cursor: default;
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.hk-footer__links .hk-link-disabled {
  color: var(--hk-dark-fg);
  cursor: default;
  display: inline-block;
  font-size: 0.875rem;
  line-height: 1.5;
  opacity: 0.45;
  pointer-events: none;
  user-select: none;
}

.hk-footer__links a:hover,
.hk-footer__contact-col a:hover {
  color: var(--hk-bc-green);
}

.hk-footer__contact {
  border-top: 1px solid var(--hk-dark-divider);
  display: grid;
  gap: 1.25rem 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: clamp(1.5rem, 2.5vw, 2rem) 0;
}

.hk-footer__contact-col p {
  color: var(--hk-dark-fg-muted);
  font-size: 0.875rem;
  line-height: 1.65;
  margin: 0;
}

.hk-footer__bottom {
  align-items: center;
  border-top: 1px solid var(--hk-dark-divider);
  color: var(--hk-dark-fg-subtle);
  display: flex;
  flex-wrap: wrap;
  font-size: 0.75rem;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  padding: 1.1rem 0 1.35rem;
}

.hk-footer__copy {
  line-height: 1.4;
}

.hk-footer__legal {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.25rem;
}

.hk-footer__legal a {
  color: var(--hk-dark-fg-muted);
  text-decoration: none;
}

.hk-footer__legal a:hover {
  color: var(--hk-dark-fg);
}

@media (max-width: 991.98px) {
  .hk-footer__top {
    grid-template-columns: 1fr;
  }

  .hk-footer__nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575.98px) {
  .hk-footer__nav,
  .hk-footer__contact {
    grid-template-columns: 1fr;
  }

  .hk-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

html {
  overflow-x: clip;
}

/* ——— Catalog prototype: assortment + category ——— */
.hk-catalog-page {
  padding-block: 2rem 4rem;
  background: #fff;
}

.hk-catalog-page__shell {
  max-width: 1400px;
}

.hk-catalog-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.875rem;
  color: var(--hk-muted-fg, #6b7280);
  margin-bottom: 1.25rem;
}

.hk-catalog-crumb a {
  color: var(--light-dark-color, #727272);
  text-decoration: none;
  transition: color 0.15s ease;
}

.hk-catalog-crumb a:hover,
.hk-catalog-crumb a:focus-visible {
  color: var(--dark-color, #222222);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hk-catalog-crumb span:not(:last-child) {
  opacity: 0.45;
}

.hk-catalog-page__head {
  margin-bottom: 2rem;
  max-width: 42rem;
}

.hk-catalog-page__title {
  font-family: "Space Grotesk", "Nunito", sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

.hk-catalog-page__lead {
  color: var(--hk-muted-fg, #6b7280);
  margin: 0;
  line-height: 1.55;
}

.hk-assortment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(9.5rem, 1fr));
  gap: 1.25rem 1rem;
}

@media (min-width: 576px) {
  .hk-assortment-grid {
    grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
    gap: 1.5rem 1.25rem;
  }
}

@media (min-width: 992px) {
  .hk-assortment-grid {
    grid-template-columns: repeat(auto-fill, minmax(11.5rem, 1fr));
  }
}

/* Assortment page — centered category grid */
.hk-page-assortment-wrap .hk-catalog-crumb {
  justify-content: center;
}

.hk-page-assortment-wrap .hk-catalog-page__head {
  margin-inline: auto;
  text-align: center;
}

.hk-page-assortment-wrap .hk-assortment-grid {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 1.25rem;
  justify-content: center;
  margin-inline: auto;
  width: 100%;
}

.hk-page-assortment-wrap .hk-assortment-grid .hk-assortment-tile {
  flex: 0 0 11rem;
  max-width: 11rem;
  width: 11rem;
}

@media (min-width: 576px) {
  .hk-page-assortment-wrap .hk-assortment-grid .hk-assortment-tile {
    flex-basis: 12rem;
    max-width: 12rem;
    width: 12rem;
  }
}

.hk-page-assortment-wrap .hk-assortment-grid.hk-bc-categories {
  background: transparent;
  padding-bottom: 0 !important;
  padding-top: 0 !important;
}

.hk-assortment-grid .categories-widget__image {
  margin-inline: auto;
  width: 100%;
}

.hk-category-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .hk-category-top {
    grid-template-columns: 1fr min(220px, 35%);
  }
}

.hk-category-hero__art {
  max-width: 200px;
  margin-inline: auto;
}

.hk-category-count {
  font-style: normal;
  font-weight: 400;
  font-size: 0.55em;
  color: var(--hk-muted-fg, #6b7280);
}

.hk-category-products-placeholder {
  padding: 2rem;
  border-radius: 1rem;
  background: var(--hk-surface-muted, #f3f4f6);
  border: 1px dashed rgba(15, 17, 21, 0.12);
  max-width: 36rem;
}

.hk-page-assortment .preloader-wrapper,
.hk-page-category .preloader-wrapper,
.hk-page-product .preloader-wrapper {
  display: none !important;
}

.hk-category-hero__frame {
  width: 100%;
}

.hk-category-hero__frame .categories-widget__image {
  height: 14rem;
  margin-inline: auto;
  max-width: 220px;
}

@media (min-width: 992px) {
  .hk-category-hero__frame .categories-widget__image {
    height: 16rem;
  }
}

.hk-category-subs__heading {
  font-family: "Space Grotesk", "Nunito", sans-serif;
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.hk-subcategory-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 0.65rem 1rem;
}

.hk-subcategory-chip {
  display: inline-flex;
  align-items: center;
  background: var(--hk-surface-muted, #f3f4f6);
  border: 1px solid rgba(15, 17, 21, 0.06);
  border-radius: 0.65rem;
  color: var(--hk-dark-fg, #0f1115);
  font-size: 0.875rem;
  justify-content: space-between;
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.hk-subcategory-chip:hover {
  background: #fff;
  border-color: rgba(15, 17, 21, 0.14);
}

.hk-subcategory-chip::after {
  content: "→";
  margin-left: 0.35rem;
  opacity: 0.45;
}

.hk-page-assortment .nav-link.active,
.hk-page-category .nav-link.active,
.hk-page-contact .nav-link.active,
.hk-page-about .nav-link.active {
  font-weight: 700;
}

.categories-widget__image--fallback .categories-widget__image__splash {
  opacity: 1;
}
