/* ==========================================================================
   Header & navigation
   ========================================================================== */

:root {
  --hk-announce-h: 36px;
  --hk-bar-h: 72px;
  --hk-nav-h: 48px;
  --hk-admin-h: 0px;
  --hk-glass: rgba(255, 255, 255, .82);
}
html.hk-announce-off { --hk-announce-h: 0px; }
body.admin-bar { --hk-admin-h: 32px; }
@media (max-width: 782px) { body.admin-bar { --hk-admin-h: 46px; } }
@media (max-width: 600px) { body.admin-bar { --hk-admin-h: 0px; } }
@media (max-width: 1023.98px) { :root { --hk-bar-h: 60px; --hk-announce-h: 34px; } html.hk-announce-off { --hk-announce-h: 0px; } }

/* ---------- Sticky shell ---------- */
.wp-block-template-part:has(> .hk-header) {
  position: sticky;
  top: calc(var(--hk-admin-h) - var(--hk-announce-h) - 6px);
  z-index: 100;
  transition: transform var(--hk-ease);
}
.wp-block-template-part.is-tucked { transform: translateY(-100%); }
.wp-site-blocks > .wp-block-template-part:has(> .hk-header) + * { margin-block-start: 0; }

.hk-header { position: relative; isolation: isolate; color: var(--hk-ink); }
.hk-header .is-layout-flow > * { margin-block: 0; }
.hk-header p { margin: 0; }
.hk-header::before {
  content: ""; position: absolute; inset: var(--hk-announce-h) 0 0; z-index: -1;
  background: var(--hk-glass);
  -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: box-shadow var(--hk-ease), border-color var(--hk-ease), background-color var(--hk-ease);
}
.hk-header.is-scrolled::before { border-bottom-color: var(--hk-line); box-shadow: 0 1px 0 rgba(22,24,29,.02), 0 10px 30px -12px rgba(22,24,29,.14); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { :root { --hk-glass: #fff; } }

/* ---------- Announcement ---------- */
.hk-announce { background: var(--hk-ink); color: rgba(255,255,255,.74); font-size: 12.5px; line-height: 1.3; letter-spacing: .005em; }
.hk-announce-off .hk-announce { display: none; }
.hk-announce__inner { display: flex; align-items: center; gap: 1.5rem; max-width: var(--hk-wide); height: var(--hk-announce-h); margin-inline: auto; padding-inline: var(--hk-gutter); }
.hk-announce__msgs { display: flex; align-items: center; gap: 1.75rem; min-width: 0; flex: 1; overflow: hidden; }
.hk-announce__msg { display: inline-flex; align-items: center; gap: .5rem; white-space: nowrap; }
.hk-announce__msg::before, .hk-announce__phone::before {
  content: ""; width: 15px; height: 15px; flex: none; background: var(--hk-accent);
  -webkit-mask: var(--hk-mask) center / contain no-repeat; mask: var(--hk-mask) center / contain no-repeat;
}
.hk-announce__msg--truck { --hk-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h11v10H3zM14 10h4l3 3v3h-7'/%3E%3Ccircle cx='7' cy='18' r='1.8'/%3E%3Ccircle cx='17.5' cy='18' r='1.8'/%3E%3C/svg%3E"); }
.hk-announce__msg--card { --hk-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='14' rx='2'/%3E%3Cpath d='M3 10h18M7 15h3'/%3E%3C/svg%3E"); }
.hk-announce__msg--wrench { --hk-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14.7 6.3a4 4 0 0 0-5.4 5.4L4 17l3 3 5.3-5.3a4 4 0 0 0 5.4-5.4l-2.4 2.4-2.6-.6-.6-2.6 2.6-2.2Z'/%3E%3C/svg%3E"); }
.hk-announce__phone { --hk-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 4h4l2 5-2.5 1.5a11 11 0 0 0 5 5L15 13l5 2v4a2 2 0 0 1-2 2A16 16 0 0 1 3 6a2 2 0 0 1 2-2Z'/%3E%3C/svg%3E"); }
.hk-announce a { color: #fff; text-decoration: none; font-weight: 550; }
.hk-announce a:hover { color: var(--hk-accent); }
.hk-announce__aside { display: flex; align-items: center; gap: 1.25rem; white-space: nowrap; }
.hk-announce__aside a:not(.hk-announce__phone) { color: rgba(255,255,255,.74); font-weight: 450; }
.hk-announce__aside a:not(.hk-announce__phone):hover { color: #fff; }
.hk-announce__phone { display: inline-flex; align-items: center; gap: .45rem; font-variant-numeric: tabular-nums; }
.hk-announce__close {
  display: grid; place-items: center; width: 32px; height: 32px; margin-inline-end: -8px; flex: none;
  border: 0; border-radius: var(--hk-pill); background: transparent; color: rgba(255,255,255,.6); cursor: pointer;
  transition: background-color var(--hk-ease-fast), color var(--hk-ease-fast);
}
.hk-announce__close:hover { background: rgba(255,255,255,.1); color: #fff; }
.hk-announce__close .hk-icon { width: 16px; height: 16px; }

@media (max-width: 1499.98px) { .hk-announce__msg:nth-child(n+3) { display: none; } }
@media (max-width: 1199.98px) { .hk-announce__aside a:not(.hk-announce__phone) { display: none; } }
@media (max-width: 1023.98px) {
  .hk-announce__inner { justify-content: center; gap: .5rem; position: relative; padding-inline: 44px; }
  .hk-announce__msgs { justify-content: center; }
  .hk-announce__msg:not(:first-child), .hk-announce__aside { display: none; }
  .hk-announce__msgs { overflow: visible; }
  .hk-announce__msg { display: block; min-width: 0; max-width: 100%; font-size: 12px; overflow: hidden; text-overflow: ellipsis; }
  .hk-announce__msg::before { display: inline-block; vertical-align: -3px; margin-right: .45rem; }
  .hk-announce__close { position: absolute; right: calc(var(--hk-gutter) - 4px); top: calc((var(--hk-announce-h) - 32px) / 2); margin: 0; }
}

/* ---------- Main bar ---------- */
.hk-bar__inner {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; column-gap: clamp(1.5rem, 3vw, 3rem);
  max-width: var(--hk-wide); min-height: var(--hk-bar-h); margin-inline: auto; padding: 6px var(--hk-gutter) 0;
}
.hk-menu-toggle { display: none; }
.hk-logo { margin: 0; line-height: 0; }
.hk-logo a { display: inline-block; border-radius: 8px; }
.hk-logo img { width: auto !important; height: 60px; object-fit: contain; transform-origin: left center; transition: transform var(--hk-ease); }
.hk-header.is-scrolled .hk-logo img { transform: scale(.88); }
.hk-bar__search { justify-self: center; width: 100%; max-width: 720px; }

/* ---------- Search ---------- */
.hk-search { position: relative; }
.hk-search__field {
  position: relative; display: flex; align-items: center; height: 48px; padding-inline: 18px 6px;
  background: var(--hk-surface); border-radius: var(--hk-pill); box-shadow: inset 0 0 0 1px transparent;
  transition: background-color var(--hk-ease-fast), box-shadow var(--hk-ease-fast);
}
.hk-search__field:hover { box-shadow: inset 0 0 0 1px var(--hk-line); }
.hk-search__field:focus-within, .hk-search.is-open .hk-search__field { background: #fff; box-shadow: inset 0 0 0 1.5px var(--hk-ink), 0 0 0 4px rgba(242,169,0,.28); }
.hk-search__icon { width: 20px; height: 20px; color: var(--hk-muted); }
.hk-search .hk-search__input {
  flex: 1; min-width: 0; min-height: 44px; height: 44px; padding: 0 .75rem; border: 0; border-radius: 0; background: transparent;
  font-size: var(--wp--preset--font-size--sm); color: var(--hk-ink); box-shadow: none; -webkit-appearance: none; appearance: none;
}
.hk-search .hk-search__input:focus { box-shadow: none; outline: none; }
.hk-search__input::placeholder { color: #80868F; opacity: 1; }
.hk-search__input::-webkit-search-cancel-button { -webkit-appearance: none; }
.hk-search__kbd {
  display: grid; place-items: center; min-width: 22px; height: 22px; margin-inline-end: 8px; padding: 0 6px;
  border: 1px solid var(--hk-line); border-radius: 6px; background: #fff; color: var(--hk-muted);
  font: 600 11px/1 var(--wp--preset--font-family--body);
}
.hk-search__field:focus-within .hk-search__kbd { display: none; }
.hk-search__submit {
  display: grid; place-items: center; width: 36px; height: 36px; flex: none; border: 0; border-radius: var(--hk-pill);
  background: var(--hk-ink); color: #fff; cursor: pointer; transition: background-color var(--hk-ease-fast), transform var(--hk-ease-fast);
}
.hk-search__submit:hover { background: var(--hk-ink-2); }
.hk-search__submit:active { transform: scale(.94); }
.hk-search__submit .hk-icon { width: 18px; height: 18px; }

.hk-search__panel {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 20;
  max-height: min(70vh, 560px); overflow: auto; overscroll-behavior: contain; padding: 8px;
  background: #fff; border: 1px solid var(--hk-line); border-radius: var(--hk-radius); box-shadow: var(--hk-shadow-lg);
  transform-origin: top center; animation: hk-pop var(--hk-ease-fast) both;
}
@keyframes hk-pop { from { opacity: 0; transform: translateY(-6px) scale(.985); } }
.hk-search__list { list-style: none; margin: 0; padding: 0; }
.hk-search__list:empty { display: none; }
.hk-search__opt { border-radius: 12px; }
.hk-search__opt > a {
  display: grid; grid-template-columns: 56px minmax(0, 1fr) auto; align-items: center; gap: 14px;
  padding: 8px 12px 8px 8px; color: var(--hk-ink); text-decoration: none; border-radius: 12px;
}
.hk-search__opt.is-active > a, .hk-search__opt > a:hover { background: var(--hk-surface); }
.hk-search__thumb { width: 56px; height: 56px; border-radius: 10px; background: var(--hk-surface); overflow: hidden; display: grid; place-items: center; }
.hk-search__thumb img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hk-search__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: var(--wp--preset--font-size--sm); font-weight: 500; line-height: 1.35; }
.hk-search__name mark { background: none; color: inherit; font-weight: 700; }
.hk-search__stock { display: block; font-size: 12px; color: var(--hk-muted); }
.hk-search__price { text-align: right; font-size: var(--wp--preset--font-size--sm); font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hk-search__price del { display: block; font-size: 12px; font-weight: 450; color: var(--hk-muted); }
.hk-search__price ins { text-decoration: none; color: var(--hk-sale); }
.hk-search__opt--all { margin-top: 4px; border-top: 1px solid var(--hk-line); padding-top: 4px; border-radius: 0; }
.hk-search__opt--all > a { display: flex; justify-content: space-between; padding: 12px; font-size: var(--wp--preset--font-size--sm); font-weight: 600; }
.hk-search__opt--all .hk-icon { width: 18px; height: 18px; transition: transform var(--hk-ease-fast); }
.hk-search__opt--all.is-active .hk-icon, .hk-search__opt--all > a:hover .hk-icon { transform: translateX(3px); }
.hk-search__empty { padding: 14px 12px 6px; font-size: var(--wp--preset--font-size--sm); color: var(--hk-muted); }
.hk-search__idle { padding: 8px 8px 10px; }
.hk-search__label { margin: 6px 4px 10px !important; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hk-muted); }
.hk-search__label ~ .hk-search__label { margin-top: 16px !important; }
.hk-search__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.hk-search__chips .hk-chip { min-height: 36px; font-size: 13.5px; }
.hk-search__skel { display: grid; grid-template-columns: 56px 1fr 64px; gap: 14px; align-items: center; padding: 8px; }
.hk-search__skel span { height: 12px; }
.hk-search__skel span:first-child { height: 56px; border-radius: 10px; }

/* ---------- Actions ---------- */
.hk-actions { display: flex; align-items: center; gap: 2px; }
.hk-actions .hk-icon-btn { color: var(--hk-ink); }
.hk-cart-link {
  display: inline-flex; align-items: center; gap: 10px; min-height: 44px; margin-inline-start: 6px; padding: 0 16px 0 10px;
  border-radius: var(--hk-pill); color: var(--hk-ink); text-decoration: none; transition: background-color var(--hk-ease-fast);
}
.hk-cart-link:hover { background: var(--hk-surface); color: var(--hk-ink); }
.hk-cart-link__icon { position: relative; display: grid; place-items: center; width: 28px; height: 28px; }
.hk-cart-link .hk-count { top: -6px; right: -9px; }
.hk-cart-link__meta { display: flex; flex-direction: column; line-height: 1.15; }
.hk-cart-link__label { font-size: 11.5px; color: var(--hk-muted); font-weight: 500; }
.hk-cart-link__total { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hk-cart-link__total .woocommerce-Price-amount { color: inherit; }
.hk-count { animation: hk-bump var(--hk-ease) both; }
@keyframes hk-bump { from { transform: scale(.4); opacity: 0; } }

/* ---------- Nav row ---------- */
.hk-nav { position: relative; }
.hk-nav__inner { display: flex; align-items: center; gap: 1.75rem; max-width: var(--hk-wide); height: var(--hk-nav-h); margin-inline: auto; padding-inline: var(--hk-gutter); }
.hk-nav__links { flex: 1; min-width: 0; }
.hk-links { display: flex; align-items: center; gap: .25rem; margin: 0; padding: 0; list-style: none; }
.hk-links__link {
  position: relative; display: inline-flex; align-items: center; gap: .45rem; height: 40px; padding: 0 .8rem;
  font-size: 14px; font-weight: 500; color: var(--hk-ink-2); text-decoration: none; white-space: nowrap; border-radius: 8px;
}
.hk-links__link::after {
  content: ""; position: absolute; left: .8rem; right: .8rem; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--hk-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--hk-ease);
}
.hk-links__link:hover { color: var(--hk-ink); }
.hk-links__link:hover::after, .hk-links__link[aria-current]::after { transform: scaleX(1); }
.hk-links__link[aria-current] { color: var(--hk-ink); }
.hk-links__link--accent::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hk-accent); }
.hk-nav__note { font-size: 12.5px; color: var(--hk-muted); white-space: nowrap; letter-spacing: .01em; }

/* ---------- Mega menu ---------- */
.hk-mega__trigger {
  display: inline-flex; align-items: center; gap: .55rem; height: 38px; padding: 0 14px 0 12px; border: 0; border-radius: var(--hk-pill);
  background: var(--hk-ink); color: #fff; font: 600 14px/1 var(--wp--preset--font-family--body); cursor: pointer; white-space: nowrap;
  transition: background-color var(--hk-ease-fast);
}
.hk-mega__trigger:hover, .hk-mega.is-open .hk-mega__trigger { background: var(--hk-ink-2); }
.hk-mega__trigger .hk-icon { width: 18px; height: 18px; }
.hk-mega__chev { transition: transform var(--hk-ease); opacity: .7; }
.hk-mega.is-open .hk-mega__chev { transform: rotate(180deg); }

.hk-mega__panel {
  position: absolute; left: 0; right: 0; top: 100%; z-index: 10;
  background: #fff; border-top: 1px solid var(--hk-line);
  box-shadow: 0 24px 48px -12px rgba(22,24,29,.18), 0 0 0 100vmax rgba(22,24,29,.16);
  clip-path: inset(0 0 -100vmax 0);
  opacity: 0; transform: translateY(-8px); transition: opacity var(--hk-ease), transform var(--hk-ease);
}
.hk-mega.is-open .hk-mega__panel { opacity: 1; transform: none; }
.hk-mega__inner { position: relative; min-height: 440px; padding-block: 28px 32px; }
.hk-mega__rail { width: 272px; margin: 0; padding: 0 20px 0 0; list-style: none; border-right: 1px solid var(--hk-line); }
.hk-mega__top {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 46px; padding: 0 14px;
  border-radius: 12px; color: var(--hk-ink-2); font-size: 15px; font-weight: 500; text-decoration: none;
  transition: background-color var(--hk-ease-fast), color var(--hk-ease-fast);
}
.hk-mega__top .hk-icon { width: 16px; height: 16px; opacity: 0; transform: translateX(-4px); transition: opacity var(--hk-ease-fast), transform var(--hk-ease-fast); }
.hk-mega__item.is-active > .hk-mega__top { background: var(--hk-surface); color: var(--hk-ink); font-weight: 600; }
.hk-mega__item.is-active > .hk-mega__top .hk-icon { opacity: 1; transform: none; }
.hk-mega__pane {
  position: absolute; top: 28px; bottom: 32px; left: calc(var(--hk-gutter) + 272px + 40px); right: var(--hk-gutter);
  display: none; grid-template-columns: minmax(0, 1fr) 300px; grid-template-rows: auto 1fr; column-gap: 40px; row-gap: 20px;
}
.hk-mega__item.is-active > .hk-mega__pane { display: grid; animation: hk-fade var(--hk-ease) both; }
@keyframes hk-fade { from { opacity: 0; transform: translateX(6px); } }
.hk-mega__pane-head { grid-column: 1; display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding-bottom: 14px; border-bottom: 1px solid var(--hk-line); }
.hk-mega__pane-title { font: 650 var(--wp--preset--font-size--lg)/1.1 var(--wp--preset--font-family--display); letter-spacing: -.02em; }
.hk-mega__all { display: inline-flex; align-items: center; gap: .35rem; font-size: 14px; font-weight: 600; color: var(--hk-ink); text-decoration: none; white-space: nowrap; }
.hk-mega__all .hk-icon { width: 16px; height: 16px; transition: transform var(--hk-ease-fast); }
.hk-mega__all:hover { color: var(--hk-ink); }
.hk-mega__all:hover .hk-icon { transform: translateX(3px); }
.hk-mega__cols { grid-column: 1; columns: 3 170px; column-gap: 32px; overflow: auto; align-content: start; }
.hk-mega__group { break-inside: avoid; padding-bottom: 18px; }
.hk-mega__child { display: inline-block; padding: 4px 0; font-size: 14.5px; font-weight: 600; color: var(--hk-ink); text-decoration: none; }
.hk-mega__child:hover, .hk-mega__sub a:hover { color: var(--hk-accent-strong); }
.hk-mega__sub { margin: 2px 0 0; padding: 0; list-style: none; }
.hk-mega__sub a { display: inline-block; padding: 4px 0; font-size: 14px; color: var(--hk-muted); text-decoration: none; }
.hk-mega__promo {
  grid-column: 2; grid-row: 1 / span 2; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--hk-radius); background: var(--hk-surface); color: var(--hk-ink); text-decoration: none;
  transition: box-shadow var(--hk-ease), transform var(--hk-ease);
}
.hk-mega__promo:hover { color: var(--hk-ink); box-shadow: var(--hk-shadow); transform: translateY(-2px); }
.hk-mega__promo-media { flex: 1; min-height: 0; display: grid; place-items: center; padding: 20px 24px 0; }
.hk-mega__promo-img { width: 100%; max-width: 220px; height: auto; max-height: 220px; aspect-ratio: 1; object-fit: contain; mix-blend-mode: multiply; transition: transform var(--hk-ease-slow); }
.hk-mega__promo:hover .hk-mega__promo-img { transform: scale(1.04); }
.hk-mega__promo-body { display: flex; flex-direction: column; gap: 4px; padding: 16px 22px 22px; }
.hk-mega__promo-name { font: 650 var(--wp--preset--font-size--lg)/1.15 var(--wp--preset--font-family--display); letter-spacing: -.02em; }
.hk-mega__promo-cta { display: inline-flex; align-items: center; gap: .35rem; margin-top: 6px; font-size: 14px; font-weight: 600; }
.hk-mega__promo-cta .hk-icon { width: 16px; height: 16px; transition: transform var(--hk-ease-fast); }
.hk-mega__promo:hover .hk-mega__promo-cta .hk-icon { transform: translateX(3px); }

/* ---------- Drawers (native <dialog>) ---------- */
.hk-drawer {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0;
  border: 0; background: transparent; color: var(--hk-ink); overflow: hidden;
}
.hk-drawer::backdrop { background: rgba(22,24,29,.38); animation: hk-backdrop-in var(--hk-ease) both; }
.hk-drawer.is-closing::backdrop { animation: hk-backdrop-out var(--hk-ease) both; }
@keyframes hk-backdrop-in { from { opacity: 0; } }
@keyframes hk-backdrop-out { to { opacity: 0; } }
.hk-drawer__panel {
  position: absolute; top: 0; bottom: 0; right: 0; display: flex; flex-direction: column; width: min(440px, 100%);
  background: #fff; box-shadow: var(--hk-shadow-lg); animation: hk-in-right var(--hk-ease-slow) both;
}
.hk-drawer.is-closing .hk-drawer__panel { animation: hk-out-right var(--hk-ease) both; }
.hk-drawer--left .hk-drawer__panel { right: auto; left: 0; width: min(400px, 92vw); animation-name: hk-in-left; }
.hk-drawer--left.is-closing .hk-drawer__panel { animation-name: hk-out-left; }
@keyframes hk-in-right { from { transform: translateX(104%); } }
@keyframes hk-out-right { to { transform: translateX(104%); } }
@keyframes hk-in-left { from { transform: translateX(-104%); } }
@keyframes hk-out-left { to { transform: translateX(-104%); } }
@media (min-width: 600px) {
  .hk-drawer--right .hk-drawer__panel { top: 12px; bottom: 12px; right: 12px; border-radius: 20px; overflow: hidden; }
}
.hk-drawer__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; padding: 8px 12px 8px 24px; border-bottom: 1px solid var(--hk-line); flex: none; }
.hk-drawer .hk-drawer__title { display: flex; align-items: baseline; gap: .6rem; margin: 0; font-family: var(--wp--preset--font-family--display); font-size: var(--wp--preset--font-size--lg); font-weight: 650; line-height: 1.1; letter-spacing: -.018em; color: var(--hk-ink); }
.hk-drawer__sub { font: 500 14px/1 var(--wp--preset--font-family--body); color: var(--hk-muted); letter-spacing: 0; }

/* ---------- Mini-cart ---------- */
.hk-minicart__content { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.hk-minicart__list { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; margin: 0; padding: 8px 24px; list-style: none; }
.hk-mini-item { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 16px 0; border-bottom: 1px solid var(--hk-line); transition: opacity var(--hk-ease); }
.hk-mini-item:last-child { border-bottom: 0; }
.hk-mini-item.is-removing { opacity: .4; pointer-events: none; }
.hk-mini-item__media { display: grid; place-items: center; width: 76px; height: 76px; border-radius: 12px; background: var(--hk-surface); overflow: hidden; }
.hk-mini-item__media img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.hk-mini-item__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; font-weight: 550; line-height: 1.35; color: var(--hk-ink); text-decoration: none; }
.hk-mini-item__name:hover { color: var(--hk-ink); text-decoration: underline; }
.hk-mini-item__meta { display: block; margin-top: 4px; font-size: 13px; color: var(--hk-muted); font-variant-numeric: tabular-nums; }
.hk-mini-item__end { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.hk-mini-item__total { font-size: 14px; font-weight: 650; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hk-mini-item__remove { font-size: 12.5px; color: var(--hk-muted); text-decoration: underline; padding: 6px 0; }
.hk-mini-item__remove:hover { color: var(--hk-sale); }
.hk-minicart__foot { flex: none; padding: 18px 24px 24px; background: var(--hk-surface); border-top: 1px solid var(--hk-line); }
.hk-minicart__row { display: flex; justify-content: space-between; align-items: baseline; font-size: var(--wp--preset--font-size--md); }
.hk-minicart__row strong { font: 700 var(--wp--preset--font-size--lg)/1 var(--wp--preset--font-family--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.hk-minicart__note { display: flex; gap: .5rem; align-items: flex-start; margin: 10px 0 16px; font-size: 13px; color: var(--hk-muted); line-height: 1.45; }
.hk-minicart__note .hk-icon { width: 18px; height: 18px; color: var(--hk-ok); margin-top: 1px; }
.hk-minicart__actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hk-minicart__actions .hk-btn { width: 100%; min-height: 50px; }
.hk-minicart__actions .hk-btn--ghost { background: #fff; }
.hk-minicart__empty { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .5rem; padding: 40px 32px; text-align: center; }
.hk-minicart__empty-icon { display: grid; place-items: center; width: 72px; height: 72px; margin-bottom: 8px; border-radius: 50%; background: var(--hk-surface); }
.hk-minicart__empty-icon .hk-icon { width: 30px; height: 30px; }
.hk-minicart__empty-title { margin: 0; font: 650 var(--wp--preset--font-size--lg)/1.2 var(--wp--preset--font-family--display); }
.hk-minicart__empty .hk-muted { margin: 0 0 1rem; font-size: 14px; max-width: 30ch; }

/* ---------- Mobile menu ---------- */
.hk-mnav { flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; padding: 16px 20px 28px; }
.hk-mnav .hk-search { margin-bottom: 20px; }
.hk-mnav__label { margin: 0 0 4px; font-size: 12px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--hk-muted); }
.hk-mnav__cats, .hk-mnav__sub, .hk-mnav__links { margin: 0; padding: 0; list-style: none; }
.hk-mnav__cats > li { border-bottom: 1px solid var(--hk-line); }
.hk-mnav__acc summary, .hk-mnav__top {
  display: flex; align-items: center; justify-content: space-between; min-height: 54px; cursor: pointer; list-style: none;
  font-size: 16px; font-weight: 550; color: var(--hk-ink); text-decoration: none;
}
.hk-mnav__acc summary::-webkit-details-marker { display: none; }
.hk-mnav__acc summary .hk-icon { width: 18px; height: 18px; color: var(--hk-muted); transition: transform var(--hk-ease); }
.hk-mnav__acc[open] summary .hk-icon { transform: rotate(180deg); }
.hk-mnav__acc[open] .hk-mnav__sub { animation: hk-pop var(--hk-ease) both; }
.hk-mnav__sub { padding: 0 0 12px 12px; border-left: 2px solid var(--hk-line); margin-left: 2px; margin-bottom: 12px; }
.hk-mnav__sub a { display: flex; align-items: center; min-height: 44px; padding-left: 12px; font-size: 15px; color: var(--hk-ink-2); text-decoration: none; }
.hk-mnav__sub .hk-mnav__all { font-weight: 600; color: var(--hk-ink); }
.hk-mnav__links { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 24px; }
.hk-mnav__links__link {
  display: flex; align-items: center; gap: .45rem; min-height: 48px; padding: 0 14px; border-radius: 12px;
  background: var(--hk-surface); font-size: 14.5px; font-weight: 550; color: var(--hk-ink); text-decoration: none;
}
.hk-mnav__links__link--accent::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--hk-accent); }
.hk-mnav__account { margin-top: 24px; border-top: 1px solid var(--hk-line); padding-top: 8px; }
.hk-mnav__row { display: flex; align-items: center; gap: 12px; min-height: 50px; font-size: 15px; color: var(--hk-ink); text-decoration: none; }
.hk-mnav__row .hk-icon { width: 20px; height: 20px; color: var(--hk-muted); }
.hk-mnav__note { margin: 20px 0 0; font-size: 12.5px; color: var(--hk-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1279.98px) {
  .hk-nav__note { display: none; }
  .hk-links__link { padding: 0 .6rem; }
  .hk-links__link::after { left: .6rem; right: .6rem; }
}
@media (max-width: 1199.98px) {
  .hk-cart-link__meta { display: none; }
  .hk-cart-link { padding: 0; width: 44px; justify-content: center; margin-inline-start: 0; }
}
@media (max-width: 1023.98px) {
  .hk-nav { display: none; }
  .hk-bar__inner {
    grid-template-columns: auto 1fr auto; grid-template-areas: "toggle logo actions" "search search search";
    column-gap: 4px; row-gap: 0; padding: 4px calc(var(--hk-gutter) - 8px) 12px;
  }
  .hk-menu-toggle { display: inline-grid; grid-area: toggle; }
  .hk-logo { grid-area: logo; justify-self: start; }
  .hk-logo img { height: 46px; }
  .hk-header.is-scrolled .hk-logo img { transform: none; }
  .hk-actions { grid-area: actions; }
  .hk-bar__search { grid-area: search; max-width: none; padding-inline: 8px; }
  .hk-search__kbd { display: none; }
  .hk-search__field { height: 46px; }
  .hk-search .hk-search__input { font-size: 16px; }
  .hk-search__panel { top: calc(100% + 8px); max-height: calc(100dvh - 190px); }
}
@media (max-width: 380px) { .hk-actions__account { display: none; } }
@media (hover: none) { .hk-search__kbd { display: none; } }

@media (prefers-reduced-motion: reduce) {
  .wp-block-template-part.is-tucked { transform: none; }
  .hk-header.is-scrolled .hk-logo img { transform: none; }
}

/* ---------- Site editor ---------- */
.hk-bar__inner.block-editor-block-list__layout { grid-template-columns: auto auto minmax(0, 1fr) auto; }
.hk-bar__inner.block-editor-block-list__layout > [data-type="hk/header-search"] { justify-self: center; width: 100%; max-width: 720px; }
.hk-nav__inner.block-editor-block-list__layout > [data-type="hk/header-links"] { flex: 1; }
