/* KICKSTW reskin: header styles (ticker, two header rows, dropdowns, search panel, drawer).
   Ported from site_prototype/assets/css/site.css. Scoped under .kt-chrome; relies on the reset and
   tokens in chrome.css. Whether the header comes back on scrolling up is sticky.css (the 'sticky'
   switch). Breakpoints: two rows from 1025px, drawer at 1024px and below, smaller ticker at 720px
   and below. */

/* ---------- ticker ---------- */
/* Black with white words (DESIGN.md, component 8; 21 Nov; pale grey from 10 Nov until then). */
.kt-chrome .ticker { background: var(--ink); color: var(--white); overflow: hidden; }
/* One calm line (DESIGN.md). The words are the staff's, shown as typed; parts they split with "|" sit
   on the same line with a dot between them and wrap on a narrow screen. */
.kt-chrome .ticker p { margin: 0; padding: 9px var(--gutter); font: 500 13px/1.4 var(--font-body); display: flex; flex-wrap: wrap; justify-content: center; text-align: center; }
.kt-chrome .ticker p > span + span::before { content: "\00B7"; margin: 0 10px; }
.kt-chrome .ticker a { color: inherit; text-decoration: underline; }
.kt-chrome .ticker a:hover { color: inherit; }
.kt-chrome .ticker__msg { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kt-chrome .ticker__count { flex: none; font-variant-numeric: tabular-nums; }

/* ---------- header ----------
   Layout A: logo centre, Stores and Sell on the left, search / account / bag on the right; the six
   sections sit in a row of their own, hung from the left gutter. Dropdowns are in the HTML from the
   start and only hidden. At 1024px and below the sections become an off-canvas drawer. */
.kt-chrome.kt-header { position: relative; z-index: 20; background: var(--white); }
.kt-chrome .hdr { position: relative; border-bottom: 1px solid var(--line); background: var(--white); }
.kt-chrome .hdr__bar { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "utils logo right" "nav nav nav"; align-items: center; column-gap: 24px; }
.kt-chrome .hdr__menu { grid-area: menu; display: none; }
.kt-chrome .hdr__utils { grid-area: utils; display: flex; align-items: center; gap: 22px; }
.kt-chrome .hdr__util { display: inline-flex; align-items: center; min-height: 44px; font: 500 13px var(--font-body); color: var(--ink); text-decoration: none; }
.kt-chrome .hdr__util:hover { color: var(--ink); text-decoration: underline; }
/* From 1025px the two rows are 44px each (the tap area) plus the line: 89px (21 Nov; 103px until then). */
.kt-chrome .hdr__logo { grid-area: logo; display: block; line-height: 0; padding: 10px 0 4px; text-decoration: none; }
.kt-chrome .hdr__h1 { grid-area: logo; margin: 0; padding: 0; font: inherit; line-height: 0; } /* the home page's h1 wraps the logo: it takes the logo's cell */
.kt-chrome .hdr__logo img { height: 30px; width: auto; }
.kt-chrome .hdr__nav { grid-area: nav; }
.kt-chrome .hdr__right { grid-area: right; display: flex; align-items: center; justify-content: flex-end; gap: 2px; }
.kt-chrome .hdr__bag { height: 44px; display: inline-flex; align-items: center; gap: 6px; padding: 0 6px; color: var(--ink); background: none; border: 0; font: 500 13px var(--font-body); }
.kt-chrome .hdr__bag .kt-bag-count { display: inline; position: static; top: auto; right: auto; bottom: auto; left: auto; float: none; transform: none; width: auto; height: auto; min-width: 0; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; color: var(--ink); font: 500 13px var(--font-body); line-height: normal; letter-spacing: normal; text-align: left; vertical-align: baseline; }
.kt-chrome .nav__top, .kt-chrome .nav__search, .kt-chrome .nav__more, .kt-chrome .nav__foot { display: none; }
.kt-chrome .nav__list { list-style: none; margin: 0; padding: 0; display: flex; justify-content: flex-start; gap: clamp(20px, 2.6vw, 36px); }
.kt-chrome .nav__row { display: flex; align-items: center; gap: 2px; }
.kt-chrome .hdr__link { display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; border-bottom: 2px solid transparent; font: 500 14px var(--font-body); letter-spacing: 0.01em; color: var(--ink); white-space: nowrap; }
.kt-chrome .hdr__link:hover { color: var(--ink); }
.kt-chrome .hdr__link[aria-current="page"], .kt-chrome .nav__item.is-open .hdr__link { border-bottom-color: currentColor; }
.kt-chrome .hdr__link--sale, .kt-chrome .hdr__link--sale:hover { color: var(--red); }
.kt-chrome .hdr__caret { width: 18px; height: 44px; padding: 0; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--faint); }
.kt-chrome .hdr__caret svg { transition: transform 0.2s ease; }
.kt-chrome .hdr__caret[aria-expanded="true"] svg { transform: rotate(180deg); }

