/* Larger outlined labels requested 2026-10-26. Scoped to footer and age actions. */
html:lang(en) body #wrapwrap footer.kc-footer .kc-footer-compact .kc-fc-nav a,
html:lang(en) body .kc-age-gate .kc-age-gate__actions .kc-age-gate__button {
 font-family:"KC Hidebeast Blocky",var(--kc-display-font,Arial,sans-serif)!important;
 font-weight:400!important;font-synthesis:none;letter-spacing:0!important;
 color:#fff9dc!important;-webkit-text-stroke:1.6px #101508!important;
 paint-order:stroke fill;text-shadow:0 1px 0 #101508!important;
 font-size:26px!important;line-height:1.4!important;
}
html body #wrapwrap footer.kc-footer .kc-footer-compact .kc-fc-nav a{min-height:48px;padding-block:8px;}
html body .kc-age-gate .kc-age-gate__actions .kc-age-gate__button{min-height:60px;padding:12px 16px;white-space:normal;}
@media(max-width:575.98px){
 html:lang(en) body #wrapwrap footer.kc-footer .kc-footer-compact .kc-fc-nav a,
 html:lang(en) body .kc-age-gate .kc-age-gate__actions .kc-age-gate__button{font-size:24px!important;}
}
@media(max-width:359px){
 html:lang(en) body #wrapwrap footer.kc-footer .kc-footer-compact .kc-fc-nav a,
 html:lang(en) body .kc-age-gate .kc-age-gate__actions .kc-age-gate__button{font-size:22px!important;}
}
html:lang(th) body #wrapwrap footer.kc-footer .kc-footer-compact .kc-fc-nav a,
html:lang(th) body .kc-age-gate .kc-age-gate__actions .kc-age-gate__button{font-size:20px!important;line-height:1.6!important;-webkit-text-stroke:.5px #101508!important;paint-order:stroke fill;}
@media(forced-colors:active){
 html:is(:lang(en),:lang(th)) body #wrapwrap footer.kc-footer .kc-footer-compact .kc-fc-nav a,
 html:is(:lang(en),:lang(th)) body .kc-age-gate .kc-age-gate__actions .kc-age-gate__button{-webkit-text-stroke:0!important;text-shadow:none!important;color:LinkText!important;}
}
/* KC168 header refresh 2026-11-29
   Brandbook-led shell polish. Existing links and controls stay intact. */
#wrapwrap:has(.kc-head) .kc-head {
  position: relative;
  z-index: 20;
  background: linear-gradient(112deg, #293512 0%, #3b491d 58%, #334018 100%);
  border-bottom: 1px solid rgba(255, 249, 220, .22);
  box-shadow: 0 10px 24px rgba(19, 27, 8, .14);
}
#wrapwrap:has(.kc-head) .kc-head > .kc-wrap {
  display: grid;
  grid-template-columns: minmax(168px, 196px) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 34px);
  min-height: 96px;
  padding: 14px clamp(16px, 3vw, 28px);
}
#wrapwrap:has(.kc-head) .kc-logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: auto;
  min-width: 0;
  color: #fdd201;
  text-decoration: none;
  transition: transform .18s ease, opacity .18s ease;
}
#wrapwrap:has(.kc-head) .kc-logo:hover { opacity: .92; transform: translateY(-1px); }
#wrapwrap:has(.kc-head) .kc-logo svg { width: 38px; height: 42px; flex: 0 0 38px; }
#wrapwrap:has(.kc-head) .kc-logo > span { min-width: 0; }
#wrapwrap:has(.kc-head) .kc-logo__word {
  display: block;
  color: #fffbea;
  font-family: "KC Hidebeast Blocky", "Arial Narrow", sans-serif;
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  letter-spacing: .01em;
  line-height: .95;
  white-space: nowrap;
}
#wrapwrap:has(.kc-head) .kc-logo__sub {
  display: block;
  margin-top: 7px;
  color: #fdd201;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .32em;
  line-height: 1;
  text-transform: uppercase;
}
#wrapwrap:has(.kc-head) .kc-head-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}
#wrapwrap:has(.kc-head) .kc-head-actions > ul { display: contents !important; }
#wrapwrap:has(.kc-head) .kc-head-actions > ul > li { display: none !important; }
#wrapwrap:has(.kc-head) .kc-head-btn,
#wrapwrap:has(.kc-head) .kc-lang__select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 249, 220, .34);
  border-radius: 999px;
  background: rgba(255,255,255,.035);
  color: #fffbea;
  font-family: var(--kc-font, Arial, sans-serif);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}
