.kn-header {
  --kn-ink: #33332f;
  --kn-line: #e7e3da;
  --kn-tint: #f6f3ed;
  position: relative;
  z-index: 10;
  color: var(--kn-ink);
  background: #fff;
}
.kn-notice {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 24px;
  color: #eeeae3;
  background: #393936;
  font-size: 10px;
  font-weight: 550;
  letter-spacing: .025em;
}
.kn-notice span { color: #f4cf9b; }
.kn-masthead {
  display: grid;
  grid-template-columns: minmax(95px, .5fr) minmax(180px, 2.4fr) minmax(max-content, 1.2fr);
  align-items: center;
  gap: clamp(16px, 3vw, 56px);
  padding-block: 10px;
}
.kn-brand { display: inline-flex; width: fit-content; text-decoration: none; }
.kn-brand img { display: block; width: 70px; height: 70px; object-fit: contain; }
.kn-search {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
  max-width: 720px;
  min-height: 46px;
  padding: 4px 5px 4px 17px;
  border: 1px solid #dfdcd5;
  border-radius: 26px;
  background: #f9f8f5;
}
.kn-search > i { color: #77746b; font-size: 16px; }
.kn-search input[type=search] {
  flex: 1;
  width: 0;
  min-height: 34px;
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: var(--kn-ink);
}
.kn-search input::placeholder { color: #6d6962; opacity: 1; }
.kn-search:focus-within { outline: 2px solid #876333; outline-offset: 2px; }
.ky-store .kn-search input[type=search]:focus-visible { outline: 0 !important; }
.kn-search button {
  border: 0;
  border-radius: 25px;
  padding: 0 21px;
  min-height: 35px;
  background: var(--kn-ink);
  color: #fff;
  font: 650 13px/1 var(--bs-body-font-family);
}
.kn-search button:hover { background: #504b42; }
.kn-actions { display: flex; align-items: center; justify-content: flex-end; gap: clamp(12px, 1.7vw, 26px); }
.kn-actions #cart { margin: 0; }
.kn-account, .kn-actions .ky-cart-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  color: var(--kn-ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
}
.kn-account i, .kn-actions .ky-cart-link i { font-size: 18px; }
.kn-account:hover span { text-decoration: underline; text-underline-offset: 4px; }
.kn-actions .ky-cart-link { padding: 0 13px; border: 1px solid var(--kn-line); background: var(--kn-tint); }
.kn-actions .ky-cart-link b { color: #fff; background: #45443f; }
.kn-actions .ky-cart-link:hover { border-color: #9d9384; }
.kn-mobile-basket { display: none; }
.kn-navigation { border-block: 1px solid var(--kn-line); }
.kn-nav-frame { position: relative; display: flex; flex-wrap: wrap; align-items: stretch; gap: 0 clamp(14px, 2.4vw, 36px); }
.kn-directory { flex: none; }
.kn-nav-frame summary { list-style: none; }
.kn-nav-frame summary::-webkit-details-marker { display: none; }
.kn-directory > summary {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 47px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 750;
  white-space: nowrap;
}
.kn-directory > summary .fa-bars { font-size: 14px; }
.kn-directory > summary .fa-chevron-down, .kn-branch summary i { font-size: 9px; }
.kn-nav-frame details[open] > summary .fa-chevron-down { transform: rotate(180deg); }
.kn-department { position: relative; }
.kn-department > summary, .kn-department-link {
  display: flex;
  align-items: center;
  gap: 7px;
  flex: none;
  min-height: 47px;
  border-bottom: 2px solid transparent;
  padding-top: 2px;
  color: var(--kn-ink);
  text-decoration: none;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 650;
}
.kn-department > summary { cursor: pointer; }
.kn-department > summary i, .kn-all-catalog i { font-size: 9px; }
.kn-all-catalog { margin-inline-start: auto; }
.kn-department[open] > summary, .kn-department > summary:hover, .kn-department-link:is(:hover,[aria-current=page]) { border-bottom-color: #ab8651; }
.ky-store .kn-department-link:focus-visible { outline-offset: -3px; }
.kn-nav-frame summary:focus-visible { outline: 2px solid #876333; outline-offset: -2px; }
.kn-menu-panel {
  position: absolute;
  inset: calc(100% + 1px) auto auto 0;
  width: min(570px, 100%);
  max-height: min(62dvh, 540px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 20px 24px 0;
  border: 1px solid var(--kn-line);
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 16px 26px #37302220;
  background: #fff;
}
.kn-department-panel {
  width: max-content;
  min-width: 225px;
  max-width: min(320px, 85vw);
  padding: 9px;
}
.kn-department.kn-panel-right .kn-department-panel { inset-inline-start: auto; inset-inline-end: 0; }
.kn-category-group { padding-bottom: 12px; }
.kn-category-group + .kn-category-group { padding-top: 12px; border-top: 1px solid var(--kn-line); }
.kn-group-title { display: inline-flex; margin: 0 0 8px; color: #292925; font-size: 17px; font-weight: 750; text-decoration: none; }
.kn-group-title:hover { text-decoration: underline; text-underline-offset: 3px; }
.kn-category-list { list-style: none; padding: 0; margin: 0; }
.kn-category-group > .kn-category-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.kn-category-list a, .kn-branch > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 39px;
  padding: 7px 9px;
  border-radius: 6px;
  color: #4c4944;
  font-size: 14px;
  text-decoration: none;
}
.kn-category-list i { color: #958369; font-size: 10px; }
.kn-category-list a:is(:hover,[aria-current=page]), .kn-branch summary:hover { background: var(--kn-tint); color: #262623; }
.kn-branch > summary { cursor: pointer; }
.kn-branch[open] { margin-bottom: 6px; }
.kn-branch .kn-parent-link, .kn-branch .kn-category-list { margin-left: 10px; border-left: 1px solid var(--kn-line); }
.kn-branch .kn-parent-link { font-size: 13px; font-weight: 700; }
.kn-see-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--kn-line);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}
.kn-see-all:hover { text-decoration: underline; text-underline-offset: 3px; }
.ky-store footer.kn-footer {
  position: static;
  width: 100%;
  height: auto;
  min-height: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-top: 3px double #ad9d7c;
  background: #f5eddf;
  color: #423b30;
}
.kn-footer-inner { display: grid; grid-template-columns: minmax(0, 1.85fr) minmax(240px, 1fr); align-items: center; gap: clamp(24px,5vw,90px); padding-block: clamp(24px,3vw,46px) 15px; }
.kn-footer-farm { position: relative; min-width: 0; padding-top: 16px; }
.kn-footer-brand { position: absolute; inset: 0 auto auto 1.5%; z-index: 1; border-radius: 50%; }
.kn-footer-brand img { display: block; width: clamp(52px,6.2vw,91px); height: auto; object-fit: contain; }
.kn-footer-etching { display: block; mix-blend-mode: multiply; mask-image: linear-gradient(to right, transparent, #000 5%, #000 97%, transparent), linear-gradient(to bottom, transparent 0%, #000 18%, #000 88%, transparent 100%); mask-composite: intersect; }
.kn-footer-etching img { display: block; width: 100%; height: auto; }
.kn-footer-links { display: grid; grid-template-columns: auto auto; justify-content: space-around; gap: clamp(16px,3vw,52px); padding-inline-start: clamp(12px,2.8vw,45px); border-inline-start: 1px solid #cfc2a8; }
.kn-footer-links div { display: grid; align-content: start; gap: 2px; }
.ky-store .kn-footer-links h2 { margin: 0 0 9px; color: #373529; font: 600 clamp(22px,2vw,30px)/1.16 var(--ky-display-font); letter-spacing: -.02em; }
.ky-store .kn-footer a { width: fit-content; color: inherit; text-decoration: none; }
.ky-store .kn-footer a:hover { color: #63451c; text-decoration: underline; text-underline-offset: .24em; }
.ky-store .kn-footer a:focus-visible { outline: 2px solid #6d522e; outline-offset: 3px; }
.kn-footer-links a { display: inline-flex; align-items: center; min-height: 30px; font-size: 14px; line-height: 1.4; }
.kn-footer-base { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-block: 14px; border-top: 1px solid #bdad91; color: #5a5246; font-size: 12px; }
.kn-footer-base i { margin-left: 4px; font-size: 10px; }
@media (max-width: 800px) {
  .kn-masthead { grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; }
  .kn-account span { display: none; }
  .kn-account { min-width: 37px; }
  .kn-actions { gap: 6px; }
  .kn-nav-frame { column-gap: 15px; }
  .kn-directory > summary { font-size: 13px; }
}
@media (max-width: 600px) {
  .ky-shopping:has(.kn-mobile-basket) #container { padding-bottom: calc(66px + env(safe-area-inset-bottom)); }
  .ky-shopping .kn-mobile-basket {
    position: fixed;
    inset: auto 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 8px max(16px, env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    background: #fff;
    border-top: 1px solid #e4dfd6;
    box-shadow: 0 -3px 15px #302b2410;
    color: #33332f;
    text-decoration: none;
  }
  .ky-shopping:has(.kn-header details[open], .kn-search input:focus, dialog[open]) .kn-mobile-basket { display: none; }
  .kn-basket-summary { display: grid; line-height: 1.25; }
  .kn-basket-summary > span { color: #6d675e; font-size: 12px; }
  .kn-basket-summary strong { font-size: 17px; font-variant-numeric: tabular-nums; }
  .kn-basket-action { display: inline-flex; align-items: center; justify-content: center; gap: 20px; min-height: 44px; padding: 0 18px; border-radius: 9px; background: #393936; color: #fff; font-size: 14px; font-weight: 650; }
  .kn-masthead { grid-template-columns: 1fr auto; gap: 7px 12px; padding-block: 7px 10px; }
  .kn-brand img { width: 52px; height: 52px; }
  .kn-search { grid-column: 1 / -1; grid-row: 2; gap: 10px; min-height: 39px; padding: 2px 4px 2px 13px; }
  .kn-search input[type=search] { font-size: 14px; }
  .kn-search button { min-height: 31px; padding-inline: 16px; }
  .kn-actions .ky-cart-link > span { display: inline; }
  .kn-actions .ky-cart-link { min-height: 38px; padding-inline: 11px; }
  .kn-actions { gap: 10px; }
  .kn-notice { min-height: 21px; font-size: 9px; }
  .kn-directory > summary, .kn-department > summary, .kn-department-link { min-height: 44px; }
  .kn-directory > summary { gap: 6px; }
  .kn-nav-frame { justify-content: space-between; column-gap: 8px; }
  .kn-department { position: static; }
  .kn-department > summary, .kn-department-link { gap: 4px; font-size: 12px; }
  .kn-all-catalog { display: none; }
  .kn-menu-panel { padding: 15px 14px 0; max-height: min(61dvh, 480px); }
  .kn-department-panel, .kn-department.kn-panel-right .kn-department-panel { inset-inline: 0; width: 100%; min-width: 0; max-width: none; padding: 9px; }
  .kn-category-group > .kn-category-list { grid-template-columns: 1fr; }
  .kn-category-list a, .kn-branch > summary { min-height: 41px; }
  .kn-footer-inner { grid-template-columns: minmax(0,1fr); gap: 18px; padding-block: 20px 16px; }
  .kn-footer-farm { padding-top: 17px; }
  .kn-footer-brand img { width: 53px; }
  .kn-footer-links { justify-content: start; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; padding: 0; border: 0; }
  .kn-footer-links div { gap: 0; }
  .kn-footer-links a { min-height: 44px; }
}
@media (max-width: 420px) {
  .kn-nav-frame { width: calc(100% - 26px); column-gap: 5px; }
  .kn-directory > summary { gap: 4px; font-size: 12px; }
  .kn-directory > summary .fa-bars { display: none; }
}
@media (max-width: 345px) {
  .kn-nav-frame { width: calc(100% - 16px); }
  .kn-directory > summary .fa-chevron-down { display: none; }
}