/* dropdowns (desktop): text columns that share the band evenly, and at most one picture at the right */
.kt-chrome .mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 40; background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kt-chrome .mega__inner { max-width: var(--max); margin: 0 auto; padding: 28px var(--gutter) 32px; display: flex; justify-content: flex-start; gap: 28px 48px; }
.kt-chrome .mega__col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; }
.kt-chrome .mega__head { overflow-wrap: anywhere; margin: 0 0 10px; font: var(--type-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.kt-chrome .mega__links { list-style: none; margin: 0; padding: 0; }
.kt-chrome .mega__links a { overflow-wrap: anywhere; display: block; padding: 5px 0; font: 400 14px/1.45 var(--font-body); text-decoration: none; }
.kt-chrome .mega__links a:hover { text-decoration: underline; color: var(--ink); }
.kt-chrome .mega__all { align-self: flex-start; display: inline-flex; align-items: center; min-height: 40px; margin-top: 6px; font: 600 14px var(--font-body); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.kt-chrome .mega__pic { flex: 0 0 200px; margin: 0 0 0 auto; }
.kt-chrome .mega__pic a { display: block; text-decoration: none; color: var(--ink); }
.kt-chrome .mega__pic img { display: block; width: 200px; height: auto; aspect-ratio: 4 / 5; object-fit: cover; background: var(--img-bg); }
.kt-chrome .mega__pic figcaption { margin-top: 8px; font: 500 14px/1.45 var(--font-body); }

/* search panel: the FiboSearch form sits beside the close button */
.kt-chrome .search-panel { position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: var(--white); border-bottom: 1px solid var(--line); }
.kt-chrome .search-panel__inner { max-width: 1040px; margin: 0 auto; padding: 28px var(--gutter) 36px; display: flex; flex-direction: column; gap: 22px; }
.kt-chrome .search-panel__row { display: flex; align-items: flex-end; gap: 12px; }
.kt-chrome .search-panel__row > div { flex: 1 1 auto; min-width: 0; }

/* The dim layer and the drawer backdrop are absolutely or fixed positioned, so no display is set
   here: [hidden] then hides them without an override. */
.kt-chrome .dim { position: absolute; left: 0; right: 0; top: 100%; height: 1400px; z-index: 30; width: 100%; padding: 0; border: 0; background: rgba(17, 17, 17, 0.4); cursor: default; }
.kt-chrome .nav-backdrop { position: fixed; inset: 0; z-index: 94; width: 100%; padding: 0; border: 0; background: rgba(17, 17, 17, 0.5); cursor: default; }

/* ---------- FiboSearch (inside the header) ---------- */
.kt-chrome .dgwt-wcas-search-wrapp { width: 100%; max-width: none; margin: 0; padding: 0; color: var(--ink); }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-search-form { margin: 0; padding: 0; width: 100%; }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp { position: relative; width: 100%; margin: 0; padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input[type="search"] {
  display: block; width: 100%; height: 52px; min-height: 52px; margin: 0; padding: 0 52px 0 14px;
  background: var(--white); color: var(--ink);
  border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; box-shadow: none;
  font: 500 20px var(--font-body); letter-spacing: normal; text-transform: none; line-height: normal;
}
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input[type="search"]:focus { background: var(--white); border: 0; border-bottom: 2px solid var(--ink); box-shadow: none; outline: 0; }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input[type="search"]::placeholder { color: var(--faint); opacity: 1; }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input[type="search"]::-webkit-search-cancel-button { appearance: none; -webkit-appearance: none; }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit {
  position: absolute; top: 0; right: 0; bottom: 0; left: auto; width: 44px; height: 100%; min-height: 0; margin: 0; padding: 0;
  display: inline-flex; align-items: center; justify-content: center;
  background: none; color: var(--ink); border: 0; border-radius: 0; box-shadow: none; opacity: 1; cursor: pointer;
}
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::before,
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit::after { content: none; display: none; }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:hover,
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp button.dgwt-wcas-search-submit:focus { background: none; color: var(--ink); box-shadow: none; }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-ico-magnifier { width: 20px; height: 20px; margin: 0; fill: currentColor; stroke: none; position: static; }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-preloader { position: absolute; top: 0; bottom: 0; right: 44px; height: 100%; margin: 0; }
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-voice-search { display: none; }

/* drawer slot: smaller field, 16px so iOS does not zoom */
.kt-chrome .nav__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input[type="search"] { height: 48px; min-height: 48px; padding: 0 48px 0 14px; border: 1px solid var(--field); font: 400 16px var(--font-body); }
.kt-chrome .nav__search .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input[type="search"]:focus { border: 1px solid var(--ink); outline: 2px solid var(--ink); outline-offset: 0; }

/* keyboard focus ring on the panel search field (the underline alone does not change) */
.kt-chrome .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input.dgwt-wcas-search-input[type="search"]:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* the suggestions box is appended to <body>, outside .kt-chrome, so it uses literal values */
.dgwt-wcas-suggestions-wrapp { background: #ffffff; color: #111111; border: 1px solid #e6e6e6; border-top: 2px solid #111111; border-radius: 0; box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12); font-family: Inter, Helvetica, Arial, sans-serif; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion { padding: 10px 14px; border-bottom: 1px solid #e6e6e6; color: #111111; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion:hover,
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion.dgwt-wcas-suggestion-selected { background: #f4f4f4; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st { font-size: 14px; line-height: 1.4; color: #111111; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-title { font-weight: 500; }
/* nowrap: the theme sets pre-line here, which breaks the price at every line break in its markup ("AU / $225.00 / +") */
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp { font-weight: 600; color: #111111; white-space: nowrap; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp del { font-weight: 400; color: #767676; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-sp ins { background: none; color: #a3141b; text-decoration: none; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-st-more { padding: 12px 14px; font-weight: 600; font-size: 14px; text-align: left; color: #111111; }
.dgwt-wcas-suggestions-wrapp .dgwt-wcas-suggestion-nores { padding: 14px; font-size: 14px; color: #5c5c5c; }

@media (max-width: 1024px) {
  .kt-chrome .hdr__bar { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); grid-template-areas: "menu logo right"; min-height: 60px; padding: 0 8px; gap: 8px; }
  .kt-chrome .hdr__menu { display: inline-flex; justify-self: start; }
  .kt-chrome .hdr__utils { display: none; }
  .kt-chrome .hdr__logo { padding: 0; }
  .kt-chrome .hdr__logo img { height: 26px; }
  .kt-chrome .hdr__account { display: none; }

  /* the nav becomes the drawer */
  .kt-chrome .hdr__nav { position: fixed; top: 0; left: 0; bottom: 0; z-index: 95; width: min(380px, 90vw); background: var(--white); box-shadow: 8px 0 24px rgba(0, 0, 0, 0.18); display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; padding-bottom: env(safe-area-inset-bottom, 0px); transform: translateX(-102%); visibility: hidden; }
  .kt-chrome .hdr__nav.is-open { transform: none; visibility: visible; }
  .kt-chrome .nav__top { flex: 0 0 auto; height: 60px; padding: 0 8px 0 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--skel); }
  .kt-chrome .nav__top img { height: 22px; width: auto; }
  .kt-chrome .nav__search { display: block; padding: 14px 18px 8px; }
  .kt-chrome .nav__list { display: block; padding: 4px 0; }
  .kt-chrome .nav__item { border-bottom: 1px solid var(--line); }
  .kt-chrome .nav__row { justify-content: space-between; }
  .kt-chrome .hdr__link { flex: 1; min-height: 52px; padding: 0 18px; border-bottom: 0; font: var(--type-block); }
  .kt-chrome .nav__item.is-open .hdr__link { border-bottom: 0; }
  .kt-chrome .hdr__caret { width: 52px; height: 52px; color: var(--ink); }
  .kt-chrome .mega { position: static; border: 0; background: var(--panel); }
  .kt-chrome .mega__inner { padding: 16px 18px 20px; flex-direction: column; gap: 20px; }
  .kt-chrome .mega__col { flex: 0 0 auto; min-width: 0; }
  .kt-chrome .mega__pic { display: none; }
  .kt-chrome .mega__links a { padding: 0; min-height: 40px; display: flex; align-items: center; font-size: 15px; }

  .kt-chrome .nav__more { display: block; list-style: none; margin: 8px 18px 0; padding: 8px 0 0; }
  .kt-chrome .nav__more a { display: flex; align-items: center; min-height: 48px; text-decoration: none; font: 500 15px var(--font-body); }
  .kt-chrome .nav__foot { display: block; margin-top: auto; padding: 14px 18px 18px; border-top: 1px solid var(--skel); }

  /* WordPress admin bar (fixed, 32px) sits above the fixed drawer. --kt-wpbar-in-view is the part
     of the bar that is in the window (header.js): at 600px and under the bar scrolls away with
     the page, and the drawer follows it up. */
  body.admin-bar .kt-chrome .hdr__nav { top: var(--kt-wpbar-in-view, 32px); }
}
@media (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .kt-chrome .hdr__nav { transition: transform 0.22s ease, visibility 0s linear 0.22s; }
  .kt-chrome .hdr__nav.is-open { transition: transform 0.22s ease; }
}
@media (max-width: 782px) {
  body.admin-bar .kt-chrome .hdr__nav { top: var(--kt-wpbar-in-view, 46px); }
}
@media (max-width: 720px) {
  .kt-chrome .ticker p { padding: 9px 16px; font-size: 12px; }
}
