/* Shared colour contracts for the storefront and the staging comparison. */
:root {
    --hfj-cream: #fcfbf8;
    --hfj-paper: #fffefa;
    --hfj-soft: #f4efe6;
    --hfj-surface: var(--hfj-soft);
    --hfj-line: #ded6ca;
    --hfj-ink: #302923;
    --hfj-dark: #292520;
    --hfj-action: #7b613d;
    --hfj-action-hover: #684f2f;
    --hfj-action-active: #584126;
    --hfj-action-text: #fff;
    --hfj-accent: var(--hfj-action);
    --hfj-control-border: #82776b;
    --hfj-control-focus-ring: #5b4936;
}
.hfj-retail-header__utility { background: var(--hfj-soft); }
.hfj-retail-footer { --hfj-control-focus-ring: #f4efe6; }
body.single-product div.product div.images :is(.woocommerce-product-gallery__image, .woocommerce-product-gallery__image a) {
    background: var(--hfj-cream);
}
body .hfj-form :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]), select, textarea),
body .hfj-filter-panel :is(input[type=number], select) {
    border-color: var(--hfj-control-border);
}
body :is(.hfj-form, .woocommerce-account) [aria-invalid=true] {
    border-color: var(--hfj-error);
}
body :is(.hfj-home-brand-story__actions,.hfj-visit-actions) .hfj-home-button,
body .hfj-home-button,body .hfj-button,body.woocommerce .button {
 background:var(--hfj-action); border-color:var(--hfj-action); color:var(--hfj-action-text)!important;
}
body :is(.hfj-home-brand-story__actions,.hfj-visit-actions) .hfj-home-button:hover,
body .hfj-home-button:hover,body .hfj-button:hover,body.woocommerce .button:hover { background:var(--hfj-action-hover); border-color:var(--hfj-action-hover); color:var(--hfj-action-text)!important; }
body :is(.hfj-home-button--outline,.hfj-button--secondary),body :is(.hfj-home-brand-story__actions,.hfj-visit-actions) .hfj-home-button--outline { background:transparent; border-color:var(--hfj-line); color:var(--hfj-ink)!important; }
body :is(.hfj-home-button--outline,.hfj-button--secondary):hover,body :is(.hfj-home-brand-story__actions,.hfj-visit-actions) .hfj-home-button--outline:hover { background:var(--hfj-surface); border-color:var(--hfj-accent); color:var(--hfj-ink)!important; }
body :is(.hfj-home-button,.hfj-button,.woocommerce .button):active { background:var(--hfj-action-active); color:var(--hfj-action-text)!important; transform:none; }
.hfj-content-page :is(.hfj-info-card,.hfj-contact-primary>section,.hfj-contents),.hfj-home-faq,.hfj-home-journal,.hfj-home-usp { background:var(--hfj-paper); border-color:var(--hfj-line); }
.hfj-retail-mobile-menu,.hfj-retail-mobile-menu__header,.hfj-mega-menu__inner,.hfj-retail-header__submenu { background:var(--hfj-paper); }
.hfj-retail-menu__item:is(.is-current,.current-menu-item,.current-menu-ancestor)>a::after { transform:scaleX(1); background:var(--hfj-accent); }
.hfj-hours--daily>div { border-left:3px solid transparent; }
.hfj-hours--daily .is-today { background:var(--hfj-surface); border-left-color:var(--hfj-accent); color:var(--hfj-ink); }
.hfj-hours dd { overflow-wrap:anywhere; text-align:right; }
body.woocommerce-account .woocommerce-form :is(.woocommerce-button,button[type=submit]),body.woocommerce-account .woocommerce-ResetPassword .button { display:flex; justify-content:center; align-items:center; width:100%; min-height:48px; padding:12px 20px; margin:12px 0 0; background:var(--hfj-action); border:1px solid var(--hfj-action); color:#fff!important; line-height:1.5; }
body.woocommerce-account .woocommerce-form button[type=submit]:hover,body.woocommerce-account .woocommerce-ResetPassword .button:hover { background:var(--hfj-action-hover); }
.woocommerce-account .woocommerce-form-login__rememberme { display:flex!important; align-items:center; gap:8px; margin:12px 0; }
.woocommerce-account .woocommerce-form :is(input,select,textarea),.woocommerce-account .woocommerce-EditAccountForm :is(input,select) { background:var(--hfj-paper); border:1px solid var(--hfj-control-border); border-radius:3px; color:var(--hfj-ink); padding:10px 12px; }
.woocommerce-account .woocommerce-MyAccount-navigation a { display:block; padding:12px 16px; min-height:44px; border-left:3px solid transparent; text-decoration:none; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background:var(--hfj-surface); border-left-color:var(--hfj-accent); color:var(--hfj-ink); }
.woocommerce-account .woocommerce-MyAccount-navigation a:hover { background:var(--hfj-surface); }
body.single-product div.product .summary p.stock.in-stock { display:inline-block; padding:6px 10px; border-radius:3px; background:var(--hfj-surface); color:var(--hfj-ink); }
body.single-product div.product .summary>.price { display:inline-block; margin-right:12px; }
body.single-product div.product .summary>p.stock { vertical-align:middle; }
.hfj-pdp-price-row { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:8px 12px; margin:12px 0; }
body.single-product div.product .hfj-pdp-price-row :is(.price,p.stock) { margin:0; }
body.single-product div.product .hfj-product-actions--full { display:flex; flex-wrap:wrap; flex-direction:row; justify-content:center; gap:4px 20px; }
body.single-product div.product .hfj-product-actions--full :is(.hfj-enquire,.hfj-pdp-whatsapp) { display:inline-flex; align-items:center; justify-content:center; gap:8px; box-sizing:border-box; width:auto; min-height:44px; height:auto; margin:0; padding:8px 0; border:0; border-radius:0; box-shadow:none; background:transparent; color:var(--hfj-ink); font:500 13px/1.5 var(--hfj-font); letter-spacing:0; text-transform:none; text-decoration:none!important; transform:none; cursor:pointer; }
body.single-product div.product .hfj-product-actions--full :is(.hfj-enquire,.hfj-pdp-whatsapp):is(:hover,:focus-visible,:active) { background:transparent; color:var(--hfj-ink); transform:none; }
body.single-product div.product .hfj-product-actions--full :is(.hfj-enquire,.hfj-pdp-whatsapp)>.hfj-icon { width:20px; height:20px; flex:none; }
body.single-product div.product .hfj-product-actions--full :is(.hfj-enquire,.hfj-pdp-whatsapp)>span:not(.hfj-icon) { text-decoration:underline; text-decoration-color:var(--hfj-line); text-decoration-thickness:1px; text-underline-offset:3px; transition:text-decoration-color 160ms ease; }
body.single-product div.product .hfj-product-actions--full :is(.hfj-enquire,.hfj-pdp-whatsapp):is(:hover,:focus-visible)>span:not(.hfj-icon) { text-decoration-color:var(--hfj-ink); }
@media(prefers-reduced-motion:reduce) { body.single-product div.product .hfj-product-actions--full :is(.hfj-enquire,.hfj-pdp-whatsapp)>span:not(.hfj-icon) { transition:none; } }
body.single-product div.product .hfj-purchase-main :is(.single_add_to_cart_button,.added_to_cart) { color:#fff!important; }
body.single-product div.product .summary .hfj-pdp-specs { grid-template-columns:repeat(auto-fit,minmax(96px,1fr)); }
.hfj-pdp-specs .hfj-icon { color:var(--hfj-accent); width:24px; height:24px; }
body.single-product div.product .hfj-purchase-main:has(>.hfj-enquire) { grid-template-columns:1fr; }
body.single-product div.product .woocommerce-product-gallery { position:relative; }
body.single-product div.product .woocommerce-product-gallery .hfj-gallery-heart { position:absolute; right:8px; top:8px; z-index:8; display:grid; place-items:center; width:44px; height:44px; min-height:44px; padding:10px; color:var(--hfj-accent); border:0; border-radius:50%; }
.hfj-gallery-heart[aria-pressed=true] svg { fill:currentColor; }
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { width:44px; height:44px; margin:0; border:0; color:var(--hfj-accent); }
.hfj-pdp-gallery-controls { left:0; right:0; pointer-events:none; }
.hfj-pdp-gallery-controls>button { position:absolute; top:calc(50% - 22px); pointer-events:auto; color:var(--hfj-accent); border-radius:50%; }
.hfj-pdp-gallery-controls>button:first-child { left:8px; }
.hfj-pdp-gallery-controls>button:last-child { right:8px; }
@media(prefers-reduced-motion:reduce) { .hfj-hours,.woocommerce-account a { transition:none; } }

/* Finished component surfaces share the same colour roles in either scheme. */
:root { --hfj-footer-text:#eee7dc; --hfj-footer-line:#b5a58a; --hfj-footer-hover:#dfc59c; --hfj-footer-rule:#b5a58a55; --hfj-footer-control-hover:#dfc59c12; --hfj-footer-primary:#eee7dc; --hfj-footer-primary-text:#292520; --hfj-footer-primary-hover:#fffdf9; --hfj-footer-primary-active:#dfd5c5; }
body .hfj-home-newsletter { background:var(--hfj-paper); border-color:var(--hfj-line); }
body .hfj-newsletter-form input[type=email] { background:var(--hfj-paper); border-color:var(--hfj-control-border); }
body .hfj-contact-primary>.hfj-contact-enquiry,body .hfj-contact-primary>.hfj-contact-details { padding:clamp(20px,2.5vw,32px); background:var(--hfj-paper); border:1px solid var(--hfj-line); border-radius:3px; }
body .hfj-contact-primary .hfj-info-card { background:transparent; }
.hfj-contact-primary .hfj-info-card:last-child { border-bottom:0; padding-bottom:0; }
.hfj-contact-primary :is(h2,h3) { margin-top:0; }
.hfj-contact-primary .hfj-info-card h2 { font:400 24px/1.3 Georgia,serif; margin-bottom:12px; }
.hfj-content-page:has(.hfj-contact-primary) .entry-content>p { font:400 15px/1.7 var(--hfj-font); max-width:760px; }
.hfj-contact-primary .hfj-info-card a { display:inline-flex; align-items:center; min-height:44px; }
.hfj-contact-primary .hfj-info-card p { margin-block:8px; }
.hfj-contact-primary .hfj-info-card a[href^="mailto:"] { overflow-wrap:anywhere; }
.hfj-pdp-viewing { clear:both; margin:32px 0 0; padding:32px 0 0; border-top:1px solid var(--hfj-line); background:var(--hfj-cream); color:var(--hfj-ink); scroll-margin-top:calc(var(--hfj-header-visible-height,120px) + 16px); }
body.single-product div.product .hfj-pdp-viewing h2 { margin:0 0 16px; font:400 clamp(24px,2.4vw,30px)/1.3 Georgia,serif; }
.hfj-pdp-viewing__body { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); align-items:center; gap:clamp(20px,4vw,48px); }
.hfj-pdp-viewing .hfj-shop-photo { margin:0; }
.hfj-pdp-viewing .hfj-shop-photo img { aspect-ratio:3/2; max-height:280px; height:auto; object-fit:cover; object-position:50% 62%; }
.hfj-pdp-viewing__body p { margin:0; font:400 14px/1.65 var(--hfj-font); }
.hfj-pdp-viewing .hfj-enquire { display:inline-flex; align-items:center; min-height:44px; padding:0; color:inherit; background:transparent; font:500 13px/1.5 var(--hfj-font); text-decoration:underline; text-decoration-color:var(--hfj-line); text-decoration-thickness:1px; text-underline-offset:4px; scroll-margin-bottom:calc(100px + env(safe-area-inset-bottom)); transition:text-decoration-color 160ms ease; }
.hfj-pdp-viewing .hfj-enquire:is(:hover,:focus-visible) { color:var(--hfj-ink); text-decoration-color:var(--hfj-ink); }
@media(max-width:767px) { .hfj-pdp-viewing { margin-top:24px; padding-top:24px; } .hfj-pdp-viewing__body { grid-template-columns:1fr; gap:20px; } .hfj-pdp-viewing .hfj-shop-photo img { aspect-ratio:2/1; max-height:220px; } }
@media(prefers-reduced-motion:reduce) { .hfj-pdp-viewing .hfj-enquire { transition:none; } }
body .hfj-retail-footer { background:var(--hfj-dark); color:var(--hfj-footer-text); }
body .hfj-retail-footer__brand p { color:inherit; font-weight:400; line-height:1.65; }
body .hfj-retail-footer__badges { gap:4px 14px; margin:12px 0 18px; }
body .hfj-retail-footer__badges span { min-height:20px; padding:0; border:0; border-radius:0; background:transparent; color:var(--hfj-footer-text); font:400 12px/1.5 var(--hfj-font); }
body .hfj-retail-footer .hfj-retail-footer__menu h2 { font-weight:500; color:var(--hfj-footer-text); }
body .hfj-retail-footer .hfj-retail-footer__menu-list a { color:var(--hfj-footer-text); font-weight:400; }
body .hfj-retail-footer .hfj-retail-footer__menu-list a:hover,body .hfj-retail-footer .hfj-retail-footer__menu-list a:focus-visible { color:var(--hfj-footer-hover); }
body .hfj-retail-footer__bottom { border-color:var(--hfj-footer-rule); }
body .hfj-retail-footer__bottom p { font-weight:400; color:var(--hfj-footer-text); }
body .hfj-retail-header__search,body .hfj-search-dialog,body .hfj-mobile-search { background:var(--hfj-paper); border-color:var(--hfj-line); }
body .hfj-retail-header__search input[type=search],body .hfj-search-dialog__input,body .hfj-mobile-search input { background:var(--hfj-paper); color:var(--hfj-ink); border-color:var(--hfj-control-border); }
body .hfj-search-dialog__input { border-radius:3px; }

body .hfj-search-dialog__submit,body .hfj-mobile-search button[type=submit] { background:var(--hfj-action); border-color:var(--hfj-action); color:#fff; }
body .hfj-search-dialog__submit:hover,body .hfj-mobile-search button[type=submit]:hover { background:var(--hfj-action-hover); border-color:var(--hfj-action-hover); color:#fff; }
body .hfj-search-dialog__submit:active { background:var(--hfj-action-active); }
body .hfj-search-dialog__result { border-color:var(--hfj-line); }
body .hfj-search-dialog__result:hover { background:var(--hfj-surface); color:var(--hfj-ink); }
body .hfj-search-dialog__close:hover { background:var(--hfj-surface); }
body .hfj-retail-header__actions :is(a,button):is(:hover,:focus-visible),body .hfj-retail-header__search button:is(:hover,:focus-visible) { color:var(--hfj-accent); background:transparent; }
body .hfj-retail-header__icon-link,body .hfj-retail-header__search button { color:var(--hfj-ink); background:transparent; transition:color 160ms ease; }
body .hfj-retail-header__icon-link:is(:hover,:focus-visible),body .hfj-retail-header__search button:is(:hover,:focus-visible) { color:var(--hfj-accent); }
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger { display:grid; place-items:center; padding:0; line-height:1; text-indent:0; }
body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::before,body.single-product div.product .woocommerce-product-gallery .woocommerce-product-gallery__trigger::after { display:none; }
.woocommerce-product-gallery__trigger svg { display:block; width:19px; height:19px; pointer-events:none; }
.hfj-sticky-buy .hfj-buy-icon[hidden] { display:none!important; }
.hfj-sticky-buy .hfj-buy-icon.hfj-sticky-chat { mask:url('../icons/chat-bubble.svg') center/contain no-repeat; -webkit-mask:url('../icons/chat-bubble.svg') center/contain no-repeat; }
.hfj-sticky-buy .hfj-buy-icon.hfj-sticky-spinner { mask:none; -webkit-mask:none; background:transparent; border:2px solid currentColor; border-right-color:transparent; border-radius:50%; animation:hfj-spin .7s linear infinite; }
.hfj-sticky-buy[aria-busy=true]::before { display:none; }
@media(max-width:767px) { body .hfj-contact-primary { gap:20px; } }
@media(prefers-reduced-motion:reduce) { .hfj-sticky-buy .hfj-sticky-spinner { animation:none; } }

/* Gallery hit areas remain fixed; only glyphs respond to fine-pointer hover. */
/* A typed colour lets the backing fade without moving the hit area. */
@property --hfj-gallery-disc {
    syntax: "<color>";
    inherits: false;
    initial-value: #fffefa;
}

/* Keep the full hit area around a smaller visible disc. */
body.single-product .hfj-gallery-heart svg { width: 18px; height: 18px; }
@media (min-width: 1024px) {
    body.single-product .woocommerce-product-gallery :is(.hfj-gallery-heart,.woocommerce-product-gallery__trigger) svg { width:20px; height:20px; }
}
body.single-product div.product .woocommerce-product-gallery :is(.hfj-gallery-heart,.woocommerce-product-gallery__trigger) {
    --hfj-gallery-disc: var(--hfj-paper);
    transition: --hfj-gallery-disc 180ms ease;
    --hfj-gallery-disc-fill: radial-gradient(circle at center, var(--hfj-gallery-disc, var(--hfj-paper)) 14px, transparent 15px);
    background: var(--hfj-gallery-disc-fill);
    border-radius: 50%;
}
body.single-product div.product .woocommerce-product-gallery :is(.hfj-gallery-heart,.woocommerce-product-gallery__trigger):focus-visible {
    --hfj-gallery-disc: var(--hfj-surface);
    outline-offset: -6px !important;
}
body.single-product div.product .woocommerce-product-gallery :is(.hfj-gallery-heart,.woocommerce-product-gallery__trigger):active {
    --hfj-gallery-disc: var(--hfj-surface);
}
@media (forced-colors: active) {
    body.single-product div.product .woocommerce-product-gallery :is(.hfj-gallery-heart,.woocommerce-product-gallery__trigger),
    body.single-product div.product .hfj-pdp-gallery-controls>button {
        background: ButtonFace;
        border: 1px solid ButtonText;
    }
}
body.single-product div.product .woocommerce-product-gallery .hfj-gallery-heart[aria-pressed=true] { color:var(--hfj-accent); }
@media(hover:hover) and (pointer:fine) {
 body.single-product div.product .woocommerce-product-gallery :is(.hfj-gallery-heart,.woocommerce-product-gallery__trigger):hover { --hfj-gallery-disc: var(--hfj-surface); }
}
body .hfj-retail-mobile-menu .hfj-mobile-search { background:var(--hfj-paper); border:1px solid var(--hfj-control-border); border-radius:3px; box-shadow:none; }

body .hfj-retail-mobile-menu .hfj-mobile-search button[type=submit] { width:44px; min-width:44px; height:44px; padding:12px; background:transparent; color:var(--hfj-ink); border:0; border-radius:0; box-shadow:none; }
body .hfj-retail-mobile-menu .hfj-mobile-search button[type=submit]:hover { background:var(--hfj-surface); color:var(--hfj-accent); }
body .hfj-retail-mobile-menu .hfj-mobile-search__clear { background:transparent; min-width:44px; }
body .hfj-retail-mobile-menu .hfj-mobile-search input { font-size:16px; padding:10px 12px; }
@media(max-width:1180px) {
 body .hfj-retail-header__search,body .hfj-retail-header__search:is(:hover,:active,:focus-within),body .hfj-retail-header__search button,body .hfj-retail-header__search button:is(:hover,:active,:focus-visible) { background:transparent; border:0; box-shadow:none; }
 body .hfj-retail-header__search:focus-within { outline:0; }
 body .hfj-retail-header__search button:focus-visible { outline:2px solid var(--hfj-accent)!important; outline-offset:-3px!important; }
}
@media(prefers-reduced-motion:reduce) {
 body .hfj-retail-header__icon-link,body .hfj-retail-header__search button,.hfj-retail-menu__item>a { transition:none; }
}

/* Shared editorial type for collection, product and customer-service pages. */
body :is(main, .site-main, .woocommerce) :is(h1, h2, .product_title, .woocommerce-loop-product__title),
body .hfj-home-section h2 {
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    letter-spacing: normal;
    text-transform: none;
}
body .hfj-home-brand-story__inner {
    display: block;
    max-width: 54rem;
}
body.single-product .hfj-pdp-specs .hfj-icon { width:20px; height:20px; font-size:20px; }
@media (min-width: 1024px) {
    body.single-product div.product .hfj-product-summary-grid {
        grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
        max-width: 76rem;
        margin-inline: auto;
    }
}

@media (min-width: 1181px) {
    body .hfj-retail-header__search,
    body .hfj-retail-header__search input[type=search] {
        border-radius: 3px;
        border-color: var(--hfj-control-border);
    }
}

/* Show one focus indicator around joined search fields and their controls. */
@media (forced-colors: none) {
    body .hfj-retail-header__search:has(input[type=search]:focus),
    body .hfj-retail-mobile-menu .hfj-mobile-search:has(input[type=search]:focus) {
        border-color: var(--hfj-control-focus-ring);
        box-shadow: inset 0 0 0 1px var(--hfj-control-focus-ring);
    }
    body :is(.hfj-retail-header__search, .hfj-mobile-search) input[type=search]:focus {
        outline: none !important;
        box-shadow: none !important;
        border-color: transparent !important;
        background: transparent;
    }
}

/* Category frames use the same surfaces and accents as the product galleries. */
#hfj-catalogue .hfj-category-tile__image {
    background: var(--hfj-soft);
    border: 1px solid transparent;
    border-radius: 8px;
}
#hfj-catalogue .hfj-category-tile[aria-current=page] .hfj-category-tile__image,
#hfj-catalogue .hfj-category-tile:is(:hover, :focus-visible) .hfj-category-tile__image {
    border-color: var(--hfj-accent);
    box-shadow: none;
}

body :is(.hfj-home-product-card, li.product) .hfj-product-actions:not(.hfj-product-actions--full) button:is(.hfj-wishlist-toggle, .hfj-enquire) {
    color: var(--hfj-accent);
    --hfj-gallery-disc: var(--hfj-paper);
    transition: --hfj-gallery-disc 180ms ease;
    --hfj-gallery-disc-fill: radial-gradient(circle at center, var(--hfj-gallery-disc, var(--hfj-paper)) 14px, transparent 15px);
    background-image: var(--hfj-gallery-disc-fill) !important;
    display: grid;
    place-items: center;
    padding: 0;
    line-height: 1;
    transform: none;
    border-radius: 50%;
}
body :is(.hfj-home-product-card, li.product) .hfj-product-actions:not(.hfj-product-actions--full) button:is(.hfj-wishlist-toggle, .hfj-enquire):is(:active, :focus-visible) {
    --hfj-gallery-disc: var(--hfj-surface);
}
body :is(.hfj-home-product-card, li.product) .hfj-product-actions button:is(.hfj-wishlist-toggle, .hfj-enquire):focus-visible {
    outline-offset: -6px !important;
}
body :is(.hfj-home-product-card, li.product) .hfj-product-actions:not(.hfj-product-actions--full) button:is(.hfj-wishlist-toggle, .hfj-enquire):not(:disabled):hover > .hfj-icon {
    transform: none;
}
@media (hover: hover) and (pointer: fine) {
    body :is(.hfj-home-product-card, li.product) .hfj-product-actions:not(.hfj-product-actions--full) button:is(.hfj-wishlist-toggle, .hfj-enquire):not(:disabled):hover {
        color: var(--hfj-accent) !important;
        --hfj-gallery-disc: var(--hfj-surface);
    }
}
@media (forced-colors: active) {
    body :is(.hfj-home-product-card, li.product) .hfj-product-actions:not(.hfj-product-actions--full) button:is(.hfj-wishlist-toggle, .hfj-enquire) {
        background: ButtonFace !important;
        border: 1px solid ButtonText !important;
    }
}

/* The card carousel arrows use the same visual cue as the gallery arrows. */
body .hfj-card-gallery-controls button {
    color: var(--hfj-accent);
    border-radius: 50%;
    transition: --hfj-gallery-disc 180ms ease;
}
body .hfj-card-gallery-controls button:focus-visible {
    outline-offset: -6px !important;
}
@media (prefers-reduced-motion: reduce) {
    :is(.hfj-gallery-heart, .woocommerce-product-gallery__trigger, .hfj-pdp-gallery-controls > button, .hfj-card-gallery-controls button, .hfj-product-actions:not(.hfj-product-actions--full) button:is(.hfj-wishlist-toggle,.hfj-enquire)) {
        transition: none !important;
    }
}

/* Give the category and subcategory rows a clear, related hierarchy. */
body .hfj-home-category-tabs__nav--primary {
    --hfj-category-gap: clamp(8px, 2.5vw, 36px);
    gap: var(--hfj-category-gap);
    margin-bottom: 10px;
}
body .hfj-home-category-tabs__nav--primary a {
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-family: Georgia, serif;
    font-size: clamp(16px, 1.4vw, 21px);
    letter-spacing: .01em;
}
body .hfj-home-category-tabs__nav--primary .hfj-category-icon {
    width: 32px;
    height: 32px;
    color: var(--hfj-accent);
}
.hfj-category-icon svg { stroke-width: 1.1; }
.hfj-home-tab-label {
    display: inline-block;
    text-align: center;
}
/* Reserve the selected text width without adding a second visible line. */
.hfj-home-tab-label::after {
    content: attr(data-label);
    display: block;
    visibility: hidden;
    height: 0;
    overflow: hidden;
    font-weight: 700;
}
.hfj-home-category-tabs__nav--secondary .hfj-home-tab-label::after { font-weight: 600; }
body .hfj-home-category-tabs__nav--primary a + a::before {
    content: "";
    position: absolute;
    inset-inline-start: calc(var(--hfj-category-gap) / -2);
    top: 50%;
    height: 32px;
    border-inline-start: 1px solid var(--hfj-line);
    transform: translateY(-50%);
    pointer-events: none;
}
body .hfj-home-category-tabs__nav a {
    border-radius: 4px;
    color: var(--hfj-muted);
}
body .hfj-home-category-tabs__nav--primary a { border-radius:0; border-bottom:2px solid transparent; }
body .hfj-home-category-tabs__nav--primary a:is(.is-active,[aria-selected=true]) {
    color: var(--hfj-ink);
    font-weight: 700;
    border-bottom-color: transparent;
}
body .hfj-home-category-tabs__nav--primary a::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    width: 28px;
    height: 1px;
    margin-inline: auto;
    background: var(--hfj-accent);
    opacity: 0;
    transition: opacity 160ms ease;
}
body .hfj-home-category-tabs__nav--primary a:is(.is-active,[aria-selected=true])::after {
    height: 2px;
    opacity: 1;
}
@media (hover: hover) {
    body .hfj-home-category-tabs__nav--primary a:hover {
        background: transparent;
        color: var(--hfj-ink);
    }
    body .hfj-home-category-tabs__nav--primary a:hover:not(.is-active):not([aria-selected=true])::after {
        opacity: .8;
    }
    body .hfj-home-category-tabs__nav--secondary a:hover {
        background: var(--hfj-soft);
        color: var(--hfj-ink);
    }
}
@media (prefers-reduced-motion: reduce) {
    body .hfj-home-category-tabs__nav--primary a::after { transition: none; }
}
body .hfj-home-category-tabs__nav--secondary {
    gap: 4px 10px;
    box-sizing:border-box; height:auto; max-height:none; padding-block:6px;
    background: transparent;
    border-top: 1px solid var(--hfj-line);
}
body .hfj-home-category-tabs__nav--secondary::before,
body .hfj-home-category-tabs__nav--secondary::after { display: none; }
body .hfj-home-category-tabs__nav--secondary a {
    box-sizing:border-box; min-height:44px; padding:10px 14px; border:0;
    font-size: clamp(13px, 1vw, 15px);
    letter-spacing: normal;
}
body .hfj-home-category-tabs__nav--secondary a:is(.is-active,[aria-selected=true]) {
    background: #eae1d4;
    color: var(--hfj-ink);
    font-weight:600;
}
@media (forced-colors: none) {
    body .hfj-home-category-tabs__nav a:focus-visible {
        outline: 2px solid var(--hfj-control-focus-ring) !important;
        outline-offset:-3px; box-shadow:none !important;
    }
}
@media (forced-colors: active) {
    body .hfj-home-category-tabs__nav--secondary a:is(.is-active,[aria-selected=true]) {
        outline:1px solid SelectedItem; outline-offset:-2px;
    }
}

/* One count label across card and product galleries. */
body .hfj-card-gallery-count {
    display: inline-grid;
    align-self: flex-end;
    margin-bottom: 6px;
    place-items: center;
    box-sizing: border-box;
    min-width: 34px;
    min-height: 22px;
    padding: 3px 5px;
    border-radius: 2px;
    background: var(--hfj-paper);
    color: var(--hfj-ink);
    font: 500 11px/1 var(--hfj-font, Arial, sans-serif);
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}
body .hfj-card-gallery-controls button {
    /* A fine light edge keeps the chevron legible over dark photos. */
    box-sizing: border-box;
    padding-top: 10px;
    text-shadow: -1px 0 var(--hfj-paper), 1px 0 var(--hfj-paper), 0 -1px var(--hfj-paper), 0 1px var(--hfj-paper);
}
body .hfj-card-gallery-controls button:first-child { text-indent: 8px; }
body .hfj-card-gallery-controls button:nth-of-type(2) { text-indent: -8px; }
@media (hover: hover) and (pointer: fine) {
    body .hfj-card-gallery-controls button:not([aria-disabled=true]):hover {
        color: var(--hfj-ink);
    }
}
@media (forced-colors: active) {
    body .hfj-card-gallery-count {
        background: Canvas;
        color: CanvasText;
    }
}
/* Keep short rows balanced and wrap specifications on narrow screens. */
body.single-product div.product .summary .hfj-pdp-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 76px), 1fr));
    padding-block: 14px;
    column-gap: 1px;
    overflow: clip;
}
body.single-product .hfj-pdp-specs > div {
    position: relative;
    align-items: center;
    text-align: center;
    padding-inline: 4px;
    min-width: 0;
}
/* Draw in the column gap. The grid clips the rule before the first cell of every row. */
body.single-product .hfj-pdp-specs > div::before {
    content: "";
    position: absolute;
    inset-block: 0;
    inset-inline-start: -1px;
    border-inline-start: 1px solid var(--hfj-line);
}
body.single-product .hfj-pdp-specs dt {
    flex-direction: column;
    gap: 4px;
}
@media (max-width: 767px) {
    body.single-product div.product .summary .hfj-pdp-specs {
        display:flex;
        flex-wrap:wrap;
        --hfj-spec-columns:3;
        row-gap: 8px;
    }
    .hfj-pdp-specs > div {
        box-sizing:border-box;
        flex:1 0 calc((100% + 1px) / var(--hfj-spec-columns) - 1px);
    }
    .hfj-pdp-specs > .hfj-pdp-specs__reference {
        order: 1;
        flex-basis:100%;
        flex-flow: row wrap;
        justify-content: center;
        gap: 0 .35em;
        padding-block: 4px;
        font-size: 12px;
        color: var(--hfj-muted);
    }
    .hfj-pdp-specs__reference .hfj-icon { display:none; }
    .hfj-pdp-specs__reference dd::before { content:"· "; }
}
@media (max-width:383px) {
    .hfj-pdp-specs > :nth-child(3n+4 of :not(.hfj-pdp-specs__reference)):nth-last-child(1 of :not(.hfj-pdp-specs__reference)) dt { flex-direction:row; }
}
@media (min-width:384px) and (max-width:767px) {
    body.single-product div.product .summary .hfj-pdp-specs { --hfj-spec-columns:4; }
    .hfj-pdp-specs > :nth-child(4n+5 of :not(.hfj-pdp-specs__reference)):nth-last-child(1 of :not(.hfj-pdp-specs__reference)) dt { flex-direction:row; }
}
@media (forced-colors: none) {
    body .hfj-card-gallery-count {
        background: transparent;
        text-shadow: -1px 0 var(--hfj-paper), 1px 0 var(--hfj-paper), 0 -1px var(--hfj-paper), 0 1px var(--hfj-paper);
    }
}
/* Tighten the visible controls on two-column catalogue cards. */
@media (max-width: 780px) {
    body.woocommerce:not(.hfj-products-view-list) ul.products[class*="columns-"] li.product .hfj-product-actions:not(.hfj-product-actions--full) button:is(.hfj-wishlist-toggle, .hfj-enquire) {
        --hfj-gallery-disc-fill: radial-gradient(circle at center, var(--hfj-gallery-disc) 11px, transparent 12px);
    }
    body.woocommerce:not(.hfj-products-view-list) ul.products[class*="columns-"] li.product .hfj-product-actions button:is(.hfj-wishlist-toggle, .hfj-enquire) > .hfj-icon:first-child {
        width: 15px;
        height: 15px;
        font-size: 15px;
    }
    body.woocommerce:not(.hfj-products-view-list) ul.products[class*="columns-"] li.product .hfj-card-gallery-controls button {
        font-size: 16px;
    }
}

