:root {
  --hfj-surface:#f1ebe1;
  --hfj-paper:#fffdf9;
  --hfj-action:#896a3e;
  --hfj-action-hover:#765a35;
  --hfj-ink:#292520;
  --hfj-muted:#686057;
  --hfj-line:#d8cdbd;
  --hfj-error:#9b2925;
  --hfj-action-active:#674e2f;
  --hfj-action-text:#fff;
  --hfj-accent:#896a3e;
  --hfj-radius:3px
}
body {
  color:var(--hfj-ink)
}
:where(a,button,summary,input[type=checkbox],input[type=radio]):focus-visible {
  outline:2px solid var(--hfj-control-focus-ring,#777)!important;
  outline-offset:3px!important;
  box-shadow:none!important;
}
@media(forced-colors:active) {
  :where(a,button,input,select,textarea,summary):focus-visible { outline:2px solid Highlight!important; outline-offset:2px!important; }
}
button,a,input,select,textarea {
  -webkit-tap-highlight-color:transparent
}
button {
  touch-action:manipulation
}
body .hfj-home-button,body .hfj-button,body.woocommerce .button,body .hfj-home-product-card__button,body .added_to_cart.wc-forward {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.6rem;
  min-height:48px;
  padding:.8rem 1.4rem;
  background:var(--hfj-action);
  border:1px solid var(--hfj-action);
  border-radius:var(--hfj-radius);
  color:var(--hfj-action-text)!important;
  font-size:.88rem;
  font-weight:600;
  line-height:1.4;
  text-decoration:none!important;
  cursor:pointer;
  transition:background .18s,border-color .18s,box-shadow .18s;
  white-space:normal;
  text-align:center
}
body .hfj-home-button:hover,body .hfj-button:hover,body.woocommerce .button:hover,body .hfj-home-product-card__button:hover,body .added_to_cart.wc-forward:hover {
  background:var(--hfj-action-hover);
  border-color:var(--hfj-action-hover);
  color:var(--hfj-action-text)!important;
  opacity:1
}
body .hfj-home-button:active,body .hfj-button:active,body.woocommerce .button:active {
  background:var(--hfj-action-active);
  transform:none
}
body .hfj-button--secondary,
body .hfj-home-button--outline {
  color:var(--hfj-ink)!important;
  background:transparent
}
body .hfj-button--secondary:hover,
body .hfj-home-button--outline:hover {
  color:var(--hfj-ink)!important
}
body button:disabled,body .button.disabled,body [aria-disabled=true] {
  cursor:not-allowed;
  opacity:.6
}
body .button.loading,body button.is-loading {
  opacity:1;
  background:var(--hfj-action-hover);
  color:var(--hfj-ink)!important
}
button.is-loading:not(.single_add_to_cart_button)::before {
  content:"";
  display:inline-block;
  flex:0 0 16px;
  width:16px;
  height:16px;
  border:2px solid currentColor;
  border-right-color:transparent;
  border-radius:50%;
  animation:hfj-spin .7s linear infinite
}
.woocommerce .button.loading::after {
  display:none!important
}
@keyframes hfj-spin {
  to {
    transform:rotate(360deg)
  }
}


.hfj-form {
  width:100%;
  max-width:760px
}
.hfj-form label,.hfj-filter-panel label {
  display:block;
  font-size:.9rem;
  font-weight:500;
  margin:0 0 1rem
}
.hfj-form :is(input:not([type=checkbox]),select,textarea),.hfj-filter-panel :is(input[type=number],select) {
  display:block;
  width:100%;
  max-width:100%;
  margin-top:.4rem;
  border:1px solid var(--hfj-line);
  border-radius:3px;
  background:#fff;
  padding:.8rem;
  color:var(--hfj-ink);
  font:inherit;
  min-height:48px;
  box-shadow:none
}
.hfj-form textarea {
  resize:vertical;
  min-height:130px
}
.hfj-form input[readonly] {
  background:var(--hfj-surface)
}
.hfj-form .hfj-check,.hfj-filter-panel .hfj-check {
  display:flex;
  gap:.65rem;
  align-items:flex-start;
  line-height:1.6
}
.hfj-check input {
  width:18px;
  height:18px;
  margin-top:4px;
  accent-color:var(--hfj-action);
  flex-shrink:0
}
.hfj-form-grid {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:1rem
}
.hfj-form p {
  font-size:.9rem;
  line-height:1.65
}
.hfj-form fieldset {
  border:1px solid var(--hfj-line);
  padding:1.2rem;
  margin-bottom:1.5rem
}
.hfj-form [hidden] {
  display:none!important
}
.hfj-form-result {
  font-weight:500
}
.hfj-honeypot {
  position:absolute!important;
  left:-10000px;
  width:1px;
  height:1px;
  overflow:hidden
}
.hfj-cart-error {
  flex-basis:100%;
  color:var(--hfj-error)
}
#hfj-enquiry-dialog {
  border:1px solid var(--hfj-line);
  border-radius:5px;
  background:var(--hfj-paper);
  color:var(--hfj-ink);
  padding:0;
  width:min(640px,calc(100% - 48px));
  max-width:none;
  max-height:min(90dvh,var(--hfj-dialog-height,90dvh));
  overflow:hidden
}
#hfj-enquiry-dialog[open] { display:grid; grid-template-rows:auto minmax(0,1fr); }
html:has(body.hfj-enquiry-open),body.hfj-enquiry-open { overflow:hidden!important; scrollbar-gutter:auto; }
#hfj-enquiry-dialog::backdrop {
  background:#333333a8
}
#hfj-enquiry-dialog .hfj-enquiry-dialog__header { display:flex; align-items:center; gap:12px; padding:12px 20px 12px 24px; border-bottom:1px solid var(--hfj-line); background:#fff; }
#hfj-enquiry-dialog h2 {
  flex:1;
  min-width:0;
  margin:0;
  padding:0;
  font:400 26px/1.25 Georgia,serif
}
.hfj-modal-close {
  display:grid;
  place-items:center;
  flex:none;
  width:44px;
  height:44px;
  border:0;
  padding:10px;
  background:transparent;
  color:var(--hfj-ink);
  cursor:pointer;
  transition:background-color 160ms ease
}
.hfj-modal-close:hover { background:var(--hfj-surface); }
.hfj-enquiry-dialog__body { min-height:0; overflow-y:auto; overscroll-behavior:contain; padding:20px 24px 24px; scroll-padding-block:16px; }
.hfj-enquiry-product { margin:0 0 20px; padding:12px 14px; background:var(--hfj-surface); }
.hfj-form .hfj-enquiry-product__title { margin:0; font-size:14px; font-weight:500; line-height:1.55; overflow-wrap:anywhere; }
.hfj-form .hfj-enquiry-product__sku { margin:4px 0 0; font-size:12px; color:#666; }
.hfj-form .hfj-media-request { border:0; margin:0 0 8px; padding:0; min-width:0; }
.hfj-media-request legend { float:none; width:100%; padding:0; margin:0 0 4px; font:500 14px/1.5 var(--hfj-font,Arial,sans-serif); }
.hfj-media-request legend span { font-weight:400; color:#666; }
.hfj-media-request__choices { display:flex; flex-wrap:wrap; gap:8px 24px; }
.hfj-form .hfj-media-request__choices .hfj-check { min-height:44px; margin:0; align-items:center; }
.hfj-form .hfj-media-request__choices input { margin-top:0; }
.hfj-form .hfj-field-help,.hfj-form .hfj-enquiry-privacy { font-size:13px; line-height:1.6; }
#hfj-enquiry-dialog .hfj-form-result:empty { display:none; }
#hfj-enquiry-dialog .hfj-form>.hfj-button { min-height:48px; }
@media (max-width:640px), (max-height:500px) and (pointer:coarse) {
  #hfj-enquiry-dialog {
    --hfj-enquiry-inline-gap:14px;
    --hfj-enquiry-viewport:var(--hfj-dialog-height,100dvh);
    --hfj-enquiry-block-gap:clamp(6px,calc(var(--hfj-enquiry-viewport) / 30),12px);
    --hfj-enquiry-start:max(var(--hfj-enquiry-block-gap),env(safe-area-inset-top));
    --hfj-enquiry-end:max(var(--hfj-enquiry-block-gap),env(safe-area-inset-bottom));
    position:fixed;
    inset:calc(var(--hfj-dialog-top,0px) + var(--hfj-enquiry-start)) max(var(--hfj-enquiry-inline-gap),env(safe-area-inset-right)) auto max(var(--hfj-enquiry-inline-gap),env(safe-area-inset-left));
    width:auto;
    max-height:calc(var(--hfj-enquiry-viewport) - var(--hfj-enquiry-start) - var(--hfj-enquiry-end));
    margin:0;
    border-radius:8px;
  }
  #hfj-enquiry-dialog::backdrop { background:rgb(41 37 31 / 52%); }
  #hfj-enquiry-dialog .hfj-enquiry-dialog__header { padding:8px 12px 8px 16px; background:var(--hfj-paper); }
  #hfj-enquiry-dialog h2 { font-size:23px; }
  #hfj-enquiry-dialog .hfj-enquiry-dialog__body { padding:16px 16px 24px; }
  #hfj-enquiry-dialog .hfj-form-grid { grid-template-columns:1fr; gap:0; }
  #hfj-enquiry-dialog .hfj-form :is(input,select,textarea) { font-size:16px; }
  #hfj-enquiry-dialog .hfj-form>.hfj-button { width:100%; }
}
@media (max-width:360px) {
  #hfj-enquiry-dialog { --hfj-enquiry-inline-gap:10px; }
}
@media(max-width:480px) {
  .hfj-form-grid { grid-template-columns:1fr; gap:0; }
  .hfj-form :is(input,select,textarea) { font-size:16px; }
}
@media(prefers-reduced-motion:reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
}
body .is-replaced-by-view-basket { display:none!important; }


/* Text fields have a quiet but visible focus state, without a second dark frame. */
body :is(input:not([type=checkbox],[type=radio],[type=hidden],[type=range],[type=submit],[type=button],[type=reset],[type=image]),select,textarea):focus {
  border-color:var(--hfj-control-focus-border,var(--hfj-control-focus-ring,#5b4936))!important;
  outline:0!important;
  box-shadow:inset 0 0 0 1px var(--hfj-control-focus-border,var(--hfj-control-focus-ring,#5b4936))!important;
}
body [aria-invalid=true],body .woocommerce-invalid {
  --hfj-control-focus-border:var(--hfj-error);
}
@media(forced-colors:active) {
  body :is(input:not([type=hidden]),select,textarea):focus-visible { outline:2px solid Highlight!important; outline-offset:-2px!important; }
}
input[type=search]::-webkit-search-cancel-button { -webkit-appearance:none; }
.hfj-search-dialog__form { position:relative; }
.hfj-search-clear { position:absolute; right:52px; top:50%; transform:translateY(-50%); display:grid; place-items:center; width:44px; height:44px; padding:10px; border:0; background:transparent; color:#555; }
.hfj-search-clear[hidden] { display:none; }
body .hfj-search-clear:hover { background:transparent; color:#111; }
.hfj-search-dialog__form.has-query .hfj-search-dialog__input { padding-right:48px; }