#wrapwrap:has(.kc-head) .kc-head-btn:hover,
#wrapwrap:has(.kc-head) .kc-head-btn:focus-visible,
#wrapwrap:has(.kc-head) .kc-lang__select:hover,
#wrapwrap:has(.kc-head) .kc-lang__select:focus-visible {
  border-color: #fdd201;
  background: rgba(253,210,1,.12);
  color: #fffbea;
  transform: translateY(-1px);
}
#wrapwrap:has(.kc-head) .kc-head-btn--location {
  flex: 1 1 280px;
  min-width: 0;
  justify-content: flex-start;
  gap: 9px;
  overflow: hidden;
  text-overflow: ellipsis;
}
#wrapwrap:has(.kc-head) .kc-head-btn--location > span:first-of-type {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
#wrapwrap:has(.kc-head) .kc-head-btn--location::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border: 2px solid #fdd201;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(253,210,1,.12);
}
#wrapwrap:has(.kc-head) .kc-head-btn--member,
#wrapwrap:has(.kc-head) .kc-head-btn--account { border-color: rgba(255, 249, 220, .22); }
#wrapwrap:has(.kc-head) .kc-head-btn--cart {
  flex: 0 0 auto;
  border-color: #fdd201;
  background: #fdd201;
  color: #263312;
  box-shadow: 0 3px 0 #a89000;
}
#wrapwrap:has(.kc-head) .kc-head-btn--cart:hover,
#wrapwrap:has(.kc-head) .kc-head-btn--cart:focus-visible {
  background: #ffe45b;
  color: #263312;
  transform: translateY(-1px);
}
#wrapwrap:has(.kc-head) .kc-cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  margin-left: 7px;
  padding-inline: 5px;
  border-radius: 999px;
  background: #3b491d;
  color: #fffbea;
  font-size: 12px;
  line-height: 1;
}
#wrapwrap:has(.kc-head) .kc-lang-form {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  margin: 0;
}
#wrapwrap:has(.kc-head) .kc-lang__select {
  width: auto;
  min-width: 62px;
  padding-inline: 14px 27px;
  border-color: rgba(255, 249, 220, .22);
  background-color: rgba(255,255,255,.035);
  color: #fffbea;
  text-transform: uppercase;
}
#wrapwrap:has(.kc-head) .kc-lang__select option { color: #263312; background: #fffbea; }
@media (max-width: 1099.98px) {
  #wrapwrap:has(.kc-head) .kc-head > .kc-wrap { grid-template-columns: 164px minmax(0,1fr); gap: 16px; }
  #wrapwrap:has(.kc-head) .kc-head-btn { padding-inline: 12px; font-size: 13px; }
  #wrapwrap:has(.kc-head) .kc-head-btn--member { display: none; }
}
@media (max-width: 767.98px), (max-width: 991.98px) and (max-height: 500px) {
  #wrapwrap:has(.kc-head) .kc-head > .kc-wrap {
    grid-template-columns: minmax(0,1fr) auto auto auto;
    grid-template-rows: auto auto;
    gap: 10px 6px;
    min-height: 0;
    padding: 12px max(12px, env(safe-area-inset-right,0px)) 13px max(12px, env(safe-area-inset-left,0px));
  }
  #wrapwrap:has(.kc-head) .kc-logo { grid-column: 1; grid-row: 1; gap: 7px; }
  #wrapwrap:has(.kc-head) .kc-logo svg { width: 29px; height: 34px; flex-basis: 29px; }
  #wrapwrap:has(.kc-head) .kc-logo__word { font-size: 18px; }
  #wrapwrap:has(.kc-head) .kc-logo__sub { margin-top: 5px; font-size: 8px; letter-spacing: .24em; }
  #wrapwrap:has(.kc-head) .kc-head-actions { display: contents; }
  #wrapwrap:has(.kc-head) .kc-head-btn,
  #wrapwrap:has(.kc-head) .kc-lang__select { min-height: 44px; padding: 8px 10px; font-size: 12px; }
  #wrapwrap:has(.kc-head) .kc-lang-form { grid-column: 2; grid-row: 1; }
  #wrapwrap:has(.kc-head) .kc-lang__select { min-width: 45px; padding-inline: 9px 20px; }
  #wrapwrap:has(.kc-head) .kc-head-btn--account { grid-column: 3; grid-row: 1; max-width: 44px; padding-inline: 10px; font-size: 0; }
  #wrapwrap:has(.kc-head) .kc-head-btn--account::before { content: "↗"; color: #fffbea; font-size: 19px; line-height: 1; }
  #wrapwrap:has(.kc-head) .kc-head-btn--cart { grid-column: 4; grid-row: 1; min-width: 66px; padding-inline: 9px; }
  #wrapwrap:has(.kc-head) .kc-head-btn--location { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-content: space-between; font-size: 13px; }
  #wrapwrap:has(.kc-head) .kc-head-btn--location::before { margin-right: 2px; }
  #wrapwrap:has(.kc-head) .kc-head-btn--location > span:first-of-type { flex: 1 1 auto; text-align: left; }
}
@media (prefers-reduced-motion: reduce) {
  #wrapwrap:has(.kc-head) .kc-logo,
  #wrapwrap:has(.kc-head) .kc-head-btn,
  #wrapwrap:has(.kc-head) .kc-lang__select { transition: none; }
}
@media (forced-colors: active) {
  #wrapwrap:has(.kc-head) .kc-head-btn,
  #wrapwrap:has(.kc-head) .kc-lang__select { border-color: CanvasText; background: Canvas; color: CanvasText; }
  #wrapwrap:has(.kc-head) .kc-head-btn--cart { background: Highlight; color: HighlightText; }
}
/* Mobile header uses one wrapping flex row so Safari and Chrome share the same geometry. */
@media (max-width: 767.98px) {
  html body #wrapwrap:has(.kc-head) .kc-head > .kc-wrap {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 0 !important;
    padding: 10px max(12px, env(safe-area-inset-left, 0px)) 12px max(12px, env(safe-area-inset-right, 0px)) !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-logo {
    display: inline-flex !important;
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 44vw !important;
    min-width: 0 !important;
    overflow: visible !important;
    gap: 7px !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-logo svg {
    width: clamp(25px, 7vw, 32px) !important;
    height: auto !important;
    flex: 0 0 auto !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-logo__word {
    max-width: none !important;
    overflow: visible !important;
    font-size: clamp(14px, 4.2vw, 18px) !important;
    line-height: .95 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-logo__sub {
    margin-top: 4px !important;
    font-size: clamp(7px, 2vw, 9px) !important;
    letter-spacing: .22em !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-actions {
    flex: 0 0 auto !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-actions,
  html body #wrapwrap:has(.kc-head) .kc-head-actions > ul {
    display: contents !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-actions > ul > li {
    display: none !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-lang-form {
    flex: 0 1 auto !important;
    width: auto !important;
    max-width: 12ch !important;
    min-width: 0 !important;
    margin: 0 !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-lang__select {
    inline-size: auto !important;
    min-width: 0 !important;
    max-width: 12ch !important;
    padding-inline: 9px 20px !important;
    font-size: clamp(10px, 3vw, 12px) !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn {
    flex: 0 1 auto !important;
    min-width: 0 !important;
    max-width: none !important;
    white-space: nowrap !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--member {
    display: none !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--account {
    flex: 0 0 auto !important;
    inline-size: 44px !important;
    min-inline-size: 44px !important;
    padding-inline: 9px !important;
    font-size: 0 !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--account::before {
    content: "↗" !important;
    font-size: 18px !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--cart {
    flex: 0 0 auto !important;
    min-inline-size: max-content !important;
    padding-inline: 10px !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--location {
    order: 10 !important;
    flex: 1 0 100% !important;
    width: 100% !important;
    inline-size: auto !important;
    max-inline-size: none !important;
    min-inline-size: 0 !important;
    justify-content: space-between !important;
    overflow: hidden !important;
  }
}

/* Final mobile geometry: intrinsic logo and controls in one adaptive grid. */
@media (max-width: 767.98px) {
  html body #wrapwrap:has(.kc-head) .kc-head > .kc-wrap {
    display: grid !important;
    grid-template-columns: minmax(0, auto) minmax(0, 1fr) auto auto !important;
    grid-template-rows: auto auto !important;
    align-items: center !important;
    justify-content: normal !important;
    gap: 8px !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-logo {
    grid-column: 1 !important;
    grid-row: 1 !important;
    max-width: 100% !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-lang-form {
    grid-column: 2 !important;
    grid-row: 1 !important;
    justify-self: end !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--account {
    grid-column: 3 !important;
    grid-row: 1 !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--cart {
    grid-column: 4 !important;
    grid-row: 1 !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--location {
    grid-column: 1 / -1 !important;
    grid-row: 2 !important;
    justify-self: stretch !important;
    width: auto !important;
  }
}

/* Landscape correction for short wide viewports. Keep desktop composition at 992px+ even when browser height is small. */
@media (min-width: 992px) and (max-height: 500px) {
  html body #wrapwrap:has(.kc-head) .kc-head > .kc-wrap {
    display: grid !important;
    grid-template-columns: minmax(190px, 214px) minmax(0, 1fr) !important;
    grid-template-rows: auto !important;
    align-items: center !important;
    gap: 20px !important;
    min-height: 86px !important;
    padding: 11px 20px !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-logo {
    display: inline-flex !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: 214px !important;
    max-width: 214px !important;
    flex: 0 0 214px !important;
    align-items: center !important;
    gap: 10px !important;
    transform: none !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-logo svg {
    width: 38px !important;
    height: 42px !important;
    flex: 0 0 38px !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-logo__word {
    font-size: 24px !important;
    line-height: .94 !important;
    letter-spacing: .01em !important;
    white-space: nowrap !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-logo__sub {
    margin-top: 5px !important;
    font-size: 9px !important;
    letter-spacing: .28em !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-actions {
    display: flex !important;
    grid-column: auto !important;
    grid-row: auto !important;
    align-items: center !important;
    justify-content: flex-end !important;
    gap: 8px !important;
    min-width: 0 !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-actions > ul { display: contents !important; }
  html body #wrapwrap:has(.kc-head) .kc-head-actions > ul > li { display: none !important; }
  html body #wrapwrap:has(.kc-head) .kc-head-btn,
  html body #wrapwrap:has(.kc-head) .kc-lang__select {
    min-height: 44px !important;
    max-width: none !important;
    padding: 8px 13px !important;
    font-size: 13px !important;
    line-height: 1.2 !important;
    white-space: nowrap !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--location {
    flex: 1 1 220px !important;
    width: auto !important;
    grid-column: auto !important;
    grid-row: auto !important;
    justify-content: flex-start !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--location > span:first-of-type {
    flex: 1 1 auto !important;
    text-align: left !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-lang-form {
    display: block !important;
    grid-column: auto !important;
    grid-row: auto !important;
    width: auto !important;
    max-width: none !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-lang__select {
    width: auto !important;
    min-width: 116px !important;
    padding-inline: 12px 28px !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--member,
  html body #wrapwrap:has(.kc-head) .kc-head-btn--account,
  html body #wrapwrap:has(.kc-head) .kc-head-btn--cart {
    display: inline-flex !important;
    grid-column: auto !important;
    grid-row: auto !important;
  }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--account::before { content: none !important; }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--account { font-size: 13px !important; }
  html body #wrapwrap:has(.kc-head) .kc-head-btn--cart { min-width: 94px !important; }
}