body .hfj-mobile-groups > .mobile-menu__item { border: 0; }
body .hfj-mobile-group-row .hfj-mobile-disclosure-icon {
    width: 8px; height: 8px; border: solid currentColor; border-width: 0 1px 1px 0;
    transform: rotate(45deg); transition: transform 160ms ease;
}
body .hfj-mobile-group-row .hfj-mobile-disclosure-icon::before,
body .hfj-mobile-group-row .hfj-mobile-disclosure-icon::after { content: none; }
body .hfj-mobile-group-row > button[aria-expanded=true] .hfj-mobile-disclosure-icon { transform: rotate(225deg); }
body .hfj-mobile-groups .mobile-menu__sublist {
  background: transparent; margin: 0 0 6px 8px; padding: 0 0 0 12px;
  border: 0; border-inline-start: 1px solid var(--hfj-line);
}
body .hfj-mobile-groups .mobile-menu__sublist a {
  border: 0; border-radius: 2px; color: var(--hfj-ink); opacity: 1;
}
body .hfj-retail-mobile-menu .hfj-mobile-group-row > button { color: var(--hfj-action); border-radius: 3px; }
body .hfj-retail-mobile-menu .hfj-mobile-group-row > button:focus:not(:focus-visible) {
  outline: none; box-shadow: none;
}
body .hfj-retail-mobile-menu :is(.hfj-mobile-group-row > button, .mobile-menu__sublist a):focus-visible {
  outline: 2px solid var(--hfj-control-focus-ring); outline-offset: -3px;
}
@media (hover: none) {
  body .hfj-retail-mobile-menu .hfj-mobile-group-row > button:hover { background: transparent; }
}
body .hfj-mobile-groups .mobile-menu__sublist a[aria-current="page"] { font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
body .hfj-mobile-account { padding-block: 6px 2px; border-bottom: 0; border-top: 1px solid var(--hfj-line); }
body .hfj-retail-mobile-menu__footer, body .hfj-mobile-contact { border-top: 0; }
@media (hover: hover) and (pointer: fine) {
  body .hfj-card-gallery-controls { display: none; }
  [data-hfj-card-images] { position: relative; }
  body [data-hfj-card-images] img.hfj-card-hover-photo {
    position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain;
    pointer-events: none; opacity: 0; transition: opacity 180ms ease;
  }
  body [data-hfj-card-images][data-preview-visible] img.hfj-card-hover-photo { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  body [data-hfj-card-images] img.hfj-card-hover-photo { transition: none; }
}
@media (hover: none), (pointer: coarse) {
  .hfj-card-hover-photo { display: none !important; }
}

/* Separate shopping links, services and contact details in the mobile drawer. */
body .hfj-mobile-groups > .mobile-menu__item.hfj-mobile-secondary-start {
  border-top: 1px solid var(--hfj-line);
  margin-top: 8px;
  padding-top: 8px;
}
body .hfj-retail-mobile-menu .mobile-menu__footer { padding: 2px 8px 0; }
body .hfj-retail-mobile-menu .hfj-mobile-contact {
  display: flex; flex-direction: column; gap: 0;
}
body .hfj-retail-mobile-menu .hfj-mobile-contact a {
  justify-content: flex-start; min-width: 0; gap: 8px; overflow-wrap: anywhere;
}
body .hfj-footer-instagram .hfj-footer-instagram__heading > a {
  display: inline-flex; align-items: center; gap: 6px;
}
.hfj-footer-instagram__heading > a svg { flex: none; }
