/*
 * Forest Fairies
 * Global Foundation CSS
 *
 * Stack:
 * WordPress
 * WooCommerce
 * Oxygen Builder 6
 *
 * Adobe XD is the visual reference, not a literal
 * technical specification.
 *
 * Oxygen variables are the source of truth for
 * reusable design tokens.
 */

/* =========================================================
   LAYOUT TOKENS — DESKTOP FOUNDATION
   ========================================================= */

:root {
    /* Main page content (body + footer inner grid) */
    --ff-content-width: 1280px;

    /* Global chrome */
    --ff-header-width: 100%;
    --ff-footer-width: 100%;

    /* Shared desktop edge inset; collapses to the existing minimum gutter on small screens */
    --ff-header-inset: clamp(var(--ff-gutter-min), 3.75vw, 48px);
    --ff-footer-inset: var(--ff-header-inset);

    /* Typography decisions (consolidated review, Oct 2026): all headings Jost Medium, all buttons regular */
    --ff-weight-heading: var(--ff-weight-medium, 500);
    --ff-weight-button: var(--ff-weight-regular, 400);
    /* Buttons: XD REV2 CTA style = Jost Regular 15/20, tracking 40 (0.04em), uppercase (button typography fix, Oct 2026) */
    --ff-font-button: var(--ff-font-primary, "Jost", sans-serif);

    /* Spacing decisions (consolidated review): major section rhythm (+8px) and descriptive copy -> CTA gap */
    --ff-section-space: 96px;   /* Ziflow 38: +8px (was 88) */
    --ff-gap-copy-cta: 24px;
}
@media (max-width: 1119px) {
    :root {
        --ff-section-space: 80px;   /* was 72 */
    }
}
@media (max-width: 767px) {
    :root {
        --ff-section-space: 68px;   /* was 62 */
    }
}

/* Semantic headings without a design-system class default to the heading weight (zero specificity: classes win) */
:where(h1, h2, h3, h4, h5, h6) {
    font-weight: var(--ff-weight-heading);
}
/* Label typography used on a semantic heading (e.g. testimonial names <h3 class="ff-label-bold">) follows the heading rule */
:is(h1, h2, h3, h4, h5, h6).ff-label-bold {
    font-weight: var(--ff-weight-heading);
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */
/* H1 */
.ff-h1,
.ff-heading-hero {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: clamp(
        var(--ff-font-size-h1-min),
        calc(1.25rem + 1.5625vw),
        var(--ff-font-size-h1-max)
    );
    font-weight: var(--ff-weight-heading);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--ff-colour-dark);
}
/* H2 */
.ff-h2,
.ff-heading-section {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: clamp(
        var(--ff-font-size-h2-min),
        calc(1.375rem + 0.78125vw),
        var(--ff-font-size-h2-max)
    );
    font-weight: var(--ff-weight-heading);
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: var(--ff-colour-dark);
}
/* H3 */
.ff-h3 {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: clamp(
        var(--ff-font-size-h3-min),
        calc(1.25rem + 0.625vw),
        var(--ff-font-size-h3-max)
    );
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--ff-colour-dark);
}
/* H4 */
.ff-h4 {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: clamp(
        var(--ff-font-size-h4-min),
        calc(1.125rem + 0.46875vw),
        var(--ff-font-size-h4-max)
    );
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--ff-colour-dark);
}
/* Standard body */
.ff-body,
.ff-text-body {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular);
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--ff-colour-dark);
}
/* Light body / testimonial */
.ff-body-light,
.ff-text-light {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-light);
    line-height: 1.6;
    letter-spacing: 0;
    color: var(--ff-colour-dark);
}
/* Medium label */
.ff-label,
.ff-label-medium {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-medium);
    line-height: 1.35;
    letter-spacing: 0;
    color: var(--ff-colour-dark);
}
/* Bold label */
.ff-label-bold {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-bold);
    line-height: 1.35;
    letter-spacing: 0.005em;
    color: var(--ff-colour-dark);
}
/* Small / metadata text */
.ff-small {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-small);
    font-weight: var(--ff-weight-regular);
    line-height: 1.55;
    letter-spacing: 0;
    color: var(--ff-colour-dark);
}
/* =========================================================
   BUTTONS
   ========================================================= */
/*
 * Primary button
 *
 * XD REV2:
 * Jost Regular 15px / 20px, tracking 40 (0.04em), uppercase
 * #252523
 * white text
 */
.ff-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: var(--ff-button-min-height);
    padding:
        var(--ff-button-padding-y)
        var(--ff-button-padding-x);
    border: 0;
    border-radius: var(--ff-radius-sm);
    background-color: var(--ff-colour-button-dark, #252523);
    color: var(--ff-colour-white);
    font-family: var(--ff-font-button);
    font-style: normal;
    font-stretch: normal;
    font-synthesis: none;
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-button);
    line-height: var(--ff-line-height-button);
    letter-spacing: var(--ff-letter-spacing-button);
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
}
/* =========================================================
   PRODUCT TYPOGRAPHY
   ========================================================= */
.ff-product-title {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular);
    line-height: var(--ff-line-height-body);
    letter-spacing: var(--ff-letter-spacing-base);
    color: var(--ff-colour-dark);
}
.ff-product-price {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular);
    line-height: var(--ff-line-height-body);
    letter-spacing: var(--ff-letter-spacing-base);
    color: var(--ff-colour-dark);
}
/* =========================================================
   FOOTER TYPOGRAPHY
   ========================================================= */
.ff-footer-heading {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-heading);
    line-height: var(--ff-line-height-label);
    letter-spacing: var(--ff-letter-spacing-label);
    color: var(--ff-colour-warm-white);
}
.ff-footer-text {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-regular);
    line-height: var(--ff-line-height-button);
    letter-spacing: var(--ff-letter-spacing-base);
    color: var(--ff-colour-warm-white);
}
/* =========================================================
   FOOTER LAYOUT
   ========================================================= */

.ff-site-footer {
    width: var(--ff-footer-width);
    max-width: none;
}

.ff-site-footer *,
.ff-site-footer *::before,
.ff-site-footer *::after {
    box-sizing: border-box;
}

.ff-footer-inner {
    width: 100%;
    max-width: calc(var(--ff-content-width) + 2 * var(--ff-footer-inset));
    margin-inline: auto;
    padding-inline: var(--ff-footer-inset);
}

/* =========================================================
   FORMS
   ========================================================= */
.ff-input-text {
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-regular);
    line-height: var(--ff-line-height-body);
    letter-spacing: var(--ff-letter-spacing-base);
    color: var(--ff-colour-dark);
}
/* =========================================================
   LAYOUT — SECTIONS
   ========================================================= */
/*
 * Base full-width section.
 *
 * No automatic vertical padding.
 * Add a section-spacing modifier where required.
 */
.ff-section {
    width: 100%;
}
/*
 * Compact section
 * 32px → 48px
 */
.ff-section-compact {
    padding-block: clamp(
        var(--ff-space-4),
        4vw,
        var(--ff-space-5)
    );
}
/*
 * Standard section
 * 48px → 80px
 */
.ff-section-standard {
    padding-block: clamp(
        var(--ff-space-5),
        6vw,
        var(--ff-space-7)
    );
}
/*
 * Large editorial section
 * 64px → 96px
 */
.ff-section-large {
    padding-block: clamp(
        var(--ff-space-6),
        8vw,
        var(--ff-space-8)
    );
}
/* =========================================================
   LAYOUT — CONTENT CONTAINER
   ========================================================= */

/*
 * Main page content container.
 *
 * Desktop content width: 1140px.
 * Responsive gutters remain outside the content area:
 * minimum 20px / maximum 32px.
 */
.ff-container-content {
    width: min(
        var(--ff-content-width),
        calc(
            100% -
            (
                2 *
                clamp(
                    var(--ff-gutter-min),
                    3vw,
                    var(--ff-gutter-max)
                )
            )
        )
    );
    max-width: var(--ff-content-width);
    margin-inline: auto;
}

/*
 * Full-bleed banner helper.
 * Use on outer banner/hero strips that must span the viewport,
 * while keeping their inner content independently constrained.
 */
.ff-banner-full {
    width: 100vw;
    max-width: none;
    margin-inline: calc(50% - 50vw);
}

/* =========================================================
   STACK / CONTENT SPACING
   ========================================================= */
/*
 * Heading + paragraph relationship.
 *
 * 15px is retained because it came from the XD relationship
 * rather than being forced onto the 8px spacing scale.
 */
.ff-stack-heading-copy {
    display: flex;
    flex-direction: column;
    gap: var(--ff-gap-heading-copy);
}
/*
 * General small stack
 */
.ff-stack-sm {
    display: flex;
    flex-direction: column;
    gap: var(--ff-space-2);
}
/*
 * General medium stack
 */
.ff-stack-md {
    display: flex;
    flex-direction: column;
    gap: var(--ff-space-3);
}
/*
 * General large stack
 */
.ff-stack-lg {
    display: flex;
    flex-direction: column;
    gap: var(--ff-space-4);
}
/* =========================================================
   TRANSITION / LEGACY ALIASES
   ========================================================= */
/*
 * Existing aliases retained temporarily:
 *
 * .ff-heading-hero
 * .ff-heading-section
 * .ff-text-body
 * .ff-text-light
 * .ff-label-medium
 *
 * New production builds should use:
 *
 * .ff-h1
 * .ff-h2
 * .ff-h3
 * .ff-h4
 *
 * .ff-body
 * .ff-body-light
 *
 * .ff-label
 * .ff-label-bold
 *
 * .ff-small
 *
 * .ff-btn-primary
 *
 * .ff-section
 * .ff-section-compact
 * .ff-section-standard
 * .ff-section-large
 *
 * .ff-container-content
 *
 * .ff-stack-heading-copy
 * .ff-stack-sm
 * .ff-stack-md
 * .ff-stack-lg
 */
 /* =========================================================
   BUTTON STATES
   ========================================================= */
.ff-btn-primary {
    transition:
        background-color 0.25s ease,
        box-shadow 0.25s ease,
        opacity 0.2s ease,
        transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ff-btn-primary:hover,
.ff-btn-primary:focus-visible {
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-warm-white);
    box-shadow: 0 8px 18px -8px rgba(37, 37, 35, 0.45);
    transform: translateY(-1px);
}
.ff-btn-primary:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
}
.ff-btn-primary:active {
    box-shadow: 0 3px 8px -4px rgba(37, 37, 35, 0.4);
    transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
    .ff-btn-primary,
    .ff-btn-primary:hover,
    .ff-btn-primary:focus-visible,
    .ff-btn-primary:active {
        transform: none;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
}
/* =========================================================
   CONTENT LINKS
   ========================================================= */
/*
 * Plain text links in page content (no class): brand colour, no browser blue/purple, restrained animated underline.
 * Zero-specificity selectors so every classed component (buttons, cards, Oxygen elements) keeps its own styling;
 * the header (navigation, mini cart) and the approved footer are excluded.
 */
:where(body) a:where(:not([class])):not(:where(.ff-site-header *, .ff-site-footer *)),
:where(body) a:where(:not([class])):not(:where(.ff-site-header *, .ff-site-footer *)):visited {
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    transition: background-size 0.3s ease, color 0.2s ease;
}
:where(body) a:where(:not([class])):not(:where(.ff-site-header *, .ff-site-footer *)):hover {
    color: var(--ff-colour-button-dark);
    background-size: 100% 2px;
}
:where(body) a:where(:not([class])):not(:where(.ff-site-header *, .ff-site-footer *)):focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
    border-radius: 1px;
}
.ff-btn-primary[aria-disabled="true"],
.ff-btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}
/* =========================================================
   MINI CART (ESSENTIAL ELEMENTS) BASE
   ========================================================= */
/*
 * Native base CSS of the Essential Elements Mini Cart, copied verbatim from
 * Oxygen 6.1.3: subplugins/breakdance-woocommerce/css/breakdance-woocommerce.css
 * (only selectors containing "bde-mini-cart"; generated by
 * scripts/oxygen/extract_minicart_css.py).
 *
 * Why it lives here: Oxygen disables its WooCommerce integration in Oxygen
 * mode (plugin/breakdance-oxygen/woo.php), so that stylesheet is never
 * enqueued. Without it the mini-cart panel has no closed state or
 * positioning and renders inside the header flow.
 *
 * Original specificity is kept so the element's generated CSS (e.g. its
 * full-screen mode at <= 767px) still overrides it as designed.
 * The relative url(icons/cart.svg) mask was dropped: the element supplies
 * its own icon mask.
 */
.bde-mini-cart-offcanvas .woocommerce-Price-amount {
    font-weight: var(--bde-woo-typography-font-weight-heavy);
    color: var(--bde-woo-base-headings-color);
    display: inline;
    text-decoration: none;
    line-height: var(--bde-woo-base-heading-line-height);
}
.bde-mini-cart-offcanvas .woocommerce-Price-currencySymbol {
    display: inline;
    line-height: var(--bde-woo-base-heading-line-height);
}
.breakdance .bde-mini-cart-offcanvas-title {
    color: var(--bde-woo-base-headings-color);
    font-weight: var(--bde-woo-typography-font-weight-normal);
    font-size: var(--bde-woo-typography__size-large);
    font-family: var(--bde-woo-typography__size-large-font-family);
    line-height: var(--bde-woo-base-heading-line-height);
    text-align: left;
    margin: 0;
    padding: 0;
}
.bde-mini-cart-offcanvas .button {
    background: var(--bde-button-primary-background-color);
    color: var(--bde-button-primary-text-color);
    border-color: var(--bde-button-primary-border-color);
    border-radius: var(--bde-button-border-radius);
    border-width: var(--bde-button-border-width);
    box-shadow: none;
    font-size: var(--bde-button-font-size);
    font-weight: var(--bde-button-font-weight);
    line-height: var(--bde-button-line-height);
    transition: var(--bde-woo-base-transition);
    transition-duration: var(--bde-transition-duration);
    display: inline-flex;
    text-transform: capitalize;
    border-style: solid;
    padding: var(--bde-button-padding-base);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    align-items: center;
    width: max-content;
    flex-direction: row;
    gap: var(--bde-woo-base-small-gaps);
}
.bde-mini-cart-offcanvas .button:hover {
    background-color: var(--bde-button-primary-background-color-hover);
    color: var(--bde-button-primary-text-color-hover);
    border-color: var(--bde-button-primary-border-color-hover);
}
.bde-mini-cart .variation {
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 5px;
    column-gap: 8px;
    margin-bottom: var(--bde-woo-base-standard-gaps);
    margin-top: var(--bde-woo-base-standard-gaps);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    color: var(--bde-woo-base-text-color);
    font-size: var(--bde-woo-typography__size-small);
    font-family: var(--bde-woo-typography__size-small-font-family);
    line-height: 1;
    word-break: break-all;
}
.bde-mini-cart dl dd {
    font-weight: var(--bde-woo-typography-font-weight-normal);
    color: var(--bde-woo-base-text-color);
    margin: 0;
    padding: 0;
}
.bde-mini-cart dl dd p {
    color: var(--bde-woo-base-headings-color);
    font-weight: var(--bde-woo-typography-font-weight-medium);
    font-size: var(--bde-woo-typography__size-small) !important;
    line-height: 1 !important;
    margin: 0;
}
.bde-mini-cart {
    position: relative;
    --bde-mini-cart-padding-top: 20px;
    --bde-mini-cart-padding-right: 20px;
    --bde-mini-cart-padding-bottom: 20px;
    --bde-mini-cart-padding-left: 20px;
}
.bde-mini-cart-toggle {
    display: flex;
    align-items: center;
    color: #4b5563;
    text-decoration: none !important;
    padding: 13px;
}
.bde-mini-cart-toggle:hover .bde-mini-cart-toggle__counter {
    background-color: var(--bde-woo-base-primary-color-hover);
    color: var(--bde-woo-base-text-on-primary-color);
}
.bde-mini-cart-toggle__subtotal {
    margin-right: var(--bde-woo-base-standard-gaps);
}
.bde-mini-cart-toggle__icon {
    position: relative;
    display: inline-block;
    align-items: center;
    background-color: var(--bde-woo-base-text-color);
    content: "";
    width: 28px;
    height: 28px;
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
    mask-position: 0 2px;
    -webkit-mask-position: 0 2px;
    transition: var(--bde-woo-base-transition);
}
.bde-mini-cart-toggle__counter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: var(--bde-woo-typography__size-standard);
    font-family: var(--bde-woo-typography__size-standard-font-family);
    color: var(--bde-woo-base-text-on-primary-color);
    line-height: 1;
    background-color: var(--bde-woo-base-primary-color);
    border-radius: 100px;
    margin-left: var(--bde-woo-base-standard-gaps);
    padding: 4px 8px 4px 8px;
    font-weight: var(--bde-woo-typography-font-weight-medium);
    transition: var(--bde-woo-base-transition);
    flex-shrink: 0;
}
.bde-mini-cart-offcanvas-body {
    --cart-image-size: 80px;
    position: absolute;
    top: 100%;
    z-index: var(--bde-z-index-minicart);
    display: flex;
    flex-direction: column;
    width: 420px;
    background-color: #fff;
    box-shadow: rgb(255, 255, 255) 0 0 0 0, rgba(0, 0, 0, 0.05) 0 0 0 1px, rgba(0, 0, 0, 0.1) 0 10px 15px -3px, rgba(0, 0, 0, 0.05) 0 4px 6px -2px;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform cubic-bezier(0.4, 0, 0.2, 1), opacity cubic-bezier(0.4, 0, 0.2, 1), visibility cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: var(--bde-transition-duration);
    overflow: hidden;
}
.bde-mini-cart-offcanvas-body > * {
    margin-bottom: 0;
}
.bde-mini-cart-offcanvas-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--bde-mini-cart-padding-top);
    padding-bottom: var(--bde-mini-cart-padding-top);
    padding-left: var(--bde-mini-cart-padding-left);
    padding-right: var(--bde-mini-cart-padding-right);
}
.bde-mini-cart-offcanvas-overlay {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: var(--bde-z-index-minicart-backdrop);
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    opacity: 0;
    pointer-events: none;
    transition: var(--bde-woo-base-transition);
}
.bde-mini-cart-offcanvas--active .bde-mini-cart-offcanvas-body,
.bde-mini-cart-offcanvas--active .bde-mini-cart-offcanvas-overlay {
    --cart-scale: 1 !important;
    --cart-translate-3d: 0, 0, 0 !important;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}
.bde-mini-cart-offcanvas__close-button {
    position: relative;
    font-size: var(--bde-woo-typography__size-large);
    font-family: var(--bde-woo-typography__size-large-font-family);
    line-height: 0.5;
    color: var(--bde-woo-widgets__remove-item-from-cart-color);
    opacity: 0.5;
    border: none;
    background-color: transparent;
    transition: var(--bde-woo-base-transition);
    cursor: pointer;
    padding: 0 10px;
    height: 100%;
    margin-right: -10px;
}
.bde-mini-cart-offcanvas__close-button:hover {
    opacity: 1;
}
.bde-mini-cart-offcanvas .widget_shopping_cart_content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: hidden;
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart {
    padding: 0;
    margin: 0;
    list-style-type: none;
    overflow-y: auto;
    height: 100%;
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart .remove {
    grid-column: 3;
    grid-row: 1;
    transition: var(--bde-woo-base-defult-transition);
    color: var(--bde-woo-widgets__remove-item-from-cart-color);
    opacity: 0.5;
    text-decoration: none;
    font-weight: var(--bde-woo-typography-font-weight-normal);
    line-height: 0.5;
    text-align: right;
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart .remove:hover {
    opacity: 1;
    text-decoration: none;
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart__total {
    position: relative;
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    margin: 0;
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart__total strong {
    font-weight: var(--bde-woo-typography-font-weight-normal);
    font-size: var(--bde-woo-typography__size-standard);
    font-family: var(--bde-woo-typography__size-standard-font-family);
    color: var(--bde-woo-base-text-color);
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons {
    display: flex;
    justify-content: space-between;
    gap: var(--bde-woo-base-standard-gaps);
    margin: 0;
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button {
    flex: 1;
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart-item {
    position: relative;
    display: grid;
    grid-template-columns: var(--cart-image-size) 1fr 20px;
    grid-template-rows: 1fr auto;
    column-gap: var(--bde-woo-base-big-gaps);
    row-gap: var(--bde-woo-base-medium-gaps);
    align-items: flex-start;
    padding-top: var(--bde-woo-base-medium-gaps);
    padding-bottom: var(--bde-woo-base-medium-gaps);
    padding-left: var(--bde-mini-cart-padding-left);
    padding-right: var(--bde-mini-cart-padding-right);
    clear: both;
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart-item a.remove {
    transition: var(--bde-woo-base-transition);
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart-item + .woocommerce-mini-cart-item {
    border-top: 1px solid var(--grey-200);
}
.bde-mini-cart-offcanvas .bde-mini-cart-item-title {
    color: var(--bde-woo-buttons-and-links__text-link-color);
    transition: var(--bde-woo-base-transition);
    font-size: var(--bde-woo-typography__size-standard);
    font-family: var(--bde-woo-typography__size-standard-font-family);
    text-decoration: none;
    font-weight: var(--bde-woo-typography-font-weight-medium);
}
.bde-mini-cart-offcanvas .bde-mini-cart-item-title:hover {
    color: var(--bde-woo-buttons-and-links__text-link-color-hover);
    text-decoration: none !important;
}
.bde-mini-cart-offcanvas .bde-mini-cart-item-thumbnail {
    grid-area: span 2;
}
.bde-mini-cart-offcanvas .bde-mini-cart-item-thumbnail img {
    display: block;
    width: var(--cart-image-size);
    height: var(--cart-image-size);
    object-fit: cover;
    transition: var(--bde-woo-base-transition);
    border-color: var(--bde-woo-product-images__border-color);
    border-style: solid;
    border-width: var(--bde-woo-product-images__border-width);
    border-radius: var(--bde-woo-product-images__border-radius);
}
.bde-mini-cart-offcanvas .woocommerce-mini-cart__empty-message {
    text-align: center;
    border-top: solid 1px var(--grey-200);
    margin: 0;
    padding: 35px 0;
}
.bde-mini-cart-offcanvas .blockOverlay {
    opacity: 0.3 !important;
}
.bde-mini-cart-quantity,
.bde-mini-cart-quantity-simple {
    grid-column: span 2;
}
.bde-mini-cart-quantity {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    font-size: var(--bde-woo-typography__size-standard);
    font-family: var(--bde-woo-typography__size-standard-font-family);
    color: var(--bde-woo-base-text-color);
}
.bde-mini-cart-quantity .quantity input {
    padding-top: 8px;
    padding-bottom: 8px;
}
.bde-mini-cart-quantity-simple {
    display: none;
}
.bde-mini-cart-quantity-simple .quantity {
    align-self: flex-end;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    max-width: none;
    font-size: var(--bde-woo-typography__size-standard);
    font-family: var(--bde-woo-typography__size-standard-font-family);
    color: var(--bde-woo-base-text-color);
    transform: translateY(-5px);
    gap: 5px;
}
.bde-mini-cart-continue-link {
    display: block;
    font-size: var(--bde-woo-typography__size-standard);
    font-family: var(--bde-woo-typography__size-standard-font-family);
    text-align: center;
    color: var(--bde-button-primary-background-color);
    text-decoration: none;
    font-weight: var(--bde-woo-typography-font-weight-medium);
    padding-bottom: var(--bde-mini-cart-padding-bottom);
}
.bde-mini-cart-continue-link:after {
    content: "";
    display: inline-block;
    width: 1em;
    height: 1em;
    background-color: currentColor;
    vertical-align: middle;
    mask: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww\.w3.org%2F2000%2Fsvg%22%20id%3D%22icon-arrow-right2%22%20viewBox%3D%220%200%2032%2032%22%3E%0A%3Cpath%20d%3D%22M19.414%2027.414l10-10c0.781-0.781%200.781-2.047%200-2.828l-10-10c-0.781-0.781-2.047-0.781-2.828%200s-0.781%202.047%200%202.828l6.586%206.586h-19.172c-1.105%200-2%200.895-2%202s0.895%202%202%202h19.172l-6.586%206.586c-0.39%200.39-0.586%200.902-0.586%201.414s0.195%201.024%200.586%201.414c0.781%200.781%202.047%200.781%202.828%200z%22%2F%3E%0A%3C%2Fsvg%3E);
    -webkit-mask: url(data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww\.w3.org%2F2000%2Fsvg%22%20id%3D%22icon-arrow-right2%22%20viewBox%3D%220%200%2032%2032%22%3E%0A%3Cpath%20d%3D%22M19.414%2027.414l10-10c0.781-0.781%200.781-2.047%200-2.828l-10-10c-0.781-0.781-2.047-0.781-2.828%200s-0.781%202.047%200%202.828l6.586%206.586h-19.172c-1.105%200-2%200.895-2%202s0.895%202%202%202h19.172l-6.586%206.586c-0.39%200.39-0.586%200.902-0.586%201.414s0.195%201.024%200.586%201.414c0.781%200.781%202.047%200.781%202.828%200z%22%2F%3E%0A%3C%2Fsvg%3E);
    mask-size: contain;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    -webkit-mask-repeat: no-repeat;
}
.bde-mini-cart-offcanvas--primary-cart .wc-forward.checkout,
.bde-mini-cart-offcanvas--primary-checkout .wc-forward:not(.checkout) {
    display: none !important;
}
.bde-mini-cart-offcanvas .woocommerce-Price-amount bdi,
.bde-mini-cart-toggle__subtotal .woocommerce-Price-amount bdi {
    font-weight: var(--bde-woo-typography-font-weight-heavy);
    color: var(--bde-woo-base-headings-color);
    display: inline;
    text-decoration: none;
    line-height: var(--bde-woo-base-heading-line-height);
    font-size: var(--bde-woo-typography__size-standard);
    font-family: var(--bde-woo-typography__size-standard-font-family);
}
.bde-mini-cart-offcanvas-footer {
    padding-top: var(--bde-mini-cart-padding-bottom);
    padding-bottom: var(--bde-mini-cart-padding-bottom);
    padding-left: var(--bde-mini-cart-padding-left);
    padding-right: var(--bde-mini-cart-padding-right);
}
.bde-mini-cart-offcanvas--dropdown .bde-mini-cart-offcanvas-body {
    --cart-scale: 0.95;
    --cart-translate-x: 0px;
    --cart-image-size: 60px;
    transform: scale(var(--cart-scale)) translateX(var(--cart-translate-x));
    border-radius: 8px;
}
.bde-mini-cart-offcanvas--dropdown.bde-mini-cart-offcanvas--right .bde-mini-cart-offcanvas-body {
    transform-origin: top left;
    left: 0;
}
.bde-mini-cart-offcanvas--dropdown.bde-mini-cart-offcanvas--left .bde-mini-cart-offcanvas-body {
    transform-origin: top right;
    right: 0;
}
.bde-mini-cart-offcanvas--dropdown.bde-mini-cart-offcanvas--center .bde-mini-cart-offcanvas-body {
    --cart-translate-x: -50%;
    transform-origin: top center;
    left: 50%;
}
.bde-mini-cart-offcanvas--dropdown .woocommerce-mini-cart {
    max-height: 250px;
}
.bde-mini-cart-offcanvas--dropdown .woocommerce-mini-cart__buttons .button {
    padding: 10px;
}
/* =========================================================
   SITE HEADER
   ========================================================= */
/*
 * Global header (Oxygen import: oxygen-imports/global/forest-fairies-header-v1.json).
 *
 * XD (1280 artboard):
 * announcement bar  #303030, 50px, Jost Regular 15px #FAF9F7, centred
 * main bar          white, full width, logo 149px with up to 48px inset
 * navigation        Jost Medium 16px #303030, centred
 * utility icons     ~20px line icons, WhatsApp in a 26px dark circle
 *
 * The header is full-width and is not constrained by --ff-content-width.
 * Its inner content uses a shared responsive inset capped at 48px on desktop.
 *
 * Structure:
 * .ff-site-header > .ff-announcement-bar > .ff-announcement-text
 *                 > .ff-header-main > .ff-header-inner
 *                     > .ff-header-logo > .ff-header-logo-image
 *                     > .ff-main-nav > .ff-main-nav-menu (Essential Elements Menu Builder)
 *                     > .ff-header-actions > .ff-header-action (+ modifier per action)
 *
 * The Menu Builder switches to the burger / off-canvas menu at
 * Oxygen's Tablet Landscape breakpoint (max-width: 1119px).
 */
.ff-site-header {
    --ff-header-height: 92px;
    --ff-header-action-size: 40px;
    --ff-header-icon-size: 20px;
    /*
     * Sticky: the whole header sticks at "admin bar - announcement height", so the dismissible announcement scrolls
     * away and the main bar stays pinned. --ff-announcement-h is measured by the site script (46px fallback) and is 0
     * once the bar is dismissed, so there is never an empty gap. Sticky keeps its place in the flow (no layout jump)
     * and creates no containing block for the fixed mini cart / search overlay / off-canvas menu inside it.
     */
    position: sticky;
    top: calc(var(--ff-sticky-admin-offset, 0px) - var(--ff-announcement-h, 46px));
    z-index: var(--bde-z-index-header-sticky, 200);
    width: var(--ff-header-width);
    max-width: none;
    background-color: var(--ff-colour-white);
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
}
.ff-site-header *,
.ff-site-header *::before,
.ff-site-header *::after {
    box-sizing: border-box;
}
/* Announcement bar */
.ff-announcement-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    /* the header is already full-width (--ff-header-width: 100%), so 100% is edge to edge; 100vw would include the
       vertical scrollbar and overflow the page by its width */
    width: 100%;
    max-width: none;
    min-height: 46px;
    margin-inline: 0;
    padding: var(--ff-space-1) var(--ff-header-inset);
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-warm-white);
}
.ff-announcement-bar[hidden],
.ff-announcement-dismissed .ff-announcement-bar {
    display: none;
}
.ff-announcement-bar--dismissible {
    position: relative;
    padding-inline: calc(var(--ff-header-inset) + 36px);
}
.ff-announcement-close {
    position: absolute;
    top: 50%;
    right: max(4px, calc(var(--ff-header-inset) - 10px));
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: -18px 0 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--ff-colour-warm-white);
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}
.ff-announcement-close:hover {
    opacity: 1;
    background-color: rgba(250, 249, 247, 0.12);
}
.ff-announcement-close:focus-visible {
    opacity: 1;
    outline: 2px solid var(--ff-colour-warm-white);
    outline-offset: 0;
}
.ff-announcement-text {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 0.9375rem; /* XD: 15px */
    font-weight: var(--ff-weight-regular);
    line-height: 1.4;
    letter-spacing: var(--ff-letter-spacing-base);
    text-align: center;
    text-wrap: balance;
    color: inherit;
}
/* Main bar */
.ff-header-main {
    width: var(--ff-header-width);
    max-width: none;
    background-color: var(--ff-colour-white);
    transition: box-shadow 0.3s ease;
}
/* logged-in: stick below the WordPress admin bar (which is not fixed at 600px and below) */
.admin-bar .ff-site-header {
    --ff-sticky-admin-offset: var(--wp-admin--admin-bar--height, 0px);
}
@media (max-width: 600px) {
    .admin-bar .ff-site-header {
        --ff-sticky-admin-offset: 0px;
    }
}
.ff-announcement-dismissed .ff-site-header {
    --ff-announcement-h: 0px;
}
/* stuck state: a single hairline, no heavy shadow */
.ff-site-header.ff-header-stuck .ff-header-main {
    box-shadow: 0 1px 0 rgba(48, 48, 48, 0.08);
}
.ff-header-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: var(--ff-space-3);
    width: 100%;
    max-width: none;
    min-height: var(--ff-header-height);
    margin-inline: auto;
    padding-inline: var(--ff-header-inset);
}
/* Logo */
.ff-header-logo {
    display: block;
    flex: 0 0 auto;
    width: 150px;
    line-height: 0;
    text-decoration: none;
}
.ff-header-logo-image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1200 / 436; /* reserves space before the image loads */
}
/* Main navigation (Essential Elements Menu Builder) */
.ff-main-nav {
    display: flex;
    flex: 1 1 auto;
    justify-content: center;
    min-width: 0;
}
.ff-site-header .ff-main-nav-menu .breakdance-menu {
    --menu-base-font-size: var(--ff-font-size-base);
    --links-gap: 24px;
    --link-padding-top: 12px;
    --link-padding-bottom: 12px;
    --link-padding-left: 0px;
    --link-padding-right: 0px;
    --link-color: var(--ff-colour-dark);
    --link-color-hover: var(--ff-colour-button-dark);
    --link-color-active: var(--ff-colour-dark);
    --link-arrow-color: var(--ff-colour-button-dark);
    --link-arrow-color-hover: var(--ff-colour-button-dark);
    --link-arrow-size: 9px;
    --link-arrow-gap: 5px;
    --link-border-color: var(--ff-colour-warm-grey);
    --dropdown-background-color: var(--ff-colour-white);
    --dropdown-link-color: var(--ff-colour-dark);
    --dropdown-border-radius: var(--ff-radius-sm);
    --dropdown-section-padding: var(--ff-space-3);
    --dropdown-links-gap: var(--ff-space-1);
    --dropdown-custom-offset-y: 8px;
    --menu-background: var(--ff-colour-white);
    --mobile-offcanvas-width: min(360px, 88vw);
    --toggle-layer-color: var(--ff-colour-dark);
    --toggle-layer-width: 24px;
    --toggle-layer-height: 2px;
    --toggle-layer-spacing: 6px;
    --toggle-padding: 10px;
    --mobile-topbar-close-button-color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
}
.ff-site-header .ff-main-nav-menu .breakdance-menu-link {
    font-family: var(--ff-font-primary);
    font-weight: var(--ff-weight-medium);
    letter-spacing: var(--ff-letter-spacing-base);
    text-underline-offset: 6px;
    text-decoration-thickness: 1px;
}
.ff-site-header .ff-main-nav-menu .breakdance-menu-link:hover {
    color: var(--link-color-hover);
    text-decoration: underline;
}
.ff-site-header .ff-main-nav-menu .breakdance-menu-item--active > .breakdance-menu-link {
    text-decoration: underline;
}
.ff-site-header .ff-main-nav-menu .breakdance-dropdown-link {
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-base);
    font-weight: var(--ff-weight-regular);
    color: var(--ff-colour-dark);
    text-decoration: none;
}
.ff-site-header .ff-main-nav-menu .breakdance-dropdown-link:hover {
    text-decoration: underline;
    text-underline-offset: 4px;
}
/* Utility actions */
.ff-header-actions {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 2px;
}
.ff-site-header .ff-header-actions .ff-header-action {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Icon element (account, wishlist, WhatsApp) */
.ff-site-header .ff-header-actions .ff-header-action .bde-icon-icon.breakdance-icon-atom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ff-header-action-size);
    height: var(--ff-header-action-size);
    font-size: var(--ff-header-icon-size);
    color: var(--ff-colour-dark);
    text-decoration: none;
}
.ff-site-header .ff-header-actions .ff-header-action .bde-icon-icon.breakdance-icon-atom svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}
/* Search (Essential Elements Search Form, full-screen) */
.ff-site-header .ff-header-actions .ff-header-action--search {
    --searchFormSize: var(--ff-header-action-size);
}
.ff-site-header .ff-header-actions .ff-header-action--search .search-form__button--full-screen {
    width: var(--ff-header-action-size);
    height: var(--ff-header-action-size);
    padding: 0;
    font-size: var(--ff-header-icon-size);
    color: var(--ff-colour-dark);
    background-color: transparent;
}
.ff-site-header .ff-header-actions .ff-header-action--search .search-form__field {
    font-family: var(--ff-font-primary);
}
/* Cart (Essential Elements Mini Cart: live count via WooCommerce cart fragments) */
.ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--ff-header-action-size);
    height: var(--ff-header-action-size);
    padding: 0;
    gap: 0;
    color: var(--ff-colour-dark);
    text-decoration: none;
}
.ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle__icon {
    flex: 0 0 var(--ff-header-icon-size);
    width: var(--ff-header-icon-size);
    height: var(--ff-header-icon-size);
    background-color: var(--ff-colour-dark);
    /* the bag icon is a CSS mask: scale it to the icon box like the other icons */
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
}
.ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle__counter[data-count="0"] {
    display: none;
}
.ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle__counter {
    position: absolute;
    top: 3px;
    right: 1px;
    box-shadow: 0 0 0 2px var(--ff-colour-white);
    min-width: 17px;
    height: 17px;
    margin: 0;
    padding: 0 4px;
    border-radius: 999px;
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-white);
    font-family: var(--ff-font-primary);
    font-size: 11px;
    font-weight: var(--ff-weight-semibold);
    line-height: 17px;
    text-align: center;
}
/*
 * Mini-cart drawer: the Mini Cart uses its native Sidebar mode (right), set on the element
 * (design.cart.style = sidebar). The element's generated CSS makes the panel fixed, full
 * height and right-anchored, sliding translate3d(100%) -> 0 over --bde-transition-duration
 * (300ms), with its overlay and page scroll lock. Only reduced motion is added here.
 */
@media (prefers-reduced-motion: reduce) {
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas-body,
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas-overlay {
        transition: none;
    }
}
/* WhatsApp: 26px dark circle (XD) inside a full-size tap target */
.ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom {
    font-size: 15px;
    color: var(--ff-colour-warm-white);
    background:
        radial-gradient(
            circle closest-side,
            var(--ff-colour-dark) 12.5px,
            transparent 13.5px
        );
}
/* Focus */
.ff-site-header a:focus-visible,
.ff-site-header button:focus-visible,
.ff-site-header [role="button"]:focus-visible,
.ff-site-header input:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
    border-radius: var(--ff-radius-sm);
}
.ff-announcement-bar a:focus-visible {
    outline-color: var(--ff-colour-warm-white);
}
/* Small desktop (1025-1279px): keep the full menu on one line beside logo and icons */
@media (min-width: 1025px) and (max-width: 1279px) {
    .ff-site-header {
        --ff-header-action-size: 36px;
    }
    .ff-header-inner {
        gap: var(--ff-space-2);
    }
    .ff-header-logo {
        width: 140px;
    }
    .ff-site-header .ff-main-nav-menu .breakdance-menu {
        --menu-base-font-size: 0.9375rem; /* 15px */
        --links-gap: 16px;
        --link-padding-left: 0px;
        --link-padding-right: 0px;
    }
}
/* Burger menu: 1024px and below (custom Oxygen breakpoint "Header nav drawer", redesign 2026-11; was 1119px) */
@media (max-width: 1024px) {
    .ff-site-header {
        --ff-header-height: 72px;
        --ff-header-action-size: 44px;
    }
    .ff-header-inner {
        gap: var(--ff-space-1);
    }
    .ff-header-logo {
        width: 130px;
    }
    /* logo | actions | burger */
    .ff-header-actions {
        order: 2;
        margin-left: auto;
    }
    .ff-main-nav {
        order: 3;
        flex: 0 0 auto;
    }
    .ff-site-header .ff-main-nav-menu .breakdance-menu {
        --links-gap: 0px; /* burger list: keep items flush (desktop gap is 12px) */
        --link-padding-top: 14px;
        --link-padding-bottom: 14px;
        --link-padding-left: var(--ff-space-3);
        --link-padding-right: var(--ff-space-3);
    }
}
/* Phone landscape and below */
@media (max-width: 767px) {
    .ff-site-header {
        --ff-header-height: 64px;
    }
    .ff-announcement-text {
        font-size: 0.8125rem; /* 13px */
    }
    .ff-header-logo {
        width: 112px;
    }
}
/* Phone portrait */
@media (max-width: 479px) {
    .ff-site-header {
        --ff-header-action-size: 40px;
        --ff-header-icon-size: 19px;
    }
    .ff-header-inner {
        gap: 4px;
    }
    .ff-header-logo {
        width: 100px;
    }
    .ff-header-actions {
        gap: 0;
    }
}

/* =========================================================
   SITE FOOTER
   ========================================================= */
/*
 * Global footer (Oxygen import: oxygen-imports/global/forest-fairies-footer-v1.json).
 * Builds on FOOTER TYPOGRAPHY (.ff-footer-heading / .ff-footer-text) and
 * FOOTER LAYOUT (.ff-site-footer / .ff-footer-inner: full width, --ff-footer-inset).
 *
 * XD (1280 artboard, ~360px high):
 * background #303030, text #FAF9F7
 * headings Jost Bold 16px, links Jost Regular 15px / 20px
 * 3 columns: Get in Touch + Follow Us | Shop + Newsletter | Useful Links
 * bottom row: copyright (14px) | Secure payments panel (#F2F0ED)
 *
 * The footer is not constrained by --ff-content-width (1140px).
 */
.ff-site-footer {
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-warm-white);
    font-family: var(--ff-font-primary);
}
.ff-site-footer .ff-footer-inner {
    padding-top: var(--ff-space-5);
    padding-bottom: 20px;
}
/* Columns */
.ff-footer-main {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 0.75fr);
    column-gap: var(--ff-space-6);
    row-gap: var(--ff-space-5);
    align-items: start;
}
.ff-footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-width: 0;
}
.ff-site-footer .ff-footer-heading {
    margin: 0 0 10px;
    text-transform: uppercase;
}
/* Link lists */
.ff-site-footer .ff-footer-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-site-footer .ff-footer-list > li {
    margin: 0;
    padding: 0;
}
.ff-site-footer .ff-footer-contact .ff-footer-list {
    gap: 6px;
}
.ff-site-footer a.ff-footer-link {
    display: inline-block;
    color: var(--ff-colour-warm-white);
    text-decoration: none;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    overflow-wrap: anywhere;
}
.ff-site-footer a.ff-footer-link:hover {
    color: var(--ff-colour-warm-white);
    text-decoration: underline;
}
/* Follow us */
.ff-site-footer .ff-footer-contact .ff-footer-heading + .ff-footer-list + .ff-footer-heading {
    margin-top: 26px;
}
.ff-footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}
.ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid var(--ff-colour-warm-white);
    border-radius: 50%;
    font-size: 15px;
    color: var(--ff-colour-white);
    text-decoration: none;
    transition: background-color 0.2s ease;
}
.ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}
.ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom:hover {
    background-color: rgba(250, 249, 247, 0.14);
}
/* Shop: two link columns */
.ff-footer-shop-links {
    display: grid;
    grid-template-columns: repeat(2, max-content);
    column-gap: var(--ff-space-6);
    row-gap: 0;
}
/* Newsletter (WPForms "Forest Fairies Footer Newsletter") */
.ff-footer-newsletter {
    width: 100%;
    max-width: 304px;
    margin-top: 26px;
}
.ff-site-footer .ff-footer-newsletter-label {
    margin: 0 0 6px;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container {
    --wpforms-field-border-radius: 0;
    --wpforms-field-background-color: var(--ff-colour-warm-white);
    --wpforms-field-border-color: #707070;
    --wpforms-field-text-color: var(--ff-colour-dark);
    --wpforms-field-size-input-height: 40px;
    --wpforms-field-size-font-size: 15px;
    --wpforms-field-size-padding-h: 14px;
    margin: 0;
    padding: 0;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form {
    position: relative;
    margin: 0;
    padding: 0;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-field-container,
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-field {
    margin: 0;
    padding: 0;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form input[type="email"] {
    width: 100%;
    max-width: none;
    height: 40px;
    margin: 0;
    padding: 0 48px 0 14px;
    border: 1px solid #707070;
    border-radius: 0;
    background-color: var(--ff-colour-warm-white);
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 15px;
    line-height: 19px;
    box-shadow: none;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form input[type="email"]::placeholder {
    color: var(--ff-colour-dark);
    opacity: 1;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form input[type="email"]:focus {
    outline: 2px solid var(--ff-colour-warm-white);
    outline-offset: 2px;
    border-color: var(--ff-colour-dark);
    box-shadow: none;
}
/* arrow submit inside the right edge of the field; text kept for its accessible name */
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-submit-container {
    position: absolute;
    top: 0;
    right: 0;
    margin: 0;
    padding: 0;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit {
    position: relative;
    width: 40px;
    height: 40px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: transparent;
    font-size: 0;
    line-height: 0;
    overflow: hidden;
    cursor: pointer;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 16px;
    height: 16px;
    background-color: #202020;
    -webkit-mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/%3E%3C/svg%3E') center / contain no-repeat;
    mask: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"%3E%3Cpath d="M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"/%3E%3C/svg%3E') center / contain no-repeat;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit:hover::before {
    background-color: var(--ff-colour-dark);
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -4px;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-submit-spinner {
    position: absolute;
    top: 7px;
    right: 44px;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-error,
.ff-site-footer .ff-footer-newsletter .wpforms-container em.wpforms-error {
    margin-top: 6px;
    color: #ffb3ae;
    font-family: var(--ff-font-primary);
    font-size: 14px;
    font-style: normal;
}
.ff-site-footer .ff-footer-newsletter .wpforms-confirmation-container-full {
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--ff-colour-warm-white);
    font-family: var(--ff-font-primary);
    font-size: 15px;
}
.ff-site-footer .ff-footer-newsletter .wpforms-confirmation-container-full p {
    margin: 0;
    color: inherit;
}
/* Bottom row */
.ff-footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--ff-space-2) var(--ff-space-4);
    margin-top: var(--ff-space-4);
}
.ff-site-footer .ff-footer-copyright {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-small);
    font-weight: var(--ff-weight-regular);
    line-height: 1.4;
    color: var(--ff-colour-warm-grey);
}
.ff-footer-payments {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 16px;
    max-width: 100%;
    min-height: 51px;
    padding: 8px 20px;
    background-color: var(--ff-colour-warm-grey);
    color: var(--ff-colour-dark);
}
.ff-site-footer .ff-footer-payments-label {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-small);
    line-height: 1.4;
    color: var(--ff-colour-dark);
}
.ff-site-footer .ff-footer-payment-marks {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-site-footer .ff-footer-payment-mark {
    display: flex;
    margin: 0;
    padding: 0;
}
.ff-site-footer .ff-footer-payment-mark img {
    display: block;
    width: auto;
    height: 24px;
    max-width: none;
}
.ff-site-footer .ff-footer-payment-mark img[src*="mastercard"] {
    height: 20px;
}
/* Focus */
.ff-site-footer a:focus-visible,
.ff-site-footer button:focus-visible {
    outline: 2px solid var(--ff-colour-warm-white);
    outline-offset: 2px;
    border-radius: var(--ff-radius-sm);
}
/* Tablet landscape: keep three columns, tighter gap */
@media (max-width: 1119px) {
    .ff-footer-main {
        column-gap: var(--ff-space-5);
    }
}
/* Tablet portrait (Oxygen tablet portrait and below): two columns, Useful Links below */
@media (max-width: 1023px) {
    .ff-footer-main {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    }
}
/* Phone: stack in reading order, payments above copyright */
@media (max-width: 767px) {
    .ff-site-footer .ff-footer-inner {
        padding-top: var(--ff-space-4);
    }
    .ff-footer-main {
        grid-template-columns: minmax(0, 1fr);
        row-gap: var(--ff-space-4);
    }
    .ff-footer-newsletter {
        max-width: none;
    }
    .ff-footer-shop-links {
        column-gap: var(--ff-space-4);
    }
    .ff-footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    .ff-footer-payments {
        order: -1;
        width: 100%;
    }
}

/* =========================================================
   SITE — HOMEPAGE
   ========================================================= */
/*
 * Homepage (Oxygen import: oxygen-imports/pages/forest-fairies-homepage-v1.json).
 * Everything is scoped to the page root .ff-home so the shared selectors keep their global
 * behaviour elsewhere (.ff-container-content / .ff-home-hero carry Oxygen selector margins).
 *
 * Rhythm (approved): heading -> paragraph 12px · paragraph -> paragraph 16px · paragraph -> CTA 20px
 * section description -> major content 32px · major content -> section CTA 32px
 * product image -> title 16px · title -> price 8px
 * Section top spacing: 80px desktop · 64px tablet (<=1119px) · 56px mobile (<=767px)
 * The space above a coloured band is the band's own top margin (white shows through), so a section that is
 * conditionally absent (Seasonal while its category is empty) never leaves a double or missing gap.
 */
.ff-home {
    --ff-home-section-space: var(--ff-section-space);
    --ff-home-card-gap: var(--ff-space-3);
    --ff-home-arrow-size: 37px;
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
}
.ff-home ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-home li {
    margin: 0;
}
/* Sections: top spacing always; coloured bands add the same space above (margin) and inside (padding); last section closes */
.ff-home .ff-home-section {
    width: 100%;
    padding-top: var(--ff-home-section-space);
    background-color: var(--ff-colour-white);
}
.ff-home .ff-home-categories,
.ff-home .ff-home-story {
    margin-top: var(--ff-home-section-space);
    padding-bottom: var(--ff-home-section-space);
}
.ff-home .ff-home-testimonials {
    padding-bottom: var(--ff-home-section-space);
}
.ff-home .ff-home-section-inner,
.ff-home .ff-home-story-inner {
    margin-bottom: 0;
}
.ff-home .ff-home-section-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ff-space-4);
    text-align: center;
}
.ff-home .ff-section-header {
    display: flex;
    flex-direction: column;

    gap: 12px;
    width: 100%;
    max-width: 950px;
}
.ff-home .ff-section-title {
    margin: 0;
}
.ff-home .ff-section-intro {
    margin: 0;
}
.ff-home .ff-section-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 8px;   /* cards / carousel -> CTA: section gap + 8px (consolidated review) */
}
/* 01 Hero (approved artwork + layout from the ff-home-hero selectors; sizes per the homepage brief) */
.ff-home .ff-home-hero {
    min-height: 500px;
    margin-bottom: 0;
}
.ff-home .ff-home-hero > .ff-container-content {
    margin-bottom: 0;
}
.ff-home .ff-home-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}
.ff-home .ff-home-hero-badge {
    width: 75px;
    max-width: 75px;
    height: auto;
    margin: 0 0 20px;
}
.ff-home .ff-home-hero-title {
    margin: 0 0 12px;
}
.ff-home .ff-home-hero-copy {
    margin: 0 0 var(--ff-gap-copy-cta);
}
/* 02 More than just sweets (shared .ff-section-header + .ff-stack-sm for the two paragraphs) */
.ff-home .ff-home-intro .ff-section-header {
    max-width: 900px;
}
/* 03 / 05 Product carousels (native Oxygen Post Loop slider + FF Product Card v2) */
.ff-home .ff-product-carousel,
.ff-related-products .ff-product-carousel {
    position: relative;
    width: 100%;
}
.ff-home .ff-product-carousel .breakdance-swiper-wrapper,
.ff-related-products .ff-product-carousel .breakdance-swiper-wrapper {
    container-type: inline-size;
    padding: 0;
}
.ff-home .ff-product-carousel .swiper-slide,
.ff-related-products .ff-product-carousel .swiper-slide {
    height: auto;
}
.ff-home .ff-product-carousel .swiper-button-prev,
.ff-related-products .ff-product-carousel .swiper-button-prev,
.ff-home .ff-product-carousel .swiper-button-next,
.ff-related-products .ff-product-carousel .swiper-button-next {
    display: flex;
    width: var(--ff-home-arrow-size);
    height: var(--ff-home-arrow-size);
    /* centred on the square product image: (column width - gaps) / cards visible / 2 */
    top: calc((100cqw - 3 * 24px) / 4 / 2);
    margin-top: calc(var(--ff-home-arrow-size) / -2);
    border-radius: 50%;
    transition: opacity 0.2s ease;
}
.ff-home .ff-product-carousel .swiper-button-prev > svg,
.ff-related-products .ff-product-carousel .swiper-button-prev > svg,
.ff-home .ff-product-carousel .swiper-button-next > svg,
.ff-related-products .ff-product-carousel .swiper-button-next > svg {
    width: 46px;
    height: 46px;
    flex: 0 0 auto;
    stroke-width: revert;
    stroke: revert;
}
.ff-home .ff-product-carousel .swiper-button-prev,
.ff-related-products .ff-product-carousel .swiper-button-prev {
    left: calc(-1 * (var(--ff-home-arrow-size) + 15px));
}
.ff-home .ff-product-carousel .swiper-button-next,
.ff-related-products .ff-product-carousel .swiper-button-next {
    right: calc(-1 * (var(--ff-home-arrow-size) + 15px));
}
.ff-home .ff-product-carousel .swiper-button-prev:focus-visible,
.ff-related-products .ff-product-carousel .swiper-button-prev:focus-visible,
.ff-home .ff-product-carousel .swiper-button-next:focus-visible,
.ff-related-products .ff-product-carousel .swiper-button-next:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-home .ff-product-carousel .swiper-button-disabled,
.ff-related-products .ff-product-carousel .swiper-button-disabled {
    opacity: 0.35;
}
/* Product card (component "FF Product Card v2") */
.ff-product-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
    /* product titles and any Oxygen link default inside the card resolve to the brand dark (never browser blue) */
    --bde-links-color: var(--ff-colour-dark);
    --bde-links-color-hover: var(--ff-colour-dark);
}
.ff-product-card-media {
    position: relative;
    aspect-ratio: 1 / 1;
    margin-bottom: 16px;
    overflow: hidden;
    background-color: var(--ff-colour-white);
}
/* fixed square frame: every image (portrait packs, wide boxes, small cut-outs) is contained, never cropped */
.ff-product-card-image,
.ff-product-card-hover img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
    object-position: center;
    transition: opacity 0.45s ease, transform 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* first gallery image: same frame, cross-faded in on desktop hover (empty when the product has no gallery) */
.ff-product-card-hover {
    position: absolute;
    inset: 0;
    display: block;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.45s ease;
}
@media (hover: hover) and (pointer: fine) {
    /* flat hover: no lift, no shadow - image scale, gallery-image crossfade and the title underline only */
    .ff-product-card:hover .ff-product-card-image,
    .ff-product-card:hover .ff-product-card-hover img {
        transform: scale(1.02);
    }
    .ff-product-card:hover .ff-product-card-hover:has(img) {
        opacity: 1;
    }
    .ff-product-card:hover .ff-product-card-media:has(.ff-product-card-image-alt) .ff-product-card-image {
        opacity: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-product-card-image,
    .ff-product-card-hover,
    .ff-product-card-hover img {
        transition: none;
    }
    .ff-product-card:hover .ff-product-card-image,
    .ff-product-card:hover .ff-product-card-hover img {
        transform: none;
    }
}
/*
 * Product badges (Change 21): On Sale (automatic, WooCommerce) + Product Badges terms, max 2, top-right of the media
 * frame, stacked downwards. Plain text labels. Every badge uses the same neutral XD style for now; each label also
 * carries a ff-product-badge--{term-slug} modifier for future per-badge styling.
 */
.ff-product-badge {
    position: absolute;
    z-index: 2;                /* above the hover image crossfade; the "+" sits bottom-right, well clear */
    top: 12px;
    right: 12px;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    max-width: calc(100% - 24px);
    pointer-events: none;
}
.ff-product-badge__label {
    display: block;
    max-width: 100%;
    padding: 5px 10px;
    border: 1px solid var(--ff-colour-warm-grey);
    border-radius: 2px;
    background-color: var(--ff-colour-white);
    font-family: var(--ff-font-primary);
    font-size: 13px;
    font-weight: var(--ff-weight-regular);
    line-height: 1.2;
    letter-spacing: 0.01em;
    color: var(--ff-colour-dark);
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    .ff-product-badge {
        top: 10px;
        right: 10px;
        gap: 4px;
        max-width: calc(100% - 20px);
    }
    .ff-product-badge__label {
        padding: 4px 8px;
        font-size: 12px;
    }
}
.ff-product-card-action {
    position: absolute;
    z-index: 2;
    right: 8px;
    bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border: 1px solid #E0DCD7;
    border-radius: 50%;
    background-color: var(--ff-colour-white);
    color: transparent;
    font-size: 0;
    line-height: 0;
    text-decoration: none;
    transition: border-color 0.2s ease;
}
.ff-product-card-action::before {
    content: "";
    width: 11px;
    height: 11px;
    background-color: #202020;
    -webkit-mask: url("../images/icons/plus.svg") center / contain no-repeat;
    mask: url("../images/icons/plus.svg") center / contain no-repeat;
}
/* larger touch target without changing the 30px circle */
.ff-product-card-action::after {
    content: "";
    position: absolute;
    inset: -7px;
}
.ff-product-card-action:hover {
    border-color: var(--ff-colour-dark);
}
/* AJAX add to cart states (busy / added / error) */
.ff-product-card-action.is-loading {
    cursor: progress;
    opacity: 0.55;
}
.ff-product-card-action.is-added {
    border-color: var(--ff-colour-dark);
    background-color: var(--ff-colour-dark);
}
.ff-product-card-action.is-added::before {
    width: 6px;
    height: 11px;
    margin-top: -3px;
    border-right: 1.5px solid var(--ff-colour-white);
    border-bottom: 1.5px solid var(--ff-colour-white);
    background: none;
    -webkit-mask: none;
    mask: none;
    transform: rotate(45deg);
}
.ff-product-card-action.is-error {
    border-color: #b3261e;
}
.ff-product-card-action:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
/* the title is the card's single product link, stretched over the whole card (image included) */
.ff-product-card-title::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
}
.ff-product-card-title:focus-visible {
    outline: none;
}
.ff-product-card-title:focus-visible::after {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-product-card-heading {
    display: -webkit-box;
    /* consolidated review: no reserved second line - the price sits directly under the name (6px) on every card */
    margin: 0 0 6px;
    overflow: hidden;
    font: inherit;
    line-height: var(--ff-line-height-body);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.ff-product-card .ff-product-card-title,
.ff-product-card .ff-product-card-title:link,
.ff-product-card .ff-product-card-title:visited,
.ff-product-card .ff-product-card-title:hover,
.ff-product-card .ff-product-card-title:active,
.ff-product-card .ff-product-card-title:focus-visible {
    color: var(--ff-colour-dark);
}
.ff-product-card-title,
.ff-product-card-title:visited {
    display: inline;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular);
    line-height: var(--ff-line-height-body);
    color: var(--ff-colour-dark);
    text-decoration: none;
    /* refined content-link underline (grows on hover/focus) */
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.35s ease;
}
.ff-product-card:hover .ff-product-card-title,
.ff-product-card-title:focus-visible {
    background-size: 100% 1px;
}
.ff-product-card-price {
    min-height: var(--ff-line-height-body);
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular);
    line-height: var(--ff-line-height-body);
    color: var(--ff-colour-dark);
}
.ff-product-card-price del {
    margin-right: 6px;
    opacity: 0.6;
}
.ff-product-card-price ins {
    text-decoration: none;
}
/* 04 Shop by category */
.ff-home .ff-home-categories {
    background-color: var(--ff-colour-warm-grey);
}
.ff-home .ff-category-track {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--ff-home-card-gap);
    width: 100%;
}
.ff-home .ff-category-card {
    display: flex;
    flex-direction: column;
    gap: var(--ff-space-3);
    color: var(--ff-colour-dark);
    text-decoration: none;
}
.ff-home .ff-category-card-media {
    display: block;
    aspect-ratio: 377 / 550;
    overflow: hidden;
    background-color: var(--ff-colour-warm-white);
}
.ff-home .ff-category-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.ff-home .ff-category-card:hover .ff-category-card-image {
    transform: scale(1.03);
}
.ff-home .ff-category-card-title {
    align-self: center;
    padding-bottom: 5px;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-medium);
    line-height: var(--ff-line-height-label);
    letter-spacing: var(--ff-letter-spacing-label);
    text-transform: uppercase;
    /* underline belongs to the linked title; strengthens on hover/focus */
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 50% 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    transition: background-size 0.3s ease;
}
.ff-home .ff-category-card:hover .ff-category-card-title,
.ff-home .ff-category-card:focus-visible .ff-category-card-title {
    background-size: 100% 2px;
}
.ff-home .ff-category-card:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 4px;
}
/* 06 Our happy customers (logos: exact XD vectors, #77756F) */
.ff-home .ff-client-track {
    display: flex;
    justify-content: center;
    gap: var(--ff-space-5);
    width: 100%;
}
.ff-home .ff-client-logo {
    display: flex;
    flex: 0 0 169px;
    align-items: center;
    justify-content: center;
    height: 169px;
    background-color: var(--ff-colour-white);
}
.ff-home .ff-client-logo-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ff-home .ff-client-logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    opacity: 0.85;
    transition: opacity 0.35s ease, filter 0.35s ease;
}
.ff-home .ff-client-logo-link:hover,
.ff-home .ff-client-logo-link:focus-visible {
    transform: translateY(-3px) scale(1.03);
}
.ff-home .ff-client-logo-link:hover img,
.ff-home .ff-client-logo-link:focus-visible img {
    opacity: 1;
    filter: contrast(1.15);
}
.ff-home .ff-client-logo-link:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 4px;
}
.ff-home .ff-client-track:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 4px;
}
/* 07 The Forest Fairies story: FULL-WIDTH band (no .ff-container-content). The artwork column runs to the band's
   left edge (XD: 594 of 1280); the content column carries its own padding (XD content 581 -> 1224 of 1280). */
.ff-home .ff-home-story {
    overflow: hidden;
    background-color: var(--ff-colour-warm-white);
    --ff-home-story-pad: clamp(40px, 4.4vw, 64px);
}
.ff-home .ff-home-story-inner {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    align-items: center;
    gap: 0;
    width: 100%;
    text-align: left;
}
/* image composite, positioned from the XD layers (box 594 x 605) */
.ff-home .ff-home-story-media {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: 720px;
    aspect-ratio: 594 / 605;
}
.ff-home .ff-home-story-media::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: -5.56%;
    top: 4.96%;
    width: 86.2%;
    height: 66.12%;
    border-radius: 50%;
    background-color: var(--ff-colour-white);
    opacity: 0.5;
    filter: blur(34px);
    mix-blend-mode: screen;
    pointer-events: none;
}
.ff-home .ff-home-story-media img {
    position: absolute;
    display: block;
    max-width: none;
    object-fit: cover;
}
.ff-home .ff-home-story-bg {
    z-index: 0;
    left: 0;
    top: 0;
    width: 85.02%;
    height: 71.07%;
    translate: 0 var(--ff-parallax-bg, 0px);
}
.ff-home .ff-home-story-cutout-squares-2 {
    z-index: 2;
    left: -10.27%;
    top: 29.75%;
    width: 46.44%;
    height: 53.3%;
}
.ff-home .ff-home-story-cutout-squares {
    z-index: 3;
    left: 20.03%;
    top: 37.02%;
    width: 46.7%;
    height: 53.92%;
}
.ff-home .ff-home-story-cutout-bar {
    z-index: 4;
    /* moved in from the page edge: the pack's right edge sits just inside the content column's padding,
       bridging artwork and copy without reaching the text (XD position was left 10.44%) */
    left: calc(10.46% + var(--ff-home-story-pad) - 16px);
    top: 67.11%;
    width: 89.54%;
    height: 32.9%;
    translate: 0 var(--ff-parallax-fg, 0px);
    transition: opacity 0.9s ease 0.2s, transform 0.9s cubic-bezier(0.22, 0.61, 0.36, 1) 0.2s;
}
.ff-home .ff-home-story-media.ff-reveal:not(.ff-reveal--in) .ff-home-story-cutout-bar {
    opacity: 0;
    transform: translateX(28px);
}
.ff-home .ff-home-story-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-inline: var(--ff-home-story-pad);
}
.ff-home .ff-home-story-content > * {
    width: 100%;
    max-width: 643px;
}
.ff-home .ff-home-story-eyebrow {
    margin: 0 0 8px;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular);
    line-height: var(--ff-line-height-label);
    letter-spacing: 0.01em;
    color: var(--ff-colour-dark);
    opacity: 0.47;
}
.ff-home .ff-home-story-content .ff-section-title {
    margin-bottom: 12px;
}
/* Story accordion (native Essential Elements Advanced Accordion): minimal, editorial - thin separators between
   items (XD Path 559/560: 1px #303030), XD chevron (Path 561/563) at the right, no boxes or backgrounds */
.ff-home .ff-home-story-accordion {
    margin-top: 8px;
}
.ff-home .ff-home-story-accordion .bde-accordion__content-wrapper + .bde-accordion__content-wrapper {
    border-top: 1px solid var(--ff-colour-dark);
}
.ff-home .ff-home-story-accordion .bde-accordion__button {
    gap: var(--ff-space-2);
    padding: 19px 0;   /* XD: 59px between dividers around the 21px title line (Ziflow 37) */
    border-radius: 0;
    background: transparent;
}
.ff-home .ff-home-story-accordion .bde-accordion__title {
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-bold, 700);   /* XD: Jost Bold 16 (Ziflow 37) */
    line-height: var(--ff-line-height-label);
    letter-spacing: var(--ff-letter-spacing-label);
    color: var(--ff-colour-dark);
}
.ff-home .ff-home-story-accordion .bde-accordion__icon {
    flex: 0 0 auto;
    width: 12px;
    height: 7px;
    background: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    -webkit-mask: none;
    mask: none;
}
.ff-home .ff-home-story-accordion .bde-accordion__button .bde-accordion__icon--active {
    display: none;
}
.ff-home .ff-home-story-accordion .bde-accordion__button .bde-accordion__icon--default {
    display: flex;
    transform: none;
}
.ff-home .ff-home-story-accordion .bde-accordion__button[aria-expanded="true"] .bde-accordion__icon--default {
    transform: rotate(180deg);
}
.ff-home .ff-home-story-accordion .bde-accordion__button:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-home .ff-home-story-accordion .bde-accordion__panel-content {
    padding: 0 0 20px;
}
.ff-home .ff-home-story-cta {
    margin-top: var(--ff-gap-copy-cta);
}
/* 08 Testimonials (exact XD reviews) */
.ff-home .ff-testimonial-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * var(--ff-space-4)) / 4);   /* 4 per view; more reviews scroll (testimonial CPT) */
    gap: var(--ff-space-4);
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    text-align: left;
}
.ff-home .ff-testimonial-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
}
.ff-home .ff-testimonial-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    margin-top: 16px;
}
.ff-home .ff-testimonial-rating {
    display: block;
    width: 99px;
    height: 17px;
    margin: 0;
    overflow: hidden;
    background-color: #C2C0BB;
    -webkit-mask: url("../images/icons/star.svg") 0 0 / 18px 17px space no-repeat;
    mask: url("../images/icons/star.svg") 0 0 / 18px 17px space no-repeat;
    -webkit-mask-repeat: space no-repeat;
    mask-repeat: space no-repeat;
    color: transparent;
    font-size: 0;
    line-height: 0;
}
.ff-home .ff-testimonial-quote {
    margin: 20px 0 0;
    padding: 0;
    border: 0;
    quotes: none;
}
/* Reduced motion: no slide/zoom animation */
@media (prefers-reduced-motion: reduce) {
    .ff-home .swiper-wrapper,
    .ff-related-products .swiper-wrapper {
        transition-duration: 0ms !important;
    }
    .ff-home .ff-category-card-image,
    .ff-home .ff-home-story-accordion .bde-accordion__button,
    .ff-home .ff-home-story-accordion .bde-accordion__icon,
    .ff-home .ff-product-carousel .swiper-button-prev,
    .ff-related-products .ff-product-carousel .swiper-button-prev,
    .ff-home .ff-product-carousel .swiper-button-next,
    .ff-related-products .ff-product-carousel .swiper-button-next {
        transition: none;
    }
    .ff-home .ff-category-card:hover .ff-category-card-image {
        transform: none;
    }
    .ff-home .ff-home-story-accordion .bde-accordion__content-wrapper.is-collapsing .bde-accordion__panel {
        transition: none;
    }
    .ff-home .ff-category-track,
    .ff-home .ff-client-track,
    .ff-home .ff-testimonial-track {
        scroll-behavior: auto;
    }
}
/* Below 1384px (1280 grid + arrow + gap each side) the gutter is narrower than an arrow: arrows sit over the image edges */
@media (max-width: 1383px) {
    .ff-home .ff-product-carousel .swiper-button-prev,
    .ff-related-products .ff-product-carousel .swiper-button-prev {
        left: 4px;
    }
    .ff-home .ff-product-carousel .swiper-button-next,
    .ff-related-products .ff-product-carousel .swiper-button-next {
        right: 4px;
    }
}
/* Tablet landscape and below (Oxygen breakpoint 1119px) */
@media (max-width: 1119px) {
    .ff-home {
        --ff-home-section-space: var(--ff-section-space);
        --ff-home-card-gap: 20px;
    }
    .ff-home .ff-product-carousel .swiper-button-prev,
    .ff-related-products .ff-product-carousel .swiper-button-prev,
    .ff-home .ff-product-carousel .swiper-button-next,
    .ff-related-products .ff-product-carousel .swiper-button-next {
        top: calc((100cqw - 2 * 20px) / 3 / 2);
    }
    .ff-home .ff-client-track {
        gap: var(--ff-space-3);
    }
}
/* Tablet (768-1119px): reviews 2 per view; up to 4 stay the approved 2 x 2 grid */
@media (min-width: 768px) and (max-width: 1119px) {
    .ff-home .ff-testimonial-track {
        grid-auto-columns: calc((100% - var(--ff-space-4)) / 2);
    }
    .ff-home .ff-testimonial-track:not(:has(> :nth-child(5))) {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        row-gap: var(--ff-space-5);
        overflow-x: visible;
    }
}
/* Tablet portrait and below (Oxygen breakpoint 1023px): horizontal swipe rows */
@media (max-width: 1023px) {
    .ff-home .ff-home-hero {
        min-height: 450px;
    }
    .ff-home .ff-home-intro .ff-section-header {
        max-width: 700px;
    }
    .ff-home .ff-product-carousel .swiper-button-prev,
    .ff-related-products .ff-product-carousel .swiper-button-prev,
    .ff-home .ff-product-carousel .swiper-button-next,
    .ff-related-products .ff-product-carousel .swiper-button-next {
        top: calc((100cqw - 2 * 20px) / 2.4 / 2);
    }
    .ff-home .ff-category-track,
    .ff-home .ff-client-track {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        justify-content: start;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: thin;
        -webkit-overflow-scrolling: touch;
    }
    .ff-home .ff-category-track {
        grid-auto-columns: calc((100% - 2 * 20px) / 2.3);
        padding-bottom: 8px;
    }
    .ff-home .ff-client-track {
        grid-auto-columns: 169px;
        padding-bottom: 8px;
    }
    .ff-home .ff-category-item,
    .ff-home .ff-client-logo {
        scroll-snap-align: start;
    }
    .ff-home .ff-home-story-inner {
        grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    }
    .ff-home .ff-home-story {
        --ff-home-story-pad: clamp(32px, 4vw, 40px);
    }
}
/* Phone landscape and below (Oxygen breakpoint 767px) */
@media (max-width: 767px) {
    .ff-home {
        --ff-home-section-space: var(--ff-section-space);
        --ff-home-card-gap: var(--ff-space-2);
    }
    .ff-home .ff-home-hero {
        min-height: 520px;
    }
    .ff-home .ff-product-carousel .swiper-button-prev,
    .ff-related-products .ff-product-carousel .swiper-button-prev,
    .ff-home .ff-product-carousel .swiper-button-next,
    .ff-related-products .ff-product-carousel .swiper-button-next {
        top: calc((100cqw - 16px) / 1.6 / 2);
    }
    .ff-home .ff-category-track {
        grid-auto-columns: 85%;
        gap: var(--ff-space-2);
    }
    .ff-home .ff-client-track {
        grid-auto-columns: 150px;
        gap: var(--ff-space-2);
    }
    .ff-home .ff-client-logo {
        height: 150px;
    }
    .ff-home .ff-home-story-inner {
        grid-template-columns: minmax(0, 1fr);
    }
    .ff-home .ff-home-story {
        --ff-home-story-pad: 24px;
    }
    .ff-home .ff-home-story-inner {
        row-gap: var(--ff-space-4);
    }
    .ff-home .ff-home-story-media {
        max-width: none;
    }
    .ff-home .ff-testimonial-track {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 85%;
        gap: var(--ff-space-3);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: thin;
        padding-bottom: 8px;
    }
    .ff-home .ff-testimonial-card {
        scroll-snap-align: start;
    }
}
/* Phone portrait (Oxygen breakpoint 479px) */
@media (max-width: 479px) {
    .ff-home .ff-product-carousel .swiper-button-prev,
    .ff-related-products .ff-product-carousel .swiper-button-prev,
    .ff-home .ff-product-carousel .swiper-button-next,
    .ff-related-products .ff-product-carousel .swiper-button-next {
        top: calc((100cqw - 16px) / 1.2 / 2);
    }
}

/* =========================================================
   SITE — MOTION (shared section entrance)
   ========================================================= */
/*
 * Applied by the site script (initReveal, one IntersectionObserver) to meaningful blocks that start below the fold:
 * soft fade + 14px rise as each enters the viewport, once, with a very small stagger (--ff-reveal-delay, max 240ms).
 * Media also settles from 0.98 scale. Opacity / transform only (no layout shift). Never for prefers-reduced-motion.
 */
.ff-reveal {
    opacity: 0;
    transform: translateY(14px);
    transition:
        opacity 0.45s ease var(--ff-reveal-delay, 0ms),
        transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1) var(--ff-reveal-delay, 0ms);
}
.ff-reveal.ff-reveal--media {
    transform: translateY(10px) scale(0.98);
}
.ff-reveal.ff-reveal--in {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .ff-reveal,
    .ff-reveal.ff-reveal--in {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .ff-home .ff-home-story-bg,
    .ff-home .ff-home-story-cutout-bar {
        translate: none;
        transition: none;
    }
}
/* visually hidden (live regions, status text) */
.ff-visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================================
   SITE — SEARCH (full-screen search additions)
   ========================================================= */
/*
 * The full-screen overlay is the native Essential Elements Search Form. The site script adds, below the field:
 * popular searches and predictive results (listbox). Styles stay within the overlay.
 */
.ff-site-header .ff-search-panel {
    position: relative;
    /* above the native overlay background (.search-form__lightbox-bg, z-index 10), level with the field container (20):
       at 1 the background sat on top, so a tap on a popular search / result reached the background instead (= close) */
    z-index: 20;
    width: min(100%, var(--ff-search-panel-width, 720px));
    margin: var(--ff-space-3) auto 0;
    padding-inline: var(--ff-gutter-min);
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
    text-align: left;
}
.ff-site-header .ff-search-loading {
    display: none;
    margin: 0 0 12px;
    font-size: var(--ff-font-size-small);
    opacity: 0.7;
}
.ff-site-header .ff-search-panel.is-loading .ff-search-loading {
    display: block;
}
.ff-site-header .ff-search-heading {
    margin: 0 0 12px;
    font-size: 12px;
    font-weight: var(--ff-weight-medium);
    line-height: 1.4;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    opacity: 0.7;
}
.ff-site-header .ff-search-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-site-header .ff-search-chip {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 6px 14px;
    border: 1px solid #E0DCD7;
    border-radius: 999px;
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
    font-size: var(--ff-font-size-small);
    line-height: 1.2;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.ff-site-header .ff-search-chip:hover {
    border-color: var(--ff-colour-dark);
    background-color: var(--ff-colour-warm-white);
}
.ff-site-header .ff-search-chip:focus-visible,
.ff-site-header .ff-search-item a:focus-visible,
.ff-site-header .ff-search-all:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-site-header .ff-search-results {
    margin-top: var(--ff-space-3);
    border: 1px solid #E0DCD7;
    background-color: var(--ff-colour-white);
    box-shadow: 0 18px 40px -24px rgba(48, 48, 48, 0.35);
}
.ff-site-header .ff-search-results[hidden] {
    display: none;
}
.ff-site-header .ff-search-list {
    max-height: min(56vh, 460px);
    margin: 0;
    padding: 6px 0;
    overflow-y: auto;
    list-style: none;
}
.ff-site-header .ff-search-item a {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--ff-space-2);
    padding: 8px var(--ff-space-2);
    color: var(--ff-colour-dark);
    text-decoration: none;
}
.ff-site-header .ff-search-item--category a {
    grid-template-columns: minmax(0, 1fr);
}
.ff-site-header .ff-search-item.is-active a,
.ff-site-header .ff-search-item a:hover {
    background-color: var(--ff-colour-warm-grey);
}
.ff-site-header .ff-search-item img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    background-color: var(--ff-colour-white);
}
.ff-site-header .ff-search-item-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
}
.ff-site-header .ff-search-item-name {
    overflow: hidden;
    font-size: var(--ff-font-size-body);
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ff-site-header .ff-search-item-meta {
    font-size: 13px;
    line-height: 1.3;
    opacity: 0.65;
}
.ff-site-header .ff-search-item-price {
    font-size: var(--ff-font-size-small);
    white-space: nowrap;
}
.ff-site-header .ff-search-item-price del {
    margin-right: 4px;
    opacity: 0.6;
}
.ff-site-header .ff-search-item-price ins {
    text-decoration: none;
}
.ff-site-header .ff-search-footer:empty {
    display: none;
}
.ff-site-header .ff-search-footer {
    padding: 10px var(--ff-space-2) 12px;
    border-top: 1px solid #EFEBE6;
}
.ff-site-header .ff-search-all,
.ff-site-header .ff-search-all:visited {
    color: var(--ff-colour-dark);
    font-size: var(--ff-font-size-small);
    font-weight: var(--ff-weight-medium);
    letter-spacing: 0.04em;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ff-site-header .ff-search-empty {
    margin: 0;
    font-size: var(--ff-font-size-small);
    opacity: 0.8;
}
@media (max-width: 767px) {
    .ff-site-header .ff-search-item a {
        grid-template-columns: 40px minmax(0, 1fr);
    }
    .ff-site-header .ff-search-item img {
        width: 40px;
        height: 40px;
    }
    .ff-site-header .ff-search-item-price {
        grid-column: 2;
    }
}
/* search panel text sits on the dark native overlay: keep it legible (desktop layout unchanged) */
.ff-site-header .ff-search-panel {
    color: var(--ff-colour-warm-white);
}
.ff-site-header .ff-search-loading,
.ff-site-header .ff-search-heading {
    color: var(--ff-colour-warm-white);
}
.ff-site-header .ff-search-results {
    color: var(--ff-colour-dark);
}
.ff-site-header .ff-search-footer .ff-search-empty {
    color: var(--ff-colour-dark);
}
/* page behind an open search overlay does not scroll (class set by the site script) */
html.ff-search-open,
html.ff-search-open body {
    overflow: hidden;
}
/*
 * Mobile full-screen search: one vertical flow - field, popular searches, live results.
 * The overlay owns the viewport (near-opaque brand dark), scrolls itself when results are long,
 * and the close button stays fixed top-right.
 */
@media (max-width: 767px) {
    .ff-site-header .search-form--full-screen .search-form__lightbox {
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        height: 100vh;
        height: 100dvh;
        padding: calc(var(--wp-admin--admin-bar--height, 0px) + 76px) var(--ff-gutter-min) var(--ff-space-5);
        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
        background-color: rgba(48, 48, 48, 0.98);
    }
    .ff-site-header .search-form--full-screen .search-form__lightbox-bg {
        position: fixed;
    }
    .ff-site-header .search-form--full-screen .search-form__lightbox-close {
        position: fixed;
        top: calc(var(--wp-admin--admin-bar--height, 0px) + 16px);
        right: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        z-index: 30;
    }
    .ff-site-header .search-form--full-screen .search-form__lightbox-container {
        flex: 0 0 auto;
        width: 100%;
        min-height: 52px;
    }
    .ff-site-header .search-form--full-screen .search-form__lightbox-container .search-form__field {
        min-width: 0;
        height: 52px;
        font-size: 16px;   /* 16px: no iOS zoom on focus */
    }
    .ff-site-header .ff-search-panel {
        flex: 0 0 auto;
        width: 100%;
        margin: var(--ff-space-3) 0 0;
        padding-inline: 0;
    }
    .ff-site-header .ff-search-results {
        margin-top: var(--ff-space-3);
    }
    .ff-site-header .ff-search-list {
        max-height: none;
        overflow: visible;
    }
    .ff-site-header .ff-search-item a {
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: start;
        row-gap: 2px;
        min-height: 64px;
        padding-block: 10px;
    }
    .ff-site-header .ff-search-item img {
        grid-row: span 2;
        width: 48px;
        height: 48px;
    }
    .ff-site-header .ff-search-item-name {
        white-space: normal;
    }
}

/* =========================================================
   SITE — MINI CART (Forest Fairies CI)
   ========================================================= */
/*
 * Restyle of the Essential Elements Mini Cart drawer (native sidebar behaviour, fragments and removal unchanged).
 * Colours come from the brand tokens through the component's own variables, so no WooCommerce blue remains.
 */
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas {
    --cart-image-size: 76px;
    --grey-200: #EFEBE6;
    --bde-woo-base-text-color: var(--ff-colour-dark);
    --bde-woo-base-headings-color: var(--ff-colour-dark);
    --bde-woo-buttons-and-links__text-link-color: var(--ff-colour-dark);
    --bde-woo-buttons-and-links__text-link-color-hover: var(--ff-colour-dark);
    --bde-woo-widgets__remove-item-from-cart-color: var(--ff-colour-dark);
    --bde-links-color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas-body {
    background-color: var(--ff-colour-white);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas-title {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 18px;
    font-weight: var(--ff-weight-heading);
    line-height: 40px;   /* same height as the close button: optically aligned */
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ff-colour-dark);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas__close-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin-right: -10px;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    color: var(--ff-colour-dark);
    opacity: 0.6;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas__close-button:hover {
    opacity: 1;
    background-color: var(--ff-colour-warm-grey);
}
/* product rows: flat, thumbnail | title + quantity/price | remove */
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart-item {
    grid-template-columns: var(--cart-image-size) minmax(0, 1fr) 32px;
    grid-template-rows: auto 1fr;
    column-gap: var(--ff-space-2);
    row-gap: 6px;
    align-items: start;
    padding-top: 20px;
    padding-bottom: 20px;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart-item + .woocommerce-mini-cart-item {
    border-top: 1px solid #EFEBE6;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-thumbnail {
    display: block;
    width: var(--cart-image-size);
    height: var(--cart-image-size);
    background-color: var(--ff-colour-white);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-thumbnail img {
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
    object-position: center;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title:link,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title:visited,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title:hover,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title:active {
    align-self: start;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular);
    line-height: 1.35;
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title:hover,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title:focus-visible {
    background-size: 100% 1px;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart-item .quantity {
    grid-column: 2;
    align-self: start;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-small);
    line-height: 1.4;
    color: rgba(48, 48, 48, 0.72);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart-item .quantity .amount {
    font-weight: var(--ff-weight-medium);
    color: var(--ff-colour-dark);
}
/* remove x: subtle, 32px target, stronger on hover/focus */
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart .remove {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: 32px;
    height: 32px;
    /* no negative right margin: the 32px button fills its own 32px grid column exactly (a -6px margin pushed it past
       the list edge = horizontal scroll in the drawer) */
    margin: -6px 0 0;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    color: var(--ff-colour-dark);
    opacity: 0.45;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart .remove:hover,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart .remove:focus-visible {
    opacity: 1;
    background-color: var(--ff-colour-warm-grey);
    color: var(--ff-colour-dark);
}
/* subtotal: label left, amount right */
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__total {
    align-items: baseline;
    padding-bottom: var(--ff-space-2);
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    color: var(--ff-colour-dark);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__total strong {
    font-weight: var(--ff-weight-regular);
    color: var(--ff-colour-dark);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__total .amount {
    font-weight: var(--ff-weight-semibold);
}
/* View cart: the .ff-btn-primary visual language */
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: var(--ff-button-padding-y) var(--ff-button-padding-x);
    border: 0;
    border-radius: var(--ff-radius-sm);
    background-color: var(--ff-colour-button-dark, #252523);
    color: var(--ff-colour-white);
    font-family: var(--ff-font-button);
    font-style: normal;
    font-stretch: normal;
    font-synthesis: none;
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-button);
    line-height: var(--ff-line-height-button);
    letter-spacing: var(--ff-letter-spacing-button);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button:hover,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button:focus-visible {
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-warm-white);
    box-shadow: 0 8px 18px -8px rgba(37, 37, 35, 0.45);
    transform: translateY(-1px);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button:active {
    transform: translateY(0);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas a:focus-visible,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas button:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__empty-message {
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
}
@media (prefers-reduced-motion: reduce) {
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button,
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button:hover,
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button:focus-visible {
        transform: none;
    }
}

/* =========================================================
   SITE — SHOP & PRODUCT ARCHIVES
   ========================================================= */
/*
 * Oxygen templates "FF — Shop Archive" (/shop/) and "FF — Product Category Archive" (every product category).
 * Page root .ff-shop (the category template adds .ff-shop--category). Design reference: XD "Product Category landing
 * page" + "Product page héros". Homepage tokens and components are reused (ff-h1 / ff-h2 / ff-body / ff-btn-primary,
 * FF Product Card v2 + badges); the filter markup comes from forest-fairies-site/includes/shop-archive.php.
 *
 * Desktop (>=1120px): filter sidebar (280px; 260px below 1280) + 3-column product grid inside the 1280 content width.
 * Tablet / mobile (<=1119px): FILTER + SORT toolbar; the same filter form becomes an off-canvas drawer (html.ff-js).
 * XD colours: field borders #E8E8E7, dividers / range track #E2DFDA.
 */
.ff-shop {
    --ff-shop-section-space: var(--ff-section-space);
    --ff-shop-sidebar: 280px;
    --ff-shop-layout-gap: 40px;
    --ff-shop-field-border: #E8E8E7;
    --ff-shop-line: #E2DFDA;
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
}
/* the shared content container carries Oxygen selector styles (75px bottom margin, centred text) */
.ff-shop .ff-container-content {
    margin-bottom: 0;
    text-align: left;
}
/* WooCommerce's archive body class adds ".woocommerce img { height: auto }": keep the card's fixed media frame */
.ff-shop .ff-product-card-image,
.ff-shop .ff-product-card-hover img {
    height: 100%;
}

/* 01 Hero (shop + category): full-bleed artwork, copy aligned to the 1280 content edge (XD Component 16) */
.ff-archive-hero {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 500px;
    overflow: hidden;
    background-color: var(--ff-colour-warm-white);
}
.ff-archive-hero-media {
    position: absolute;
    z-index: -1;
    inset: 0;
    display: block;
    margin: 0;
}
.ff-archive-hero-media picture,
.ff-shop .ff-archive-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
}
/* XD left-edge light wash (white 70% -> 0 at layer opacity ~0.79) so the copy stays readable on any artwork */
.ff-archive-hero::after {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 auto 0 0;
    width: max(30%, 420px);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}
.ff-archive-hero-inner {
    position: relative;
    padding-block: var(--ff-space-5);
}
.ff-archive-hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    max-width: 460px;
    text-align: left;
}
.ff-archive-hero-eyebrow {
    margin: 0 0 8px;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-medium);
    line-height: var(--ff-line-height-label);
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--ff-colour-dark);
}
.ff-archive-hero-title {
    margin: 0 0 12px;
    text-transform: uppercase;
}
.ff-archive-hero-copy {
    max-width: 320px;
    margin: 0;
}
/* optional parts: category fields wrap real text in .ff-archive-hero-text (Oxygen keeps whitespace, so no :empty) */
.ff-category-hero .ff-archive-hero-eyebrow:not(:has(.ff-archive-hero-text)),
.ff-category-hero .ff-archive-hero-copy:not(:has(.ff-archive-hero-text)),
.ff-archive-hero-eyebrow:empty,
.ff-archive-hero-copy:empty,
.ff-archive-hero-media:not(:has(img)) {
    display: none;
}

/* 02 Intro (Shop "SHOP ALL"; on a category only when the term has intro copy) */
.ff-shop-intro {
    padding-top: var(--ff-shop-section-space);
}
.ff-shop .ff-shop-intro-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}
.ff-shop-intro-title,
.ff-shop-intro-copy {
    margin: 0;
}
.ff-shop-intro-copy {
    max-width: 950px;
}

/* 03 Archive layout: sidebar + products */
.ff-shop-body {
    padding: var(--ff-space-5) 0 var(--ff-shop-section-space);
}
.ff-category-hero + .ff-shop-body {
    padding-top: var(--ff-space-6);
}
.ff-shop .ff-shop-layout {
    display: grid;
    grid-template-columns: var(--ff-shop-sidebar) minmax(0, 1fr);
    align-items: start;
    gap: var(--ff-shop-layout-gap);
}
.ff-shop-main {
    min-width: 0;
}
.ff-shop-filters {
    margin: 0;
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
}
.ff-filter-drawer-head {
    display: none;
}
/* search (XD: 45px box, #E8E8E7 border, magnifier at 12px) */
.ff-shop-search {
    position: relative;
    margin-bottom: 14px;
}
.ff-shop-search::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 12px;
    width: 15.4px;
    height: 15.25px;
    margin-top: -7.6px;
    background-color: var(--ff-colour-dark);
    -webkit-mask: url("../images/icons/search.svg") center / contain no-repeat;
    mask: url("../images/icons/search.svg") center / contain no-repeat;
    pointer-events: none;
}
.ff-shop-search-input,
.ff-shop-search-input[type="search"] {
    box-sizing: border-box;
    width: 100%;
    height: 45px;
    margin: 0;
    padding: 0 12px 0 41px;
    border: 1px solid var(--ff-shop-field-border);
    border-radius: 0;
    background-color: var(--ff-colour-white);
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular);
    line-height: 19px;
    color: var(--ff-colour-dark);
    -webkit-appearance: none;
    appearance: none;
}
.ff-shop-search-input::placeholder {
    color: var(--ff-colour-dark);
    opacity: 1;
}
/* sort (XD: "Sort by: Most relevant" in the same 45px box) */
.ff-shop-sort {
    position: relative;
    display: flex;
    align-items: center;
    box-sizing: border-box;
    height: 45px;
    border: 1px solid var(--ff-shop-field-border);
    background-color: var(--ff-colour-white);
}
.ff-shop-sort-label {
    padding-left: 11px;
    font-size: var(--ff-font-size-body);
    line-height: 19px;
    white-space: nowrap;
}
.ff-shop-sort-select {
    flex: 1 1 auto;
    min-width: 0;
    height: 100%;
    margin: 0;
    padding: 0 34px 0 5px;
    border: 0;
    border-radius: 0;
    background: transparent url("../images/icons/chevron-down.svg") right 12px center / 11px auto no-repeat;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 19px;
    color: var(--ff-colour-dark);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.ff-shop-search-input:focus-visible,
.ff-shop-sort:focus-within {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-shop-sort-select:focus {
    outline: none;
}
.ff-shop-count {
    margin: 16px 0 22px;
    font-family: var(--ff-font-primary);
    font-size: 15px;
    line-height: 20px;
    color: var(--ff-colour-dark);
}
/* filter groups: thin dividers, bold headings, XD chevron (points up while open) */
.ff-shop-filter {
    padding: 16px 0 18px;
    border-top: 1px solid var(--ff-shop-line);
}
.ff-shop-filter-heading {
    margin: 0;
}
.ff-shop-filter-toggle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ff-space-2);
    width: 100%;
    margin: 0;
    padding: 4px 0;
    border: 0;
    border-radius: 0;
    background: none;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-button);
    line-height: var(--ff-line-height-label);
    letter-spacing: 0.005em;
    text-align: left;
    color: var(--ff-colour-dark);
    cursor: pointer;
}
.ff-shop-filter-chevron {
    flex: 0 0 auto;
    width: 12px;
    height: 7px;
    background: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    transform: rotate(180deg);
    transition: transform 0.25s ease;
}
.ff-shop-filter-toggle[aria-expanded="false"] .ff-shop-filter-chevron {
    transform: none;
}
.ff-shop-filter-toggle:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-shop-filter-options {
    padding-top: 8px;
}
.ff-shop-filter-options[hidden] {
    display: none;
}
.ff-shop-filter-options fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.ff-shop-filter-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-shop-filter-list li {
    margin: 0;
}
/* compact checkbox rows: real checkboxes, XD 20px box; checked = filled + tick (never colour alone) */
.ff-shop-check {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 30px;
    font-size: var(--ff-font-size-body);
    line-height: 1.4;
    cursor: pointer;
}
.ff-shop-check input[type="checkbox"] {
    display: grid;
    flex: 0 0 20px;
    place-content: center;
    box-sizing: border-box;
    width: 20px;
    height: 20px;
    margin: 0;
    border: 1px solid var(--ff-shop-field-border);
    border-radius: 0;
    background-color: var(--ff-colour-white);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.ff-shop-check input[type="checkbox"]::before {
    content: "";
    width: 5px;
    height: 10px;
    margin-top: -3px;
    border-right: 1.5px solid var(--ff-colour-white);
    border-bottom: 1.5px solid var(--ff-colour-white);
    transform: rotate(45deg) scale(0);
    transition: transform 0.15s ease;
}
.ff-shop-check:hover input[type="checkbox"] {
    border-color: var(--ff-colour-dark);
}
.ff-shop-check input[type="checkbox"]:checked {
    border-color: var(--ff-colour-dark);
    background-color: var(--ff-colour-dark);
}
.ff-shop-check input[type="checkbox"]:checked::before {
    transform: rotate(45deg) scale(1);
}
.ff-shop-check input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
/* category archive: the Category group lists the categories as links (leaving the category is explicit navigation) */
.ff-shop-filter-link,
.ff-shop-filter-link:visited {
    display: inline-block;
    padding-bottom: 1px;
    font-size: var(--ff-font-size-body);
    line-height: 28px;
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease;
}
.ff-shop-filter-link:hover,
.ff-shop-filter-link:focus-visible,
.ff-shop-filter-link.is-current {
    background-size: 100% 1px;
}
.ff-shop-filter-link.is-current {
    font-weight: var(--ff-weight-semibold);
}
.ff-shop-filter-link:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
/* price: "Up to R…" + range (XD: 1px #E2DFDA track, 14px white thumb) */
.ff-shop-price {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ff-shop-price-label {
    font-size: var(--ff-font-size-body);
    line-height: 1.4;
}
.ff-shop-price-range {
    width: 100%;
    height: 22px;
    margin: 0;
    background: transparent;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.ff-shop-price-range::-webkit-slider-runnable-track {
    height: 1px;
    background-color: var(--ff-shop-line);
}
.ff-shop-price-range::-moz-range-track {
    height: 1px;
    background-color: var(--ff-shop-line);
}
.ff-shop-price-range::-webkit-slider-thumb {
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    margin-top: -6.5px;
    border: 1px solid var(--ff-shop-line);
    border-radius: 50%;
    background-color: var(--ff-colour-white);
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease;
}
.ff-shop-price-range::-moz-range-thumb {
    box-sizing: border-box;
    width: 14px;
    height: 14px;
    border: 1px solid var(--ff-shop-line);
    border-radius: 50%;
    background-color: var(--ff-colour-white);
}
.ff-shop-price-range:hover::-webkit-slider-thumb,
.ff-shop-price-range:focus-visible::-webkit-slider-thumb {
    border-color: var(--ff-colour-dark);
}
.ff-shop-price-range:hover::-moz-range-thumb,
.ff-shop-price-range:focus-visible::-moz-range-thumb {
    border-color: var(--ff-colour-dark);
}
.ff-shop-price-range:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 4px;
}
/* actions: "Clear all" (+ the apply button, shown without JavaScript and in the drawer) */
.ff-filter-drawer-foot {
    display: flex;
    align-items: center;
    gap: var(--ff-space-3);
    padding-top: 18px;
    border-top: 1px solid var(--ff-shop-line);
}
.ff-shop-clear,
.ff-shop-clear:visited {
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 1.4;
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    transition: background-size 0.3s ease;
}
.ff-shop-clear:hover {
    background-size: 100% 2px;
}
.ff-shop-clear:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
html.ff-js .ff-filter-apply,
html.ff-js .ff-shop-clear.is-inactive {
    display: none;
}
html.ff-js .ff-filter-drawer-foot:not(:has(.ff-shop-clear:not(.is-inactive))) {
    display: none;
}
/* tablet / mobile toolbar (hidden on desktop) */
.ff-shop-toolbar {
    display: none;
}

/* product grid: native Oxygen Post Loop (grid) + FF Product Card v2 */
.ff-shop-grid .bde-loop-grid {
    row-gap: var(--ff-space-5);
}
.ff-shop-grid .bde-loop-item {
    min-width: 0;
}
.ff-shop-results {
    position: relative;
    transition: opacity 0.2s ease;
}
/* AJAX update: the current results stay in place (no layout jump), dimmed until the new ones arrive */
.ff-shop-results[aria-busy="true"] {
    opacity: 0.45;
    pointer-events: none;
}
.ff-shop-results.is-entering {
    animation: ff-shop-results-in 0.3s ease both;
}
@keyframes ff-shop-results-in {
    from { opacity: 0.45; }
    to { opacity: 1; }
}
.ff-shop-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: var(--ff-space-5) 0;
    text-align: center;
}
.ff-shop-empty .ff-body {
    margin: 0;
}

/* 04 Pagination (XD: numbers, 25px underline under the current page, arrow) */
.ff-shop-pagination {
    display: flex;
    justify-content: center;
    margin-top: var(--ff-space-6);
}
.ff-shop-pagination ul {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-shop-pagination li {
    margin: 0;
}
.ff-shop-page,
.ff-shop-page:visited,
.ff-shop-page-gap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 19px;
    color: var(--ff-colour-dark);
    text-decoration: none;
}
.ff-shop-page::after {
    content: "";
    position: absolute;
    bottom: 6px;
    left: 50%;
    width: 25px;
    height: 1px;
    background-color: currentColor;
    transform: translateX(-50%) scaleX(0);
    transition: transform 0.25s ease;
}
.ff-shop-page:hover::after,
.ff-shop-page:focus-visible::after,
.ff-shop-page.is-current::after {
    transform: translateX(-50%) scaleX(1);
}
.ff-shop-page-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}
.ff-shop-page-arrow::before {
    content: "";
    width: 15.4px;
    height: 15.4px;
    background-color: var(--ff-colour-dark);
    -webkit-mask: url("../images/icons/arrow-right.svg") center / contain no-repeat;
    mask: url("../images/icons/arrow-right.svg") center / contain no-repeat;
    transition: transform 0.25s ease;
}
.ff-shop-page-prev::before {
    transform: scaleX(-1);
}
.ff-shop-page-next:hover::before {
    transform: translateX(3px);
}
.ff-shop-page-prev:hover::before {
    transform: scaleX(-1) translateX(3px);
}
.ff-shop-page:focus-visible,
.ff-shop-page-arrow:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
/* Oxygen's global "a:hover { color: var(--bde-links-color-hover) }" (0,1,1) outranks the single-class rules above and
   turned the numbers blue on hover (the arrow link was blue in every state): pagination links stay brand dark in every
   state; the hover treatment is the underline / arrow nudge */
.ff-shop-pagination {
    --bde-links-color: var(--ff-colour-dark);
    --bde-links-color-hover: var(--ff-colour-dark);
}
.ff-shop-pagination a.ff-shop-page,
.ff-shop-pagination a.ff-shop-page-arrow,
.ff-shop-pagination a.ff-shop-page:is(:link, :visited, :hover, :focus-visible, :active),
.ff-shop-pagination a.ff-shop-page-arrow:is(:link, :visited, :hover, :focus-visible, :active) {
    color: var(--ff-colour-dark);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .ff-shop-results,
    .ff-shop-filter-chevron,
    .ff-shop-check input[type="checkbox"],
    .ff-shop-check input[type="checkbox"]::before,
    .ff-shop-page::after,
    .ff-shop-page-arrow::before,
    html.ff-js .ff-shop-filters,
    html.ff-js .ff-shop-filters.is-open,
    .ff-shop-drawer-backdrop {
        transition: none;
    }
    .ff-shop-results.is-entering {
        animation: none;
    }
    .ff-shop-page-next:hover::before {
        transform: none;
    }
    .ff-shop-page-prev:hover::before {
        transform: scaleX(-1);
    }
}
@media (max-width: 1279px) {
    .ff-shop {
        --ff-shop-sidebar: 260px;
        --ff-shop-layout-gap: 32px;
    }
}
/* Tablet landscape and below (Oxygen breakpoint 1119px): no sidebar - toolbar + off-canvas filter drawer */
@media (max-width: 1119px) {
    .ff-shop {
        --ff-shop-section-space: var(--ff-section-space);
    }
    .ff-shop .ff-shop-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
    }
    .ff-shop-toolbar {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-bottom: var(--ff-space-4);
    }
    .ff-shop-toolbar-actions {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }
    html:not(.ff-js) .ff-shop-toolbar-actions {
        display: none;
    }
    .ff-shop-toolbar-button {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        box-sizing: border-box;
        min-height: 48px;
        margin: 0;
        padding: 0 16px;
        border: 1px solid var(--ff-shop-field-border);
        border-radius: 0;
        background-color: var(--ff-colour-white);
        font-family: var(--ff-font-primary);
        font-size: var(--ff-font-size-body);
        font-weight: var(--ff-weight-button);
        line-height: 1;
        letter-spacing: var(--ff-letter-spacing-label);
        text-transform: uppercase;
        color: var(--ff-colour-dark);
        cursor: pointer;
    }
    .ff-shop-toolbar-sort::after {
        content: "";
        width: 11px;
        height: 7px;
        background: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    }
    /* native select over the SORT button: the platform picker on touch, keyboard and screen reader friendly */
    .ff-shop-toolbar-select {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        margin: 0;
        opacity: 0;
        font-size: 16px;
        cursor: pointer;
    }
    .ff-shop-filter-open:focus-visible,
    .ff-shop-toolbar-sort:focus-within {
        outline: 2px solid var(--ff-colour-dark);
        outline-offset: 2px;
    }
    .ff-shop-filter-count {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 20px;
        height: 20px;
        padding: 0 6px;
        border-radius: 10px;
        background-color: var(--ff-colour-dark);
        font-size: 12px;
        font-weight: var(--ff-weight-medium);
        letter-spacing: 0;
        color: var(--ff-colour-white);
    }
    .ff-shop-filter-count[hidden] {
        display: none;
    }
    .ff-shop-toolbar .ff-shop-count {
        margin: 0;
    }
    .ff-shop-filters .ff-shop-sort,
    .ff-shop-filters .ff-shop-count {
        display: none;
    }
    /* drawer (only when the script can open and close it) */
    html.ff-js .ff-shop-filters {
        position: fixed;
        z-index: 10001;
        top: 0;
        bottom: 0;
        left: 0;
        display: flex;
        flex-direction: column;
        width: min(420px, 100%);
        background-color: var(--ff-colour-white);
        box-shadow: 0 0 40px rgba(37, 37, 35, 0.12);
        transform: translateX(-100%);
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s linear 0.35s;
    }
    html.ff-js .ff-shop-filters.is-open {
        transform: none;
        visibility: visible;
        transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), visibility 0s;
    }
    html.ff-js .ff-filter-drawer-head {
        display: flex;
        flex: 0 0 auto;
        align-items: center;
        justify-content: space-between;
        padding: 10px 12px 10px 20px;
        border-bottom: 1px solid var(--ff-shop-line);
    }
    .ff-filter-drawer-title {
        margin: 0;
        font-family: var(--ff-font-primary);
        font-size: var(--ff-font-size-body);
        font-weight: var(--ff-weight-heading);
        line-height: 1.3;
        letter-spacing: 0.06em;
        text-transform: uppercase;
        color: var(--ff-colour-dark);
    }
    .ff-filter-drawer-close {
        position: relative;
        width: 44px;
        height: 44px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        cursor: pointer;
    }
    .ff-filter-drawer-close::before,
    .ff-filter-drawer-close::after {
        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        width: 18px;
        height: 1.5px;
        background-color: var(--ff-colour-dark);
        transform: translate(-50%, -50%) rotate(45deg);
    }
    .ff-filter-drawer-close::after {
        transform: translate(-50%, -50%) rotate(-45deg);
    }
    .ff-filter-drawer-close:focus-visible {
        outline: 2px solid var(--ff-colour-dark);
        outline-offset: -4px;
    }
    html.ff-js .ff-filter-drawer-body {
        flex: 1 1 auto;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: 20px;
        -webkit-overflow-scrolling: touch;
    }
    html.ff-js .ff-shop-filters .ff-shop-check {
        min-height: 44px;
    }
    html.ff-js .ff-shop-filters .ff-shop-filter-link {
        line-height: 40px;
    }
    html.ff-js .ff-shop-filters .ff-shop-filter-toggle {
        min-height: 44px;
    }
    html.ff-js .ff-filter-drawer-foot,
    html.ff-js .ff-filter-drawer-foot:not(:has(.ff-shop-clear:not(.is-inactive))) {
        display: flex;
        flex: 0 0 auto;
        padding: 14px 20px calc(14px + env(safe-area-inset-bottom, 0px));
        background-color: var(--ff-colour-white);
    }
    html.ff-js .ff-filter-apply {
        display: inline-flex;
        flex: 1 1 auto;
        min-height: 48px;
    }
    html.ff-js .ff-shop-clear,
    html.ff-js .ff-shop-clear.is-inactive {
        display: inline-flex;
        align-items: center;
        min-height: 44px;
        background-position: 0 calc(100% - 10px);
    }
    .ff-shop-drawer-backdrop {
        position: fixed;
        z-index: 10000;
        inset: 0;
        background-color: rgba(37, 37, 35, 0.4);
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    .ff-shop-drawer-backdrop.is-visible {
        opacity: 1;
    }
}
/* page behind the open filter drawer does not scroll (class set by the site script) */
html.ff-filter-open,
html.ff-filter-open body {
    overflow: hidden;
}
/* Tablet portrait and below (Oxygen breakpoint 1023px) */
@media (max-width: 1023px) {
    .ff-archive-hero {
        min-height: 450px;
    }
    .ff-archive-hero::after {
        width: max(45%, 360px);
    }
}
/* Phone landscape and below (Oxygen breakpoint 767px): artwork above, copy below - readable on every image */
@media (max-width: 767px) {
    .ff-shop {
        --ff-shop-section-space: var(--ff-section-space);
    }
    .ff-archive-hero {
        flex-direction: column;
        align-items: stretch;
        min-height: 0;
        background-color: var(--ff-colour-white);
    }
    .ff-archive-hero::after {
        display: none;
    }
    .ff-archive-hero-media {
        position: relative;
        z-index: auto;
        inset: auto;
        aspect-ratio: 16 / 10;
        overflow: hidden;
    }
    .ff-archive-hero-media picture,
    .ff-shop .ff-archive-hero-media img {
        object-position: 60% 50%;
    }
    .ff-archive-hero-inner {
        padding-block: var(--ff-space-4) 0;
    }
    .ff-archive-hero-content,
    .ff-archive-hero-copy {
        max-width: none;
    }
    .ff-shop-body {
        padding-top: var(--ff-space-4);
    }
    .ff-category-hero + .ff-shop-body {
        padding-top: var(--ff-space-5);
    }
    .ff-shop-grid .bde-loop-grid {
        row-gap: var(--ff-space-4);
    }
    .ff-shop-pagination {
        margin-top: var(--ff-space-5);
    }
    /* seven page numbers + arrow stay on one line down to 320px */
    .ff-shop-pagination ul {
        gap: 2px;
    }
    .ff-shop-page,
    .ff-shop-page:visited,
    .ff-shop-page-gap,
    .ff-shop-page-arrow {
        min-width: 34px;
        width: auto;
    }
}

/* =========================================================
   SITE — PRODUCT QUICK VIEW
   ========================================================= */
/*
 * Variable products: the FF Product Card v2 "+" opens this modal everywhere the card is used (includes/quick-view.php +
 * forest-fairies.js initQuickView). Content = WooCommerce variations form (classes kept for WooCommerce's variation
 * script). Desktop: centred white dialog, image left / purchase panel right. Phones (<=767px): full-width bottom sheet.
 */
.ff-quick-view {
    --bde-links-color: var(--ff-colour-dark);
    --bde-links-color-hover: var(--ff-colour-dark);
    --ff-qv-border: #E8E8E7;
    position: fixed;
    z-index: 10002;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--ff-space-3);
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
}
.ff-quick-view[hidden] {
    display: none;
}
.ff-quick-view-backdrop {
    position: absolute;
    inset: 0;
    background-color: rgba(37, 37, 35, 0.45);
    opacity: 0;
    transition: opacity 0.3s ease;
}
/* the body scrolls inside the dialog, so the close button always stays in its corner */
.ff-quick-view-dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    width: min(920px, 100%);
    max-height: calc(100vh - 48px);
    overflow: hidden;
    background-color: var(--ff-colour-white);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ff-quick-view.is-open .ff-quick-view-backdrop,
.ff-quick-view.is-open .ff-quick-view-dialog {
    opacity: 1;
}
.ff-quick-view.is-open .ff-quick-view-dialog {
    transform: none;
}
.ff-quick-view-dialog:focus {
    outline: none;
}
.ff-quick-view-body {
    flex: 1 1 auto;
    min-height: 0;
    padding: var(--ff-space-6) var(--ff-space-6) var(--ff-space-5);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
html.ff-qv-open,
html.ff-qv-open body {
    overflow: hidden;
}
.ff-quick-view-close {
    position: absolute;
    z-index: 2;
    top: 12px;
    right: 12px;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: pointer;
}
.ff-quick-view-close::before,
.ff-quick-view-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 18px;
    height: 1.5px;
    background-color: var(--ff-colour-dark);
    transform: translate(-50%, -50%) rotate(45deg);
}
.ff-quick-view-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.ff-quick-view-close:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -4px;
}
.ff-quick-view-loading {
    margin: 0;
    padding: var(--ff-space-6) 0;
    font-size: var(--ff-font-size-body);
    text-align: center;
}
.ff-quick-view-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: start;
    gap: var(--ff-space-5);
}
/* same fixed, contained square frame as the product card */
.ff-quick-view-media {
    margin: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: var(--ff-colour-white);
}
.ff-quick-view-media .woocommerce-product-gallery__image {
    width: 100%;
    height: 100%;
}
.ff-quick-view-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}
.ff-quick-view-summary {
    display: flex;
    flex-direction: column;
    min-width: 0;
    padding-top: var(--ff-space-2);
}
.ff-quick-view-title {
    margin: 0 44px 12px 0;
    font-family: var(--ff-font-primary);
    font-size: 24px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: var(--ff-colour-dark);
}
.ff-quick-view-price {
    margin: 0 0 var(--ff-space-4);
    font-size: 18px;
    line-height: 1.4;
    color: var(--ff-colour-dark);
}
.ff-quick-view-price del {
    margin-right: 6px;
    opacity: 0.6;
}
.ff-quick-view-price ins {
    text-decoration: none;
}
.ff-quick-view .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.ff-quick-view-form {
    margin: 0;
}
.ff-quick-view-options {
    display: flex;
    flex-direction: column;
    gap: var(--ff-space-3);
}
.ff-quick-view-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ff-quick-view-label {
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-bold);
    line-height: var(--ff-line-height-label);
    letter-spacing: 0.005em;
}
.ff-quick-view-select-wrap select {
    box-sizing: border-box;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 0 40px 0 14px;
    border: 1px solid var(--ff-qv-border);
    border-radius: 0;
    background: var(--ff-colour-white) url("../images/icons/chevron-down.svg") right 14px center / 11px auto no-repeat;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 1.2;
    color: var(--ff-colour-dark);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color 0.2s ease;
}
.ff-quick-view-select-wrap select:hover {
    border-color: var(--ff-colour-dark);
}
.ff-quick-view-select-wrap select:focus-visible,
.ff-quick-view-qty:focus-within {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-quick-view-reset,
.ff-quick-view-reset:visited,
.ff-quick-view-link,
.ff-quick-view-link:visited {
    align-self: flex-start;
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    transition: background-size 0.3s ease;
}
.ff-quick-view-reset {
    font-size: 15px;
    line-height: 1.4;
}
/* 44px touch targets for the two text links, without moving their underline */
.ff-quick-view-reset,
.ff-quick-view-link {
    position: relative;
}
.ff-quick-view-reset::after,
.ff-quick-view-link::after {
    content: "";
    position: absolute;
    inset: -12px -8px;
}
.ff-quick-view-reset:hover,
.ff-quick-view-link:hover {
    color: var(--ff-colour-dark);
    background-size: 100% 2px;
}
.ff-quick-view-reset:focus-visible,
.ff-quick-view-link:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
/* selected variation (WooCommerce template): the price moves up into the main price, availability stays here */
.ff-quick-view-variation .woocommerce-variation-price,
.ff-quick-view-variation .woocommerce-variation-description:empty {
    display: none;
}
.ff-quick-view-variation p,
.ff-quick-view-variation .stock {
    margin: var(--ff-space-2) 0 0;
    font-size: 15px;
    line-height: 1.4;
    color: var(--ff-colour-dark);
}
.ff-quick-view-variation .out-of-stock {
    font-weight: var(--ff-weight-semibold);
}
.ff-quick-view-actions {
    display: flex;
    flex-direction: column;
    gap: var(--ff-space-3);
    margin-top: var(--ff-space-3);
}
.ff-quick-view-qty {
    display: inline-flex;
    align-items: stretch;
    width: max-content;
    height: 48px;
    border: 1px solid var(--ff-qv-border);
}
.ff-quick-view-step {
    position: relative;
    width: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: pointer;
}
.ff-quick-view-step::before,
.ff-quick-view-step--up::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 1.5px;
    background-color: var(--ff-colour-dark);
    transform: translate(-50%, -50%);
}
.ff-quick-view-step--up::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.ff-quick-view-step:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -2px;
}
.ff-quick-view-qty-input,
.ff-quick-view .ff-quick-view-qty .ff-quick-view-qty-input[type="number"] {
    box-sizing: border-box;
    width: 56px;
    margin: 0;
    padding: 0;
    border: 0;
    border-right: 1px solid var(--ff-qv-border);
    border-left: 1px solid var(--ff-qv-border);
    border-radius: 0;
    background: var(--ff-colour-white);
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    text-align: center;
    color: var(--ff-colour-dark);
    -moz-appearance: textfield;
    appearance: textfield;
}
.ff-quick-view-qty-input::-webkit-inner-spin-button,
.ff-quick-view-qty-input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
.ff-quick-view-qty-input:focus {
    outline: none;
}
.ff-quick-view-add {
    width: 100%;
    min-height: 48px;
}
.ff-quick-view-add.is-loading {
    cursor: progress;
    opacity: 0.7;
}
.ff-quick-view-hint {
    margin: -8px 0 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ff-colour-dark);
}
.ff-quick-view-hint:empty {
    display: none;
}
.ff-quick-view-status {
    margin: var(--ff-space-2) 0 0;
    font-size: 15px;
    font-weight: var(--ff-weight-medium);
    line-height: 1.4;
}
.ff-quick-view-status:empty {
    margin: 0;
}
.ff-quick-view-link {
    margin-top: var(--ff-space-3);
    padding-bottom: 3px;
    font-size: 15px;
    font-weight: var(--ff-weight-medium);
    line-height: var(--ff-line-height-label);
    letter-spacing: var(--ff-letter-spacing-label);
}
@media (prefers-reduced-motion: reduce) {
    .ff-quick-view-backdrop,
    .ff-quick-view-dialog,
    .ff-quick-view-select-wrap select,
    .ff-quick-view-reset,
    .ff-quick-view-link {
        transition: none;
    }
    .ff-quick-view-dialog {
        transform: none;
    }
}
/* Tablet */
@media (max-width: 1023px) {
    .ff-quick-view-body {
        padding: var(--ff-space-5) var(--ff-space-4) var(--ff-space-4);
    }
    .ff-quick-view-product {
        gap: var(--ff-space-4);
    }
}
/* Phones: full-width bottom sheet, image on top, scrolls inside */
@media (max-width: 767px) {
    .ff-quick-view {
        align-items: flex-end;
        padding: 0;
    }
    .ff-quick-view-dialog {
        width: 100%;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
        transform: translateY(32px);
    }
    .ff-quick-view-body {
        padding: 52px 20px calc(24px + env(safe-area-inset-bottom, 0px));
    }
    .ff-quick-view-product {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--ff-space-3);
    }
    .ff-quick-view-media {
        justify-self: center;
        width: min(100%, 240px);
    }
    .ff-quick-view-summary {
        padding-top: 0;
    }
    .ff-quick-view-title {
        margin-right: 0;
        font-size: 20px;
    }
}

/* =========================================================
   SITE — SINGLE PRODUCT
   ========================================================= */
/*
 * Oxygen template "FF — Single Product" (#806). Page root .ff-product-single. XD "Product page": breadcrumb, gallery
 * (643px of the 1280 grid) + summary column, thin-divider information sections, "You might also like" carousel
 * (the approved homepage carousel: the .ff-related-products selectors are listed with the .ff-home carousel rules).
 * Markup from forest-fairies-site/includes/single-product.php; badges / title / price are the shared dynamic fields.
 * XD colours: dark borders #303030 (options, quantity), dividers #E2DFDA, counter #FAF9F7, thumbnail accent #FCD647.
 */
.ff-product-single {
    --ff-home-arrow-size: 37px;
    --ff-product-line: #E2DFDA;
    --ff-product-field-border: #E8E8E7;
    --ff-product-accent: #FCD647;
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
}
/* the shared content container carries Oxygen selector styles (75px bottom margin, centred text) */
.ff-product-single .ff-container-content {
    margin-bottom: 0;
    text-align: left;
}
.ff-product-single .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* 01 Breadcrumb (XD: Jost 15px, "Shop / Category / Product") */
.ff-product-breadcrumb-bar {
    padding-top: var(--ff-space-3);
}
.ff-product-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--ff-font-primary);
    font-size: 15px;
    line-height: 20px;
    color: var(--ff-colour-dark);
}
.ff-product-breadcrumbs li {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
}
.ff-product-breadcrumbs li + li::before {
    content: "/";
    margin: 0 8px;
}
.ff-product-breadcrumb-link,
.ff-product-breadcrumb-link:visited,
.ff-product-breadcrumb-link:hover {
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease;
}
.ff-product-breadcrumb-link:hover,
.ff-product-breadcrumb-link:focus-visible {
    background-size: 100% 1px;
}
.ff-product-breadcrumb-link:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}

/* 02 Main: gallery (~56%) + summary (~44%), top aligned */
.ff-product-single .ff-product-main {
    display: grid;
    grid-template-columns: minmax(0, 56fr) minmax(0, 44fr);
    align-items: start;
    gap: var(--ff-space-5);
    padding-top: var(--ff-space-5);
}
.ff-product-gallery,
.ff-product-summary {
    min-width: 0;
}

/* 03 Gallery: native scroll-snap stage (touch swipe), counter over the image, thumbnails below */
.ff-product-gallery-stage {
    position: relative;
}
.ff-product-gallery-track {
    display: flex;
    aspect-ratio: 1 / 1;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    background-color: var(--ff-colour-white);
}
.ff-product-gallery-track::-webkit-scrollbar {
    display: none;
}
.ff-product-gallery-track:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-product-gallery-slide {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    margin: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}
.ff-product-single .ff-product-gallery-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}
.ff-product-gallery-counter {
    position: absolute;
    z-index: 2;
    bottom: var(--ff-space-3);
    left: 50%;
    display: inline-flex;
    align-items: center;
    height: 44px;
    border-radius: 4px;
    background-color: var(--ff-colour-warm-white);
    transform: translateX(-50%);
}
.ff-product-gallery-count {
    min-width: 48px;
    font-family: var(--ff-font-secondary);
    font-size: 16px;
    font-weight: var(--ff-weight-semibold);
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    color: var(--ff-colour-dark);
}
.ff-product-gallery-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: none;
    cursor: pointer;
}
.ff-product-gallery-arrow::before {
    content: "";
    width: 7px;
    height: 13px;
    background-color: var(--ff-colour-dark);
    -webkit-mask: url("../images/icons/chevron-down.svg") center / 13px 7px no-repeat;
    mask: url("../images/icons/chevron-down.svg") center / 13px 7px no-repeat;
    transform: rotate(90deg);
}
.ff-product-gallery-next::before {
    transform: rotate(-90deg);
}
.ff-product-gallery-arrow:disabled {
    cursor: default;
    opacity: 0.3;
}
.ff-product-gallery-arrow:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -2px;
}
.ff-product-thumbnails {
    display: flex;
    gap: 15px;
    margin: 25px 0 0;
    padding: 0 0 4px;
    overflow-x: auto;
    list-style: none;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.ff-product-thumbnails li {
    flex: 0 0 calc((100% - 4 * 15px) / 5);
    margin: 0;
    scroll-snap-align: start;
}
.ff-product-thumbnail {
    display: block;
    box-sizing: border-box;
    width: 100%;
    aspect-ratio: 1 / 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--ff-product-field-border);
    border-radius: 0;
    background-color: var(--ff-colour-white);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ff-product-thumbnail:hover {
    border-color: var(--ff-colour-dark);
}
.ff-product-thumbnail[aria-current="true"] {
    border-color: var(--ff-product-accent);
    box-shadow: inset 0 0 0 1px var(--ff-product-accent);
}
.ff-product-thumbnail:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-product-single .ff-product-thumbnail-image {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}

/* 04-07 Summary: badges, title (H1), price, availability */
.ff-product-summary {
    display: flex;
    flex-direction: column;
}
.ff-product-single-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 var(--ff-space-3);
}
.ff-product-single-badges:not(:has(.ff-product-badge__label)) {
    display: none;
}
.ff-product-single-badges .ff-product-badge__label {
    display: inline-block;
}
.ff-product-single .ff-product-single-title {
    margin: 0 0 12px;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.ff-product-single-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 16px;
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 20px;
    font-weight: var(--ff-weight-semibold);
    line-height: 1.3;
    letter-spacing: 0.01em;
    color: var(--ff-colour-dark);
}
/* sale: the new price first, then "Was …" (XD); WooCommerce keeps its own screen-reader wording */
.ff-product-single-price ins {
    order: 1;
    text-decoration: none;
}
.ff-product-single-price del {
    order: 2;
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-medium);
    letter-spacing: 0;
    text-decoration: none;
    opacity: 1;
}
.ff-product-single-price del .amount {
    text-decoration: line-through;
}
.ff-product-single-price del::before {
    content: "Was ";
    content: "Was " / "";
}
.ff-product-availability {
    margin: 12px 0 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 20px;
    color: var(--ff-colour-dark);
}
.ff-product-availability-label {
    text-transform: uppercase;
}

/* 08-10 Options, quantity, add to cart */
.ff-product-purchase {
    margin: var(--ff-space-4) 0 0;
}
.ff-product-options {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--ff-space-3);
    margin-bottom: var(--ff-space-3);
}
.ff-product-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 100%;
}
.ff-product-field-label {
    font-family: var(--ff-font-primary);
    font-size: 15px;
    font-weight: var(--ff-weight-bold);
    line-height: var(--ff-line-height-label);
    letter-spacing: 0.005em;
    color: var(--ff-colour-dark);
}
.ff-product-field select {
    box-sizing: border-box;
    min-width: 220px;
    max-width: 100%;
    height: 44px;
    margin: 0;
    padding: 0 40px 0 16px;
    border: 1px solid var(--ff-colour-dark);
    border-radius: 2px;
    background: var(--ff-colour-white) url("../images/icons/chevron-down.svg") right 14px center / 11px auto no-repeat;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-medium);
    line-height: 1.2;
    color: var(--ff-colour-dark);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.ff-product-field select:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-product-reset,
.ff-product-reset:visited,
.ff-product-reset:hover {
    position: relative;
    font-size: 15px;
    line-height: 1.4;
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
}
.ff-product-reset::after {
    content: "";
    position: absolute;
    inset: -12px -8px;
}
.ff-product-reset:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
/* the selected variation's price and stock move into the main price / availability line */
.ff-product-variation .woocommerce-variation-price,
.ff-product-variation .woocommerce-variation-availability,
.ff-product-variation .woocommerce-variation-description:empty {
    display: none;
}
.ff-product-variation p {
    margin: 0 0 var(--ff-space-3);
    font-size: 15px;
    line-height: 1.4;
}
.ff-product-purchase-row {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    gap: var(--ff-space-3);
}
.ff-quantity-control {
    display: inline-flex;
    align-items: stretch;
    box-sizing: border-box;
    width: 150px;
    height: 44px;
    border: 1px solid var(--ff-colour-dark);
    border-radius: 2px;
}
.ff-quantity-step {
    position: relative;
    flex: 0 0 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: pointer;
}
.ff-quantity-step::before,
.ff-quantity-step--up::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 11px;
    height: 1.1px;
    background-color: #202020;
    transform: translate(-50%, -50%);
}
.ff-quantity-step--up::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.ff-quantity-step:disabled {
    cursor: default;
    opacity: 0.3;
}
.ff-quantity-step:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -3px;
}
.ff-product-single .ff-quantity-control .ff-quantity-input[type="number"] {
    box-sizing: border-box;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-medium);
    text-align: center;
    color: var(--ff-colour-dark);
    -moz-appearance: textfield;
    appearance: textfield;
}
.ff-quantity-input::-webkit-inner-spin-button,
.ff-quantity-input::-webkit-outer-spin-button {
    margin: 0;
    -webkit-appearance: none;
}
.ff-quantity-control:focus-within {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-quantity-input:focus {
    outline: none;
}
.ff-product-add {
    min-width: 160px;
    min-height: 44px;
}
.ff-product-add.is-loading {
    cursor: progress;
    opacity: 0.7;
}
.ff-product-hint {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.4;
}
.ff-product-hint:empty {
    display: none;
}
.ff-product-purchase-status {
    margin: 12px 0 0;
    font-size: 15px;
    font-weight: var(--ff-weight-medium);
    line-height: 1.4;
}
.ff-product-purchase-status:empty {
    margin: 0;
}
/* WooCommerce notices after a no-JavaScript add to cart */
.ff-product-notices > * {
    margin: var(--ff-space-3) 0 0;
    padding: 12px 16px;
    border: 1px solid var(--ff-product-line);
    background-color: var(--ff-colour-warm-white);
    font-size: 15px;
    line-height: 1.5;
    list-style: none;
    color: var(--ff-colour-dark);
}
.ff-product-notices a {
    margin-left: 8px;
    color: var(--ff-colour-dark);
    text-decoration: underline;
}

/* 12 Information sections (XD: bold label, regular copy, thin #E2DFDA dividers) */
.ff-product-details {
    margin-top: var(--ff-space-5);
}
.ff-product-detail-section {
    padding: var(--ff-space-3) 0;
}
.ff-product-detail-section + .ff-product-detail-section {
    border-top: 1px solid var(--ff-product-line);
}
.ff-product-detail-section:first-child {
    padding-top: 0;
}
.ff-product-detail-title {
    margin: 0 0 8px;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-heading);
    line-height: var(--ff-line-height-label);
    letter-spacing: 0.005em;
    color: var(--ff-colour-dark);
}
.ff-product-detail-copy {
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 1.6;
    color: var(--ff-colour-dark);
}
.ff-product-detail-copy p {
    margin: 0 0 8px;
}
.ff-product-detail-copy p:last-child {
    margin-bottom: 0;
}
.ff-product-detail-term {
    font-weight: var(--ff-weight-medium);
}

/* 13 You might also like (homepage section rhythm + carousel) */
.ff-related-products {
    padding: var(--ff-space-7) 0;
}
.ff-product-single .ff-related-products-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ff-space-4);
}
.ff-related-products .ff-section-header {
    text-align: center;
}
.ff-related-products .ff-section-title {
    margin: 0;
}

@media (prefers-reduced-motion: reduce) {
    .ff-product-breadcrumb-link,
    .ff-product-thumbnail {
        transition: none;
    }
}
/* Tablet landscape and below */
@media (max-width: 1119px) {
    .ff-product-single .ff-product-main {
        gap: var(--ff-space-4);
    }
    .ff-related-products {
        padding: var(--ff-space-6) 0;
    }
}
/* Tablet portrait and below: stacked - gallery, then the purchase summary */
@media (max-width: 1023px) {
    .ff-product-single .ff-product-main {
        grid-template-columns: minmax(0, 1fr);
        padding-top: var(--ff-space-3);
    }
    .ff-product-gallery {
        width: 100%;
        max-width: 640px;
        justify-self: center;
    }
}
/* Phones */
@media (max-width: 767px) {
    .ff-product-gallery {
        max-width: none;
    }
    .ff-product-gallery-counter {
        bottom: 12px;
    }
    .ff-product-thumbnails {
        gap: 10px;
        margin-top: 12px;
    }
    .ff-product-thumbnails li {
        flex: 0 0 76px;
    }
    .ff-product-field,
    .ff-product-field select {
        width: 100%;
    }
    .ff-product-purchase-row {
        gap: 12px;
    }
    /* [ − 1 + ] [ ADD TO CART ] [ ♡ ] on one line down to 360px (44px quantity buttons kept) */
    .ff-product-purchase-row {
        flex-wrap: nowrap;
        gap: 8px;
    }
    .ff-quantity-control {
        flex: 0 0 auto;
        width: 132px;
        height: 48px;
    }
    .ff-product-add {
        flex: 1 1 0;
        min-width: 0;
        min-height: 48px;
        padding-inline: 10px;
    }
    .ff-product-purchase-row .ff-wishlist-control--large {
        width: 48px;
        height: 48px;
    }
    .ff-related-products {
        padding: 56px 0;
    }
}

/* =========================================================
   SITE — WISHLIST
   ========================================================= */
/*
 * Wishlist / My Lists (includes/wishlist.php + forest-fairies.js initWishlist).
 * Hearts: product card #774 (beside "+") and the single product purchase row; "Add to list" popover; header badge;
 * My Lists page (/wishlist/, page #811). Flat controls, warm-neutral lines, dark text, gold heart when saved.
 */
.ff-wishlist-control {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 30px;
    height: 30px;
    margin: 0;
    padding: 0;
    border: 1px solid #E0DCD7;
    border-radius: 50%;
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
    cursor: pointer;
    transition: border-color 0.2s ease;
}
/* larger touch target without changing the 30px circle */
.ff-wishlist-control::after {
    content: "";
    position: absolute;
    inset: -7px;
}
.ff-wishlist-control:hover,
.ff-wishlist-control[aria-expanded="true"] {
    border-color: var(--ff-colour-dark);
}
.ff-wishlist-control:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
/* card: bottom-right of the media frame, to the left of "+" (above the stretched card link) */
.ff-product-card-media .ff-wishlist-control {
    position: absolute;
    z-index: 2;
    right: 46px;
    bottom: 8px;
}
/* single product: beside Add to cart */
.ff-wishlist-control--large {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-color: var(--ff-colour-dark);
}
.ff-wishlist-control--large::after {
    inset: 0;
}
.ff-wishlist-icon {
    position: relative;
    display: block;
    width: 13px;
    height: 13px;
    pointer-events: none;
}
.ff-wishlist-control--large .ff-wishlist-icon {
    width: 18px;
    height: 18px;
}
/* gold fill (saved) under a dark outline */
.ff-wishlist-icon::before,
.ff-wishlist-icon::after {
    content: "";
    position: absolute;
    inset: 0;
}
.ff-wishlist-icon::before {
    background-color: #FCD647;
    -webkit-mask: url("../images/icons/heart-filled.svg") center / contain no-repeat;
    mask: url("../images/icons/heart-filled.svg") center / contain no-repeat;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.ff-wishlist-icon::after {
    background-color: var(--ff-colour-dark);
    -webkit-mask: url("../images/icons/heart.svg") center / contain no-repeat;
    mask: url("../images/icons/heart.svg") center / contain no-repeat;
}
.ff-wishlist-control.is-saved .ff-wishlist-icon::before,
.ff-wishlist-icon.is-filled::before {
    opacity: 1;
}

/* "Add to list" popover */
.ff-wishlist-popover {
    position: absolute;
    z-index: 9000;
    box-sizing: border-box;
    max-width: calc(100vw - 16px);
    padding: 14px 0 8px;
    border: 1px solid var(--ff-colour-warm-grey);
    background-color: var(--ff-colour-white);
    box-shadow: 0 12px 32px rgba(37, 37, 35, 0.12);
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
    --bde-links-color: var(--ff-colour-dark);
    --bde-links-color-hover: var(--ff-colour-dark);
}
.ff-wishlist-popover[hidden] {
    display: none;
}
.ff-wishlist-popover-head {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 16px 12px;
    border-bottom: 1px solid #E2DFDA;
    font-size: 14px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ff-wishlist-popover-head .ff-wishlist-icon {
    width: 16px;
    height: 16px;
}
.ff-wishlist-create-toggle {
    display: block;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    border-bottom: 1px solid #E2DFDA;
    background: none;
    font-family: var(--ff-font-primary);
    font-size: 14px;
    font-weight: var(--ff-weight-button);
    letter-spacing: 0.06em;
    text-align: left;
    text-transform: uppercase;
    color: var(--ff-colour-dark);
    cursor: pointer;
}
.ff-wishlist-create-toggle:hover {
    background-color: var(--ff-colour-warm-white);
}
.ff-wishlist-create {
    padding: 12px 16px;
    border-bottom: 1px solid #E2DFDA;
}
.ff-wishlist-create[hidden] {
    display: none;
}
.ff-wishlist-create-label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    font-weight: var(--ff-weight-bold);
    letter-spacing: 0.005em;
}
.ff-wishlist-create-row {
    display: flex;
    gap: 8px;
}
.ff-wishlist-create-row input[type="text"] {
    flex: 1 1 auto;
    box-sizing: border-box;
    min-width: 0;
    height: 40px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid #E8E8E7;
    border-radius: 0;
    background-color: var(--ff-colour-white);
    font-family: var(--ff-font-primary);
    font-size: 16px;
    color: var(--ff-colour-dark);
}
.ff-wishlist-create-row input[type="text"]:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 1px;
}
.ff-wishlist-create-save {
    flex: 0 0 auto;
    height: 40px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    border-radius: var(--ff-radius-sm);
    background-color: var(--ff-colour-button-dark, #252523);
    font-family: var(--ff-font-button);
    font-style: normal;
    font-stretch: normal;
    font-synthesis: none;
    font-size: 14px;
    font-weight: var(--ff-weight-button);
    letter-spacing: 0.04em;
    color: var(--ff-colour-white);
    cursor: pointer;
}
.ff-wishlist-create-save:focus-visible,
.ff-wishlist-create-toggle:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -2px;
}
.ff-wishlist-error {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.4;
    color: #8A2B1E;
}
.ff-wishlist-error:empty {
    display: none;
}
.ff-wishlist-options {
    max-height: 240px;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    list-style: none;
}
.ff-wishlist-options li {
    margin: 0;
}
.ff-wishlist-list-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    min-height: 44px;
    margin: 0;
    padding: 0 16px;
    border: 0;
    background: none;
    font-family: var(--ff-font-primary);
    font-size: 15px;
    text-align: left;
    color: var(--ff-colour-dark);
    cursor: pointer;
}
.ff-wishlist-list-option:hover {
    background-color: var(--ff-colour-warm-white);
}
.ff-wishlist-list-option:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -2px;
}
.ff-wishlist-list-name {
    min-width: 0;
    overflow-wrap: anywhere;
}
/* membership: filled box + tick (never colour alone) */
.ff-wishlist-check {
    position: relative;
    flex: 0 0 18px;
    box-sizing: border-box;
    width: 18px;
    height: 18px;
    border: 1px solid #CFCAC3;
    border-radius: 2px;
    background-color: var(--ff-colour-white);
}
.ff-wishlist-list-option[aria-pressed="true"] .ff-wishlist-check {
    border-color: var(--ff-colour-dark);
    background-color: var(--ff-colour-dark);
}
.ff-wishlist-list-option[aria-pressed="true"] .ff-wishlist-check::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border-right: 1.5px solid var(--ff-colour-white);
    border-bottom: 1.5px solid var(--ff-colour-white);
    transform: rotate(45deg);
}
.ff-wishlist-list-option[aria-busy="true"] {
    opacity: 0.6;
}
.ff-wishlist-popover-link,
.ff-wishlist-popover-link:visited,
.ff-wishlist-popover-link:hover {
    display: inline-block;
    margin: 8px 16px 4px;
    font-size: 14px;
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
}
.ff-wishlist-popover-link:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}

/* header heart count: unique products across all lists (same badge as the cart count) */
.ff-site-header .ff-header-actions .ff-header-action--wishlist .bde-icon-icon {
    position: relative;
}
.ff-site-header .ff-header-wishlist-count {
    position: absolute;
    top: 3px;
    right: 1px;
    box-sizing: border-box;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    border-radius: 999px;
    box-shadow: 0 0 0 2px var(--ff-colour-white);
    background-color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 11px;
    font-weight: var(--ff-weight-semibold);
    line-height: 17px;
    text-align: center;
    color: var(--ff-colour-white);
    pointer-events: none;
}
.ff-site-header .ff-header-wishlist-count[hidden] {
    display: none;
}

/* My Lists page */
.ff-wishlist-page {
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
    --bde-links-color: var(--ff-colour-dark);
    --bde-links-color-hover: var(--ff-colour-dark);
}
.ff-wishlist-page .ff-container-content {
    margin-bottom: 0;
    text-align: left;
}
.ff-wishlist-inner {
    padding: var(--ff-space-3) 0 var(--ff-space-7);
}
.ff-wishlist-loading {
    padding: var(--ff-space-5) 0;
}
.ff-wishlist-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    list-style: none;
    font-family: var(--ff-font-primary);
    font-size: 15px;
    line-height: 20px;
}
.ff-wishlist-breadcrumbs li + li::before {
    content: "/";
    margin: 0 8px;
}
.ff-wishlist-breadcrumbs a,
.ff-wishlist-breadcrumbs a:visited,
.ff-wishlist-breadcrumbs a:hover {
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease;
}
.ff-wishlist-breadcrumbs a:hover,
.ff-wishlist-breadcrumbs a:focus-visible {
    background-size: 100% 1px;
}
.ff-wishlist-notice {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-top: var(--ff-space-3);
    padding: 16px 20px;
    border: 1px solid #E2DFDA;
    background-color: var(--ff-colour-warm-white);
}
.ff-wishlist-notice .ff-body {
    margin: 0;
}
.ff-wishlist-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: var(--ff-space-5);
    margin-top: var(--ff-space-5);
}
.ff-wishlist-title {
    margin: 0 0 var(--ff-space-2);
    font-family: var(--ff-font-primary);
    font-size: 18px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}
.ff-wishlist-nav {
    margin: 0;
    padding: 0;
    border-top: 1px solid #E2DFDA;
    list-style: none;
}
.ff-wishlist-nav li {
    margin: 0;
    border-bottom: 1px solid #E2DFDA;
}
.ff-wishlist-nav-item {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 8px 12px;
    border: 0;
    background: none;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 1.35;
    text-align: left;
    color: var(--ff-colour-dark);
    cursor: pointer;
}
.ff-wishlist-nav-item:hover {
    background-color: var(--ff-colour-warm-white);
}
.ff-wishlist-nav-item.is-current {
    background-color: var(--ff-colour-warm-grey);
    font-weight: var(--ff-weight-semibold);
}
.ff-wishlist-nav-item:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -2px;
}
.ff-wishlist-nav-name {
    min-width: 0;
    overflow-wrap: anywhere;
}
.ff-wishlist-nav-count {
    font-weight: var(--ff-weight-regular);
    opacity: 0.7;
}
.ff-wishlist-sidebar .ff-wishlist-create-toggle {
    margin-top: var(--ff-space-2);
    padding: 0;
    border: 0;
}
.ff-wishlist-sidebar .ff-wishlist-create-toggle:hover {
    background: none;
    text-decoration: underline;
}
.ff-wishlist-page .ff-wishlist-create {
    padding: 12px 0;
    border: 0;
}
.ff-wishlist-content-head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
    padding-bottom: var(--ff-space-2);
    border-bottom: 1px solid #E2DFDA;
}
.ff-wishlist-list-title {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 24px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.25;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.ff-wishlist-list-title:focus {
    outline: none;
}
.ff-wishlist-list-count {
    font-weight: var(--ff-weight-regular);
    opacity: 0.7;
}
.ff-wishlist-list-actions {
    display: flex;
    gap: 20px;
}
.ff-wishlist-text-button {
    position: relative;
    margin: 0;
    padding: 4px 0;
    border: 0;
    background: none;
    font-family: var(--ff-font-primary);
    font-size: 14px;
    font-weight: var(--ff-weight-button);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ff-colour-dark);
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    cursor: pointer;
}
.ff-wishlist-text-button::after {
    content: "";
    position: absolute;
    inset: -10px -6px;
}
.ff-wishlist-text-button:focus-visible,
.ff-wishlist-remove:focus-visible,
.ff-wishlist-move-option:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-wishlist-rows {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-wishlist-row {
    display: grid;
    grid-template-columns: 120px minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--ff-space-3);
    margin: 0;
    padding: var(--ff-space-3) 0;
    border-bottom: 1px solid #E2DFDA;
}
.ff-wishlist-row-media {
    display: block;
    width: 120px;
    aspect-ratio: 1 / 1;
    background-color: var(--ff-colour-white);
}
.ff-wishlist-row-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: contain;
}
.ff-wishlist-row-content {
    min-width: 0;
}
.ff-wishlist-row-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}
.ff-wishlist-row-badges .ff-product-badge__label {
    display: inline-block;
}
.ff-wishlist-row-title {
    margin: 0 0 6px;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular);
    line-height: 1.4;
}
.ff-wishlist-row-title a,
.ff-wishlist-row-title a:visited,
.ff-wishlist-row-title a:hover {
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease;
}
.ff-wishlist-row-title a:hover,
.ff-wishlist-row-title a:focus-visible {
    background-size: 100% 1px;
}
.ff-wishlist-row-availability {
    margin: 0 0 4px;
    font-size: 14px;
    line-height: 1.4;
}
.ff-wishlist-row-availability.is-out-of-stock {
    font-weight: var(--ff-weight-semibold);
}
.ff-wishlist-row-price {
    margin: 0;
    font-size: var(--ff-font-size-body);
    line-height: 1.4;
}
.ff-wishlist-row-price del {
    margin-right: 6px;
    opacity: 0.6;
}
.ff-wishlist-row-price ins {
    text-decoration: none;
}
.ff-wishlist-page .screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}
.ff-wishlist-row-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 12px;
}
.ff-wishlist-add {
    min-width: 180px;
}
.ff-wishlist-move {
    position: relative;
}
.ff-wishlist-move-menu {
    position: absolute;
    z-index: 5;
    top: calc(100% + 8px);
    right: 0;
    min-width: 200px;
    margin: 0;
    padding: 4px 0;
    border: 1px solid var(--ff-colour-warm-grey);
    background-color: var(--ff-colour-white);
    box-shadow: 0 12px 32px rgba(37, 37, 35, 0.12);
    list-style: none;
}
.ff-wishlist-move-menu[hidden] {
    display: none;
}
.ff-wishlist-move-menu li {
    margin: 0;
}
.ff-wishlist-move-option {
    display: block;
    width: 100%;
    min-height: 40px;
    margin: 0;
    padding: 0 14px;
    border: 0;
    background: none;
    font-family: var(--ff-font-primary);
    font-size: 15px;
    text-align: left;
    color: var(--ff-colour-dark);
    cursor: pointer;
}
.ff-wishlist-move-option:hover {
    background-color: var(--ff-colour-warm-white);
}
.ff-wishlist-remove {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 4px 0;
    border: 0;
    background: none;
    font-family: var(--ff-font-primary);
    font-size: 14px;
    color: var(--ff-colour-dark);
    opacity: 0.75;
    cursor: pointer;
}
.ff-wishlist-remove span {
    font-size: 18px;
    line-height: 1;
}
.ff-wishlist-remove:hover {
    opacity: 1;
    text-decoration: underline;
}
.ff-wishlist-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--ff-space-2);
    padding: var(--ff-space-6) 0;
    text-align: center;
}
.ff-wishlist-empty-title {
    margin: 0;
    text-transform: uppercase;
}
.ff-wishlist-empty .ff-body {
    max-width: 420px;
    margin: 0 0 calc(var(--ff-gap-copy-cta) - var(--ff-space-2));
}
@media (prefers-reduced-motion: reduce) {
    .ff-wishlist-control,
    .ff-wishlist-icon::before,
    .ff-wishlist-breadcrumbs a,
    .ff-wishlist-row-title a {
        transition: none;
    }
}
@media (max-width: 1023px) {
    .ff-wishlist-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--ff-space-4);
        margin-top: var(--ff-space-4);
    }
}
@media (max-width: 767px) {
    .ff-wishlist-row {
        grid-template-columns: 88px minmax(0, 1fr);
        align-items: start;
        gap: 12px 16px;
    }
    .ff-wishlist-row-media {
        width: 88px;
    }
    .ff-wishlist-row-actions {
        grid-column: 1 / -1;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        justify-content: flex-start;
        gap: 12px 20px;
    }
    .ff-wishlist-add {
        flex: 1 1 100%;
        min-width: 0;
    }
    .ff-wishlist-move-menu {
        right: auto;
        left: 0;
    }
    .ff-wishlist-list-title {
        font-size: 20px;
    }
}

/* =========================================================
   SITE — MINI CART QUANTITY
   ========================================================= */
/*
 * Fly-out mini cart rows (Essential Elements Mini Cart template + includes/mini-cart.php quantity control).
 * Layout fix: every part is placed explicitly - the remove link comes first in the markup, and auto-placement put
 * it in the thumbnail column, pushing the title into the 32px remove column (one character per line).
 *   [ image ] [ title + variation lines   ] [ × ]
 *   [       ] [ − 1 +            R60,00        ]
 */
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas {
    --cart-image-size: 76px;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart-item {
    grid-template-columns: var(--cart-image-size) minmax(0, 1fr) 32px;
    grid-template-rows: auto auto;
    row-gap: 10px;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-thumbnail {
    grid-column: 1;
    grid-row: 1 / span 2;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    overflow-wrap: break-word;
    word-break: normal;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart .remove {
    grid-column: 3;
    grid-row: 1;
}
/* variation lines: one "Label: value" line per attribute, wrapping normally (inline-block keeps the title underline
   off them) */
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title .variation {
    display: inline-block;
    width: 100%;
    max-width: 100%;
    margin: 6px 0 0;
    font-size: var(--ff-font-size-small);
    line-height: 1.5;
    color: rgba(48, 48, 48, 0.75);
    /* Breakdance's base .variation sets word-break: break-all (splits words mid-letter): wrap at spaces, and only break
       inside a word that is longer than the line on its own (e.g. a long unspaced gift message) */
    word-break: normal;
    overflow-wrap: anywhere;
    white-space: normal;
    /* WooCommerce widget CSS adds a 2px left bar + indent to cart list <dl>s */
    padding: 0;
    border: 0;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title .variation dt,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title .variation dd,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title .variation dd p {
    display: inline;
    float: none;   /* WooCommerce floats dt / dd in cart lists, which forces them to block (label and value split) */
    clear: none;
    margin: 0;
    padding: 0;
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title .variation dt {
    font-weight: var(--ff-weight-medium);
    color: var(--ff-colour-dark);
}
/* "Gift wrap: Christmas Joy" - the template's own whitespace is the single space between label and value */
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title .variation dd {
    margin-inline-start: 0;
    font-weight: var(--ff-weight-regular);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-item-title .variation dd::after {
    content: "\A";
    white-space: pre;
}
.ff-mini-cart-qty {
    display: flex;
    grid-column: 2 / span 2;
    grid-row: 2;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
}
.ff-mini-cart-stepper {
    display: inline-flex;
    align-items: center;
    box-sizing: border-box;
    height: 36px;
    border: 1px solid #E0DCD7;
    border-radius: 2px;
}
.ff-mini-cart-step {
    position: relative;
    width: 36px;
    height: 34px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    cursor: pointer;
}
.ff-mini-cart-step::before,
.ff-mini-cart-step--up::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 1.2px;
    background-color: var(--ff-colour-dark);
    transform: translate(-50%, -50%);
}
.ff-mini-cart-step--up::after {
    transform: translate(-50%, -50%) rotate(90deg);
}
.ff-mini-cart-step:disabled {
    cursor: default;
    opacity: 0.3;
}
.ff-mini-cart-step:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -2px;
}
.ff-mini-cart-qty-value {
    min-width: 24px;
    font-size: 15px;
    font-weight: var(--ff-weight-medium);
    text-align: center;
}
.ff-mini-cart-qty-value--fixed {
    min-width: 0;
    font-size: var(--ff-font-size-small);
    opacity: 0.75;
}
.ff-mini-cart-line-total {
    font-size: 15px;
    font-weight: var(--ff-weight-semibold);
    white-space: nowrap;
}
.ff-mini-cart-qty.is-updating {
    opacity: 0.55;
}
@media (max-width: 767px) {
    .ff-mini-cart-stepper {
        height: 40px;
    }
    .ff-mini-cart-step {
        width: 40px;
        height: 38px;
    }
}
/*
 * Quantity / price row: the stepper keeps its size and the price never shrinks (nowrap), so on a narrow drawer
 * (<= ~350px, or when a classic 17px scrollbar takes part of the list) the price wraps under the stepper,
 * right-aligned, instead of pushing the row past the drawer (that overflow made the list scroll sideways).
 */
.ff-mini-cart-qty {
    flex-wrap: wrap;
    row-gap: 6px;
}
.ff-mini-cart-stepper {
    flex: 0 0 auto;
}
.ff-mini-cart-line-total {
    margin-left: auto;
}
/* Phones: the drawer is a full-screen panel - heading on top, products scroll, subtotal + View cart always visible */
@media (max-width: 767px) {
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .bde-mini-cart-offcanvas-body {
        top: 0;
        bottom: auto;
        box-sizing: border-box;
        width: 100%;
        max-width: 100%;
        height: 100vh;
        height: 100dvh;
        max-height: 100vh;
        max-height: 100dvh;
        z-index: 100000;   /* also above the WordPress admin bar (99999) for logged-in administrators */
    }
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas-topbar {
        flex: 0 0 auto;
    }
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .widget_shopping_cart_content {
        flex: 1 1 auto;
        min-height: 0;
        max-width: 100%;
    }
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart {
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        max-width: 100%;
        overflow-x: hidden;   /* defensive only: no row is wider than the list */
        overscroll-behavior: contain;
    }
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart-item {
        box-sizing: border-box;
        max-width: 100%;
    }
    .ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas-footer {
        flex: 0 0 auto;
        padding-bottom: calc(var(--bde-mini-cart-padding-bottom, 20px) + env(safe-area-inset-bottom));
    }
}

/* =========================================================
   SITE — WOOCOMMERCE SHARED UI
   ========================================================= */
/*
 * Cart, Checkout (+ order received / order pay) and My Account: pages 12 / 13 / 14 hold
 * section.ff-commerce-page > .ff-container-content.ff-commerce-inner > [ff_commerce], which wraps WooCommerce's
 * own classic shortcode in .ff-commerce (includes/commerce.php). Every rule below is scoped to .ff-commerce
 * (or to those three body classes for select2 dropdowns), so Shop, Product, Quick View and the mini cart are untouched.
 * WooCommerce's own stylesheets load first; these rules only re-skin them.
 */
.ff-commerce-page {
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
    --bde-links-color: var(--ff-colour-dark);
    --bde-links-color-hover: var(--ff-colour-dark);
}
.ff-commerce-page .ff-container-content {
    margin-bottom: 0;
    text-align: left;
}
.ff-commerce-inner {
    padding: var(--ff-space-4) 0 var(--ff-space-7);
}
.ff-commerce {
    --ffc-line: #E7E3DE;
    --ffc-field: #938D86;
    --ffc-muted: #6E6862;
    --ffc-error: #A63A2F;
    --ffc-error-bg: #FBF1EF;
    --ffc-success-bg: #FFFBEB;
    --ffc-gold: #FCD647;
    --ffc-sticky-top: calc(var(--ff-sticky-admin-offset, 0px) + 116px);
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 1.5;
    color: var(--ff-colour-dark);
}
.ff-commerce *,
.ff-commerce *::before,
.ff-commerce *::after {
    box-sizing: border-box;
}
.ff-commerce .woocommerce {
    font-family: var(--ff-font-primary);
}
.ff-commerce p {
    margin: 0 0 var(--ff-space-2);
}

/* ---- page head: restrained progress + one H1 ---- */
.ff-commerce-head {
    margin-bottom: var(--ff-space-5);
}
.ff-commerce .ff-commerce-title {
    margin: 0;
    text-transform: uppercase;
    overflow-wrap: anywhere;
}
.ff-commerce-steps {
    margin-bottom: var(--ff-space-3);
}
.ff-commerce-steps ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 13px;
    font-weight: var(--ff-weight-medium);
    line-height: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ff-commerce-steps li {
    display: flex;
    align-items: center;
    color: var(--ffc-muted);
}
.ff-commerce-steps li + li::before {
    content: "";
    width: 28px;
    height: 1px;
    margin: 0 14px;
    background-color: currentColor;
    opacity: 0.45;
}
.ff-commerce-steps li.is-current,
.ff-commerce-steps li.is-done {
    color: var(--ff-colour-dark);
}
.ff-commerce-steps li.is-current {
    font-weight: var(--ff-weight-semibold);
}
.ff-commerce-steps a,
.ff-commerce-steps a:visited {
    color: inherit;
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 0 1px;
    transition: background-size 0.3s ease;
}
.ff-commerce-steps a:hover,
.ff-commerce-steps a:focus-visible {
    background-size: 100% 1px;
}
.ff-commerce--cart:has(.wc-empty-cart-message) .ff-commerce-steps {
    display: none;
}

/* ---- secondary button (outline): Apply, Continue / View / Edit style actions ---- */
.ff-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: var(--ff-button-min-height);
    padding: 9px 28px;
    border: 1px solid var(--ff-colour-dark);
    border-radius: var(--ff-radius-sm);
    background-color: transparent;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-button);
    font-style: normal;
    font-stretch: normal;
    font-synthesis: none;
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-button);
    line-height: var(--ff-line-height-button);
    letter-spacing: var(--ff-letter-spacing-button);
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.ff-btn-secondary:visited {
    color: var(--ff-colour-dark);
}
.ff-btn-secondary:hover,
.ff-btn-secondary:focus-visible {
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-white);
}
.ff-btn-secondary:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
}

/* ---- WooCommerce buttons -> the Forest Fairies button system ---- */
.ff-commerce .woocommerce .button,
.ff-commerce .woocommerce button.button,
.ff-commerce .woocommerce a.button,
.ff-commerce .woocommerce .button.alt,
.ff-commerce .woocommerce button.button.alt,
.ff-commerce .woocommerce a.button.alt {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    margin: 0;
    padding: 12px 32px;
    border: 1px solid var(--ff-colour-button-dark, #252523);
    border-radius: var(--ff-radius-sm);
    background-color: var(--ff-colour-button-dark, #252523);
    color: var(--ff-colour-white);
    font-family: var(--ff-font-button);
    font-style: normal;
    font-stretch: normal;
    font-synthesis: none;
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-button);
    line-height: var(--ff-line-height-button);
    letter-spacing: var(--ff-letter-spacing-button);
    text-transform: uppercase;
    text-decoration: none;
    text-shadow: none;
    box-shadow: none;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ff-commerce .woocommerce .button:hover,
.ff-commerce .woocommerce .button:focus-visible,
.ff-commerce .woocommerce .button.alt:hover,
.ff-commerce .woocommerce .button.alt:focus-visible {
    border-color: var(--ff-colour-dark);
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-warm-white);
    box-shadow: 0 8px 18px -8px rgba(37, 37, 35, 0.45);
    transform: translateY(-1px);
}
.ff-commerce .woocommerce .button:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
}
.ff-commerce .woocommerce .button:disabled,
.ff-commerce .woocommerce .button.disabled,
.ff-commerce .woocommerce .button:disabled[disabled] {
    padding: 12px 32px;
    opacity: 0.45;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
/* secondary actions keep the outline style */
.ff-commerce .woocommerce .coupon .button,
.ff-commerce .woocommerce .checkout_coupon .button,
.ff-commerce .woocommerce .shipping-calculator-form .button,
.ff-commerce .woocommerce button[name="update_cart"],
.ff-commerce .woocommerce .woocommerce-orders-table .button,
.ff-commerce .woocommerce .order-again .button,
.ff-commerce .woocommerce .woocommerce-MyAccount-downloads .button,
.ff-commerce .woocommerce .woocommerce-table--order-downloads .button {
    background-color: transparent;
    color: var(--ff-colour-dark);
    border-color: var(--ff-colour-dark);
}
.ff-commerce .woocommerce .coupon .button:hover,
.ff-commerce .woocommerce .coupon .button:focus-visible,
.ff-commerce .woocommerce .checkout_coupon .button:hover,
.ff-commerce .woocommerce .checkout_coupon .button:focus-visible,
.ff-commerce .woocommerce .shipping-calculator-form .button:hover,
.ff-commerce .woocommerce .shipping-calculator-form .button:focus-visible,
.ff-commerce .woocommerce .woocommerce-orders-table .button:hover,
.ff-commerce .woocommerce .woocommerce-orders-table .button:focus-visible,
.ff-commerce .woocommerce .order-again .button:hover,
.ff-commerce .woocommerce .order-again .button:focus-visible {
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-white);
    box-shadow: none;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .ff-commerce .woocommerce .button,
    .ff-commerce .woocommerce .button:hover,
    .ff-commerce .woocommerce .button:focus-visible {
        transform: none;
        transition: background-color 0.2s ease, color 0.2s ease;
    }
}

/* ---- links: dark brand styling, never browser blue/purple ---- */
.ff-commerce .woocommerce :where(a:not(.button, .ff-btn-primary, .ff-btn-secondary, .remove, .ff-account-tile, .ff-wishlist-app a)),
.ff-commerce .woocommerce :where(a:not(.button, .ff-btn-primary, .ff-btn-secondary, .remove, .ff-account-tile, .ff-wishlist-app a)):visited,
.ff-commerce-link,
.ff-commerce-link:visited {
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    transition: background-size 0.3s ease, color 0.2s ease;
}
.ff-commerce .woocommerce :where(a:not(.button, .ff-btn-primary, .ff-btn-secondary, .remove, .ff-account-tile, .ff-wishlist-app a)):hover,
.ff-commerce-link:hover {
    color: var(--ff-colour-button-dark);
    background-size: 100% 2px;
}
.ff-commerce .woocommerce a:focus-visible,
.ff-commerce-link:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
    border-radius: 1px;
}
.ff-commerce .woocommerce .product-name a:not(.button),
.ff-commerce .woocommerce .woocommerce-orders-table__cell-order-number a {
    background-size: 0 1px;
}
.ff-commerce .woocommerce .product-name a:not(.button):hover,
.ff-commerce .woocommerce .product-name a:not(.button):focus-visible,
.ff-commerce .woocommerce .woocommerce-orders-table__cell-order-number a:hover {
    background-size: 100% 1px;
}

/* ---- form controls: input / select / textarea / radio / checkbox ---- */
.ff-commerce .woocommerce form .form-row {
    margin: 0;
    padding: 0;
}
.ff-commerce .woocommerce form .form-row label,
.ff-commerce .woocommerce-form-row label,
.ff-commerce .woocommerce fieldset legend {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: var(--ff-weight-medium);
    line-height: 20px;
    color: var(--ff-colour-dark);
}
.ff-commerce .woocommerce form .form-row .required,
.ff-commerce .woocommerce form .form-row abbr.required {
    color: var(--ff-colour-dark);
    font-weight: var(--ff-weight-regular);
    text-decoration: none;
    border: 0;
}
.ff-commerce .woocommerce form .form-row .optional {
    color: var(--ffc-muted);
    font-weight: var(--ff-weight-regular);
}
.ff-commerce .woocommerce input.input-text,
.ff-commerce .woocommerce input[type="text"],
.ff-commerce .woocommerce input[type="email"],
.ff-commerce .woocommerce input[type="tel"],
.ff-commerce .woocommerce input[type="password"],
.ff-commerce .woocommerce input[type="number"],
.ff-commerce .woocommerce select,
.ff-commerce .woocommerce textarea,
.ff-commerce .woocommerce .select2-container--default .select2-selection--single {
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 12px 14px;
    border: 1px solid var(--ffc-field);
    border-radius: 2px;
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 16px;
    line-height: 22px;
    box-shadow: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.ff-commerce .woocommerce textarea {
    min-height: 112px;
    resize: vertical;
}
.ff-commerce .woocommerce select {
    padding-right: 40px;
    appearance: none;
    background-image: url("../images/icons/chevron-down.svg");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 12px 7px;
}
.ff-commerce .woocommerce input.input-text:focus,
.ff-commerce .woocommerce input[type="text"]:focus,
.ff-commerce .woocommerce input[type="email"]:focus,
.ff-commerce .woocommerce input[type="tel"]:focus,
.ff-commerce .woocommerce input[type="password"]:focus,
.ff-commerce .woocommerce input[type="number"]:focus,
.ff-commerce .woocommerce select:focus,
.ff-commerce .woocommerce textarea:focus,
.ff-commerce .woocommerce .select2-container--focus .select2-selection--single,
.ff-commerce .woocommerce .select2-container--open .select2-selection--single {
    border-color: var(--ff-colour-dark);
    outline: none;
    box-shadow: 0 0 0 3px rgba(252, 214, 71, 0.55);
}
.ff-commerce .woocommerce .select2-container--default .select2-selection--single {
    display: flex;
    align-items: center;
    height: 48px;
    padding: 0 40px 0 14px;
}
.ff-commerce .woocommerce .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 0;
    color: var(--ff-colour-dark);
    line-height: 22px;
}
.ff-commerce .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 0;
    right: 10px;
    height: 46px;
}
.ff-commerce .woocommerce .select2-container--default .select2-selection--single .select2-selection__arrow b {
    border-color: var(--ff-colour-dark) transparent transparent;
}
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .select2-dropdown {
    border-color: var(--ff-colour-dark);
    border-radius: 2px;
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
}
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .select2-container--default .select2-results__option--highlighted[aria-selected],
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .select2-container--default .select2-results__option--highlighted[data-selected] {
    background-color: var(--ff-colour-warm-grey);
    color: var(--ff-colour-dark);
}
:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) .select2-container--default .select2-search--dropdown .select2-search__field {
    min-height: 40px;
    border: 1px solid var(--ffc-field, #938D86);
}
.ff-commerce .woocommerce input[type="checkbox"],
.ff-commerce .woocommerce input[type="radio"] {
    width: 18px;
    height: 18px;
    margin: 0 10px 0 0;
    vertical-align: -3px;
    accent-color: var(--ff-colour-dark);
}
.ff-commerce .woocommerce input[type="checkbox"]:focus-visible,
.ff-commerce .woocommerce input[type="radio"]:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-commerce .woocommerce form .form-row label.checkbox,
.ff-commerce .woocommerce form .form-row .woocommerce-form__label-for-checkbox {
    display: inline-flex;
    align-items: center;
    font-weight: var(--ff-weight-regular);
    cursor: pointer;
}
/* validation: border + inline message (never colour alone: WooCommerce adds the text) */
.ff-commerce .woocommerce form .form-row.woocommerce-invalid input.input-text,
.ff-commerce .woocommerce form .form-row.woocommerce-invalid select,
.ff-commerce .woocommerce form .form-row.woocommerce-invalid .select2-selection,
.ff-commerce .woocommerce form .form-row.woocommerce-invalid textarea {
    border-color: var(--ffc-error);
}
.ff-commerce .woocommerce form .form-row.woocommerce-invalid label {
    color: var(--ffc-error);
}
.ff-commerce .woocommerce form .form-row.woocommerce-validated input.input-text,
.ff-commerce .woocommerce form .form-row.woocommerce-validated select,
.ff-commerce .woocommerce form .form-row.woocommerce-validated .select2-container:not(.select2-container--open) .select2-selection {
    border-color: var(--ffc-field);
}
.ff-commerce .woocommerce .checkout-inline-error-message,
.ff-commerce .woocommerce .coupon-error-notice {
    margin: 6px 0 0;
    color: var(--ffc-error);
    font-size: 14px;
    line-height: 20px;
}
/* password visibility (WooCommerce's own toggle) */
.ff-commerce .woocommerce form .password-input {
    display: block;
}
.ff-commerce .woocommerce form .show-password-input {
    top: 50%;
    right: 6px;
    width: 40px;
    height: 40px;
    transform: translateY(-50%);
    border-radius: 2px;
}
.ff-commerce .woocommerce form .show-password-input:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
}

/* ---- notices: success / error / info ---- */
.ff-commerce .woocommerce-notices-wrapper:empty {
    display: none;
}
.ff-commerce .woocommerce-message,
.ff-commerce .woocommerce-info,
.ff-commerce .woocommerce-error,
.ff-commerce .woocommerce-notice--error,
.ff-commerce .wc-block-components-notice-banner {
    position: relative;
    display: block;
    width: auto;
    margin: 0 0 var(--ff-space-3);
    padding: 14px 18px 14px 20px;
    border: 1px solid var(--ffc-line);
    border-left: 3px solid var(--ffc-gold);
    border-radius: 2px;
    background-color: var(--ffc-success-bg);
    color: var(--ff-colour-dark);
    font-size: 15px;
    line-height: 22px;
    list-style: none;
    outline: none;
}
.ff-commerce .woocommerce-info {
    border-left-color: #B9B2AA;
    background-color: var(--ff-colour-warm-white);
}
.ff-commerce .woocommerce-error,
.ff-commerce .woocommerce-notice--error {
    border-left-color: var(--ffc-error);
    background-color: var(--ffc-error-bg);
}
.ff-commerce .woocommerce-message::before,
.ff-commerce .woocommerce-info::before,
.ff-commerce .woocommerce-error::before {
    display: none;
}
.ff-commerce .woocommerce-message:focus-visible,
.ff-commerce .woocommerce-info:focus-visible,
.ff-commerce .woocommerce-error:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-commerce .woocommerce-error li {
    margin: 0;
    padding: 0;
}
.ff-commerce .woocommerce-error li + li {
    margin-top: 6px;
}
.ff-commerce .woocommerce-error a,
.ff-commerce .woocommerce-message a:not(.button),
.ff-commerce .woocommerce-info a:not(.button) {
    font-weight: var(--ff-weight-medium);
}
/* notices with an action (WooCommerce prints the button first): message left, compact outline action right */
.ff-commerce .woocommerce-message:has(> .button),
.ff-commerce .woocommerce-info:has(> .button) {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
}
.ff-commerce .woocommerce .woocommerce-message .button,
.ff-commerce .woocommerce .woocommerce-info .button,
.ff-commerce .woocommerce .woocommerce-error .button,
.ff-commerce .woocommerce .woocommerce-message a.button,
.ff-commerce .woocommerce .woocommerce-info a.button {
    flex: none;
    float: none;
    min-height: 38px;
    margin: 0;
    padding: 7px 18px;
    border-color: var(--ff-colour-dark);
    background-color: transparent;
    color: var(--ff-colour-dark);
    font-size: 13px;
}
.ff-commerce .woocommerce .woocommerce-message a.button:hover,
.ff-commerce .woocommerce .woocommerce-info a.button:hover,
.ff-commerce .woocommerce .woocommerce-message a.button:focus-visible,
.ff-commerce .woocommerce .woocommerce-info a.button:focus-visible {
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-white);
    box-shadow: none;
    transform: none;
}
.ff-commerce .woocommerce-message:has(> .button)::after,
.ff-commerce .woocommerce-info:has(> .button)::after {
    display: none;
}
@media (max-width: 767px) {
    .ff-commerce .woocommerce-message:has(> .button),
    .ff-commerce .woocommerce-info:has(> .button) {
        flex-direction: column-reverse;
        align-items: flex-start;
    }
}

/* ---- tables: thin horizontal rules, dark type ---- */
.ff-commerce .woocommerce table.shop_table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-radius: 0;
    font-size: 15px;
}
.ff-commerce .woocommerce table.shop_table th,
.ff-commerce .woocommerce table.shop_table td {
    padding: 14px 0;
    border: 0;
    border-top: 1px solid var(--ffc-line);
    background: none;
    vertical-align: top;
    text-align: left;
    font-weight: var(--ff-weight-regular);
    line-height: 22px;
}
.ff-commerce .woocommerce table.shop_table thead th {
    padding-top: 0;
    border-top: 0;
    color: var(--ffc-muted);
    font-size: 12px;
    font-weight: var(--ff-weight-medium);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ff-commerce .woocommerce table.shop_table td + td,
.ff-commerce .woocommerce table.shop_table th + td {
    padding-left: 16px;
}
.ff-commerce .woocommerce table.shop_table tfoot th,
.ff-commerce .woocommerce table.shop_table tfoot td {
    font-weight: var(--ff-weight-regular);
}
.ff-commerce .woocommerce table.shop_table .woocommerce-Price-amount {
    white-space: nowrap;
}
.ff-commerce .woocommerce mark {
    background: none;
    color: inherit;
    font-weight: var(--ff-weight-semibold);
}
.ff-commerce .woocommerce .wc-item-meta,
.ff-commerce .woocommerce dl.variation {
    margin: 4px 0 0;
    padding: 0;
    list-style: none;
    font-size: 14px;
    line-height: 20px;
    color: var(--ffc-muted);
}
.ff-commerce .woocommerce dl.variation dt,
.ff-commerce .woocommerce dl.variation dd,
.ff-commerce .woocommerce dl.variation dd p,
.ff-commerce .woocommerce .wc-item-meta li,
.ff-commerce .woocommerce .wc-item-meta p {
    display: inline;
    float: none;
    margin: 0;
    padding: 0;
    font-weight: var(--ff-weight-regular);
}
.ff-commerce .woocommerce dl.variation dd::after {
    content: "\A";
    white-space: pre;
}
.ff-commerce .woocommerce dl.variation dd,
.ff-commerce .woocommerce .wc-item-meta li p {
    color: var(--ff-colour-dark);
}
/* customisation / variation lines (cart, checkout, order received, account order view): "Gift wrap: Christmas Joy",
   label slightly stronger than the value, words wrap normally, only an over-long unspaced value breaks */
.ff-commerce .woocommerce dl.variation,
.ff-commerce .woocommerce .wc-item-meta {
    max-width: 100%;
    word-break: normal;
    overflow-wrap: anywhere;
}
.ff-commerce .woocommerce dl.variation dt,
.ff-commerce .woocommerce .wc-item-meta .wc-item-meta-label {
    font-weight: var(--ff-weight-medium);
    color: var(--ff-colour-dark);
}
.ff-commerce .woocommerce dl.variation dd {
    margin-inline-start: 0;
    color: rgba(48, 48, 48, 0.8);
}
.ff-commerce .woocommerce .wc-item-meta li p {
    color: rgba(48, 48, 48, 0.8);
}
.ff-commerce .woocommerce .wc-item-meta li {
    display: block;
}
.ff-commerce .woocommerce .wc-item-meta .wc-item-meta-label {
    float: none;
    margin-right: 4px;
}
/* smallscreen.css turns responsive tables into labelled blocks; our layouts handle that themselves */
.ff-commerce .woocommerce table.shop_table_responsive tbody tr:nth-child(2n) td {
    background: none;
}

/* WooCommerce's loading veil: lighter, warm, no spinner jump */
.ff-commerce .blockUI.blockOverlay {
    background-color: var(--ff-colour-white) !important;
    opacity: 0.55 !important;
}

/* addresses (order received, view order, account addresses) */
.ff-commerce .woocommerce address {
    margin: 0;
    padding: 20px 22px;
    border: 1px solid var(--ffc-line);
    border-radius: 2px;
    font-style: normal;
    line-height: 24px;
}
.ff-commerce .woocommerce .woocommerce-customer-details--phone,
.ff-commerce .woocommerce .woocommerce-customer-details--email {
    margin: 8px 0 0;
    padding-left: 0;
}
.ff-commerce .woocommerce .woocommerce-customer-details--phone::before,
.ff-commerce .woocommerce .woocommerce-customer-details--email::before {
    display: none;
}
.ff-commerce .woocommerce .col2-set::before,
.ff-commerce .woocommerce .col2-set::after {
    display: none;
}

/* section titles shared by checkout, account and order details */
.ff-commerce .ff-checkout-section-title,
.ff-commerce .woocommerce #order_review_heading,
.ff-commerce .woocommerce .woocommerce-order-details__title,
.ff-commerce .woocommerce .woocommerce-column__title,
.ff-commerce .woocommerce .wc-bacs-bank-details-heading,
.ff-commerce .woocommerce .woocommerce-Address-title h2,
.ff-commerce .woocommerce .woocommerce-Address-title h3,
.ff-commerce .woocommerce form.woocommerce-form-login > h2,
.ff-commerce .woocommerce .ff-login-title {
    margin: 0 0 var(--ff-space-2);
    font-family: var(--ff-font-primary);
    font-size: 15px;
    font-weight: var(--ff-weight-heading);
    line-height: 22px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--ff-colour-dark);
}

/* =========================================================
   SITE — CART
   ========================================================= */
.ff-cart-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 34%);
    align-items: start;
    gap: var(--ff-space-5);
}
.ff-cart-layout > .woocommerce-cart-form,
.ff-cart-layout > .cart-collaterals {
    min-width: 0;
    margin: 0;
}
/* items: the core cart table, laid out as flat rows */
.ff-commerce .woocommerce-cart-form table.shop_table {
    display: block;
}
.ff-commerce .woocommerce-cart-form table.shop_table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}
.ff-commerce .woocommerce-cart-form table.shop_table tbody {
    display: block;
    border-top: 1px solid var(--ff-colour-dark);
}
.ff-commerce .woocommerce-cart-form table.shop_table tr.cart_item {
    --ff-cart-thumb: 112px;
    display: grid;
    grid-template-columns: var(--ff-cart-thumb) minmax(0, 1fr) auto minmax(96px, auto);
    grid-template-areas:
        "thumb name name remove"
        "thumb price qty subtotal";
    align-items: center;
    column-gap: 24px;
    row-gap: 14px;
    padding: 24px 0;
    border-bottom: 1px solid var(--ffc-line);
}
.ff-commerce .woocommerce-cart-form table.shop_table tr.cart_item td {
    display: block;
    width: auto;
    min-width: 0;
    padding: 0 !important;
    border: 0;
    text-align: left !important;
    background: none;
}
.ff-commerce .woocommerce-cart-form table.shop_table tr.cart_item td::before,
.ff-commerce .cart_totals table.shop_table td::before {
    content: none !important;
    display: none !important;
}
.ff-commerce .woocommerce-cart-form td.product-thumbnail {
    grid-area: thumb;
    align-self: start;
    display: block !important;
}
.ff-commerce .woocommerce-cart-form td.product-thumbnail a,
.ff-commerce .woocommerce-cart-form td.product-thumbnail img {
    display: block;
    width: var(--ff-cart-thumb);
    height: var(--ff-cart-thumb);
    background-image: none;
}
.ff-commerce .woocommerce-cart-form td.product-thumbnail img {
    max-width: none;
    object-fit: contain;
}
.ff-commerce .woocommerce-cart-form td.product-name {
    grid-area: name;
    align-self: start;
    font-size: 17px;
    font-weight: var(--ff-weight-medium);
    line-height: 24px;
    overflow-wrap: anywhere;
}
.ff-commerce .woocommerce-cart-form td.product-name dl.variation {
    margin-top: 6px;
    font-weight: var(--ff-weight-regular);
}
.ff-commerce .woocommerce-cart-form td.product-name .backorder_notification {
    margin: 6px 0 0;
    font-size: 14px;
    color: var(--ffc-muted);
}
.ff-commerce .woocommerce-cart-form td.product-price {
    grid-area: price;
    color: var(--ffc-muted);
    font-size: 15px;
}
.ff-commerce .woocommerce-cart-form td.product-quantity {
    grid-area: qty;
}
.ff-commerce .woocommerce-cart-form td.product-subtotal {
    grid-area: subtotal;
    justify-self: end;
    text-align: right !important;
    font-size: 16px;
    font-weight: var(--ff-weight-semibold);
}
.ff-commerce .woocommerce-cart-form td.product-remove {
    grid-area: remove;
    align-self: start;
    justify-self: end;
}
.ff-commerce .woocommerce-cart-form td.product-remove a.remove {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    margin: -6px -8px 0 0;
    border-radius: 2px;
    background: none;
    color: var(--ffc-muted) !important;
    font-size: 24px;
    font-weight: var(--ff-weight-light);
    line-height: 1;
    transition: color 0.2s ease, background-color 0.2s ease;
}
.ff-commerce .woocommerce-cart-form td.product-remove a.remove:hover,
.ff-commerce .woocommerce-cart-form td.product-remove a.remove:focus-visible {
    background-color: var(--ff-colour-warm-grey);
    color: var(--ff-colour-dark) !important;
}
.ff-commerce .woocommerce-cart-form td.product-remove a.remove:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 0;
}
/* the shared stepper (mini cart) at cart-page size */
.ff-cart-qty .ff-mini-cart-stepper {
    height: 44px;
}
.ff-cart-qty .ff-mini-cart-step {
    width: 44px;
    height: 42px;
}
.ff-cart-qty .ff-mini-cart-qty-value {
    min-width: 32px;
    font-size: 16px;
}
.ff-cart-qty.is-updating {
    opacity: 0.55;
}
.ff-js .ff-commerce .woocommerce-cart-form .product-quantity noscript {
    display: none;
}
/* actions row: promo code + continue shopping (Update cart is only needed without JavaScript) */
.ff-commerce .woocommerce-cart-form table.shop_table tr:not(.cart_item) {
    display: block;
}
.ff-commerce .woocommerce-cart-form table.shop_table td.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 24px;
    padding: 28px 0 0 !important;
    border: 0;
    text-align: left !important;
}
.ff-js .ff-commerce .woocommerce-cart-form button[name="update_cart"] {
    display: none !important;
}
.ff-commerce .woocommerce-cart-form td.actions .coupon {
    display: grid;
    grid-template-columns: minmax(0, 260px) auto;
    grid-template-areas:
        "label label"
        "input button";
    gap: 8px 10px;
    float: none;
    padding: 0;
}
.ff-commerce .woocommerce-cart-form td.actions .coupon label[for="coupon_code"] {
    grid-area: label;
    position: static !important;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    font-size: 13px;
    font-weight: var(--ff-weight-semibold);
    line-height: 20px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    word-wrap: normal !important;
}
.ff-commerce .woocommerce-cart-form td.actions .coupon #coupon_code {
    grid-area: input;
    float: none;
    width: 100% !important;
    margin: 0;
}
.ff-commerce .woocommerce-cart-form td.actions .coupon .button {
    grid-area: button;
    float: none;
    width: auto !important;
}
.ff-commerce .woocommerce-cart-form td.actions .coupon .coupon-error-notice {
    grid-column: 1 / -1;
}
.ff-commerce .ff-cart-continue {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: var(--ff-weight-semibold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
/* order summary */
.ff-commerce .cart-collaterals {
    position: sticky;
    top: var(--ffc-sticky-top);
    width: 100%;
}
.ff-commerce .cart-collaterals .cross-sells {
    display: none;
}
.ff-commerce .cart-collaterals .cart_totals {
    float: none;
    width: 100%;
    padding: 28px;
    border: 1px solid var(--ffc-line);
    background-color: var(--ff-colour-warm-white);
}
.ff-commerce .cart_totals > h2 {
    margin: 0 0 12px;
    font-family: var(--ff-font-primary);
    font-size: 15px;
    font-weight: var(--ff-weight-heading);
    line-height: 22px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ff-commerce .cart_totals table.shop_table,
.ff-commerce .cart_totals table.shop_table tbody,
.ff-commerce .woocommerce-checkout-review-order-table,
.ff-commerce .woocommerce-checkout-review-order-table tbody,
.ff-commerce .woocommerce-checkout-review-order-table tfoot {
    display: block;
    width: 100%;
}
.ff-commerce .cart_totals table.shop_table tr,
.ff-commerce .woocommerce-checkout-review-order-table tbody tr,
.ff-commerce .woocommerce-checkout-review-order-table tfoot tr {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 6px 16px;
    border-top: 1px solid var(--ffc-line);
}
.ff-commerce .cart_totals table.shop_table tbody tr:first-child,
.ff-commerce .woocommerce-checkout-review-order-table tbody tr:first-child {
    border-top: 0;
}
.ff-commerce .cart_totals table.shop_table th,
.ff-commerce .cart_totals table.shop_table td,
.ff-commerce .woocommerce-checkout-review-order-table th,
.ff-commerce .woocommerce-checkout-review-order-table td {
    display: block;
    width: auto;
    padding: 14px 0 !important;
    border: 0 !important;
    text-align: left !important;
}
.ff-commerce .cart_totals table.shop_table td,
.ff-commerce .woocommerce-checkout-review-order-table td {
    text-align: right !important;
}
.ff-commerce .cart_totals table.shop_table tr.order-total,
.ff-commerce .woocommerce-checkout-review-order-table tr.order-total {
    margin-top: 4px;
    border-top: 1px solid var(--ff-colour-dark);
}
.ff-commerce .cart_totals table.shop_table tr.order-total th,
.ff-commerce .cart_totals table.shop_table tr.order-total td,
.ff-commerce .woocommerce-checkout-review-order-table tr.order-total th,
.ff-commerce .woocommerce-checkout-review-order-table tr.order-total td {
    padding-top: 18px !important;
    font-size: 20px;
    font-weight: var(--ff-weight-semibold);
    line-height: 28px;
}
.ff-commerce .cart_totals tr.order-total td strong,
.ff-commerce .woocommerce-checkout-review-order-table tr.order-total td strong {
    font-weight: var(--ff-weight-semibold);
}
.ff-commerce .cart_totals tr.order-total .includes_tax,
.ff-commerce .woocommerce-checkout-review-order-table tr.order-total .includes_tax {
    display: block;
    margin-top: 2px;
    color: var(--ffc-muted);
    font-size: 13px;
    font-weight: var(--ff-weight-regular);
    line-height: 18px;
}
.ff-commerce .includes_tax .woocommerce-Price-amount {
    font-weight: var(--ff-weight-regular);
}
/* delivery row: options below the label (long method names stay readable) */
.ff-commerce .cart_totals table.shop_table tr.woocommerce-shipping-totals,
.ff-commerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals {
    display: block;
}
.ff-commerce .cart_totals table.shop_table tr.woocommerce-shipping-totals td,
.ff-commerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
    text-align: left !important;
}
.ff-commerce .cart_totals table.shop_table tr.woocommerce-shipping-totals th,
.ff-commerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals th {
    padding: 14px 0 8px !important;
}
.ff-commerce .cart_totals table.shop_table tr.woocommerce-shipping-totals td,
.ff-commerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
    padding: 0 0 14px !important;
}
.ff-commerce .woocommerce ul#shipping_method {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-commerce .woocommerce ul#shipping_method li {
    display: flex;
    align-items: flex-start;
    margin: 0;
    padding: 6px 0;
    font-size: 15px;
    line-height: 22px;
    text-indent: 0;
}
.ff-commerce .woocommerce ul#shipping_method li input {
    flex: none;
    margin: 2px 10px 0 0;
}
.ff-commerce .woocommerce ul#shipping_method li label {
    display: inline;
    margin: 0;
    font-weight: var(--ff-weight-regular);
}
.ff-commerce .woocommerce ul#shipping_method .amount {
    font-weight: var(--ff-weight-semibold);
}
.ff-commerce .woocommerce-shipping-destination,
.ff-commerce .woocommerce .woocommerce-shipping-totals p {
    margin: 8px 0 0;
    color: var(--ffc-muted);
    font-size: 14px;
    line-height: 20px;
}
.ff-commerce .woocommerce-shipping-destination strong {
    color: var(--ff-colour-dark);
    font-weight: var(--ff-weight-medium);
}
.ff-commerce .woocommerce-shipping-calculator {
    margin: 6px 0 0;
}
.ff-commerce .woocommerce .shipping-calculator-button {
    font-size: 14px;
}
.ff-commerce .woocommerce .shipping-calculator-button::after {
    display: none;
}
.ff-commerce .shipping-calculator-form {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}
.ff-commerce .shipping-calculator-form p {
    margin: 0;
}
.ff-commerce .wc-proceed-to-checkout {
    margin-top: 20px;
    padding: 0;
}
.ff-commerce .cart_totals .wc-proceed-to-checkout a.checkout-button {
    display: flex;
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 14px 24px;
    font-size: var(--ff-font-size-button);
}
.ff-free-delivery {
    margin: 0 0 16px;
    font-size: 14px;
    line-height: 20px;
}
.ff-free-delivery p {
    margin: 0 0 8px;
}
.ff-free-delivery .woocommerce-Price-amount {
    font-weight: var(--ff-weight-semibold);
}
.ff-free-delivery-bar {
    display: block;
    height: 3px;
    border-radius: 2px;
    background-color: var(--ffc-line);
    overflow: hidden;
}
.ff-free-delivery-bar span {
    display: block;
    height: 100%;
    background-color: var(--ff-colour-dark);
}
p.ff-free-delivery.is-unlocked {
    padding-left: 22px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3 3 7-7' fill='none' stroke='%23303030' stroke-width='1.6'/%3E%3C/svg%3E") 0 2px / 16px 16px no-repeat;
}
/* empty cart */
.ff-commerce .wc-empty-cart-message {
    margin: 0;
}
.ff-cart-empty {
    max-width: 560px;
    margin: 0 auto;
    padding: var(--ff-space-6) 0 var(--ff-space-3);
    border-top: 1px solid var(--ffc-line);
    text-align: center;
}
.ff-cart-empty-title {
    margin: 0 0 var(--ff-space-1);
    text-transform: uppercase;
}
.ff-cart-empty-title:focus {
    outline: none;
}
.ff-cart-empty .ff-body {
    margin: 0;
}
.ff-commerce .ff-cart-empty-actions {
    margin: var(--ff-gap-copy-cta) 0 var(--ff-space-5);
    text-align: center;
}
.ff-commerce--cart:has(.wc-empty-cart-message) .ff-commerce-head {
    text-align: center;
}
/* mobile sticky total + checkout */
.ff-cart-sticky {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px max(16px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
    border-top: 1px solid var(--ffc-line);
    background-color: var(--ff-colour-white);
}
.ff-cart-sticky[hidden] {
    display: none;
}
.ff-cart-sticky-total {
    display: flex;
    flex-direction: column;
    font-size: 17px;
    font-weight: var(--ff-weight-semibold);
    line-height: 22px;
}
.ff-cart-sticky-label {
    color: var(--ffc-muted);
    font-size: 12px;
    font-weight: var(--ff-weight-medium);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ff-cart-sticky .ff-cart-sticky-button {
    min-height: 48px;
    padding-inline: 28px;
    text-transform: uppercase;
}
html.ff-cart-sticky-on body {
    padding-bottom: calc(74px + env(safe-area-inset-bottom));
}
@media (max-width: 1023px) {
    .ff-cart-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--ff-space-4);
    }
    .ff-commerce .cart-collaterals {
        position: static;
    }
}
@media (max-width: 767px) {
    .ff-commerce-inner {
        padding: var(--ff-space-3) 0 var(--ff-space-6);
    }
    .ff-commerce-head {
        margin-bottom: var(--ff-space-4);
    }
    .ff-commerce-steps li + li::before {
        width: 16px;
        margin: 0 10px;
    }
    .ff-commerce .woocommerce-cart-form table.shop_table tr.cart_item {
        --ff-cart-thumb: 84px;
        grid-template-columns: var(--ff-cart-thumb) minmax(0, 1fr) auto;
        grid-template-areas:
            "thumb name remove"
            "thumb price price"
            "thumb qty subtotal";
        column-gap: 14px;
        row-gap: 10px;
        padding: 20px 0;
    }
    .ff-commerce .woocommerce-cart-form td.product-name {
        font-size: 16px;
        line-height: 22px;
    }
    .ff-commerce .woocommerce-cart-form td.product-price {
        font-size: 14px;
        line-height: 20px;
    }
    .ff-commerce .woocommerce-cart-form td.product-remove a.remove {
        width: 44px;
        height: 44px;
        margin: -12px -12px 0 0;
    }
    .ff-commerce .woocommerce-cart-form table.shop_table td.actions {
        flex-direction: column;
        align-items: stretch;
    }
    .ff-commerce .woocommerce-cart-form td.actions .coupon {
        grid-template-columns: minmax(0, 1fr) auto;
    }
    .ff-commerce .ff-cart-continue {
        align-self: center;
        margin-bottom: 0;
    }
    .ff-commerce .cart-collaterals .cart_totals {
        padding: 22px 20px;
    }
}
@media (max-width: 380px) {
    .ff-commerce .woocommerce-cart-form td.actions .coupon .button {
        padding-inline: 18px;
    }
}

/* =========================================================
   SITE — CHECKOUT
   ========================================================= */
/*
 * form.checkout children: #customer_details, .ff-checkout-payment (moved here by includes/commerce.php),
 * .ff-checkout-summary ("Your order" + review table) and, after a failed submit, WooCommerce's notice group.
 * Desktop: details + payment left, sticky summary right. Mobile: details, summary, payment + Place order.
 */
.ff-commerce .woocommerce form.checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(340px, 38%);
    grid-template-areas:
        "notices notices"
        "details summary"
        "payment summary";
    grid-template-rows: auto auto 1fr;
    align-items: start;
    column-gap: var(--ff-space-6);
}
.ff-commerce form.checkout > .woocommerce-NoticeGroup {
    grid-area: notices;
}
.ff-commerce form.checkout > #customer_details {
    grid-area: details;
    min-width: 0;
}
.ff-commerce form.checkout > .ff-checkout-payment {
    grid-area: payment;
    min-width: 0;
    margin-top: var(--ff-space-5);
    padding-top: var(--ff-space-4);
    border-top: 1px solid var(--ffc-line);
}
.ff-commerce form.checkout > .ff-checkout-summary {
    grid-area: summary;
    position: sticky;
    top: var(--ffc-sticky-top);
    min-width: 0;
    padding: 28px;
    border: 1px solid var(--ffc-line);
    background-color: var(--ff-colour-warm-white);
}
.ff-commerce .woocommerce #customer_details.col2-set .col-1,
.ff-commerce .woocommerce #customer_details.col2-set .col-2 {
    float: none;
    width: auto;
    max-width: none;
}
.ff-commerce .woocommerce-billing-fields > h3,
.ff-commerce .woocommerce-additional-fields > h3 {
    display: none;
}
.ff-commerce .woocommerce-billing-fields__field-wrapper,
.ff-commerce .woocommerce-shipping-fields__field-wrapper,
.ff-commerce .woocommerce-address-fields__field-wrapper,
.ff-commerce .woocommerce form.edit-account,
.ff-commerce .woocommerce .ff-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 20px;
}
.ff-commerce .woocommerce form .form-row-wide,
.ff-commerce .woocommerce form .form-row.notes,
.ff-commerce .woocommerce-billing-fields__field-wrapper > .form-row:not(.form-row-first):not(.form-row-last),
.ff-commerce .woocommerce-shipping-fields__field-wrapper > .form-row:not(.form-row-first):not(.form-row-last),
.ff-commerce .woocommerce-address-fields__field-wrapper > .form-row:not(.form-row-first):not(.form-row-last) {
    grid-column: 1 / -1;
}
.ff-commerce .woocommerce form .form-row-first,
.ff-commerce .woocommerce form .form-row-last {
    float: none;
    width: auto;
}
.ff-commerce .woocommerce form .form-row .woocommerce-input-wrapper {
    display: block;
}
.ff-commerce .woocommerce form .form-row .woocommerce-input-wrapper strong {
    display: block;
    padding: 12px 0;
    font-weight: var(--ff-weight-regular);
}
.ff-commerce .woocommerce form .form-row[style*="display: none"] {
    display: none !important;
}
.ff-commerce .ff-checkout-section-title {
    margin: 0;
}
.ff-commerce .woocommerce-billing-fields__field-wrapper > .ff-checkout-section-title:not(:first-child) {
    margin-top: var(--ff-space-3);
    padding-top: var(--ff-space-4);
    border-top: 1px solid var(--ffc-line);
}
.ff-commerce .woocommerce-shipping-fields {
    margin-top: var(--ff-space-4);
}
.ff-commerce .woocommerce #ship-to-different-address {
    margin: 0;
    padding: 14px 16px;
    border: 1px solid var(--ffc-line);
    border-radius: 2px;
    background-color: var(--ff-colour-warm-white);
    font-family: var(--ff-font-primary);
    font-size: 15px;
    font-weight: var(--ff-weight-medium);
    line-height: 22px;
}
.ff-commerce .woocommerce #ship-to-different-address label {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 15px;
    font-weight: var(--ff-weight-medium);
    cursor: pointer;
}
.ff-commerce .woocommerce .shipping_address {
    padding-top: var(--ff-space-3);
}
.ff-commerce .woocommerce-additional-fields {
    margin-top: var(--ff-space-4);
    padding-top: var(--ff-space-4);
    border-top: 1px solid var(--ffc-line);
}
.ff-commerce .woocommerce-additional-fields .ff-checkout-section-title {
    margin-bottom: var(--ff-space-2);
}
/* payment */
.ff-commerce .ff-checkout-payment .ff-checkout-section-title {
    margin-bottom: var(--ff-space-2);
}
.ff-commerce .woocommerce #payment {
    border-radius: 0;
    background: none;
}
.ff-commerce .woocommerce #payment ul.payment_methods {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}
.ff-commerce .woocommerce #payment ul.payment_methods::before,
.ff-commerce .woocommerce #payment ul.payment_methods::after {
    display: none;
}
.ff-commerce .woocommerce #payment ul.payment_methods li {
    margin: 0;
    padding: 0;
    border: 1px solid var(--ffc-line);
    border-radius: 2px;
    background-color: var(--ff-colour-white);
    line-height: 22px;
    text-align: left;
}
.ff-commerce .woocommerce #payment ul.payment_methods li:has(input:checked) {
    border-color: var(--ff-colour-dark);
}
.ff-commerce .woocommerce #payment ul.payment_methods li > input {
    position: absolute;
    margin: 18px 0 0 16px;
}
.ff-commerce .woocommerce #payment ul.payment_methods li > label {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 15px 16px 15px 46px;
    font-size: 15px;
    font-weight: var(--ff-weight-medium);
    cursor: pointer;
}
.ff-commerce .woocommerce #payment ul.payment_methods li > label img {
    max-height: 24px;
    margin: 0;
}
.ff-commerce .woocommerce #payment div.payment_box {
    margin: 0;
    padding: 0 16px 16px 46px;
    border-radius: 0;
    background: none;
    color: var(--ffc-muted);
    font-size: 14px;
    line-height: 21px;
}
.ff-commerce .woocommerce #payment ul.payment_methods li:has(> input[style*="none"]) > label,
.ff-commerce .woocommerce #payment ul.payment_methods li:has(> input[style*="none"]) div.payment_box {
    padding-left: 16px;
}
.ff-commerce .woocommerce #payment div.payment_box::before {
    display: none;
}
.ff-commerce .woocommerce #payment div.payment_box p:last-child {
    margin-bottom: 0;
}
.ff-commerce .woocommerce #payment div.payment_box fieldset {
    margin: 12px 0 0;
    padding: 0;
    border: 0;
}
.ff-commerce .woocommerce #payment div.form-row.place-order {
    margin: var(--ff-space-3) 0 0;
    padding: 0;
}
.ff-commerce .woocommerce .woocommerce-privacy-policy-text,
.ff-commerce .woocommerce .woocommerce-terms-and-conditions-wrapper {
    color: var(--ffc-muted);
    font-size: 13px;
    line-height: 19px;
}
.ff-commerce .woocommerce .woocommerce-privacy-policy-text p {
    margin: 0 0 16px;
}
.ff-commerce .woocommerce #payment #place_order {
    display: flex;
    float: none;
    width: 100%;
    min-height: 54px;
    margin: 0;
    font-size: var(--ff-font-size-button);
}
.ff-checkout-trust {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 8px 10px;
    margin: 14px 0 0 !important;
    color: var(--ffc-muted);
    font-size: 13px;
    line-height: 20px;
}
.ff-checkout-trust-icon {
    width: 14px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 16'%3E%3Crect x='1' y='7' width='12' height='8.2' rx='1' fill='none' stroke='%236E6862' stroke-width='1.3'/%3E%3Cpath d='M3.8 7V4.9a3.2 3.2 0 0 1 6.4 0V7' fill='none' stroke='%236E6862' stroke-width='1.3'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ff-checkout-trust-logos {
    display: inline-flex;
    gap: 6px;
}
.ff-checkout-trust-logos img {
    display: block;
    width: 38px;
    height: 24px;
}
/* summary */
.ff-commerce .woocommerce #order_review_heading {
    margin: 0 0 12px;
}
.ff-commerce .woocommerce #order_review {
    margin: 0;
}
.ff-commerce .woocommerce-checkout-review-order-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}
.ff-commerce .woocommerce-checkout-review-order-table tbody tr:first-child td {
    border-top: 0;
}
.ff-commerce .woocommerce-checkout-review-order-table td.product-name {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left !important;
    position: relative;
    min-height: 78px;
    padding-left: 76px !important;
    font-weight: var(--ff-weight-medium);
    overflow-wrap: anywhere;
}
.ff-commerce .woocommerce-checkout-review-order-table .ff-review-thumb {
    position: absolute;
    top: 14px;
    left: 0;
    width: 60px;
    height: 60px;
    border: 1px solid var(--ffc-line);
    background-color: var(--ff-colour-white);
}
.ff-commerce .woocommerce-checkout-review-order-table .ff-review-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
}
.ff-commerce .woocommerce-checkout-review-order-table td.product-name .product-quantity {
    color: var(--ffc-muted);
    font-weight: var(--ff-weight-regular);
    white-space: nowrap;
}
.ff-commerce .woocommerce-checkout-review-order-table td.product-name dl.variation {
    font-weight: var(--ff-weight-regular);
}
.ff-commerce .woocommerce-checkout-review-order-table td.product-total,
.ff-commerce .woocommerce-checkout-review-order-table tfoot td {
    text-align: right;
    white-space: nowrap;
}
.ff-commerce .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals td {
    white-space: normal;
}
.ff-commerce .woocommerce-checkout-review-order-table tfoot tr:first-child th,
.ff-commerce .woocommerce-checkout-review-order-table tfoot tr:first-child td {
    border-top: 1px solid var(--ffc-line);
}
.ff-commerce .woocommerce-checkout-review-order-table tfoot td {
    font-weight: var(--ff-weight-medium);
}
/* coupon toggle + form above the checkout */
.ff-commerce .woocommerce-form-coupon-toggle .woocommerce-info {
    padding: 0;
    border: 0;
    background: none;
    font-size: 15px;
}
.ff-commerce .woocommerce form.checkout_coupon {
    display: grid;
    grid-template-columns: minmax(0, 320px) auto;
    align-items: end;
    gap: 10px;
    margin: 0 0 var(--ff-space-4);
    padding: 20px;
    border: 1px solid var(--ffc-line);
    border-radius: 2px;
}
.ff-commerce .woocommerce form.checkout_coupon > p:not(.form-row) {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 14px;
}
.ff-commerce .woocommerce form.checkout_coupon .form-row {
    float: none;
    width: auto;
}
.ff-commerce .woocommerce form.checkout_coupon .clear {
    display: none;
}
.ff-commerce .woocommerce-checkout .woocommerce-NoticeGroup .woocommerce-error,
.ff-commerce form.checkout > .woocommerce-NoticeGroup .woocommerce-error {
    margin-bottom: var(--ff-space-4);
}
@media (max-width: 1023px) {
    .ff-commerce .woocommerce form.checkout {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "notices"
            "details"
            "summary"
            "payment";
        grid-template-rows: none;
    }
    .ff-commerce form.checkout > .ff-checkout-summary {
        position: static;
        margin-top: var(--ff-space-5);
    }
}
@media (max-width: 767px) {
    .ff-commerce .woocommerce-billing-fields__field-wrapper,
    .ff-commerce .woocommerce-shipping-fields__field-wrapper,
    .ff-commerce .woocommerce-address-fields__field-wrapper,
    .ff-commerce .woocommerce form.edit-account,
    .ff-commerce .woocommerce .ff-form-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .ff-commerce form.checkout > .ff-checkout-summary {
        padding: 22px 18px;
    }
    .ff-commerce .woocommerce form.checkout_coupon {
        grid-template-columns: minmax(0, 1fr) auto;
        padding: 16px;
    }
}

/* ---- order received ---- */
.ff-order-confirmation {
    max-width: 880px;
    margin: 0 auto;
}
.ff-order-confirmation-head {
    margin-bottom: var(--ff-space-5);
    text-align: center;
}
.ff-order-confirmation-icon {
    display: block;
    width: 56px;
    height: 56px;
    margin: 0 auto var(--ff-space-3);
    border: 1px solid var(--ff-colour-dark);
    border-radius: 50%;
    background: var(--ffc-success-bg, #FFFBEB) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5.5 12.5l4.2 4.2 8.8-9.2' fill='none' stroke='%23303030' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 26px 26px no-repeat;
}
.ff-order-confirmation-head .ff-commerce-title {
    margin-bottom: var(--ff-space-1);
}
.ff-commerce .woocommerce .ff-order-confirmation-lead,
.ff-commerce .woocommerce .ff-order-confirmation-head .woocommerce-notice {
    max-width: 560px;
    margin: 0 auto;
    padding: 0;
    border: 0;
    background: none;
    font-size: 17px;
    line-height: 26px;
}
.ff-order-confirmation-head.is-failed .woocommerce-notice {
    color: var(--ffc-error, #A63A2F);
}
.ff-commerce .woocommerce ul.ff-order-overview {
    display: flex;
    flex-wrap: wrap;
    column-gap: 32px;
    margin: 0 0 var(--ff-space-4);
    padding: 0;
    border-top: 1px solid var(--ff-colour-dark);
    border-bottom: 1px solid var(--ffc-line);
    list-style: none;
}
.ff-commerce .woocommerce ul.ff-order-overview::before,
.ff-commerce .woocommerce ul.ff-order-overview::after {
    display: none;
}
.ff-commerce .woocommerce ul.ff-order-overview li {
    flex: 1 1 auto;
    float: none;
    margin: 0;
    padding: 18px 16px 18px 0;
    border: 0;
    font-size: 15px;
    line-height: 22px;
    text-transform: none;
}
.ff-order-overview-label {
    display: block;
    margin-bottom: 4px;
    color: var(--ffc-muted);
    font-size: 12px;
    font-weight: var(--ff-weight-medium);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ff-commerce .woocommerce ul.ff-order-overview li strong {
    display: block;
    font-size: 16px;
    font-weight: var(--ff-weight-semibold);
    line-height: 22px;
    overflow-wrap: anywhere;
}
.ff-order-confirmation-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 0 0 var(--ff-space-6) !important;
    padding: 0 !important;
    border: 0 !important;
    background: none !important;
}
.ff-order-confirmation-actions .ff-btn-primary,
.ff-order-confirmation-actions .ff-btn-secondary {
    min-height: 48px;
    text-transform: uppercase;
}
.ff-commerce .woocommerce .woocommerce-bacs-bank-details,
.ff-commerce .woocommerce .ff-order-confirmation > p:not(.ff-order-confirmation-actions) {
    margin-bottom: var(--ff-space-5);
}
.ff-commerce .woocommerce .woocommerce-bacs-bank-details {
    padding: 24px 28px;
    border: 1px solid var(--ffc-line);
    background-color: var(--ff-colour-warm-white);
}
.ff-commerce .woocommerce .woocommerce-bacs-bank-details h3 {
    margin: 12px 0 8px;
    font-size: 15px;
    font-weight: var(--ff-weight-heading);
}
.ff-commerce .woocommerce ul.bacs_details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-commerce .woocommerce ul.bacs_details li {
    float: none;
    margin: 0;
    padding: 10px 16px 10px 0;
    border: 0;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.ff-commerce .woocommerce ul.bacs_details li strong {
    display: block;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
}
.ff-commerce .woocommerce .woocommerce-order-details,
.ff-commerce .woocommerce .woocommerce-customer-details {
    margin-bottom: var(--ff-space-5);
}
.ff-commerce .woocommerce .woocommerce-order-details table.order_details td.product-total,
.ff-commerce .woocommerce .woocommerce-order-details table.order_details tfoot td,
.ff-commerce .woocommerce .woocommerce-order-details table.order_details thead th.product-total {
    text-align: right;
}
.ff-commerce .woocommerce .woocommerce-order-details table.order_details td.product-name {
    font-weight: var(--ff-weight-medium);
}
.ff-commerce .woocommerce .woocommerce-order-details table.order_details .product-quantity {
    color: var(--ffc-muted);
    font-weight: var(--ff-weight-regular);
}
.ff-commerce .woocommerce .woocommerce-order-details table.order_details tfoot tr:first-child th,
.ff-commerce .woocommerce .woocommerce-order-details table.order_details tfoot tr:first-child td {
    border-top: 1px solid var(--ff-colour-dark);
}
.ff-commerce .woocommerce .woocommerce-order-details table.order_details tfoot th {
    font-weight: var(--ff-weight-medium);
}
.ff-commerce .woocommerce .woocommerce-columns--addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ff-space-3);
}
.ff-commerce .woocommerce .woocommerce-columns--addresses .woocommerce-column {
    float: none;
    width: auto;
    max-width: none;
}
@media (max-width: 767px) {
    .ff-commerce .woocommerce .woocommerce-columns--addresses {
        grid-template-columns: minmax(0, 1fr);
    }
    .ff-commerce .woocommerce ul.ff-order-overview li {
        flex-basis: 40%;
    }
    .ff-order-confirmation-actions > a {
        flex: 1 1 100%;
    }
    .ff-commerce .woocommerce .woocommerce-bacs-bank-details {
        padding: 20px;
    }
}

/* =========================================================
   SITE — MY ACCOUNT
   ========================================================= */
/* logged in: navigation + content */
.ff-commerce--account.is-logged-in .woocommerce {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: start;
    gap: var(--ff-space-6);
}
.ff-commerce--account.is-logged-in .woocommerce::before,
.ff-commerce--account.is-logged-in .woocommerce::after {
    display: none;
}
.ff-commerce .woocommerce .woocommerce-MyAccount-navigation,
.ff-commerce .woocommerce .woocommerce-MyAccount-content {
    float: none;
    width: auto;
    min-width: 0;
}
.ff-account-nav ul {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--ff-colour-dark);
    list-style: none;
}
.ff-account-nav li {
    margin: 0;
    border-bottom: 1px solid var(--ffc-line, #E7E3DE);
}
.ff-commerce .woocommerce .ff-account-nav li a {
    position: relative;
    display: block;
    padding: 14px 12px 14px 16px;
    background: none;
    font-size: 16px;
    line-height: 22px;
    transition: background-color 0.2s ease;
}
.ff-commerce .woocommerce .ff-account-nav li a::before {
    content: "";
    position: absolute;
    top: 12px;
    bottom: 12px;
    left: 0;
    width: 2px;
    background-color: transparent;
}
.ff-commerce .woocommerce .ff-account-nav li a:hover {
    background-color: var(--ff-colour-warm-white);
    background-size: 0 0;
}
.ff-commerce .woocommerce .ff-account-nav li.is-active a {
    font-weight: var(--ff-weight-semibold);
}
.ff-commerce .woocommerce .ff-account-nav li.is-active a::before {
    background-color: var(--ff-colour-dark);
}
.ff-commerce .woocommerce .ff-account-nav li a:focus-visible {
    outline-offset: -2px;
}
.ff-commerce .woocommerce .ff-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: var(--ffc-muted);
}
.ff-account-nav-toggle,
.ff-account-nav-toggle[hidden] {
    display: none;
}
.ff-account-title,
.ff-commerce .woocommerce .ff-account-title {
    margin: 0 0 var(--ff-space-3);
    font-family: var(--ff-font-primary);
    font-size: clamp(20px, 1.2rem + 0.4vw, 24px);
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--ff-colour-dark);
}
.ff-commerce .woocommerce-MyAccount-content > p {
    max-width: 680px;
}
/* dashboard */
.ff-account-intro {
    max-width: 560px;
    margin: 0 0 6px !important;
}
.ff-account-switch {
    margin: 0 0 var(--ff-space-4) !important;
    color: var(--ffc-muted);
    font-size: 14px;
}
.ff-account-tiles {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-commerce .woocommerce a.ff-account-tile {
    position: relative;
    display: block;
    min-height: 100%;
    padding: 22px 56px 22px 24px;
    border: 1px solid var(--ffc-line);
    border-radius: 2px;
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
    text-decoration: none;
    transition: border-color 0.25s ease, background-color 0.25s ease;
}
.ff-commerce .woocommerce a.ff-account-tile:hover,
.ff-commerce .woocommerce a.ff-account-tile:focus-visible {
    border-color: var(--ff-colour-dark);
    background-color: var(--ff-colour-warm-white);
}
.ff-account-tile-title {
    display: block;
    font-size: 15px;
    font-weight: var(--ff-weight-heading);
    line-height: 22px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ff-account-tile-meta {
    display: block;
    margin-top: 4px;
    color: var(--ffc-muted);
    font-size: 14px;
    line-height: 20px;
}
.ff-account-tile-arrow {
    position: absolute;
    top: 50%;
    right: 22px;
    width: 18px;
    height: 12px;
    margin-top: -6px;
    background: url("../images/icons/arrow-right.svg") center / contain no-repeat;
    transition: transform 0.25s ease;
}
.ff-account-tile:hover .ff-account-tile-arrow {
    transform: translateX(3px);
}
/* orders */
.ff-commerce .woocommerce table.woocommerce-orders-table th,
.ff-commerce .woocommerce table.woocommerce-orders-table td {
    padding: 16px 16px 16px 0;
    vertical-align: middle;
}
.ff-commerce .woocommerce table.woocommerce-orders-table td + td,
.ff-commerce .woocommerce table.woocommerce-orders-table th + td {
    padding-left: 0;
}
.ff-commerce .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
    padding-right: 0;
    text-align: right;
}
.ff-commerce .woocommerce table.woocommerce-orders-table .button {
    min-height: 38px;
    margin: 4px 0 4px 8px;
    padding: 7px 18px;
    font-size: 13px;
}
.ff-commerce .woocommerce .woocommerce-orders-table__cell-order-number a {
    font-weight: var(--ff-weight-semibold);
}
.ff-commerce .woocommerce .woocommerce-pagination {
    display: flex;
    justify-content: space-between;
    margin-top: var(--ff-space-3);
}
/* view order: intro line, notes */
.ff-commerce .woocommerce-MyAccount-content .woocommerce-OrderUpdates {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-commerce .woocommerce-MyAccount-content .woocommerce-OrderUpdate {
    padding: 14px 0;
    border-top: 1px solid var(--ffc-line);
}
.ff-commerce .woocommerce-MyAccount-content .woocommerce-OrderUpdate-meta {
    margin: 0 0 4px;
    color: var(--ffc-muted);
    font-size: 13px;
}
.ff-commerce .woocommerce-MyAccount-content .woocommerce-OrderUpdate-description p {
    margin: 0;
}
/* addresses */
.ff-commerce .woocommerce .woocommerce-Addresses {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ff-space-3);
    margin-top: var(--ff-space-3);
}
.ff-commerce .woocommerce .woocommerce-Addresses .woocommerce-Address {
    float: none;
    width: auto;
    max-width: none;
    padding: 24px;
    border: 1px solid var(--ffc-line);
    border-radius: 2px;
}
.ff-commerce .woocommerce .woocommerce-Address-title {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 16px;
    margin-bottom: 12px;
}
.ff-commerce .woocommerce .woocommerce-Address-title::before,
.ff-commerce .woocommerce .woocommerce-Address-title::after {
    display: none;
}
.ff-commerce .woocommerce .woocommerce-Address-title h2,
.ff-commerce .woocommerce .woocommerce-Address-title h3 {
    margin: 0;
}
.ff-commerce .woocommerce .woocommerce-Address-title .edit {
    float: none;
    font-size: 14px;
}
.ff-commerce .woocommerce .woocommerce-Addresses address {
    padding: 0;
    border: 0;
}
/* address + account forms */
.ff-commerce .woocommerce-MyAccount-content form > h2,
.ff-commerce .woocommerce-MyAccount-content form > h3 {
    margin: 0 0 var(--ff-space-3);
    font-size: clamp(20px, 1.2rem + 0.4vw, 24px);
    font-weight: var(--ff-weight-heading);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.ff-commerce .woocommerce-MyAccount-content form {
    max-width: 760px;
}
.ff-commerce .woocommerce form.edit-account fieldset {
    grid-column: 1 / -1;
    display: grid;
    gap: 18px;
    margin: var(--ff-space-2) 0 0;
    padding: var(--ff-space-3) 0 0;
    border: 0;
    border-top: 1px solid var(--ffc-line);
}
.ff-commerce .woocommerce form.edit-account fieldset legend {
    padding: 0 0 4px;
    font-size: 15px;
    font-weight: var(--ff-weight-heading);
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ff-commerce .woocommerce form.edit-account > p:not(.form-row),
.ff-commerce .woocommerce form.edit-account > .clear,
.ff-commerce .woocommerce form.edit-account > div:not(.clear) {
    grid-column: 1 / -1;
}
.ff-commerce .woocommerce form.edit-account > .clear,
.ff-commerce .woocommerce-address-fields .clear {
    display: none;
}
.ff-commerce .woocommerce form .form-row em,
.ff-commerce .woocommerce #account_display_name_description {
    display: block;
    margin-top: 6px;
    color: var(--ffc-muted);
    font-size: 13px;
    font-style: normal;
    line-height: 19px;
}
.ff-commerce .woocommerce-address-fields > p:last-child,
.ff-commerce .woocommerce form.edit-account > p:last-of-type {
    margin-top: var(--ff-space-3);
}
/* logged out: login, lost / reset password */
.ff-commerce--account.is-logged-out .ff-commerce-head {
    max-width: 520px;
    margin-inline: auto;
}
.ff-commerce--account.is-logged-out .woocommerce {
    max-width: 520px;
    margin: 0 auto;
}
.ff-commerce--account.is-logged-out .woocommerce > h2 {
    margin: 0 0 var(--ff-space-2);
    font-family: var(--ff-font-primary);
    font-size: 15px;
    font-weight: var(--ff-weight-heading);
    line-height: 22px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ff-commerce .woocommerce form.woocommerce-form-login,
.ff-commerce .woocommerce form.woocommerce-form-register,
.ff-commerce .woocommerce form.lost_reset_password {
    display: grid;
    gap: 18px;
    margin: 0;
    padding: 32px;
    border: 1px solid var(--ffc-line);
    border-radius: 2px;
    background-color: var(--ff-colour-warm-white);
}
.ff-commerce .woocommerce form.woocommerce-form-login > p,
.ff-commerce .woocommerce form.lost_reset_password > p {
    margin: 0;
}
.ff-commerce .woocommerce form.lost_reset_password .form-row-first,
.ff-commerce .woocommerce form.lost_reset_password .form-row-last {
    width: auto;
}
.ff-commerce .woocommerce form.lost_reset_password .clear,
.ff-commerce .woocommerce form.woocommerce-form-login .clear {
    display: none;
}
.ff-commerce .woocommerce form.woocommerce-form-login .form-row:has(.woocommerce-form-login__submit) {
    display: grid;
    gap: 18px;
}
.ff-commerce .woocommerce .woocommerce-form-login__rememberme {
    margin: 0;
}
.ff-commerce .woocommerce .woocommerce-form-login__submit,
.ff-commerce .woocommerce form.lost_reset_password .button {
    width: 100%;
    float: none;
}
.ff-commerce .woocommerce .woocommerce-LostPassword {
    margin: 0;
    font-size: 14px;
    text-align: center;
}
.ff-commerce .woocommerce .woocommerce-message + .woocommerce-message,
.ff-commerce .woocommerce .woocommerce-notices-wrapper + p {
    margin-top: 0;
}
/* login + registration (only when "Allow customers to create an account" is enabled): two balanced columns */
.ff-commerce--account.is-logged-out .woocommerce:has(#customer_login),
.ff-commerce--account.is-logged-out:has(#customer_login) .ff-commerce-head {
    max-width: 1040px;
}
.ff-commerce .woocommerce #customer_login {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ff-space-5);
}
.ff-commerce .woocommerce #customer_login .u-column1,
.ff-commerce .woocommerce #customer_login .u-column2 {
    float: none;
    width: auto;
    max-width: none;
}
.ff-commerce .woocommerce #customer_login h2 {
    margin: 0 0 var(--ff-space-2);
    font-size: 15px;
    font-weight: var(--ff-weight-heading);
    line-height: 22px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
@media (max-width: 767px) {
    .ff-commerce .woocommerce #customer_login {
        grid-template-columns: minmax(0, 1fr);
    }
}
/* My Lists inside My Account: the wishlist app, list navigation as a row above the products */
.ff-wishlist-app--account .ff-wishlist-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: var(--ff-space-3);
    margin-top: 0;
}
.ff-wishlist-app--account .ff-wishlist-sidebar {
    position: static;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    padding-bottom: var(--ff-space-3);
    border-bottom: 1px solid var(--ffc-line, #E7E3DE);
}
.ff-wishlist-app--account .ff-wishlist-title {
    flex: 1 1 100%;
    margin: 0 0 var(--ff-space-1);
    font-size: clamp(20px, 1.2rem + 0.4vw, 24px);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.ff-wishlist-app--account .ff-wishlist-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    border: 0;
}
.ff-wishlist-app--account .ff-wishlist-nav li {
    border: 0;
}
.ff-wishlist-app--account .ff-wishlist-nav-item {
    width: auto;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid var(--ffc-line, #E7E3DE);
    border-radius: 2px;
    background-color: var(--ff-colour-white);
}
.ff-wishlist-app--account .ff-wishlist-nav-item.is-current {
    border-color: var(--ff-colour-dark);
}
.ff-wishlist-app--account .ff-wishlist-nav-item.is-current::before {
    display: none;
}
.ff-wishlist-app--account .ff-wishlist-create-toggle {
    width: auto;
    margin: 0;
}
.ff-wishlist-app--account .ff-wishlist-sidebar .ff-wishlist-create {
    flex: 1 1 100%;
    max-width: 420px;
}
@media (max-width: 1023px) {
    .ff-commerce--account.is-logged-in .woocommerce {
        grid-template-columns: 220px minmax(0, 1fr);
        gap: var(--ff-space-4);
    }
}
@media (max-width: 767px) {
    .ff-commerce--account.is-logged-in .woocommerce {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--ff-space-3);
    }
    .ff-account-nav.is-enhanced .ff-account-nav-toggle {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        width: 100%;
        min-height: 56px;
        padding: 8px 48px 8px 16px;
        border: 1px solid var(--ff-colour-dark);
        border-radius: 2px;
        background-color: var(--ff-colour-white);
        color: var(--ff-colour-dark);
        font-family: var(--ff-font-primary);
        text-align: left;
        cursor: pointer;
    }
    .ff-account-nav.is-enhanced .ff-account-nav-toggle::after {
        content: "";
        position: absolute;
        top: 50%;
        right: 18px;
        width: 12px;
        height: 7px;
        margin-top: -3px;
        background: url("../images/icons/chevron-down.svg") center / contain no-repeat;
        transition: transform 0.2s ease;
    }
    .ff-account-nav.is-enhanced.is-open .ff-account-nav-toggle::after {
        transform: rotate(180deg);
    }
    .ff-account-nav.is-enhanced .ff-account-nav-toggle:focus-visible {
        outline: 2px solid var(--ff-colour-dark);
        outline-offset: 2px;
    }
    .ff-account-nav-toggle-label {
        color: var(--ffc-muted, #6E6862);
        font-size: 12px;
        font-weight: var(--ff-weight-medium);
        line-height: 16px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
    }
    .ff-account-nav-toggle-current {
        font-size: 16px;
        font-weight: var(--ff-weight-semibold);
        line-height: 22px;
    }
    .ff-account-nav.is-enhanced ul {
        display: none;
        margin-top: 8px;
    }
    .ff-account-nav.is-enhanced.is-open ul {
        display: block;
    }
    .ff-account-tiles,
    .ff-commerce .woocommerce .woocommerce-Addresses {
        grid-template-columns: minmax(0, 1fr);
    }
    /* orders: stacked rows, WooCommerce's own data-title labels */
    .ff-commerce .woocommerce table.woocommerce-orders-table {
        display: block;
    }
    .ff-commerce .woocommerce table.woocommerce-orders-table thead {
        display: none;
    }
    .ff-commerce .woocommerce table.woocommerce-orders-table tbody {
        display: grid;
        gap: 12px;
    }
    .ff-commerce .woocommerce table.woocommerce-orders-table tr {
        display: block;
        padding: 6px 16px;
        border: 1px solid var(--ffc-line);
        border-radius: 2px;
    }
    .ff-commerce .woocommerce table.woocommerce-orders-table th,
    .ff-commerce .woocommerce table.woocommerce-orders-table td {
        display: block;
        padding: 10px 0 !important;
        text-align: right !important;
    }
    .ff-commerce .woocommerce table.woocommerce-orders-table tr > :first-child {
        border-top: 0;
    }
    .ff-commerce .woocommerce table.woocommerce-orders-table th::before,
    .ff-commerce .woocommerce table.woocommerce-orders-table td::before {
        content: attr(data-title);
        float: left;
        margin-right: 12px;
        color: var(--ffc-muted);
        font-size: 13px;
        font-weight: var(--ff-weight-medium);
        text-align: left;
    }
    .ff-commerce .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }
    .ff-commerce .woocommerce table.woocommerce-orders-table .woocommerce-orders-table__cell-order-actions::before {
        display: none;
    }
    .ff-commerce .woocommerce table.woocommerce-orders-table .button {
        flex: 1 1 auto;
        margin: 0;
    }
    .ff-commerce .woocommerce form.woocommerce-form-login,
    .ff-commerce .woocommerce form.lost_reset_password {
        padding: 24px 20px;
    }
}

/* =========================================================
   SITE — CONSOLIDATED REVIEW (OCT 2026): SHARED COMPONENTS
   ========================================================= */
/*
 * Global decisions live in the tokens at the top of this file (--ff-weight-heading 500, --ff-weight-button 400,
 * --ff-section-space, --ff-gap-copy-cta) and in the design-system rules that use them. This section only adds the
 * shared pieces the review introduced: header icon balance, the mobile header / image-first hero / ecommerce dock,
 * user-controlled scroll tracks, and the new homepage parts (hero actions, sugar-free subhead, story logo, final CTA).
 */

/* ---- headings: approved copy is stored verbatim; the design's capitals come from CSS ---- */
.ff-home .ff-section-title,
.ff-home .ff-home-hero-title,
.ff-shop-intro-title,
.ff-section-title {
    text-transform: uppercase;
}
/* the registry's .ff-h1 and hero-title selectors carry 600 and load after this file: the heading token wins */
html .ff-h1,
html .ff-heading-hero,
.ff-home .ff-home-hero-title {
    font-weight: var(--ff-weight-heading);
}

/* ---- header: search icon = the XD line magnifier (lighter than the solid glyph); WhatsApp circle balanced ---- */
.ff-site-header .ff-header-actions .ff-header-action--search .search-form__button--full-screen svg {
    display: none;
}
.ff-site-header .ff-header-actions .ff-header-action--search .search-form__button--full-screen::before {
    content: "";
    display: block;
    width: calc(var(--ff-header-icon-size) - 1px);
    height: calc(var(--ff-header-icon-size) - 1px);
    background-color: var(--ff-colour-dark);
    -webkit-mask: url("../images/icons/search.svg") center / contain no-repeat;
    mask: url("../images/icons/search.svg") center / contain no-repeat;
}
/* WhatsApp + mobile cart: white circle, 1px dark outline, dark glyph (30px ring inside the full tap target) */
.ff-site-header {
    --ff-utility-ring-fill: var(--ff-colour-white);
    --ff-utility-ring: radial-gradient(
        circle closest-side,
        var(--ff-utility-ring-fill) 14px,
        var(--ff-colour-dark) 14.4px,
        var(--ff-colour-dark) 15.2px,
        transparent 15.7px
    );
}
.ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom {
    font-size: 17px;
    color: var(--ff-colour-dark);
    background: var(--ff-utility-ring);
}
.ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom:hover {
    --ff-utility-ring-fill: var(--ff-colour-warm-grey);
}

/* ---- buttons: the XD button system is all capitals; approved labels are stored verbatim ---- */
.ff-btn-primary,
.ff-btn-secondary {
    text-transform: uppercase;
}

/* ---- homepage hero: two approved paragraphs + two CTAs side by side (registry caps the column at 320px);
        height follows the content so badge and buttons never touch the artwork edges ---- */
.ff-home .ff-home-hero {
    min-height: 560px;
    padding-block: var(--ff-space-6);
}
.ff-home .ff-home-hero-content {
    max-width: 500px;
}
.ff-home .ff-home-hero-copy {
    max-width: 440px;
}
.ff-home-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.ff-home-hero-actions .ff-btn-primary,
.ff-home-hero-actions .ff-btn-secondary {
    text-transform: uppercase;
}
.ff-home .ff-home-hero .ff-btn-secondary {
    background-color: rgba(255, 255, 255, 0.72);
}
.ff-home .ff-home-hero .ff-btn-secondary:hover,
.ff-home .ff-home-hero .ff-btn-secondary:focus-visible {
    background-color: var(--ff-colour-dark);
}

/* ---- sugar-free: "All the Delight." + subhead "Less of the Sugar." ---- */
.ff-section-subtitle {
    margin: -6px 0 0;
    font-family: var(--ff-font-primary);
    font-size: clamp(18px, 1rem + 0.35vw, 22px);
    font-weight: var(--ff-weight-regular);
    line-height: 1.3;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--ff-colour-dark);
}

/* ---- story: XD background logo (Group 263 > 262: multiply, 84.5 % x 60 % opacity) on the background photo ---- */
.ff-home .ff-home-story-media .ff-home-story-logo {
    z-index: 1;
    left: 14.62%;
    top: 13.72%;
    width: 57.56%;
    height: auto;
    aspect-ratio: 341.914 / 124.277;
    object-fit: contain;
    opacity: 0.507;
    mix-blend-mode: multiply;
    pointer-events: none;
    translate: 0 var(--ff-parallax-bg, 0px);
}

/* story: two approved paragraphs (same rhythm as .ff-stack-sm) */
.ff-home .ff-home-story-content > .ff-body + .ff-body {
    margin-top: 12px;
}

/* ---- final CTA (approved "Something Sweet Awaits") ---- */
.ff-home .ff-home-final-cta {
    padding-bottom: var(--ff-home-section-space);
    border-top: 1px solid var(--ff-colour-warm-grey);
}
.ff-home .ff-home-testimonials + .ff-home-final-cta {
    margin-top: 0;
}
.ff-home .ff-home-final-cta .ff-section-header {
    max-width: 720px;
}

/* ---- user-controlled scroll tracks (categories / customer logos / testimonials) - no autoplay ---- */
.ff-track-frame {
    position: relative;
    width: 100%;
}
.ff-home .ff-category-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: calc((100% - 2 * var(--ff-home-card-gap)) / 3);
    justify-content: start;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.ff-home .ff-category-item {
    scroll-snap-align: start;
}
.ff-home .ff-client-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: 169px;
    justify-content: safe center;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.ff-home .ff-client-logo {
    scroll-snap-align: start;
}
.ff-home .ff-category-track::-webkit-scrollbar,
.ff-home .ff-client-track::-webkit-scrollbar,
.ff-home .ff-testimonial-track::-webkit-scrollbar {
    display: none;
}
.ff-track-frame.is-scrollable > .ff-category-track,
.ff-track-frame.is-scrollable > .ff-client-track,
.ff-track-frame.is-scrollable > .ff-testimonial-track {
    cursor: grab;
}
.ff-track-frame > .is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    scroll-behavior: auto;
    user-select: none;
}
.ff-track-frame > .is-dragging a {
    pointer-events: none;
}
/* the XD carousel arrow: 37px white circle, 1px #303030 ring, soft shadow, thin chevron */
.ff-track-arrow {
    position: absolute;
    z-index: 3;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    margin: -18.5px 0 0;
    padding: 0;
    border: 1px solid var(--ff-colour-dark);
    border-radius: 50%;
    background-color: var(--ff-colour-white);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.09);
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.ff-track-arrow[hidden] {
    display: none;
}
.ff-track-arrow::before {
    content: "";
    width: 9px;
    height: 15px;
    background-color: var(--ff-colour-dark);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpath d='M7.5 1L1 7.4 7.5 14.2' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 15'%3E%3Cpath d='M7.5 1L1 7.4 7.5 14.2' fill='none' stroke='%23000' stroke-width='1'/%3E%3C/svg%3E") center / contain no-repeat;
}
.ff-track-arrow--next::before {
    transform: scaleX(-1);
}
.ff-track-arrow--prev {
    left: calc(-1 * (37px + 15px));
}
.ff-track-arrow--next {
    right: calc(-1 * (37px + 15px));
}
.ff-track-arrow:disabled {
    opacity: 0.35;
    cursor: default;
}
.ff-track-arrow:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
/* category arrows centre on the image, not on image + title */
.ff-track-frame:has(> .ff-category-track) > .ff-track-arrow {
    top: calc((100% - 50px) / 2);
}
@media (max-width: 1383px) {
    .ff-track-arrow--prev {
        left: 8px;
    }
    .ff-track-arrow--next {
        right: 8px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-home .ff-category-track,
    .ff-home .ff-client-track {
        scroll-behavior: auto;
    }
}

/* ---- mobile: one image-first hero format (artwork, then badge / H1 / copy / CTAs on white) ---- */
@media (max-width: 767px) {
    .ff-home .ff-home-hero {
        display: block;
        min-height: 0;
        padding: calc(100vw * 10 / 16 + var(--ff-space-4)) 0 0;
        background-color: var(--ff-colour-white);
        background-size: auto calc(100vw * 10 / 16);
        background-position: 72% 0;
        background-repeat: no-repeat;
    }
    .ff-home .ff-home-hero-content {
        max-width: none;
    }
    .ff-home .ff-home-hero-badge {
        width: 64px;
        max-width: 64px;
        margin-bottom: 16px;
    }
    .ff-home .ff-home-hero-copy {
        max-width: none;
    }
    .ff-home-hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }
    .ff-home-hero-actions .ff-btn-primary,
    .ff-home-hero-actions .ff-btn-secondary {
        min-height: 48px;
    }
    .ff-home .ff-home-hero .ff-btn-secondary {
        background-color: transparent;
    }
    .ff-home .ff-category-track {
        grid-auto-columns: 85%;
    }
}

/* ---- mobile header: [burger][WhatsApp]  logo  [account][cart]; search + wishlist live in the dock ---- */
@media (max-width: 767px) {
    .ff-header-inner {
        display: grid;
        grid-template-columns: var(--ff-header-action-size) var(--ff-header-action-size) minmax(0, 1fr) var(--ff-header-action-size) var(--ff-header-action-size);
        align-items: center;
        gap: 0;
        padding-inline: max(8px, calc(var(--ff-header-inset) - 10px));
    }
    .ff-main-nav {
        grid-column: 1;
        grid-row: 1;
        order: 0;
        justify-content: flex-start;
    }
    .ff-header-logo {
        grid-column: 3;
        grid-row: 1;
        justify-self: center;
    }
    .ff-header-actions {
        display: contents;
    }
    .ff-site-header .ff-header-actions .ff-header-action--whatsapp {
        grid-column: 2;
        grid-row: 1;
    }
    .ff-site-header .ff-header-actions .ff-header-action--account {
        grid-column: 4;
        grid-row: 1;
    }
    .ff-site-header .ff-header-actions .ff-header-action--cart {
        grid-column: 5;
        grid-row: 1;
    }
    .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle {
        background: var(--ff-utility-ring);
    }
    .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle:hover {
        --ff-utility-ring-fill: var(--ff-colour-warm-grey);
    }
    .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle__icon {
        flex: 0 0 17px;
        width: 17px;
        height: 17px;
        -webkit-mask-image: url("../images/icons/bag.svg");
        mask-image: url("../images/icons/bag.svg");
    }
    .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle__counter {
        top: 0;
        right: -4px;
        min-width: 18px;
        height: 18px;
        padding: 0 5px;
        font-size: 10.5px;
        line-height: 18px;
    }
    .ff-site-header .ff-header-actions .ff-header-action--wishlist {
        display: none;
    }
    /* search keeps its full-screen overlay (opened from the dock); only its header trigger is hidden */
    .ff-site-header .ff-header-actions .ff-header-action--search {
        position: absolute;
        width: 0;
        height: 0;
        overflow: visible;
    }
    .ff-site-header .ff-header-actions .ff-header-action--search .search-form__button--full-screen {
        display: none;
    }
}

/* ---- mobile ecommerce dock (includes/mobile-dock.php) ---- */
.ff-mobile-dock {
    display: none;
}
@media (max-width: 767px) {
    .ff-mobile-dock {
        position: fixed;
        right: 0;
        bottom: 0;
        left: 0;
        z-index: 880;
        display: block;
        padding: 0 env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
        border-top: 1px solid #E7E3DE;
        background-color: var(--ff-colour-white);
        transform: translateY(105%);
        visibility: hidden;
        transition: transform 0.25s ease, visibility 0s linear 0.25s;
    }
    .ff-mobile-dock[hidden] {
        display: none;
    }
    .ff-mobile-dock.is-visible {
        transform: none;
        visibility: visible;
        transition: transform 0.25s ease, visibility 0s;
    }
    .ff-mobile-dock ul {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .ff-mobile-dock li {
        margin: 0;
    }
    .ff-mobile-dock li + li {
        border-left: 1px solid #E7E3DE;
    }
    .ff-dock-item,
    .ff-dock-item:visited,
    .ff-dock-item:hover,
    .ff-dock-item:focus,
    .ff-dock-item:active {
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        min-height: 60px;
        padding: 8px 4px 6px;
        color: var(--ff-colour-dark);
        font-family: var(--ff-font-primary);
        font-size: 12px;
        font-weight: var(--ff-weight-regular);
        line-height: 16px;
        letter-spacing: 0.02em;
        text-decoration: none;
        -webkit-tap-highlight-color: transparent;
    }
    .ff-dock-item[aria-current="page"] .ff-dock-label {
        font-weight: var(--ff-weight-medium);
        text-decoration: underline;
        text-underline-offset: 3px;
    }
    .ff-dock-item:focus-visible {
        outline: 2px solid var(--ff-colour-dark);
        outline-offset: -4px;
    }
    .ff-dock-icon {
        display: block;
        width: 24px;
        height: 24px;
        background-color: var(--ff-colour-dark);
        -webkit-mask-position: center;
        mask-position: center;
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: contain;
        mask-size: contain;
    }
    .ff-dock-item--account .ff-dock-icon {
        -webkit-mask-image: url("../images/icons/account.svg");
        mask-image: url("../images/icons/account.svg");
    }
    .ff-dock-item--wishlist .ff-dock-icon {
        -webkit-mask-image: url("../images/icons/heart.svg");
        mask-image: url("../images/icons/heart.svg");
    }
    .ff-dock-item--basket .ff-dock-icon {
        display: flex;
        align-items: center;
        justify-content: center;
        box-sizing: border-box;
        width: 30px;
        height: 30px;
        margin: -3px 0;   /* 30px circle in the same 24px row as the other dock icons */
        border: 1px solid var(--ff-colour-dark);
        border-radius: 50%;
        background-color: var(--ff-colour-white);
        -webkit-mask-image: none;
        mask-image: none;
    }
    .ff-dock-item--basket .ff-dock-icon::before {
        content: "";
        width: 17px;
        height: 17px;
        background-color: var(--ff-colour-dark);
        -webkit-mask: url("../images/icons/bag.svg") center / contain no-repeat;
        mask: url("../images/icons/bag.svg") center / contain no-repeat;
    }
    .ff-dock-item--basket .ff-dock-badge {
        top: 1px;
        left: calc(50% + 8px);
    }
    .ff-dock-item--search .ff-dock-icon {
        width: 21px;
        height: 21px;
        margin: 1.5px 0;
        -webkit-mask-image: url("../images/icons/search.svg");
        mask-image: url("../images/icons/search.svg");
    }
    .ff-dock-badge {
        position: absolute;
        top: 5px;
        left: calc(50% + 6px);
        min-width: 17px;
        height: 17px;
        padding: 0 4px;
        border-radius: 999px;
        box-shadow: 0 0 0 2px var(--ff-colour-white);
        background-color: var(--ff-colour-dark);
        color: var(--ff-colour-white);
        font-size: 11px;
        font-weight: var(--ff-weight-semibold);
        line-height: 17px;
        text-align: center;
    }
    .ff-dock-badge[hidden] {
        display: none;
    }
    html.ff-dock-on body {
        padding-bottom: calc(61px + env(safe-area-inset-bottom));
    }
    /* keyboard focus / anchor scrolling keeps fields clear of the dock (the dock also steps aside over the purchase form) */
    html.ff-dock-on {
        scroll-padding-bottom: calc(61px + env(safe-area-inset-bottom) + 16px);
    }
}
@media (max-width: 767px) and (prefers-reduced-motion: reduce) {
    .ff-mobile-dock,
    .ff-mobile-dock.is-visible {
        transition: none;
    }
}

/* =========================================================
   SITE — CONTENT PAGES (Page Build Phase 1: About, Wholesale & Export)
   ========================================================= */
/*
 * Normal WordPress pages (Oxygen documents oxygen-imports/pages/ff-about-page.json + ff-wholesale-export-page.json):
 * page root .ff-home.ff-content-page, so the homepage section system (.ff-home-section, .ff-section-header,
 * .ff-home-intro, testimonials / customer-logo tracks, story accordion, reveal) applies unchanged.
 * XD REV2 artboards "About" + "Wholesale & export". Testimonials + customer logos are the shared global blocks
 * "FF Testimonials Track" / "FF Customer Logos Track" (one data source with the homepage).
 */
.ff-content-page {
    --ff-split-pad: clamp(40px, 4.4vw, 64px);
}
.ff-content-page .ff-split-section,
.ff-content-page .ff-usp-section {
    overflow: hidden;
}

/* 01 Hero: shop/category hero pattern (full-bleed artwork, light wash, copy on the content edge; phones image-first) */
.ff-content-page .ff-archive-hero .ff-container-content {
    margin-bottom: 0;
    text-align: left;
}
.ff-content-page .ff-archive-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
}
.ff-page-hero .ff-archive-hero-content {
    max-width: 420px;
}
.ff-page-hero .ff-archive-hero-copy {
    max-width: 380px;
    margin: 0 0 var(--ff-gap-copy-cta);
}

/* 02 Centred intro (narrow measure) */
.ff-content-page .ff-home-intro .ff-section-header {
    max-width: 800px;
}

/* 03 About - What makes us Forest Fairies: warm band, 4 flat cards (XD 277 x 300, alternating warm-white / white) */
.ff-content-page .ff-usp-section {
    margin-top: var(--ff-home-section-space);
    padding-bottom: var(--ff-home-section-space);
    background-color: var(--ff-colour-warm-grey);
}
.ff-content-page .ff-usp-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 3 * var(--ff-space-3)) / 4);   /* 4 per view; more values scroll (brand value CPT) */
    gap: var(--ff-space-3);
    width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    text-align: left;
}
.ff-content-page .ff-usp-track::-webkit-scrollbar {
    display: none;
}
.ff-content-page .ff-usp-card {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    padding: 28px 28px 36px;
    background-color: var(--ff-colour-warm-white);
}
.ff-content-page .ff-usp-card:nth-child(even) {
    background-color: var(--ff-colour-white);
}
/* approved marks in one 96px slot so every title starts on the same line */
.ff-content-page .ff-usp-mark {
    display: block;
    width: auto;
    max-width: 160px;
    height: 96px;
    margin: 0 0 20px;
    object-fit: contain;
    object-position: left center;
}
.ff-content-page .ff-usp-card:nth-child(1) .ff-usp-mark {
    height: 86px;
    margin-block: 5px 25px;
}
.ff-content-page .ff-usp-card:nth-child(4) .ff-usp-mark {
    height: 78px;
    margin-block: 9px 29px;
}
.ff-content-page .ff-usp-title {
    margin: 0 0 8px;
}
.ff-content-page .ff-usp-card .ff-body {
    margin: 0;
}

/* split sections: full-width band, artwork column to the left edge, padded copy column (homepage story pattern) */
.ff-content-page .ff-split-inner {
    display: grid;
    grid-template-columns: minmax(0, 46fr) minmax(0, 54fr);
    align-items: center;
    width: 100%;
    text-align: left;
}
.ff-content-page .ff-split-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-inline: var(--ff-split-pad);
}
.ff-content-page .ff-split-content > * {
    width: 100%;
    max-width: 600px;
}
.ff-content-page .ff-split-content > .ff-section-title {
    margin: 0 0 12px;
}
.ff-content-page .ff-split-content > .ff-home-hero-actions {
    margin-top: var(--ff-gap-copy-cta);
}
.ff-content-page .ff-split-media {
    position: relative;
    width: 100%;
}
/* layered artwork: photo + product cut-outs positioned from the XD layers (percentages of the layer frame) */
.ff-content-page .ff-split-media--layered {
    isolation: isolate;
}
.ff-content-page .ff-split-media--layered img {
    position: absolute;
    display: block;
    max-width: none;
    object-fit: contain;
}
.ff-content-page .ff-split-media--layered .ff-split-layer-bg {
    z-index: 0;
    left: 0;
    top: 0;
    object-fit: cover;
}
.ff-content-page .ff-split-layer-main {
    z-index: 1;
}
.ff-content-page .ff-split-layer-front {
    z-index: 2;
}

/* 04 About - Key milestones: the pack + pouring chocolate runs the full height of the band (XD 323 x 449, flush top
   and bottom), copy centred with a 2 x 2 timeline: left column right-aligned, 1px divider, right column left-aligned */
.ff-content-page .ff-milestones {
    padding-top: 0;
}
.ff-content-page .ff-milestones .ff-split-inner {
    grid-template-columns: minmax(0, 36fr) minmax(0, 64fr);
    align-items: stretch;
}
.ff-content-page .ff-milestones .ff-split-media img {
    position: absolute;
    top: 0;
    left: 50%;
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
    object-position: 50% 0;
    translate: -50% 0;
}
.ff-content-page .ff-milestones .ff-split-content {
    align-items: center;
    padding-block: var(--ff-home-section-space);
    text-align: center;
}
.ff-content-page .ff-milestones .ff-split-content > * {
    max-width: 640px;
}
.ff-content-page .ff-milestone-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 44px;
    row-gap: 40px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}
.ff-content-page .ff-milestone-grid::before {
    content: "";
    position: absolute;
    top: 4px;
    bottom: 4px;
    left: 50%;
    width: 1px;
    background-color: var(--ff-colour-dark);
}
.ff-content-page .ff-milestone:nth-child(odd) {
    text-align: right;
}
.ff-content-page .ff-milestone:nth-child(even) {
    text-align: left;
}
.ff-content-page .ff-milestone-year {
    margin: 0 0 4px;
}
.ff-content-page .ff-milestone .ff-body {
    margin: 0;
}

/* 05 About - testimonials on the warm band (XD Rectangle 443 #FAF9F7) */
.ff-about-page .ff-home-testimonials {
    background-color: var(--ff-colour-warm-white);
}

/* 03 Wholesale - Who we work with: warm band, layered artwork (XD frame 534 x 570: hotel room, black box, coconut wheels) */
.ff-content-page .ff-who-we-work-with {
    margin-top: var(--ff-home-section-space);
    padding-bottom: var(--ff-home-section-space);
    background-color: var(--ff-colour-warm-white);
}
.ff-content-page .ff-who-media {
    max-width: 600px;
    aspect-ratio: 534 / 570;
}
.ff-content-page .ff-who-media .ff-split-layer-bg {
    width: 94.57%;
    height: 75.44%;
}
.ff-content-page .ff-who-media .ff-split-layer-main {
    left: -6.18%;
    top: 8.95%;
    width: 77.83%;
    height: 85.12%;
}
.ff-content-page .ff-who-media .ff-split-layer-front {
    left: 32.96%;
    top: 61.58%;
    width: 67.02%;
    height: 38.42%;
}
.ff-content-page .ff-who-we-work-with .ff-home-story-accordion {
    margin-top: 8px;
}

/* 04 Wholesale - How the process works: 4 flat cards (XD 278 x 230, alternating warm-grey / warm-white) */
.ff-content-page .ff-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: var(--ff-space-3);
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-content-page .ff-process-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 36px 24px 40px;
    background-color: var(--ff-colour-warm-grey);
    text-align: center;
}
.ff-content-page .ff-process-card:nth-child(even) {
    background-color: var(--ff-colour-warm-white);
}
.ff-content-page .ff-process-step {
    position: relative;
    margin: 0 0 18px;
    padding-bottom: 10px;
    font-size: var(--ff-font-size-heading);
    font-weight: var(--ff-weight-heading);
    line-height: var(--ff-line-height-section-heading);
    letter-spacing: var(--ff-letter-spacing-heading);
    text-transform: uppercase;
}
.ff-content-page .ff-process-step::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 56px;
    height: 1px;
    background-color: var(--ff-colour-dark);
    translate: -50% 0;
}
.ff-content-page .ff-process-card .ff-body {
    max-width: 220px;
    margin: 0;
}
.ff-content-page .ff-process-note {
    max-width: 680px;
    margin: -16px 0 0;   /* section column gap 48px - 16px = 32px under the cards: reads as part of the card group */
    text-align: center;
}
@media (max-width: 767px) {
    .ff-content-page .ff-process-note {
        margin-top: -22px;   /* 26px under the last stacked card */
    }
}

/* 05 Wholesale - enquiry form: XD 735px column; the form itself uses the Forest Fairies form system (.ff-enquiry-wpform) */
.ff-content-page .ff-enquiry-section {
    scroll-margin-top: 96px;
}
.ff-content-page .ff-enquiry-section .ff-section-header .ff-label-bold {
    margin: 0;
}
.ff-content-page .ff-enquiry-form {
    width: 100%;
    max-width: 735px;
    text-align: left;
}
/* 06 Wholesale - Want to explore the range first?: warm band, photo flush left (XD 507 x 450), bars cut-out
   overlapping the band's lower edge (XD 274 x 274 at 354 / 259) */
.ff-content-page .ff-explore-cta {
    margin-top: var(--ff-home-section-space);
    padding-top: 0;
    overflow: visible;
    background-color: var(--ff-colour-warm-white);
}
.ff-content-page .ff-explore-cta .ff-split-inner {
    grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
}
.ff-content-page .ff-explore-media {
    aspect-ratio: 507 / 450;
}
.ff-content-page .ff-explore-media .ff-split-layer-bg {
    width: 100%;
    height: 100%;
}
.ff-content-page .ff-explore-media .ff-split-layer-front {
    left: 69.82%;
    top: 57.56%;
    width: 54.04%;
    height: auto;
    aspect-ratio: 1;
}
.ff-content-page .ff-explore-cta .ff-split-content {
    padding-inline: clamp(48px, 12vw, 156px) var(--ff-split-pad);
}
.ff-content-page .ff-explore-cta .ff-split-content > * {
    max-width: 460px;
}
.ff-wholesale-page .ff-home-clients {
    padding-bottom: var(--ff-home-section-space);
}
.ff-wholesale-page .ff-explore-cta + .ff-home-clients {
    padding-top: calc(var(--ff-home-section-space) + 48px);
}

/* Tablet landscape and below (Oxygen breakpoint 1119px) */
@media (max-width: 1119px) {
    .ff-content-page .ff-usp-card {
        padding: 24px 20px 28px;
    }
    .ff-content-page .ff-process-card {
        padding: 28px 18px 32px;
    }
    .ff-content-page .ff-milestone-grid {
        column-gap: 32px;
    }
}
/* Tablet portrait and below (Oxygen breakpoint 1023px): 2 x 2 cards, narrower artwork */
@media (max-width: 1023px) {
    .ff-content-page .ff-process-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ff-content-page {
        --ff-split-pad: clamp(32px, 4vw, 40px);
    }
    .ff-content-page .ff-split-inner {
        grid-template-columns: minmax(0, 45fr) minmax(0, 55fr);
    }
    .ff-content-page .ff-milestones .ff-split-inner {
        grid-template-columns: minmax(0, 34fr) minmax(0, 66fr);
    }
    .ff-content-page .ff-explore-cta .ff-split-content {
        padding-inline: 72px var(--ff-split-pad);
    }
    .ff-content-page .ff-archive-hero-media img {
        object-position: 0% 50%;   /* artwork shifted right: product clear of the copy on narrower heroes */
    }
}
/* Phone landscape and below (Oxygen breakpoint 767px): artwork above copy, one column, USP cards swipe */
@media (max-width: 767px) {
    .ff-content-page .ff-archive-hero-media img {
        object-position: 62% 50%;
    }
    .ff-content-page .ff-page-hero .ff-archive-hero-content,
    .ff-content-page .ff-page-hero .ff-archive-hero-copy {
        max-width: none;
    }
    .ff-content-page .ff-usp-track {
        display: grid;
        grid-auto-flow: column;
        grid-template-columns: none;
        grid-auto-columns: 82%;
        gap: var(--ff-space-2);
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        scrollbar-width: none;
    }
    .ff-content-page .ff-usp-track::-webkit-scrollbar {
        display: none;
    }
    .ff-content-page .ff-usp-card {
        scroll-snap-align: start;
    }
    .ff-content-page .ff-split-inner,
    .ff-content-page .ff-milestones .ff-split-inner,
    .ff-content-page .ff-explore-cta .ff-split-inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: var(--ff-space-4);
    }
    .ff-content-page {
        --ff-split-pad: 20px;
    }
    .ff-content-page .ff-split-content,
    .ff-content-page .ff-explore-cta .ff-split-content {
        padding-inline: var(--ff-split-pad);
    }
    .ff-content-page .ff-who-media {
        width: calc(100% - 24px);
        max-width: none;
        margin-left: 24px;
    }
    .ff-content-page .ff-milestones .ff-split-media {
        height: 340px;
    }
    .ff-content-page .ff-milestones .ff-split-content {
        padding-block: 0 var(--ff-home-section-space);
    }
    .ff-content-page .ff-milestone-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 24px;
        padding-left: 24px;
        text-align: left;
    }
    .ff-content-page .ff-milestone-grid::before {
        left: 0;
    }
    .ff-content-page .ff-milestone:nth-child(odd) {
        text-align: left;
    }
    .ff-content-page .ff-process-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: var(--ff-space-2);
    }
    .ff-content-page .ff-process-card .ff-body {
        max-width: 320px;
    }
    /* the bars cut-out stays inside the photo frame on phones (no overlap into the copy below) */
    .ff-content-page .ff-explore-media .ff-split-layer-front {
        left: auto;
        right: 2%;
        top: auto;
        bottom: -6%;
        width: 44%;
    }
    .ff-content-page .ff-explore-cta {
        padding-bottom: var(--ff-home-section-space);
    }
    .ff-wholesale-page .ff-explore-cta + .ff-home-clients {
        padding-top: var(--ff-home-section-space);
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-content-page .ff-usp-track {
        scroll-behavior: auto;
    }
}
.ff-track-frame.is-scrollable > .ff-usp-track {
    cursor: grab;
}
/* content pages: track arrows centred BELOW the row (XD About testimonials), shown only while the row overflows,
   so they never cover card copy; 44px hit areas without changing the 37px circle / 40px buttons */
.ff-content-page .ff-track-frame.is-scrollable {
    padding-bottom: 56px;
}
.ff-content-page .ff-track-frame > .ff-track-arrow {
    top: auto;
    bottom: 0;
    margin: 0;
}
.ff-content-page .ff-track-frame > .ff-track-arrow--prev {
    left: calc(50% - 37px - 6px);
}
.ff-content-page .ff-track-frame > .ff-track-arrow--next {
    right: calc(50% - 37px - 6px);
}
.ff-content-page .ff-track-arrow::after {
    content: "";
    position: absolute;
    inset: -4px;
    border-radius: 50%;
}
.ff-content-page .ff-btn-primary {
    position: relative;
}
.ff-content-page .ff-btn-primary::after {
    content: "";
    position: absolute;
    inset: -2px 0;
}
.ff-page-hero .ff-archive-hero-content {
    max-width: 460px;
}

/* =========================================================
   SITE — CONTENT PAGES PHASE 2 (Support / FAQs, Contact)
   ========================================================= */
/*
 * Oxygen documents oxygen-imports/pages/ff-support-page.json + ff-contact-page.json, page roots
 * .ff-home.ff-content-page.ff-support-page / .ff-contact-page (Phase 1 content-page system reused: sections, split
 * band, layered artwork, enquiry-form styling). XD REV2 artboards "Support pg", "Contact page - landing",
 * "Contact page Bulk and Wholesale". Tabs: forest-fairies.js initTabs (.ff-tabs > .ff-tab-panel -> .ff-tab-list).
 */
.ff-content-page {
    --ff-line-soft: rgba(48, 48, 48, 0.14);   /* thin warm divider (dark token at 14 %) */
}

/* ---- generic tabs: before the script is ready only the first panel shows (no flash of every panel) ---- */
html.ff-js .ff-tabs:not(.is-ready) > .ff-tab-panel:not(:first-of-type) {
    display: none;
}
.ff-tab-panel[hidden] {
    display: none;
}
.ff-tab-panel:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 6px;
}
.ff-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    margin: 0;
    padding: 10px 22px;
    border: 1px solid var(--ff-colour-button-dark);
    border-radius: var(--ff-radius-sm);
    background-color: var(--ff-colour-button-dark);
    color: var(--ff-colour-white);
    font-family: var(--ff-font-secondary);
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-button);
    line-height: var(--ff-line-height-button);
    letter-spacing: var(--ff-letter-spacing-button);
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ff-tab:hover {
    background-color: var(--ff-colour-dark);
}
.ff-tab[aria-selected="true"] {
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
    border-color: var(--ff-colour-dark);
    cursor: default;
}
.ff-tab:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
}

/* ---- Support 01: text hero (centred, no image banner) ---- */
.ff-content-page .ff-text-hero .ff-section-header {
    max-width: 720px;
}

/* ---- Support 02: FAQs - warm band with the category pills, then the active category (questions + answers visible) ---- */
.ff-content-page .ff-faq-section {
    margin-top: var(--ff-home-section-space);
    padding-top: 0;
    scroll-margin-top: 96px;
}
.ff-content-page .ff-faq-nav-band {
    padding-block: 56px;
    background-color: var(--ff-colour-warm-grey);
}
.ff-content-page .ff-faq-nav-band .ff-home-section-inner {
    gap: var(--ff-space-3);
}
.ff-content-page .ff-tab-nav {
    width: 100%;
}
/* one line only: the category tablist is a manual track (arrows on overflow, drag, swipe, trackpad; no autoplay) */
.ff-content-page .ff-faq-section .ff-tab-list {
    display: flex;
    flex-wrap: nowrap;
    justify-content: safe center;
    gap: 14px;
    padding: 4px 2px;   /* room for the focus ring inside the scroll area */
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}
.ff-content-page .ff-faq-section .ff-tab-list::-webkit-scrollbar {
    display: none;
}
.ff-content-page .ff-faq-section .ff-tab {
    flex: 0 0 auto;
    white-space: nowrap;
}
/* arrows beside the row (not below it like the other content-page tracks) */
.ff-content-page .ff-faq-section .ff-track-frame.is-scrollable {
    padding: 0 52px;
}
.ff-content-page .ff-faq-section .ff-track-frame > .ff-track-arrow {
    top: 50%;
    bottom: auto;
    margin-top: -18.5px;
}
.ff-content-page .ff-faq-section .ff-track-frame > .ff-track-arrow--prev {
    left: 0;
}
.ff-content-page .ff-faq-section .ff-track-frame > .ff-track-arrow--next {
    right: 0;
}
.ff-content-page .ff-faq-section .ff-track-frame.is-scrollable > .ff-tab-list {
    cursor: grab;
}
.ff-content-page .ff-faq-section .ff-track-frame > .ff-tab-list.is-dragging .ff-tab {
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    .ff-content-page .ff-faq-section .ff-tab-list {
        scroll-behavior: auto;
    }
}
.ff-content-page .ff-faq-panels {
    margin-bottom: 0;
    padding-top: var(--ff-home-section-space);
}
.ff-content-page .ff-faq-panel {
    width: 100%;
    max-width: 960px;
    margin-inline: auto;
    text-align: left;
}
.ff-content-page .ff-faq-panel > .ff-section-title {
    margin: 0 0 var(--ff-space-4);
    text-align: center;
}
.ff-content-page .ff-faq-list {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-content-page .ff-faq-item {
    padding: 20px 0 22px;
    border-bottom: 1px solid var(--ff-line-soft);
}
.ff-content-page .ff-faq-item:first-child {
    padding-top: 0;
}
.ff-content-page .ff-faq-question {
    margin: 0 0 6px;
}
.ff-content-page .ff-faq-answer .ff-body {
    margin: 0;
}

/* ---- Support 03: Still need help? - warm band, layered artwork (XD frame 611 x 345: kitchen photo + 3 cut-outs) ---- */
.ff-content-page .ff-help-section {
    margin-top: var(--ff-home-section-space);
    padding-block: var(--ff-space-5);
    background-color: var(--ff-colour-warm-white);
}
.ff-content-page .ff-help-section .ff-split-inner {
    grid-template-columns: minmax(0, 50fr) minmax(0, 50fr);
}
.ff-content-page .ff-help-media {
    max-width: 680px;
    aspect-ratio: 611 / 345;
}
.ff-content-page .ff-help-media .ff-split-layer-bg {
    width: 82.65%;
    height: 80.29%;
}
.ff-content-page .ff-help-media .ff-split-layer-back {
    z-index: 1;
    left: 27.66%;
    top: 2.03%;
    width: 32.57%;
    height: 78.26%;
}
.ff-content-page .ff-help-media .ff-split-layer-main {
    z-index: 2;
    left: 6.06%;
    top: 12.46%;
    width: 32.08%;
    height: 77.1%;
}
.ff-content-page .ff-help-media .ff-split-layer-front {
    z-index: 3;
    left: 24.39%;
    top: 38.26%;
    width: 75.61%;
    height: 61.74%;
}
.ff-content-page .ff-help-section .ff-split-content > .ff-body {
    margin: 0;
}
.ff-content-page .ff-contact-list {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: var(--ff-space-3) 0 0;
    padding: 0;
    list-style: none;
}
.ff-content-page .ff-contact-list .ff-body {
    margin: 0;
}

/* ---- Support 04: useful links (only destinations that exist) ---- */
.ff-content-page .ff-useful-links {
    padding-bottom: var(--ff-home-section-space);
}
.ff-content-page .ff-link-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 252px));
    justify-content: center;
    gap: 12px 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-content-page .ff-link-row li {
    display: flex;
}
.ff-content-page .ff-link-row .ff-btn-primary {
    width: 100%;
    text-transform: uppercase;
}
/* destination page not published yet: same button face, not a link (no href, not focusable, aria-disabled) */
.ff-content-page .ff-link-row .ff-link-placeholder,
.ff-content-page .ff-link-row .ff-link-placeholder[aria-disabled="true"] {
    opacity: 1;
    cursor: default;
}
@media (max-width: 1023px) {
    .ff-content-page .ff-link-row {
        grid-template-columns: repeat(2, minmax(0, 280px));
    }
}

/* ---- Contact 01: full-width confectionery photograph (XD 1280 x 400, no text) ---- */
.ff-content-page .ff-contact-hero {
    width: 100%;
    overflow: hidden;
    aspect-ratio: 16 / 5;
    max-height: 520px;
    background-color: var(--ff-colour-warm-white);
}
.ff-content-page .ff-contact-hero img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 55%;
}

/* ---- Contact 02: Get in Touch - tabs + form (~65 %) | contact information panel (~35 %) ---- */
.ff-content-page .ff-contact-section {
    padding-top: calc(var(--ff-home-section-space) + 24px);
    padding-bottom: 0;
}
.ff-content-page .ff-contact-section .ff-section-header {
    margin-bottom: 56px;
}
@media (max-width: 767px) {
    .ff-content-page .ff-contact-section {
        padding-top: var(--ff-home-section-space);
    }
    .ff-content-page .ff-contact-section .ff-section-header {
        margin-bottom: 8px;
    }
}
.ff-content-page .ff-contact-layout {
    display: grid;
    grid-template-columns: minmax(0, 65fr) minmax(0, 35fr);
    align-items: start;
    gap: clamp(32px, 3.5vw, 48px);
    width: 100%;
    text-align: left;
}
.ff-content-page .ff-contact-main {
    min-width: 0;
    scroll-margin-top: 96px;
}
.ff-content-page .ff-contact-main .ff-tab-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--ff-line-soft);
}
.ff-content-page .ff-contact-main .ff-tab {
    padding-inline: 12px;
    border-color: var(--ff-colour-warm-grey);
    background-color: var(--ff-colour-warm-grey);
    color: var(--ff-colour-dark);
}
.ff-content-page .ff-contact-main .ff-tab:hover {
    border-color: var(--ff-colour-dark);
}
/* selected = filled dark + medium weight (state is not carried by colour alone) */
.ff-content-page .ff-contact-main .ff-tab[aria-selected="true"] {
    border-color: var(--ff-colour-button-dark);
    background-color: var(--ff-colour-button-dark);
    color: var(--ff-colour-white);
    font-weight: var(--ff-weight-medium);
}
.ff-content-page .ff-contact-form-panel {
    padding-top: var(--ff-space-3);
}
.ff-content-page .ff-contact-form-intro {
    margin: 0 0 var(--ff-space-3);
}
.ff-content-page .ff-contact-form-intro .ff-label-bold,
.ff-content-page .ff-contact-form-intro .ff-body {
    margin: 0;
}
.ff-content-page .ff-contact-main .ff-enquiry-form {
    max-width: none;
}
.ff-content-page .ff-contact-panel {
    padding: 40px 32px 44px;
    background-color: var(--ff-colour-warm-white);
}
.ff-content-page .ff-contact-group > .ff-label-bold {
    margin: 0 0 4px;
}
.ff-content-page .ff-contact-group .ff-body {
    margin: 0;
    overflow-wrap: anywhere;
}
.ff-content-page .ff-contact-group + .ff-contact-group {
    margin-top: 20px;
}
/* XD: divider above Contact numbers, Trading hours and Address */
.ff-content-page .ff-contact-group:nth-child(n + 4) {
    margin-top: 28px;
    padding-top: 28px;
    border-top: 1px solid var(--ff-line-soft);
}

/* ---- Contact 03: full-width map (keyless Google embed, lazy; greyscale like the XD map) ---- */
.ff-content-page .ff-contact-map {
    margin-top: var(--ff-home-section-space);
    line-height: 0;
}
.breakdance .ff-content-page .ff-contact-map-embed,
.ff-content-page .ff-contact-map-embed {
    display: block;
    width: 100%;
    max-width: none;
    height: 545px;
    margin: 0;
}
.ff-content-page .ff-contact-map-embed iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1);
}


/* Tablet portrait and below (Oxygen breakpoint 1023px) */
@media (max-width: 1023px) {
    .ff-content-page .ff-contact-hero {
        aspect-ratio: 12 / 5;
    }
    .ff-content-page .ff-contact-layout {
        grid-template-columns: minmax(0, 1fr);
    }
    .ff-content-page .ff-contact-panel {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 32px;
    }
    .ff-content-page .ff-contact-group:nth-child(n) {
        margin-top: 0;
        padding-top: 20px;
        border-top: 0;
    }
    .ff-content-page .ff-contact-group:nth-child(-n + 2) {
        padding-top: 0;
    }
    .ff-content-page .ff-contact-map-embed {
        height: 440px;
    }
    .ff-content-page .ff-help-section .ff-split-inner {
        grid-template-columns: minmax(0, 52fr) minmax(0, 48fr);
    }
}
/* Phone landscape and below (Oxygen breakpoint 767px) */
@media (max-width: 767px) {
    /* FAQ categories: one horizontally scrolling row of full-size pills (no squeezed labels) */
    .ff-content-page .ff-faq-nav-band {
        padding-block: 40px;
    }
    .ff-content-page .ff-faq-section .ff-tab {
        padding-inline: 18px;
    }
    /* phones: arrows centred below the row (like the other content-page tracks) so the longest labels fit */
    .ff-content-page .ff-faq-section .ff-track-frame.is-scrollable {
        padding: 0 0 56px;
    }
    .ff-content-page .ff-faq-section .ff-track-frame > .ff-track-arrow {
        top: auto;
        bottom: 0;
        margin-top: 0;
    }
    .ff-content-page .ff-faq-section .ff-track-frame > .ff-track-arrow--prev {
        left: calc(50% - 37px - 6px);
    }
    .ff-content-page .ff-faq-section .ff-track-frame > .ff-track-arrow--next {
        right: calc(50% - 37px - 6px);
    }
    .ff-content-page .ff-faq-panel > .ff-section-title {
        margin-bottom: var(--ff-space-3);
    }
    .ff-content-page .ff-help-section {
        padding-top: 0;
    }
    .ff-content-page .ff-help-media {
        max-width: none;
    }
    .ff-content-page .ff-link-row {
        grid-template-columns: minmax(0, 1fr);
    }
    .ff-content-page .ff-contact-hero {
        aspect-ratio: 16 / 10;
    }
    .ff-content-page .ff-contact-main .ff-tab {
        padding-inline: 8px;
        font-size: 14px;
        line-height: 1.25;
        white-space: normal;
    }
    .ff-content-page .ff-contact-panel {
        display: block;
        padding: 28px 20px 32px;
    }
    .ff-content-page .ff-contact-group:nth-child(n) {
        padding-top: 0;
    }
    .ff-content-page .ff-contact-group + .ff-contact-group {
        margin-top: 20px;
    }
    .ff-content-page .ff-contact-map-embed {
        height: 340px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-tab {
        transition: none;
    }
}

/* content pages: plain links inside Oxygen text (FAQ answers, contact details) - same brand treatment as the global
   content-link rule, which has zero specificity and loses to the Oxygen text-element link colour */
.ff-content-page .oxy-text a:not([class]),
.ff-content-page .oxy-text a:not([class]):visited {
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: linear-gradient(currentColor, currentColor);
    background-position: 0 100%;
    background-repeat: no-repeat;
    background-size: 100% 1px;
    transition: background-size 0.3s ease, color 0.2s ease;
}
.ff-content-page .oxy-text a:not([class]):hover {
    color: var(--ff-colour-button-dark);
    background-size: 100% 2px;
}
.ff-content-page .oxy-text a:not([class]):focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
    border-radius: 1px;
}
.ff-content-page .ff-contact-list .ff-body {
    overflow-wrap: anywhere;
}
@media (max-width: 767px) {
    /* the help band's 50 / 50 columns are more specific than the shared phone stacking rule */
    .ff-content-page .ff-help-section .ff-split-inner {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* =========================================================
   SITE — FOREST FAIRIES FORM SYSTEM (WPForms marketing / enquiry forms)
   ========================================================= */
/*
 * One visual language for every Forest Fairies enquiry form (Wholesale & Export #848, Customer Enquiry #861 and
 * any future WPForms form given the form CSS class "ff-enquiry-wpform"), from the approved form design
 * (XD "Wholesale & export" / "Contact page Bulk and Wholesale"): white 48px fields, thin warm-grey line, square
 * corners, no shadow, Jost, restrained placeholders, two columns for paired inputs (field CSS class
 * "ff-field-half"), dashed upload drop zone, square checkbox, site button.
 * Scoped to .wpforms-container.ff-enquiry-wpform only: WooCommerce checkout / account forms and the footer
 * newsletter keep their own styles.
 * Field line: the XD #E8E8E7 (design review decision, follow-up pass). Because that line is very light, every state
 * that matters is carried by darker values instead: hover darkens the line, focus = dark line + 2px dark outline,
 * errors = red line + message. Placeholders: XD #303030 at 48 % opacity.
 */
.wpforms-container.ff-enquiry-wpform {
    --ff-form-line: #e8e8e7;
    --ff-form-line-hover: #b9b6b0;
    --ff-form-placeholder: rgba(48, 48, 48, 0.48);
    --ff-form-check-line: #b9b6b0;   /* checkbox square: the hover grey, so the box stays visible */
    --ff-form-error: #a4261d;
    --ff-form-field-height: 46px;
    --ff-form-gap-x: 32px;
    --ff-form-gap-y: 15px;
    --wpforms-field-border-radius: 0;
    --wpforms-field-border-color: var(--ff-form-line);
    --wpforms-field-background-color: var(--ff-colour-white);
    --wpforms-field-text-color: var(--ff-colour-dark);
    --wpforms-label-color: var(--ff-colour-dark);
    --wpforms-label-error-color: var(--ff-form-error);
    --wpforms-field-size-input-height: var(--ff-form-field-height);
    --wpforms-field-size-font-size: 16px;
    --wpforms-field-size-padding-h: 12px;
    --wpforms-button-background-color: var(--ff-colour-button-dark);
    --wpforms-button-border-radius: var(--ff-radius-sm);
    margin: 0;
    padding: 0;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    text-align: left;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form {
    margin: 0;
    padding: 0;
}
.wpforms-container.ff-enquiry-wpform .wpforms-field-container {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--ff-form-gap-y) var(--ff-form-gap-x);
}
.wpforms-container.ff-enquiry-wpform .wpforms-field-container .wpforms-field {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0;
}
.wpforms-container.ff-enquiry-wpform .wpforms-field-container .wpforms-field.ff-field-half {
    grid-column: auto;
}
/* visible labels (textarea, upload, forms that keep labels); hidden labels stay screen-reader text (WPForms) */
.wpforms-container.ff-enquiry-wpform .wpforms-field-label:not(.wpforms-label-hide) {
    margin: 8px 0 8px;
    padding: 0;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 16px;
    font-weight: var(--ff-weight-regular);
    line-height: 19px;
    letter-spacing: 0;
}
.wpforms-container.ff-enquiry-wpform .wpforms-required-label {
    color: var(--ff-colour-dark);
    font-weight: var(--ff-weight-regular);
}
.wpforms-container.ff-enquiry-wpform .wpforms-form input[type="text"],
.wpforms-container.ff-enquiry-wpform .wpforms-form input[type="email"],
.wpforms-container.ff-enquiry-wpform .wpforms-form input[type="tel"],
.wpforms-container.ff-enquiry-wpform .wpforms-form input[type="number"],
.wpforms-container.ff-enquiry-wpform .wpforms-form input[type="url"],
.wpforms-container.ff-enquiry-wpform .wpforms-form select,
.wpforms-container.ff-enquiry-wpform .wpforms-form textarea {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    height: var(--ff-form-field-height);
    margin: 0;
    padding: 0 12px;
    border: 1px solid var(--ff-form-line);
    border-radius: 0;
    background-color: var(--ff-colour-white);
    box-shadow: none;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 16px;
    font-weight: var(--ff-weight-regular);
    line-height: 19px;
    letter-spacing: 0;
    transition: border-color 0.2s ease;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form ::placeholder {
    color: var(--ff-form-placeholder);
    opacity: 1;
}
/* select looks like the other fields: own thin chevron, placeholder colour until a choice is made */
.wpforms-container.ff-enquiry-wpform .wpforms-form select {
    padding-right: 40px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 7'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23303030' stroke-width='1.2'/%3E%3C/svg%3E");
    background-position: right 14px center;
    background-repeat: no-repeat;
    background-size: 12px 7px;
    cursor: pointer;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form select:invalid {
    color: var(--ff-form-placeholder);
}
.wpforms-container.ff-enquiry-wpform .wpforms-form select option {
    color: var(--ff-colour-dark);
}
.wpforms-container.ff-enquiry-wpform .wpforms-form textarea {
    height: auto;
    min-height: 139px;   /* XD 735 x 139 (width stays 100 %) */
    padding: 12px;
    resize: vertical;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field input:hover,
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field select:hover,
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field textarea:hover {
    border-color: var(--ff-form-line-hover);
}
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field input:focus,
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field select:focus,
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field textarea:focus {
    border-color: var(--ff-colour-dark);
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 1px;
    box-shadow: none;
}
/* errors: red line + message under the field (WPForms links it with aria-errormessage) */
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field input.wpforms-error,
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field select.wpforms-error,
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field textarea.wpforms-error,
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field input.user-invalid,
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field textarea.user-invalid {
    border-color: var(--ff-form-error);
}
.wpforms-container.ff-enquiry-wpform .wpforms-form em.wpforms-error,
.wpforms-container.ff-enquiry-wpform .wpforms-form label.wpforms-error {
    margin-top: 6px;
    color: var(--ff-form-error);
    font-family: var(--ff-font-primary);
    font-size: 14px;
    font-style: normal;
    line-height: 1.35;
}
/* upload: large, quiet dashed drop zone (WPForms modern uploader: native validation, chunked secure upload) */
.wpforms-container.ff-enquiry-wpform .wpforms-uploader {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: none;
    min-height: 110px;   /* XD 735 x 110 (width stays 100 %) */
    margin: 0;
    border: 1px dashed var(--ff-form-line);
    border-radius: 0;
    background-color: var(--ff-colour-white);
    box-shadow: none;
    color: var(--ff-colour-dark);
    text-align: center;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}
.wpforms-container.ff-enquiry-wpform .wpforms-field-file-upload .wpforms-uploader {
    padding: 16px 20px;
}
.wpforms-container.ff-enquiry-wpform .wpforms-uploader:hover,
.wpforms-container.ff-enquiry-wpform .wpforms-uploader.dz-drag-hover {
    border-color: var(--ff-form-line-hover);
    background-color: var(--ff-colour-white);
}
/* keyboard: the uploader's own input sits beside the drop zone - WPForms marks the zone .wpforms-focus (Enter opens it) */
.wpforms-container.ff-enquiry-wpform .wpforms-field-file-upload .wpforms-uploader.wpforms-focus,
.wpforms-container.ff-enquiry-wpform .wpforms-field-file-upload .wpforms-uploader:focus-within {
    border: 1px dashed var(--ff-colour-dark);
    box-shadow: none;
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.wpforms-container.ff-enquiry-wpform .wpforms-uploader .dz-remove:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.wpforms-container.ff-enquiry-wpform .wpforms-uploader .dz-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin: 0;
}
.wpforms-container.ff-enquiry-wpform .wpforms-uploader .dz-message svg {
    width: 22px;
    height: 22px;
    color: var(--ff-colour-dark);
    opacity: 1;
}
/* (field-level selectors: WPForms' own uploader text rules are more specific than the container scope) */
.wpforms-container.ff-enquiry-wpform .wpforms-field .wpforms-uploader .dz-message .modern-title,
.wpforms-container.ff-enquiry-wpform .wpforms-field .wpforms-uploader .dz-message .modern-title span {
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 14px;   /* XD drag & drop line: Jost 14 */
    font-weight: var(--ff-weight-regular);
    line-height: 19px;
    letter-spacing: 0;
}
.wpforms-container.ff-enquiry-wpform .wpforms-field .wpforms-uploader .dz-message .modern-title span {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.wpforms-container.ff-enquiry-wpform .wpforms-field .wpforms-uploader .dz-message .modern-hint {
    color: rgba(48, 48, 48, 0.68);   /* subtle, still readable at 13px */
    font-family: var(--ff-font-primary);
    font-size: 13px;
}
/* consent / checkbox choices: square 24px box, dark tick */
.wpforms-container.ff-enquiry-wpform .wpforms-field-checkbox fieldset {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.wpforms-container.ff-enquiry-wpform .wpforms-field-checkbox ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
.wpforms-container.ff-enquiry-wpform .wpforms-field-checkbox li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 0;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field-checkbox input[type="checkbox"] {
    position: relative;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    margin: 0;
    border: 1px solid var(--ff-form-check-line);
    border-radius: 0;
    background-color: var(--ff-colour-white);
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field-checkbox input[type="checkbox"]::before,
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field-checkbox input[type="checkbox"]::after {
    display: none;   /* WPForms modern pseudo-checkbox */
}
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field-checkbox input[type="checkbox"]:checked {
    border-color: var(--ff-colour-dark);
    background: var(--ff-colour-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 11'%3E%3Cpath d='M1 5.5l4 4L13 1.5' fill='none' stroke='%23ffffff' stroke-width='1.6'/%3E%3C/svg%3E") center / 14px 11px no-repeat;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field-checkbox input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-field-checkbox input[type="checkbox"].wpforms-error {
    border-color: var(--ff-form-error);
}
.wpforms-container.ff-enquiry-wpform .wpforms-field-label-inline {
    margin: 0;
    padding: 0;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 16px;
    font-weight: var(--ff-weight-regular);
    line-height: 19px;
    letter-spacing: 0;
    cursor: pointer;
}
.wpforms-container.ff-enquiry-wpform .wpforms-field-description {
    margin: 12px 0 0;
    padding: 0;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 14px;
    line-height: 1.4;
}
.wpforms-container.ff-enquiry-wpform .ff-field-consent {
    margin-top: 8px;
}
/* submit: the site primary button (secondary font, regular weight, uppercase), XD 44px */
.wpforms-container.ff-enquiry-wpform .wpforms-form .wpforms-submit-container {
    margin: 28px 0 0;
    padding: 0;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit {
    min-width: 140px;
    min-height: 44px;
    height: auto;
    margin: 0;
    padding: var(--ff-button-padding-y) var(--ff-button-padding-x);
    border: 1px solid var(--ff-colour-button-dark);
    border-radius: var(--ff-radius-sm);
    background-color: var(--ff-colour-button-dark);
    box-shadow: none;
    color: var(--ff-colour-white);
    font-family: var(--ff-font-button);
    font-style: normal;
    font-stretch: normal;
    font-synthesis: none;
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-button);
    line-height: var(--ff-line-height-button);
    letter-spacing: var(--ff-letter-spacing-button);
    text-transform: uppercase;
    cursor: pointer;
}
.wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit:hover {
    background-color: var(--ff-colour-dark);
}
.wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
}
.wpforms-container-full.ff-enquiry-wpform + .wpforms-confirmation-container-full,
.wpforms-confirmation-container-full[id^="wpforms-confirmation-"] {
    margin: 0;
    padding: 20px 24px;
    border: 0;
    background-color: var(--ff-colour-warm-white);
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
}
.wpforms-confirmation-container-full[id^="wpforms-confirmation-"] p {
    margin: 0;
}
@media (max-width: 767px) {
    .wpforms-container.ff-enquiry-wpform .wpforms-field-container {
        grid-template-columns: minmax(0, 1fr);
    }
    .wpforms-container.ff-enquiry-wpform .wpforms-form textarea {
        min-height: 132px;
    }
    .wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit {
        width: 100%;
    }
}
@media (prefers-reduced-motion: reduce) {
    .wpforms-container.ff-enquiry-wpform .wpforms-form input,
    .wpforms-container.ff-enquiry-wpform .wpforms-form select,
    .wpforms-container.ff-enquiry-wpform .wpforms-form textarea,
    .wpforms-container.ff-enquiry-wpform .wpforms-uploader {
        transition: none;
    }
}

/* =========================================================
   SITE — PHASE 1 REFINEMENT (Darren review: About, Wholesale & Export)
   ========================================================= */
/* CPT-driven tracks ([ff_brand_values], [ff_testimonials]): the Oxygen Shortcode wrapper spans the section like the
   Oxygen list did, so the tracks keep their width inside the centred section column */
.ff-home .ff-dynamic-track {
    width: 100%;
    min-width: 0;
}
/* About - brand values on tablet (768-1023px): up to 4 stay the approved 2 x 2 grid, a 5th+ makes it 2 per view */
@media (min-width: 768px) and (max-width: 1023px) {
    .ff-content-page .ff-usp-track {
        grid-auto-columns: calc((100% - var(--ff-space-3)) / 2);
    }
    .ff-content-page .ff-usp-track:not(:has(> :nth-child(5))) {
        grid-auto-flow: row;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        overflow-x: visible;
    }
}
.ff-home .ff-testimonial-track:focus-visible,
.ff-content-page .ff-usp-track:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 4px;
}
/* star rating from the testimonial's rating (1-5): 18px stars + 2.25px gaps, 5 stars = the approved 99px */
.ff-home .ff-testimonial-rating {
    width: calc(var(--ff-rating, 5) * 20.25px - 2.25px);
}
/* About - Key milestones (desktop): pack anchored to the inner edge of its column, copy starts right beside it */
@media (min-width: 1024px) {
    .ff-content-page .ff-milestones .ff-split-inner {
        grid-template-columns: minmax(0, 40fr) minmax(0, 60fr);
    }
    .ff-content-page .ff-milestones .ff-split-media img {
        left: auto;
        right: 0;
        object-position: 100% 0;
        translate: none;
    }
    .ff-content-page .ff-milestones .ff-split-content {
        align-items: flex-start;
        padding-inline: clamp(24px, 2.5vw, 40px) var(--ff-split-pad);
    }
    .ff-content-page .ff-milestones .ff-split-content > * {
        max-width: 620px;
    }
}
/* Wholesale - intro: wider centred measure (XD), Enquire Now centred below */
.ff-wholesale-page .ff-home-intro .ff-section-header {
    max-width: 960px;
}
/* Wholesale - Who we work with (desktop): one centred split inside the 1280 content system (same width rule as
   .ff-container-content) - image ~42 % | gap | accordion column ~54 %, vertically centred, XD type scale */
@media (min-width: 1024px) {
    .ff-content-page .ff-who-we-work-with .ff-split-inner {
        width: min(var(--ff-content-width), calc(100% - (2 * clamp(var(--ff-gutter-min), 3vw, var(--ff-gutter-max)))));
        margin-inline: auto;
        grid-template-columns: minmax(0, 42fr) minmax(0, 54fr);
        column-gap: clamp(32px, 3.6vw, 52px);
        align-items: center;
    }
    .ff-content-page .ff-who-we-work-with .ff-who-media {
        max-width: none;
    }
    .ff-content-page .ff-who-we-work-with .ff-split-content {
        padding-inline: 0;
    }
    .ff-content-page .ff-who-we-work-with .ff-split-content > * {
        max-width: none;
    }
    .ff-content-page .ff-who-we-work-with .ff-split-content > .ff-section-title {
        margin-bottom: 16px;
        font-size: 28px;
        line-height: 1.25;
    }
}
.ff-content-page .ff-who-we-work-with .bde-accordion__title {
    letter-spacing: 0.02em;
}
.ff-content-page .ff-who-we-work-with .bde-accordion__panel-content .ff-body {
    line-height: 1.5;
}

/* =========================================================
   SITE — PHASE 2 REFINEMENT (Darren review: Support / FAQs, Contact)
   ========================================================= */
/* contact details (Still Need Help list + Contact information panel): dark body text, no underline; the shared
   content-link focus ring stays (.ff-content-page .oxy-text a:focus-visible) */
.ff-content-page .ff-contact-list .oxy-text a:not([class]),
.ff-content-page .ff-contact-list .oxy-text a:not([class]):visited,
.ff-content-page .ff-contact-panel .oxy-text a:not([class]),
.ff-content-page .ff-contact-panel .oxy-text a:not([class]):visited {
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: none;
    transition: opacity 0.2s ease;
}
.ff-content-page .ff-contact-list .oxy-text a:not([class]):hover,
.ff-content-page .ff-contact-panel .oxy-text a:not([class]):hover {
    opacity: 0.7;
}
@media (prefers-reduced-motion: reduce) {
    .ff-content-page .ff-contact-list .oxy-text a:not([class]),
    .ff-content-page .ff-contact-panel .oxy-text a:not([class]) {
        transition: none;
    }
}

/* =========================================================
   SITE — POLICY PAGES (Terms, Delivery, Returns & Refunds, Privacy, Cookie & Tracking Notice)
   ========================================================= */
/*
 * Oxygen documents oxygen-imports/pages/ff-policy-<slug>.json (source copy: content/policies/*.md - drafts for client
 * review). Text hero (H1 + intro) then .ff-policy-layout: optional "On this page" contents (forest-fairies.js
 * initPolicyToc, long policies only) beside a ~860px article (Oxygen Rich Text <article>).
 */
.ff-content-page .ff-policy-section {
    padding-bottom: var(--ff-home-section-space);
}
.ff-content-page .ff-policy-layout {
    display: block;
    max-width: 860px;
    margin-bottom: 0;
    text-align: left;
}
.ff-content-page .ff-policy-toc:not(.is-ready) {
    display: none;
}
.ff-content-page .ff-policy-article {
    max-width: 860px;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 1.65;
}
.ff-content-page .ff-policy-article h2 {
    margin: 48px 0 16px;
    padding-top: 40px;
    border-top: 1px solid var(--ff-line-soft);
    font-family: var(--ff-font-primary);
    font-size: 20px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
    letter-spacing: 0.01em;
    scroll-margin-top: 110px;
}
.ff-content-page .ff-policy-article > h2:first-child {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}
.ff-content-page .ff-policy-article p {
    margin: 0 0 14px;
}
.ff-content-page .ff-policy-article ul {
    margin: 0 0 16px;
    padding-left: 1.3em;
    list-style: disc;
}
.ff-content-page .ff-policy-article li {
    margin: 0 0 6px;
    padding-left: 4px;
}
.ff-content-page .ff-policy-article li::marker {
    color: var(--ff-colour-dark);
}
.ff-content-page .ff-policy-article strong {
    font-weight: var(--ff-weight-heading);
}
.ff-content-page .ff-policy-article a,
.ff-content-page .ff-policy-article a:visited {
    color: var(--ff-colour-dark);
    background-image: none;   /* one underline only (the global content-link rule draws its own) */
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.ff-content-page .ff-policy-article a:hover {
    text-decoration-thickness: 2px;
}
.ff-content-page .ff-policy-article a:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
/* "On this page" */
.ff-content-page .ff-policy-toc-details {
    border: 1px solid var(--ff-line-soft);
    background-color: var(--ff-colour-warm-white);
}
.ff-content-page .ff-policy-toc-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 0 18px;
    font-family: var(--ff-font-primary);
    font-size: 15px;
    font-weight: var(--ff-weight-heading);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    list-style: none;
    cursor: pointer;
}
.ff-content-page .ff-policy-toc-title::-webkit-details-marker {
    display: none;
}
.ff-content-page .ff-policy-toc-title::after {
    content: "";
    width: 12px;
    height: 7px;
    background: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    transition: transform 0.2s ease;
}
.ff-content-page .ff-policy-toc-details[open] .ff-policy-toc-title::after {
    transform: rotate(180deg);
}
.ff-content-page .ff-policy-toc-title:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-content-page .ff-policy-toc-list {
    margin: 0;
    padding: 4px 18px 16px 36px;
    font-family: var(--ff-font-primary);
    font-size: 14px;
    line-height: 1.4;
}
.ff-content-page .ff-policy-toc-list li {
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-content-page .ff-policy-toc-list a {
    display: block;
    margin-left: -18px;
    padding: 6px 0;
    color: var(--ff-colour-dark);
    text-decoration: none;
    background-image: none;
}
.ff-content-page .ff-policy-toc-list a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ff-content-page .ff-policy-toc-list a:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 1px;
}
@media (max-width: 1119px) {
    .ff-content-page .ff-policy-toc.is-ready {
        margin-bottom: 32px;
    }
}
/* wide screens: contents as a sticky side column */
@media (min-width: 1120px) {
    .ff-content-page .ff-policy-layout.has-toc {
        display: grid;
        grid-template-columns: 250px minmax(0, 860px);
        justify-content: center;
        align-items: start;
        gap: 56px;
        max-width: var(--ff-content-width);
    }
    .ff-content-page .ff-policy-layout.has-toc .ff-policy-toc {
        position: sticky;
        top: 110px;
        max-height: calc(100vh - 140px);
        overflow-y: auto;
    }
    .ff-content-page .ff-policy-toc-details {
        border: 0;
        border-left: 1px solid var(--ff-line-soft);
        background-color: transparent;
    }
    .ff-content-page .ff-policy-toc-title {
        min-height: 0;
        padding: 0 0 10px 18px;
        cursor: default;
        pointer-events: none;   /* always open beside the article */
    }
    .ff-content-page .ff-policy-toc-title::after {
        display: none;
    }
    .ff-content-page .ff-policy-toc-list {
        padding: 0 0 0 36px;
    }
}
@media (max-width: 767px) {
    .ff-content-page .ff-policy-article h2 {
        margin-top: 36px;
        padding-top: 28px;
        font-size: 18px;
    }
}

/* =========================================================
   SITE — COOKIE CONSENT (includes/consent.php + forest-fairies.js initConsent)
   ========================================================= */
/*
 * Banner: small warm-white card, bottom left (desktop) / bottom sheet above the phone dock and cart total bar
 * (--ff-cookie-lift is measured by the script). Below the drawers and dialogs (they cover it), above page content.
 * Preferences: native modal <dialog> in the top layer. Choices are equally visible: Accept All (dark),
 * Essential Only (outlined), Manage Cookies (text button) - all 44px targets.
 */
.ff-cookie-banner {
    --ff-cookie-lift: 0px;
    position: fixed;
    left: 24px;
    bottom: 24px;
    z-index: 190;   /* above page content; below the sticky header (200), which holds the mini-cart, search and menu overlays */
    width: min(440px, calc(100vw - 48px));
    box-sizing: border-box;
    border: 1px solid #e8e8e7;
    background-color: var(--ff-colour-warm-white);
    box-shadow: 0 10px 30px -12px rgba(48, 48, 48, 0.22);
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
}
.ff-cookie-banner[hidden] {
    display: none;
}
.ff-cookie-inner {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 4px 14px;
    padding: 22px 22px 20px;
}
.ff-cookie-icon {
    display: inline-flex;
    color: var(--ff-colour-dark);
}
.ff-cookie-copy {
    min-width: 0;
}
.ff-cookie-title {
    margin: 4px 0 6px;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 18px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
    letter-spacing: 0.01em;
}
.ff-cookie-text {
    margin: 0 0 8px;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    font-size: 15px;
    line-height: 1.5;
}
.ff-cookie-link,
.ff-cookie-link:visited {
    color: var(--ff-colour-dark);
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
    background-image: none;
}
.ff-cookie-link:hover {
    text-decoration-thickness: 2px;
}
.ff-cookie-link:focus-visible,
.ff-cookie-manage:focus-visible,
.ff-cookie-close:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 12px;
    grid-column: 1 / -1;
    margin-top: 12px;
}
.ff-cookie-banner .ff-cookie-button,
.ff-cookie-preferences .ff-cookie-button {
    min-height: 44px;
    padding-inline: 20px;
    text-transform: uppercase;
}
.ff-cookie-manage {
    min-height: 44px;
    margin: 0;
    padding: 0 4px;
    border: 0;
    background: transparent;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-button);
    font-style: normal;
    font-stretch: normal;
    font-synthesis: none;
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-button);
    letter-spacing: var(--ff-letter-spacing-button);
    text-decoration: underline;
    text-underline-offset: 4px;
    text-transform: uppercase;
    cursor: pointer;
}
.ff-cookie-manage:hover {
    text-decoration-thickness: 2px;
}

/* preferences dialog */
.ff-cookie-preferences {
    width: min(560px, calc(100vw - 32px));
    max-height: min(88vh, 760px);
    margin: auto;
    padding: 0;
    border: 1px solid #e8e8e7;
    background-color: var(--ff-colour-warm-white);
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    overflow-y: auto;
    overscroll-behavior: contain;
}
.ff-cookie-preferences::backdrop {
    background-color: rgba(48, 48, 48, 0.42);
}
.ff-cookie-pref-inner {
    padding: 26px 28px 24px;
}
.ff-cookie-pref-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 6px;
}
.ff-cookie-pref-head .ff-cookie-title {
    flex: 1 1 auto;
    margin: 0;
    font-size: 20px;
}
.ff-cookie-close {
    position: relative;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: -8px -10px 0 0;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}
.ff-cookie-close::before,
.ff-cookie-close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background-color: var(--ff-colour-dark);
}
.ff-cookie-close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}
.ff-cookie-close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.ff-cookie-categories {
    margin: 16px 0 6px;
    padding: 0;
    list-style: none;
}
.ff-cookie-category {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    margin: 0;
    padding: 16px 0;
    border-top: 1px solid var(--ff-line-soft, rgba(48, 48, 48, 0.14));
}
.ff-cookie-category-title {
    margin: 0 0 4px;
    font-family: var(--ff-font-primary);
    font-size: 16px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
}
.ff-cookie-category-text {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
}
/* switch: a real checkbox (role=switch) over a drawn track, labelled by the category heading */
.ff-cookie-toggle {
    position: relative;
    display: inline-flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    min-width: 56px;
    cursor: pointer;
}
.ff-cookie-toggle input {
    position: absolute;
    top: 0;
    left: 50%;
    width: 52px;
    height: 44px;
    margin: -10px 0 0 -26px;
    opacity: 0;
    cursor: pointer;
}
.ff-cookie-switch {
    position: relative;
    display: block;
    width: 46px;
    height: 24px;
    box-sizing: border-box;
    border: 1px solid #b9b6b0;
    border-radius: 12px;
    background-color: var(--ff-colour-white);
    transition: background-color 0.2s ease, border-color 0.2s ease;
}
.ff-cookie-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #8f8b84;
    transition: transform 0.2s ease, background-color 0.2s ease;
}
.ff-cookie-toggle input:checked + .ff-cookie-switch {
    border-color: var(--ff-colour-dark);
    background-color: var(--ff-colour-dark);
}
.ff-cookie-toggle input:checked + .ff-cookie-switch::after {
    background-color: var(--ff-colour-white);
    transform: translateX(22px);
}
.ff-cookie-toggle input:focus-visible + .ff-cookie-switch {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
}
.ff-cookie-toggle.is-locked,
.ff-cookie-toggle.is-locked input {
    cursor: default;
}
.ff-cookie-toggle.is-locked .ff-cookie-switch {
    opacity: 0.55;
}
.ff-cookie-toggle-state {
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.ff-cookie-preferences .ff-cookie-actions {
    margin-top: 8px;
}
.ff-cookie-pref-foot {
    margin: 14px 0 0;
}

/* consent-gated embed (Contact map) */
.ff-consent-embed {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 260px;
    background-color: var(--ff-colour-warm-grey);
}
.ff-consent-embed iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(1);
}
.ff-consent-embed.is-loaded .ff-cookie-placeholder-inner {
    display: none;
}
.ff-cookie-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 100%;
    min-height: inherit;
    box-sizing: border-box;
    padding: 32px 20px;
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-primary);
    line-height: 1.5;
    text-align: center;
}
.ff-cookie-placeholder-text {
    margin: 0;
    font-size: 16px;
}
.ff-cookie-placeholder-note {
    max-width: 420px;
    margin: 0;
    font-size: 13px;
    opacity: 0.8;
}
.ff-cookie-placeholder .ff-cookie-button {
    min-height: 44px;
    text-transform: uppercase;
}

@media (max-width: 767px) {
    .ff-cookie-banner {
        left: 8px;
        right: 8px;
        bottom: calc(8px + var(--ff-cookie-lift) + env(safe-area-inset-bottom));
        width: auto;
        max-height: calc(100dvh - 120px);
        overflow-y: auto;
    }
    .ff-cookie-inner {
        padding: 18px 16px 16px;
    }
    .ff-cookie-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    .ff-cookie-actions .ff-cookie-button,
    .ff-cookie-actions .ff-cookie-manage {
        width: 100%;
    }
    .ff-cookie-preferences {
        width: 100%;
        max-width: 100%;
        max-height: 92dvh;
        margin: auto 0 0;
        border-width: 1px 0 0;
    }
    .ff-cookie-pref-inner {
        padding: 22px 18px calc(20px + env(safe-area-inset-bottom));
    }
    .ff-cookie-category {
        gap: 14px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-cookie-switch,
    .ff-cookie-switch::after,
    .ff-content-page .ff-policy-toc-title::after {
        transition: none;
    }
}
/* Footer "Cookie Settings" ([ff_cookie_settings]): a real <button>, styled exactly like the neighbouring
   a.ff-footer-link items (typography comes from .ff-footer-text). */
.ff-site-footer button.ff-cookie-settings {
    -webkit-appearance: none;
    appearance: none;
    display: inline-block;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: none;
    color: var(--ff-colour-warm-white);
    text-align: start;
    text-decoration: none;
    text-transform: none;
    text-underline-offset: 3px;
    text-decoration-thickness: 1px;
    cursor: pointer;
}
.ff-site-footer button.ff-cookie-settings:hover {
    color: var(--ff-colour-warm-white);
    text-decoration: underline;
}

/* =========================================================
   UX / COMMERCE FOLLOW-UP BATCH (Oct 2026)
   ========================================================= */
/* 1. Homepage "Find Your Sweet": 4 cards per view on desktop (>= 1120px). The track keeps its manual scroll,
      arrows, drag and snap; 1024-1119px keeps 3 per view and tablet / phone keep their approved rows. */
@media (min-width: 1120px) {
    .ff-home .ff-category-track {
        grid-auto-columns: calc((100% - 3 * var(--ff-home-card-gap)) / 4);
    }
}
/* 2. Section CTA spacing: +15px above editorial / section CTAs only (section CTA rows, hero and split-section
      action rows). Product, cart, checkout, form, consent, mini-cart and header controls are not affected. */
:root {
    --ff-gap-cta-extra: 15px;
}
.ff-home .ff-section-cta {
    margin-top: calc(8px + var(--ff-gap-cta-extra));
}
.ff-home .ff-home-hero-copy:has(+ .ff-home-hero-actions),
.ff-page-hero .ff-archive-hero-copy:has(+ .ff-home-hero-actions) {
    margin-bottom: calc(var(--ff-gap-copy-cta) + var(--ff-gap-cta-extra));
}
.ff-content-page .ff-split-content > .ff-home-hero-actions,
.ff-home .ff-home-story-cta {
    margin-top: calc(var(--ff-gap-copy-cta) + var(--ff-gap-cta-extra));
}
/* 4 + 5. Header / phone icons: one outline set (assets/images/icons: 24px grid, 1.6 stroke) drawn as CSS masks in the
      same glyph box (--ff-header-icon-size) inside the same tap target (--ff-header-action-size). No rings or filled
      shapes: WhatsApp loses its outer circle (the brand glyph is already a circle) and the bag is an outline with a white
      interior on every width. The cart / wishlist count badges, links and drawers are untouched. */
.ff-site-header {
    --ff-utility-ring: none;
}
.ff-site-header .ff-header-actions .ff-header-action--search .search-form__button--full-screen::before {
    width: var(--ff-header-icon-size);
    height: var(--ff-header-icon-size);
    -webkit-mask: url("../images/icons/search-line.svg") center / contain no-repeat;
    mask: url("../images/icons/search-line.svg") center / contain no-repeat;
}
.ff-site-header .ff-header-actions .ff-header-action--account .bde-icon-icon.breakdance-icon-atom svg,
.ff-site-header .ff-header-actions .ff-header-action--wishlist .bde-icon-icon.breakdance-icon-atom svg {
    display: none;
}
.ff-site-header .ff-header-actions .ff-header-action--account .bde-icon-icon.breakdance-icon-atom::before,
.ff-site-header .ff-header-actions .ff-header-action--wishlist .bde-icon-icon.breakdance-icon-atom::before {
    content: "";
    display: block;
    width: var(--ff-header-icon-size);
    height: var(--ff-header-icon-size);
    background-color: currentColor;
    -webkit-mask: url("../images/icons/account.svg") center / contain no-repeat;
    mask: url("../images/icons/account.svg") center / contain no-repeat;
}
.ff-site-header .ff-header-actions .ff-header-action--wishlist .bde-icon-icon.breakdance-icon-atom::before {
    -webkit-mask-image: url("../images/icons/heart.svg");
    mask-image: url("../images/icons/heart.svg");
}
.ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle,
.ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom {
    background: none;
}
.ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle__icon {
    flex: 0 0 var(--ff-header-icon-size);
    width: var(--ff-header-icon-size);
    height: var(--ff-header-icon-size);
    -webkit-mask-image: url("../images/icons/bag.svg");
    mask-image: url("../images/icons/bag.svg");
}
/* the WhatsApp brand glyph has no padding in its box: 1px under the line icons reads as the same size */
.ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom {
    font-size: calc(var(--ff-header-icon-size) - 1px);
    color: var(--ff-colour-dark);
}
.ff-site-header .ff-header-actions .ff-header-action .bde-icon-icon.breakdance-icon-atom:hover,
.ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle:hover,
.ff-site-header .ff-header-actions .ff-header-action--search .search-form__button--full-screen:hover {
    background-color: var(--ff-colour-warm-grey);
    border-radius: 50%;
}
@media (max-width: 767px) {
    .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle__icon {
        flex-basis: var(--ff-header-icon-size);
        width: var(--ff-header-icon-size);
        height: var(--ff-header-icon-size);
    }
    /* phone dock: the same set - the basket has no ring, search uses the line glyph */
    .ff-dock-item--basket .ff-dock-icon {
        width: 24px;
        height: 24px;
        margin: 0;
        border: 0;
        border-radius: 0;
        background-color: var(--ff-colour-dark);
        -webkit-mask-image: url("../images/icons/bag.svg");
        mask-image: url("../images/icons/bag.svg");
    }
    .ff-dock-item--basket .ff-dock-icon::before {
        content: none;
    }
    .ff-dock-item--basket .ff-dock-badge {
        top: 5px;
        left: calc(50% + 6px);
    }
    .ff-dock-item--search .ff-dock-icon {
        width: 24px;
        height: 24px;
        margin: 0;
        -webkit-mask-image: url("../images/icons/search-line.svg");
        mask-image: url("../images/icons/search-line.svg");
    }
}
/* 6. Announcement: only the T&C words are a link - same colour as the bar, underlined, white focus ring (above) */
.ff-site-header .ff-announcement-text a.ff-announcement-link,
.ff-site-header .ff-announcement-text a.ff-announcement-link:visited {
    color: inherit;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.ff-site-header .ff-announcement-text a.ff-announcement-link:hover {
    color: inherit;
    text-decoration-thickness: 2px;
}

/* 12. Desktop Shop mega menu ([ff_shop_mega_menu] in the "Shop" Menu Custom Dropdown, includes/mega-menu.php).
       The panel spans the header (the sticky .ff-site-header is its containing block); its content sits on the
       1280px grid. Breakdance opens it (hover / click, aria-expanded); initMegaMenu adds Escape / outside / focus-out. */
@media (min-width: 1025px) {
    .ff-site-header .ff-main-nav-menu .breakdance-menu,
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown,
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .breakdance-dropdown {
        position: static;
    }
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .breakdance-dropdown-floater {
        top: 100%;
        right: 0;
        left: 0;
        width: auto;
        min-width: 0;
        max-width: none;
        margin: 0;
        padding: 0;
        transform: none;
        border-top: 1px solid rgba(48, 48, 48, 0.12);
        border-bottom: 1px solid rgba(48, 48, 48, 0.12);
        background-color: var(--ff-colour-white);
        box-shadow: 0 18px 32px -24px rgba(48, 48, 48, 0.22);
        transition: opacity 0.18s ease, visibility 0.18s ease;
    }
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .breakdance-dropdown-caret {
        display: none;   /* the panel hangs from the header edge: no pointer notch */
    }
    /* invisible bridge: the pointer can travel from "Shop" down into the panel without it closing */
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .breakdance-dropdown-floater::before {
        content: "";
        position: absolute;
        right: 0;
        bottom: 100%;
        left: 0;
        height: 36px;
    }
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .breakdance-dropdown-body {
        width: auto;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .breakdance-dropdown-custom-content {
        padding: 0;
    }
    .ff-mega-inner {
        display: grid;
        grid-template-columns: minmax(170px, 1fr) minmax(170px, 1fr) minmax(0, 3fr);
        gap: clamp(32px, 4vw, 56px);
        width: min(var(--ff-content-width), calc(100% - 2 * var(--ff-header-inset)));
        margin: 0 auto;
        padding: 36px 0 40px;
    }
    .ff-mega-heading {
        margin: 0 0 16px;
        font-family: var(--ff-font-primary);
        font-size: 13px;
        font-weight: var(--ff-weight-medium);
        line-height: 18px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: var(--ff-colour-dark);
    }
    .ff-mega-list {
        display: flex;
        flex-direction: column;
        gap: 2px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .ff-site-header .ff-mega a.ff-mega-link,
    .ff-site-header .ff-mega a.ff-mega-link:visited {
        display: inline-block;
        padding: 5px 0;
        font-family: var(--ff-font-primary);
        font-size: 15px;
        font-weight: var(--ff-weight-regular);
        line-height: 22px;
        color: var(--ff-colour-dark);
        text-decoration: none;
    }
    .ff-site-header .ff-mega a.ff-mega-link:hover,
    .ff-site-header .ff-mega a.ff-mega-link[aria-current="page"] {
        text-decoration: underline;
        text-underline-offset: 4px;
    }
    .ff-mega-cards {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 20px;
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .ff-site-header .ff-mega a.ff-mega-card {
        display: flex;
        flex-direction: column;
        gap: 12px;
        color: var(--ff-colour-dark);
        text-decoration: none;
    }
    .ff-mega-card-media {
        display: block;
        aspect-ratio: 1 / 1;
        overflow: hidden;
        background-color: var(--ff-colour-warm-white);
    }
    .ff-mega-card-image {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }
    .ff-site-header .ff-mega a.ff-mega-card:hover .ff-mega-card-image {
        transform: scale(1.03);
    }
    .ff-mega-card-title {
        font-family: var(--ff-font-primary);
        font-size: 13px;
        font-weight: var(--ff-weight-medium);
        line-height: 18px;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }
    .ff-site-header .ff-mega a.ff-mega-card:hover .ff-mega-card-title {
        text-decoration: underline;
        text-underline-offset: 4px;
    }
    .ff-site-header .ff-mega a:focus-visible {
        outline: 2px solid var(--ff-colour-dark);
        outline-offset: 3px;
    }
}
/* burger menu (<= 1024px): the same live category list, styled like the other menu links - no panel, no cards */
@media (max-width: 1024px) {
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .breakdance-dropdown-body,
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .breakdance-dropdown-custom-content {
        padding: 0;
    }
    .ff-mega-col--explore,
    .ff-mega-cards,
    .ff-mega-heading {
        display: none;
    }
    .ff-mega-list {
        margin: 0;
        padding: 0;
        list-style: none;
    }
    .ff-site-header .ff-mega a.ff-mega-link,
    .ff-site-header .ff-mega a.ff-mega-link:visited {
        display: block;
        padding: 12px 30px;   /* = the Content Hub sub-links (Breakdance mobile dropdown links) */
        font-family: var(--ff-font-primary);
        font-size: 16px;
        font-weight: var(--ff-weight-regular);
        line-height: 24px;
        color: var(--ff-colour-dark);
        text-decoration: none;
    }
    .ff-site-header .ff-mega a.ff-mega-link[aria-current="page"] {
        text-decoration: underline;
        text-underline-offset: 4px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-mega-card-image,
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .breakdance-dropdown-floater {
        transition: none;
    }
}
/* 8 (+10). Share actions (includes/share.php): the product page's action style - 44px white circle, 1px dark ring,
      dark 18px glyph (same as the large wishlist heart beside Add to cart); no brand colours. */
.ff-share {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
}
.ff-share-label {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 13px;
    font-weight: var(--ff-weight-medium);
    line-height: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--ff-colour-dark);
}
.ff-share-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-share .ff-share-action,
.ff-share a.ff-share-action:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 1px solid var(--ff-colour-dark);
    border-radius: 50%;
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
.ff-share .ff-share-action[hidden] {
    display: none;
}
.ff-share .ff-share-action:hover {
    background-color: var(--ff-colour-warm-grey);
}
.ff-share .ff-share-action:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-share-icon {
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: var(--ff-share-icon) center / contain no-repeat;
    mask: var(--ff-share-icon) center / contain no-repeat;
}
.ff-share-action--whatsapp { --ff-share-icon: url("../images/icons/share-whatsapp.svg"); }
.ff-share-action--facebook { --ff-share-icon: url("../images/icons/share-facebook.svg"); }
.ff-share-action--instagram { --ff-share-icon: url("../images/icons/share-instagram.svg"); }
.ff-share-action--email { --ff-share-icon: url("../images/icons/share-email.svg"); }
.ff-share-action--copy { --ff-share-icon: url("../images/icons/share-link.svg"); }
.ff-share-action--whatsapp .ff-share-icon {
    width: 17px;
    height: 17px;
}
.ff-share-status {
    flex: 1 0 100%;
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 14px;
    line-height: 20px;
    color: var(--ff-colour-dark);
}
.ff-share-status:empty {
    display: none;
}
.ff-product-single .ff-product-share {
    margin-top: 24px;
}
/* 10. Wish list sharing - owner panel on My Lists (initWishlist) */
.ff-wishlist-share-panel {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 16px 0 0;
    padding: 20px;
    border: 1px solid #E2DFDA;
    background-color: var(--ff-colour-warm-white);
}
.ff-wishlist-share-panel[hidden] {
    display: none;
}
.ff-wishlist-share-text {
    max-width: 620px;
    margin: 0;
}
.ff-wishlist-share-panel .ff-wishlist-create-label {
    margin: 4px 0 -4px;
}
.ff-wishlist-share-url {
    box-sizing: border-box;
    width: 100%;
    max-width: 620px;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid #CFCAC4;
    border-radius: 0;
    background-color: var(--ff-colour-white);
    font-family: var(--ff-font-primary);
    font-size: 14px;
    color: var(--ff-colour-dark);
}
.ff-wishlist-share-url:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 1px;
}
.ff-wishlist-share-actions .ff-wishlist-share-copy {
    min-height: 44px;
}
.ff-wishlist-share-manage {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
}
.ff-wishlist-share-create {
    align-self: flex-start;
}
.ff-wishlist-share-note {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 14px;
    line-height: 20px;
}
.ff-wishlist-share-note:empty {
    display: none;
}
.ff-wishlist-list-actions {
    flex-wrap: wrap;
}

/* 10. Shared list page (/shared-list/{token}/, page "Shared List", [ff_shared_list]): FF Product Card v2 grid */
.ff-shared-list {
    padding: 48px 0 var(--ff-section-space);
}
.ff-shared-list-head {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: center;
}
.ff-shared-list-eyebrow {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 13px;
    font-weight: var(--ff-weight-medium);
    line-height: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ff-shared-list-title {
    margin: 0;
    overflow-wrap: anywhere;
}
.ff-shared-list-count {
    font-weight: var(--ff-weight-regular);
    opacity: 0.7;
}
.ff-shared-list-intro {
    margin: 0;
}
.ff-shared-list-share {
    justify-content: center;
    margin-top: 8px;
}
.ff-shared-list-share .ff-share-status {
    text-align: center;
}
.ff-shared-list-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-shared-list-item {
    min-width: 0;
}
.ff-shared-list-empty,
.ff-shared-list-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.ff-shared-list--unavailable {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    max-width: 640px;
    margin: 0 auto;
    text-align: center;
}
.ff-shared-list--unavailable .ff-shared-list-actions {
    margin-top: calc(var(--ff-gap-copy-cta) - 12px + var(--ff-gap-cta-extra));
}
@media (max-width: 1119px) {
    .ff-shared-list-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .ff-shared-list {
        padding-top: 32px;
    }
    .ff-shared-list-head {
        margin-bottom: 28px;
    }
    .ff-shared-list-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 16px;
    }
    .ff-wishlist-share-panel {
        padding: 16px;
    }
}

/* =========================================================
   CONTENT PHASE 3A — SUGAR-FREE (/sugar-free/) + GIFTING (/gifting/)
   ========================================================= */
/*
 * Built from the approved content-page system (About / Wholesale): page hero, centred section headers, split
 * sections centred in the 1280 grid (Wholesale "Who we work with" rule), layered XD artwork, shared testimonials and
 * the Forest Fairies form system. Dynamic product rows: [ff_product_collection] (FF Product Card v2, #774).
 * XD REV2 artboards "Sugar-free" / "Gifting".
 */
/* CTAs rendered by [ff_cta] sit inside an Oxygen shortcode wrapper: the link is the row's real flex item */
.ff-content-page .ff-home-hero-actions > .oxy-shortcode,
.ff-content-page .ff-section-cta > .oxy-shortcode {
    display: contents;
}

/* product rows / grid (same card width and gaps as the Shop grid: 4 per row in the 1280 grid) */
.ff-collection {
    width: 100%;
}
.ff-collection-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 48px 24px;
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
    text-align: left;
}
.ff-collection-item {
    min-width: 0;
}
.ff-collection-more {
    margin: 32px 0 0;
    text-align: center;
}
.ff-content-page .ff-collection-section {
    scroll-margin-top: 96px;   /* the hero anchor lands below the sticky header */
}

/* value lists (Why choose ...): title + line, thin warm dividers */
.ff-content-page .ff-value-list {
    display: flex;
    flex-direction: column;
    margin: 8px 0 0;
    padding: 0;
    list-style: none;
}
.ff-content-page .ff-value-item {
    padding: 16px 0;
    border-top: 1px solid rgba(48, 48, 48, 0.14);
}
.ff-content-page .ff-value-item:last-child {
    border-bottom: 1px solid rgba(48, 48, 48, 0.14);
}
.ff-content-page .ff-value-item h3 {
    margin: 0 0 4px;
}
.ff-content-page .ff-value-item .ff-body {
    margin: 0;
}

/* split sections of these pages: centred in the 1280 grid on desktop (as Wholesale "Who we work with") */
.ff-content-page .ff-sf-why,
.ff-content-page .ff-gift-why {
    margin-top: var(--ff-home-section-space);
    padding-bottom: var(--ff-home-section-space);
}
.ff-content-page .ff-sf-why {
    background-color: var(--ff-colour-warm-white);
}
.ff-content-page .ff-gift-why {
    background-color: var(--ff-colour-warm-white, #FAF9F7);   /* XD Rectangle 433: #FAF9F7 (was warm grey #F2F0ED) */
}
.ff-content-page .ff-sf-info .ff-split-media img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}
@media (min-width: 1024px) {
    .ff-content-page .ff-sf-info .ff-split-inner,
    .ff-content-page .ff-sf-why .ff-split-inner,
    .ff-content-page .ff-gift-why .ff-split-inner {
        width: min(var(--ff-content-width), calc(100% - (2 * clamp(var(--ff-gutter-min), 3vw, var(--ff-gutter-max)))));
        margin-inline: auto;
        grid-template-columns: minmax(0, 42fr) minmax(0, 54fr);
        column-gap: clamp(32px, 3.6vw, 52px);
        align-items: center;
    }
    /* copy left, image right: editorial rhythm against the "why choose" artwork on the left */
    .ff-content-page .ff-sf-info .ff-split-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);   /* refinement: balanced 50 / 50 editorial split */
        column-gap: clamp(40px, 5vw, 72px);
    }
    .ff-content-page .ff-sf-info .ff-split-media {
        order: 2;
    }
    .ff-content-page .ff-sf-info .ff-split-content,
    .ff-content-page .ff-sf-why .ff-split-content,
    .ff-content-page .ff-gift-why .ff-split-content {
        padding-inline: 0;
    }
    .ff-content-page .ff-sf-info .ff-split-content > *,
    .ff-content-page .ff-sf-why .ff-split-content > *,
    .ff-content-page .ff-gift-why .ff-split-content > * {
        max-width: 620px;
    }
    .ff-content-page .ff-sf-info .ff-split-content > .ff-section-title,
    .ff-content-page .ff-sf-why .ff-split-content > .ff-section-title,
    .ff-content-page .ff-gift-why .ff-split-content > .ff-section-title {
        margin-bottom: 16px;
    }
}
.ff-content-page .ff-sf-info .ff-split-content > .ff-label-bold {
    margin: 20px 0 0;
}

/* layered "why choose" artwork - positions from the XD layer frames (percentages of the frame) */
.ff-content-page .ff-sf-why-media {
    max-width: 560px;
    aspect-ratio: 545 / 625;
}
.ff-content-page .ff-sf-why-media .ff-split-layer-bg {
    width: 92.66%;
    height: 68.8%;
}
.ff-content-page .ff-sf-why-media .ff-split-layer-back {
    z-index: 1;
    left: 12.48%;
    top: 15.84%;
    width: 51.19%;
    height: 73.76%;
}
.ff-content-page .ff-sf-why-media .ff-split-layer-main {
    z-index: 2;
    left: 35.6%;
    top: 47.68%;
    width: 64.4%;
    height: 40.32%;
}
.ff-content-page .ff-sf-why-media .ff-split-layer-front {
    z-index: 3;
    left: 17.06%;
    top: 64.48%;
    width: 54.5%;
    height: 35.52%;
}
.ff-content-page .ff-gift-why-media {
    max-width: 600px;
    aspect-ratio: 605 / 561;
}
.ff-content-page .ff-gift-why-media .ff-split-layer-bg {
    width: 83.47%;
    height: 76.65%;
}
.ff-content-page .ff-gift-why-media .ff-split-layer-main {
    left: 8.1%;
    top: 27.81%;
    width: 64.46%;
    height: 70.77%;
}
.ff-content-page .ff-gift-why-media .ff-split-layer-front {
    left: 39.83%;
    top: 75.58%;
    width: 60.17%;
    height: 24.42%;
}


/* Sugar-Free: "Explore the Collection" header measure */
.ff-sugar-free-page .ff-collection-section .ff-section-header {
    max-width: 860px;
}

@media (max-width: 1119px) {
    .ff-collection-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 40px 20px;
    }
}
@media (max-width: 767px) {
    .ff-collection-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 32px 16px;
    }
    /* layered artwork keeps its frame inside the phone gutter */
    .ff-content-page .ff-sf-why-media,
    .ff-content-page .ff-gift-why-media {
        width: calc(100% - 2 * var(--ff-split-pad));
        max-width: none;
        margin-inline: var(--ff-split-pad);
    }
    .ff-content-page .ff-sf-info .ff-split-media {
        width: calc(100% - 2 * var(--ff-split-pad));
        margin-inline: var(--ff-split-pad);
    }
}
/* short product rows (4 cards, e.g. Gifting): stay one row of 4 on tablets (no stranded 4th card), 2 x 2 on phones */
@media (min-width: 768px) and (max-width: 1119px) {
    .ff-collection-grid--row {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 32px 16px;
    }
}

/* ---- Phase 3A refinement (Darren review) ---- */
/* Sugar-Free "Crafted for Conscious Indulgence": copy held to a readable measure, centred against the image */
@media (min-width: 1024px) {
    .ff-content-page .ff-sf-info .ff-split-content > * {
        max-width: 540px;
    }
}
/* curated rows: the XD row label ("SHOP GIFT BOXES" / "SHOP SUGAR-FREE") above the four cards */
.ff-content-page .ff-collection-section > .ff-home-section-inner > h3.ff-h3 {
    margin: 8px 0 -8px;
    text-transform: uppercase;
}
/* Gifting closing block (XD): compact centred story, then "Looking for something special?" + Get In Touch */
.ff-gifting-page .ff-gift-story {
    padding-bottom: var(--ff-home-section-space);
}
.ff-gifting-page .ff-gift-story .ff-section-header {
    max-width: 760px;
}
.ff-gifting-page .ff-gift-story .ff-section-header + .ff-section-header {
    margin-top: 16px;
}
.ff-gifting-page .ff-gift-story .ff-section-header .ff-h3 {
    text-transform: uppercase;
}

/* Single product: share row under the gallery (same action style); Product Details specification list */
.ff-product-single .ff-product-gallery .ff-product-share {
    margin-top: 24px;
}
.ff-product-single .ff-product-specs {
    margin-top: 0;
    padding-top: var(--ff-space-3);   /* first child of its shortcode wrapper: keep the same rhythm as the sections above */
    border-top: 1px solid var(--ff-product-line);
}
.ff-product-specs[hidden] {
    display: none;
}
.ff-product-specs-list {
    margin: 4px 0 0;
    padding: 0;
}
.ff-product-specs-row {
    display: grid;
    grid-template-columns: minmax(110px, 34%) minmax(0, 1fr);
    gap: 16px;
    padding: 10px 0;
    border-top: 1px solid var(--ff-product-line);
    font-family: var(--ff-font-primary);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ff-colour-dark);
}
.ff-product-specs-row:first-child {
    border-top: 0;
}
.ff-product-specs-row[hidden] {
    display: none;
}
.ff-product-specs-row:not([hidden]) ~ .ff-product-specs-row:not([hidden]) {
    border-top: 1px solid var(--ff-product-line);
}
.ff-product-specs-row dt {
    margin: 0;
    font-weight: var(--ff-weight-medium);
}
.ff-product-specs-row dd {
    margin: 0;
    font-weight: var(--ff-weight-regular);
}
/* Sugar-Free: curated row + "Shop All Sugar-Free" close their section before the final CTA divider */
.ff-sugar-free-page .ff-collection-section {
    padding-bottom: var(--ff-home-section-space);
}
/* Gifting: "Looking for something special?" is the smaller XD heading (20px) under the story */
.ff-gifting-page .ff-gift-story .ff-section-header + .ff-section-header .ff-section-title {
    font-size: 20px;
    line-height: 1.3;
}

/* =========================================================
   CONTENT HUB (Content Phase 3B) - includes/content-hub.php, recipes.php
   /content-hub/ (Oxygen page .ff-content-hub-page), /content-hub/blogs-news/ + /content-hub/recipes/ (landings),
   article + recipe singles (Oxygen templates). XD REV2 "Content Hub Blogs and News landing page", "Recipes landing
   page", "Recipes article page". Editorial: white / warm-neutral, thin rules, no card shadows.
   ========================================================= */
.ff-hub {
    --ff-hub-line: #E2DFDA;
    --ff-hub-side-bg: var(--ff-colour-warm-white, #FAF9F7);
    --ff-hub-gap: 20px;
    --ff-hub-icon-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M13.3 5.3a1 1 0 0 1 1.4 0l6 6a1 1 0 0 1 0 1.4l-6 6a1 1 0 0 1-1.4-1.4l4.3-4.3H4a1 1 0 1 1 0-2h13.6l-4.3-4.3a1 1 0 0 1 0-1.4Z'/%3E%3C/svg%3E");
    --ff-hub-icon-search: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='m15.5 15.5 5 5'/%3E%3C/svg%3E");
    --ff-hub-icon-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    width: min(var(--ff-content-width), calc(100% - 2 * var(--ff-header-inset)));
    margin: 0 auto;
    padding: clamp(40px, 4.3vw, 56px) 0 var(--ff-section-space);
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
}
.ff-hub a:focus-visible,
.ff-hub button:focus-visible,
.ff-hub input:focus-visible,
.ff-hub select:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
}

/* landing controls: section switch (current = outlined, other = dark, XD) + search on the right */
.ff-hub-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px 32px;
    margin-bottom: clamp(32px, 4.7vw, 60px);
}
.ff-hub-tabs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-hub a.ff-hub-tab,
.ff-hub a.ff-hub-tab:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 10px 26px;
    border: 1px solid var(--ff-colour-button-dark, #252523);
    border-radius: var(--ff-radius-sm);
    background-color: var(--ff-colour-white);   /* other section: outlined */
    color: var(--ff-colour-dark);
    font-family: var(--ff-font-secondary);
    font-size: var(--ff-font-size-button);
    font-weight: var(--ff-weight-button);
    line-height: var(--ff-line-height-button);
    letter-spacing: var(--ff-letter-spacing-button);
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.25s ease, color 0.25s ease;
}
.ff-hub a.ff-hub-tab:hover {
    background-color: var(--ff-colour-warm-white, #FAF9F7);
}
.ff-hub a.ff-hub-tab[aria-current="page"] {   /* current section: filled dark */
    background-color: var(--ff-colour-button-dark, #252523);
    color: var(--ff-colour-white);
}
.ff-hub-search {
    display: flex;
    align-items: center;
    width: min(388px, 100%);
    border-bottom: 1px solid var(--ff-colour-dark);
}
.ff-hub-search-input {
    flex: 1 1 auto;
    min-width: 0;
    height: 44px;
    padding: 0 4px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: var(--ff-font-primary);
    font-size: 16px;
    color: var(--ff-colour-dark);
    -webkit-appearance: none;
    appearance: none;
}
.ff-hub-search-input::placeholder {
    color: var(--ff-colour-dark);
    opacity: 1;
}
.ff-hub-search-input::-webkit-search-cancel-button {
    cursor: pointer;
}
.ff-hub-search-submit {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    background: none;
    color: var(--ff-colour-dark);
    cursor: pointer;
}
.ff-hub-search-icon {
    display: block;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask: var(--ff-hub-icon-search) center / contain no-repeat;
    mask: var(--ff-hub-icon-search) center / contain no-repeat;
}

/* layout: main column + warm sidebar (XD 781 / 378 on the 1280 grid) */
.ff-hub-layout {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
    align-items: start;
    gap: 0 var(--ff-hub-gap);
}
.ff-hub-single .ff-hub-layout {
    align-items: stretch;
    gap: 0 clamp(24px, 3.3vw, 40px);
}
.ff-hub-main {
    min-width: 0;
}

/* filter status */
.ff-hub-status {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 20px;
    margin: 0 0 28px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ff-hub-line);
}
.ff-hub-status-text {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
}
.ff-hub a.ff-hub-status-clear,
.ff-hub a.ff-hub-status-clear:visited {
    font-size: 14px;
    color: var(--ff-colour-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* card grid: 2 columns */
.ff-hub-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(40px, 4.4vw, 56px) var(--ff-hub-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-hub-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    text-align: center;
}
.ff-hub-card-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 379 / 276;
    background-color: var(--ff-hub-side-bg);
}
.ff-hub-card--no-image .ff-hub-card-media {
    aspect-ratio: auto;
    min-height: 56px;
    background: none;
}
.ff-hub-card-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.ff-hub-card:hover .ff-hub-card-image {
    transform: scale(1.03);
}
.ff-hub-card-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 1;
    padding: 2px 8px;
    border: 1px solid var(--ff-hub-line);
    background-color: var(--ff-colour-white);
    font-size: 14px;
    font-weight: var(--ff-weight-light, 300);
    line-height: 20px;
    color: var(--ff-colour-dark);
}
.ff-hub-card-arrow {
    position: absolute;
    right: 12px;
    bottom: 12px;
    z-index: 1;
    width: 32px;
    height: 32px;
    border: 1px solid var(--ff-hub-line);
    border-radius: 50%;
    background-color: var(--ff-colour-white);
}
.ff-hub-card-arrow::before,
.ff-hub-adjacent-arrow::before {
    content: "";
    position: absolute;
    inset: 0;
    margin: auto;
    width: 14px;
    height: 14px;
    background-color: var(--ff-colour-dark);
    -webkit-mask: var(--ff-hub-icon-arrow) center / contain no-repeat;
    mask: var(--ff-hub-icon-arrow) center / contain no-repeat;
}
.ff-hub-card--no-image .ff-hub-card-arrow {
    display: none;
}
.ff-hub-card-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 22px 8px 0;
}
.ff-hub-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2px 14px;
    margin: 0;
    font-size: 13.5px;
    line-height: 20px;
    letter-spacing: 0.01em;
    color: rgba(48, 48, 48, 0.72);   /* date / topic sit below the title in the hierarchy */
}
.ff-hub-meta a,
.ff-hub-meta a:visited {
    color: inherit;
    text-decoration: none;
}
.ff-hub-meta a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ff-hub-meta-sep {
    color: rgba(48, 48, 48, 0.6);
}
.ff-hub-card-title {
    margin: 2px 0 0;
    font-size: 19px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.35;
    letter-spacing: 0.01em;
}
.ff-hub a.ff-hub-card-link,
.ff-hub a.ff-hub-card-link:visited {
    color: var(--ff-colour-dark);
    text-decoration: none;
}
/* the whole card is the title link (one link, one tab stop) */
.ff-hub a.ff-hub-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
}
.ff-hub-card:hover .ff-hub-card-link,
.ff-hub a.ff-hub-card-link:focus-visible {
    text-decoration: underline;
    text-underline-offset: 4px;
}
.ff-hub a.ff-hub-card-link:focus-visible {
    outline: none;
}
.ff-hub-card:has(.ff-hub-card-link:focus-visible) {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 6px;
}
.ff-hub-card-text {
    margin: 0;
    font-size: 15px;
    font-weight: var(--ff-weight-regular);
    line-height: 1.6;
    color: rgba(48, 48, 48, 0.82);
}

/* empty state + pagination */
.ff-hub-empty {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    padding: 40px 0;
}
.ff-hub-empty p {
    margin: 0;
    font-size: 17px;
}
.ff-hub-pagination {
    margin-top: clamp(40px, 4.4vw, 56px);
}
.ff-hub-pagination ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-hub .ff-hub-page,
.ff-hub a.ff-hub-page:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--ff-hub-line);
    font-size: 15px;
    color: var(--ff-colour-dark);
    text-decoration: none;
}
.ff-hub a.ff-hub-page:hover {
    border-color: var(--ff-colour-dark);
}
.ff-hub .ff-hub-page.is-current {
    border-color: var(--ff-colour-dark);
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-white);
}
.ff-hub .ff-hub-page--gap {
    border-color: transparent;
}

/* sidebar (XD "blog right side bar"): warm panel, recent rows, small tags, plain categories */
.ff-hub-sidebar {
    min-width: 0;
    background-color: var(--ff-hub-side-bg);
}
.ff-hub-sidebar-inner {
    display: flex;
    flex-direction: column;
    gap: 44px;
    padding: 32px clamp(16px, 1.6vw, 20px) 40px;
}
.ff-hub-side-title {
    margin: 0 0 18px;
    font-size: 22px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
}
.ff-hub-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.ff-hub-filter-field {
    position: relative;
    flex: 1 1 220px;
}
.ff-hub-filter-field::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 14px;
    width: 16px;
    height: 16px;
    margin-top: -8px;
    background-color: var(--ff-colour-dark);
    -webkit-mask: var(--ff-hub-icon-chevron) center / contain no-repeat;
    mask: var(--ff-hub-icon-chevron) center / contain no-repeat;
    pointer-events: none;
}
.ff-hub-filter-select {
    box-sizing: border-box;
    width: 100%;
    height: 46px;
    padding: 0 40px 0 14px;
    border: 1px solid var(--ff-hub-line);
    border-radius: 0;
    background-color: var(--ff-colour-white);
    font-family: var(--ff-font-primary);
    font-size: 16px;
    color: var(--ff-colour-dark);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}
.ff-hub-filter-select:hover {
    border-color: #b9b6b0;
}
.ff-js .ff-hub-filter-apply {
    display: none;
}
.ff-hub-recent {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-hub-recent-item,
.ff-hub-adjacent-item {
    position: relative;
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}
.ff-hub-recent-media,
.ff-hub-adjacent-media {
    display: block;
    overflow: hidden;
    aspect-ratio: 1 / 1;
    background-color: var(--ff-colour-white);
}
.ff-hub-recent-image,
.ff-hub-adjacent-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ff-hub-recent-body,
.ff-hub-adjacent-body {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    padding-top: 2px;
}
.ff-hub-recent-topic {
    font-size: 14px;
    font-style: italic;
    font-weight: var(--ff-weight-light, 300);
    line-height: 20px;
}
.ff-hub-recent-date {
    font-size: 14px;
    line-height: 20px;
}
.ff-hub a.ff-hub-recent-link,
.ff-hub a.ff-hub-recent-link:visited,
.ff-hub a.ff-hub-adjacent-link,
.ff-hub a.ff-hub-adjacent-link:visited {
    font-size: 16px;
    font-weight: var(--ff-weight-medium, 500);
    line-height: 1.35;
    color: var(--ff-colour-dark);
    text-decoration: none;
}
.ff-hub a.ff-hub-recent-link::after,
.ff-hub a.ff-hub-adjacent-link::after {
    content: "";
    position: absolute;
    inset: 0;
}
.ff-hub-recent-item:hover .ff-hub-recent-link,
.ff-hub-adjacent-item:hover .ff-hub-adjacent-link {
    text-decoration: underline;
    text-underline-offset: 3px;
}
.ff-hub-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-hub-tag-list a,
.ff-hub-tag-list a:visited {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 2px 8px;
    border: 1px solid var(--ff-hub-line);
    background-color: var(--ff-colour-white);
    font-size: 14px;
    font-weight: var(--ff-weight-light, 300);
    line-height: 20px;
    color: var(--ff-colour-dark);
    text-decoration: none;
    transition: border-color 0.2s ease;
}
.ff-hub-tag-list a:hover,
.ff-hub-tag-list a[aria-current="true"] {
    border-color: var(--ff-colour-dark);
}
.ff-hub-category-list {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-hub-category-list a,
.ff-hub-category-list a:visited {
    display: inline-block;
    padding: 4px 0;
    font-size: 15px;
    line-height: 22px;
    color: var(--ff-colour-dark);
    text-decoration: none;
}
.ff-hub-category-list a:hover,
.ff-hub-category-list a[aria-current="true"] {
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* single article / recipe (XD "Recipes article page") */
.ff-hub-article-media {
    margin: 0 0 clamp(28px, 3.5vw, 44px);
    overflow: hidden;
    aspect-ratio: 757 / 551;
    background-color: var(--ff-hub-side-bg);
}
.ff-hub-article-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.ff-hub-article-header {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 24px;
}
.ff-hub-article-meta {
    justify-content: flex-start;
    font-size: 15px;
}
.ff-hub-article-title {
    margin: 0;
    font-size: clamp(22px, 1.25rem + 0.4vw, 26px);
    font-weight: var(--ff-weight-heading);
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.ff-hub-lead,
.ff-hub-prose p,
.ff-hub-prose li,
.ff-recipe-step-body p,
.ff-recipe-step-body li {
    font-size: 16px;
    font-weight: var(--ff-weight-regular);
    line-height: 1.6;
}
.ff-hub-lead {
    margin: 0 0 28px;
}
.ff-hub-prose,
.ff-recipe-step-body {
    max-width: 760px;
}
.ff-hub-prose > * {
    margin: 0 0 20px;
}
.ff-hub-prose h2,
.ff-hub-section-title {
    margin: 40px 0 18px;
    font-family: var(--ff-font-primary);
    font-size: 20px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.35;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}
.ff-hub-single--article .ff-hub-prose h2 {
    margin-top: 36px;
    font-size: 19px;
    letter-spacing: 0.01em;
    text-transform: none;
}
.ff-hub-prose h3 {
    margin: 28px 0 12px;
    font-size: 18px;
    font-weight: var(--ff-weight-heading);
}
.ff-hub-prose ul,
.ff-hub-prose ol,
.ff-recipe-step-body ul {
    padding-left: 22px;
}
.ff-hub-prose strong {
    font-weight: var(--ff-weight-medium, 500);
}
.ff-hub-prose .ff-hub-article-cta,
.ff-hub-prose a.ff-btn-primary {
    margin-top: 12px;
}
/* recipe facts: Serves / Preparation time / Chilling time / Difficulty */
.ff-recipe-facts {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0;
    margin: 0 0 36px;
    border-top: 1px solid var(--ff-hub-line);
    border-bottom: 1px solid var(--ff-hub-line);
}
.ff-recipe-fact {
    padding: 16px 16px 16px 0;
}
.ff-recipe-fact + .ff-recipe-fact {
    padding-left: 16px;
    border-left: 1px solid var(--ff-hub-line);
}
.ff-recipe-fact dt {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: var(--ff-weight-medium, 500);
    line-height: 18px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}
.ff-recipe-fact dd {
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
}
.ff-recipe-subtitle {
    margin: 26px 0 10px;
    font-size: 19px;
    font-weight: var(--ff-weight-heading);
    line-height: 1.35;
}
.ff-recipe-ingredient-group:first-of-type .ff-recipe-subtitle {
    margin-top: 0;
}
.ff-recipe-ingredient-list {
    margin: 0;
    padding: 0 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
}
.ff-recipe-ingredient-list li + li {
    margin-top: 2px;
}
.ff-recipe-steps {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: ff-step;
}
.ff-recipe-step {
    counter-increment: ff-step;
    padding: 0 0 26px;
}
.ff-recipe-step + .ff-recipe-step {
    padding-top: 22px;
    border-top: 1px solid var(--ff-hub-line);
}
.ff-recipe-step-title {
    margin: 0 0 10px;
}
.ff-recipe-step-title::before {
    content: counter(ff-step) ". ";
}
.ff-recipe-step-body {
    padding-left: 24px;
}
.ff-recipe-step-body > * {
    margin: 0 0 14px;
}
.ff-recipe-step-body > :last-child {
    margin-bottom: 0;
}
.ff-recipe-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 0 0 32px;
    padding: 0;
    list-style: none;
}
.ff-recipe-gallery-image {
    display: block;
    width: 100%;
    height: auto;
}
.ff-hub-share {
    margin-top: 44px;
    padding-top: 24px;
    border-top: 1px solid var(--ff-hub-line);
}
/* Shop the treats behind the recipe: FF Product Card v2, 3 across the main column */
.ff-hub-products {
    margin-top: clamp(48px, 5vw, 64px);
}
.ff-hub-products-title {
    margin-top: 0;
    font-size: clamp(20px, 1.1rem + 0.3vw, 24px);
}
.ff-hub .ff-collection-grid--hub {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px 20px;
    margin: 28px 0 0;
    padding: 0;
    list-style: none;
}
/* previous / next */
.ff-hub-adjacent {
    margin-top: clamp(48px, 5vw, 72px);
    padding-top: 28px;
    border-top: 1px solid var(--ff-hub-line);
}
.ff-hub-adjacent ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.ff-hub-adjacent-item {
    grid-template-columns: 112px minmax(0, 1fr) 32px;
}
.ff-hub-adjacent-item--next {
    grid-column: 2;
    grid-template-columns: 32px minmax(0, 1fr) 112px;
    text-align: right;
}
.ff-hub-adjacent-item--next .ff-hub-adjacent-media {
    order: 3;
}
.ff-hub-adjacent-item--next .ff-hub-adjacent-body {
    order: 2;
    align-items: flex-end;
}
.ff-hub-adjacent-item--next .ff-hub-adjacent-arrow {
    order: 1;
}
.ff-hub-adjacent-arrow {
    position: relative;
    align-self: center;
    width: 32px;
    height: 32px;
    border: 1px solid var(--ff-hub-line);
    border-radius: 50%;
}
.ff-hub-adjacent-item--prev .ff-hub-adjacent-arrow::before {
    transform: rotate(180deg);
}
.ff-hub-single .ff-hub-sidebar-inner {
    padding-top: 36px;
}

/* /content-hub/ editorial destinations: newest image + approved copy, 50/50 on the content grid */
.ff-content-hub-page .ff-hub-feature {
    padding-block: var(--ff-home-section-space);
}
.ff-content-hub-page .ff-hub-feature + .ff-hub-feature:not(.ff-hub-feature--alt) {
    padding-top: 0;
}
.ff-content-hub-page .ff-hub-feature--alt + .ff-hub-feature {
    padding-top: var(--ff-home-section-space);
}
.ff-content-hub-page .ff-hub-feature--alt {
    background-color: var(--ff-colour-warm-white, #FAF9F7);
}
.ff-content-hub-page .ff-hub-feature .ff-split-inner {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(40px, 5.6vw, 80px);
    width: min(var(--ff-content-width), calc(100% - 2 * var(--ff-header-inset)));
    margin: 0 auto;
}
.ff-content-hub-page .ff-hub-feature--alt .ff-split-media {
    order: 2;
}
.ff-content-hub-page .ff-hub-feature .ff-split-content {
    padding-inline: 0;
}
.ff-content-hub-page .ff-hub-feature .ff-split-content > * {
    max-width: 520px;
}
.ff-content-hub-page .ff-hub-feature-media {
    overflow: hidden;
    aspect-ratio: 4 / 3;
    background-color: var(--ff-colour-warm-white, #FAF9F7);
}
.ff-content-hub-page .ff-hub-feature--alt .ff-hub-feature-media {
    background-color: var(--ff-colour-white);
}
.ff-content-hub-page .ff-hub-feature-media .oxy-shortcode,
.ff-content-hub-page .ff-hub-feature-image {
    display: block;
    width: 100%;
    height: 100%;
}
.ff-content-hub-page .ff-hub-feature-image {
    object-fit: cover;
}
.ff-content-hub-page .ff-hub-kicker {
    margin: 0 0 14px;
    font-size: 13px;
    font-weight: var(--ff-weight-medium, 500);
    line-height: 18px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}
.ff-content-hub-page .ff-hub-feature .ff-section-title {
    margin-bottom: 16px;
}
.ff-content-hub-page .ff-home-final-cta {
    padding-bottom: var(--ff-home-section-space);
}

/* header: "Content Hub" is current on every Content Hub view (body class from includes/content-hub.php) */
.ff-hub-context .ff-site-header .ff-main-nav-menu .breakdance-dropdown:has([data-ff-mega-hub]) .breakdance-dropdown-toggle > .breakdance-menu-link {
    text-decoration: underline;
}

/* desktop Content Hub mega menu: Explore | Topics | 2 featured cards (shares the Shop mega menu system) */
@media (min-width: 1025px) {
    .ff-mega--hub .ff-mega-inner {
        grid-template-columns: minmax(170px, 1fr) minmax(190px, 1fr) minmax(0, 3fr);
        padding: 28px 0 30px;   /* a little more compact than the Shop panel (36 / 40) for its lighter content */
    }
    .ff-mega-cards--hub {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ff-mega--hub .ff-mega-card-media {
        aspect-ratio: 16 / 10;
    }
    .ff-mega-card-kicker {
        font-family: var(--ff-font-primary);
        font-size: 12px;
        font-weight: var(--ff-weight-medium, 500);
        line-height: 16px;
        letter-spacing: 0.12em;
        text-transform: uppercase;
        color: var(--ff-colour-dark);
    }
    .ff-mega-card-name {
        margin-top: -6px;
        font-family: var(--ff-font-primary);
        font-size: 15px;
        font-weight: var(--ff-weight-medium, 500);
        line-height: 21px;
        color: var(--ff-colour-dark);
    }
    .ff-site-header .ff-mega a.ff-mega-card--hub:hover .ff-mega-card-name {
        text-decoration: underline;
        text-underline-offset: 4px;
    }
    /* the arrow button next to the "Content Hub" link: a 44px target around the caret. The caret sits at the left of
       the 24px box (as Shop's 14px arrow); the extra 10px overlaps the menu gap so the visible spacing to "Support"
       matches every other item (Ziflow 33) */
    .ff-site-header .ff-main-nav-menu .breakdance-dropdown--with-link:has([data-ff-mega-hub]) .breakdance-menu-link-arrow {
        min-width: 24px;
        min-height: 44px;
        margin-right: -10px;
    }
}
/* burger menu (<= 1024px): Content Hub Home / Blogs & News / Recipes only, styled like the other sub-links */
@media (max-width: 1024px) {
    .ff-mega-col--topics {
        display: none;
    }
}

/* tablet: narrower sidebar; phones: one column, sidebar below the content */
@media (max-width: 1023px) {
    .ff-hub-layout,
    .ff-hub-single .ff-hub-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: clamp(48px, 7vw, 64px);
    }
    .ff-hub .ff-collection-grid--hub {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}
@media (max-width: 767px) {
    .ff-hub {
        width: calc(100% - 40px);
        padding-top: 28px;
    }
    .ff-hub-controls {
        flex-direction: column;
        align-items: stretch;
        margin-bottom: 32px;
    }
    .ff-hub-tabs-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ff-hub a.ff-hub-tab {
        width: 100%;
        padding-inline: 12px;
    }
    .ff-hub-search {
        width: 100%;
    }
    .ff-hub-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 44px;
    }
    .ff-hub .ff-collection-grid--hub {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 12px;
    }
    .ff-hub-adjacent ul {
        grid-template-columns: minmax(0, 1fr);
    }
    .ff-hub-adjacent-item--next {
        grid-column: auto;
    }
    .ff-hub-recent-item,
    .ff-hub-adjacent-item {
        grid-template-columns: 96px minmax(0, 1fr);
    }
    .ff-hub-adjacent-item {
        grid-template-columns: 96px minmax(0, 1fr) 32px;
    }
    .ff-hub-adjacent-item--next {
        grid-template-columns: 32px minmax(0, 1fr) 96px;
    }
    .ff-recipe-step-body {
        padding-left: 0;
    }
    .ff-recipe-fact + .ff-recipe-fact {
        padding-left: 0;
        border-left: 0;
    }
    .ff-recipe-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .ff-recipe-fact {
        padding: 12px 12px 12px 0;
    }
    .ff-content-hub-page .ff-hub-feature .ff-split-inner {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 28px;
        width: calc(100% - 40px);
    }
    .ff-content-hub-page .ff-hub-feature--alt .ff-split-media {
        order: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-hub-card-image {
        transition: none;
    }
    .ff-hub-card:hover .ff-hub-card-image {
        transform: none;
    }
}
/* Content Hub review fixes: white page band (landings + singles), classed links keep the hub styling (not the global
   content-link underline), rows without an image use the full width */
.ff-hub-page {
    background-color: var(--ff-colour-white);
}
.ff-hub a.ff-hub-term-link,
.ff-hub a.ff-hub-meta-link {
    background-image: none;
}
.ff-hub-recent-item--no-image {
    grid-template-columns: minmax(0, 1fr);
}
.ff-hub-adjacent-item--no-image {
    grid-template-columns: minmax(0, 1fr) 32px;
}
.ff-hub-adjacent-item--next.ff-hub-adjacent-item--no-image {
    grid-template-columns: 32px minmax(0, 1fr);
}
/* buttons inside article copy may wrap on phones (long editorial CTAs, e.g. "Shop our Sugar-Free Collection →") */
.ff-hub-prose a.ff-btn-primary {
    max-width: 100%;
    white-space: normal;
    text-align: center;
}

/* =========================================================
   GIFT & CUSTOMISATION (Final catalogue build) - includes/product-customisation.php
   Inside the product purchase form, after the variation options and before quantity / Add to cart. Same field system
   as the variation selects (.ff-product-field / label / select); thin dividers, no boxes or shadows.
   ========================================================= */
.ff-product-custom {
    display: flex;
    flex-direction: column;
    gap: var(--ff-space-3);
    margin: 0 0 var(--ff-space-3);
}
.ff-product-custom:empty {
    display: none;
}
.ff-product-options + .ff-product-custom {
    padding-top: var(--ff-space-3);
    border-top: 1px solid var(--ff-product-line, #E2DFDA);
}
.ff-product-custom-group {
    max-width: 420px;
}
.ff-product-sweets {
    display: flex;
    flex-direction: column;
    gap: 14px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}
.ff-product-sweets > legend {
    margin: 0 0 4px;
    padding: 0;
}
.ff-product-sweets .ff-product-field-label {
    font-weight: var(--ff-weight-medium);
}
.ff-product-sweets .ff-product-sweet[hidden] {
    display: none;
}
.ff-product-custom select {
    width: 100%;
}
.ff-product-custom-hint {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 14px;
    line-height: 1.5;
    color: rgba(48, 48, 48, 0.78);
}
.ff-product-custom-optional,
.ff-product-custom-price {
    font-weight: var(--ff-weight-regular);
}
.ff-product-textarea {
    box-sizing: border-box;
    width: 100%;
    min-height: 92px;
    margin: 0;
    padding: 12px 16px;
    border: 1px solid var(--ff-colour-dark);
    border-radius: 2px;
    background: var(--ff-colour-white);
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    line-height: 1.5;
    color: var(--ff-colour-dark);
    resize: vertical;
}
.ff-product-textarea:focus-visible,
.ff-product-custom select:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-product-custom select:invalid:focus-visible,
.ff-product-custom select[aria-invalid="true"] {
    border-color: #a4261d;
}
.ff-product-enquiry {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: var(--ff-space-3) 0 0;
    padding-top: var(--ff-space-2);
    border-top: 1px solid var(--ff-product-line, #E2DFDA);
}
.ff-product-enquiry p {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: 15px;
    line-height: 1.5;
    color: var(--ff-colour-dark);
}
.ff-product-single a.ff-product-enquiry-link,
.ff-product-single a.ff-product-enquiry-link:visited {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-weight: var(--ff-weight-medium);
    color: var(--ff-colour-dark);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}
.ff-product-single a.ff-product-enquiry-link:hover {
    text-decoration-thickness: 2px;
}
@media (max-width: 767px) {
    .ff-product-custom-group {
        max-width: none;
    }
}

/* Content Hub visual refinement (Phase 3B review) */
/* article / news singles: a controlled editorial hero so the headline comes earlier (recipes keep their food crop) */
.ff-hub-single--article .ff-hub-article-media {
    aspect-ratio: 16 / 9;
}
.ff-hub-single--article .ff-hub-article-image {
    object-position: center;
}
/* long-form reading: slightly larger body, more air between sections */
.ff-hub-single .ff-hub-lead,
.ff-hub-single .ff-hub-prose p,
.ff-hub-single .ff-hub-prose li,
.ff-hub-single .ff-recipe-step-body p,
.ff-hub-single .ff-recipe-step-body li,
.ff-hub-single .ff-recipe-ingredient-list {
    font-size: 17px;
    line-height: 1.72;
}
.ff-hub-single .ff-hub-prose > * {
    margin-bottom: 22px;
}
.ff-hub-single .ff-hub-prose h2,
.ff-hub-single .ff-hub-section-title {
    margin-top: 48px;
    margin-bottom: 20px;
}
.ff-hub-single--article .ff-hub-prose h2 {
    margin-top: 44px;
    font-size: 21px;
}
.ff-hub-single .ff-recipe-subtitle {
    margin-top: 30px;
    margin-bottom: 12px;
}
.ff-hub-single .ff-recipe-step {
    padding-bottom: 32px;
}
.ff-hub-single .ff-recipe-step + .ff-recipe-step {
    padding-top: 30px;
}
.ff-hub-single .ff-recipe-step-title {
    margin-bottom: 14px;
}
/* Shop the treats behind the recipe: one or two products use the column with larger cards */
.ff-hub .ff-collection-grid--hub.ff-collection-grid--hub-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 40px 28px;
}
.ff-hub-products-title {
    font-size: clamp(22px, 1.2rem + 0.4vw, 26px);
}
@media (max-width: 767px) {
    .ff-hub .ff-collection-grid--hub,
    .ff-hub .ff-collection-grid--hub.ff-collection-grid--hub-pair {
        grid-template-columns: minmax(0, 1fr);
        gap: 36px;
    }
    .ff-hub-single .ff-hub-lead,
    .ff-hub-single .ff-hub-prose p,
    .ff-hub-single .ff-hub-prose li,
    .ff-hub-single .ff-recipe-step-body p,
    .ff-hub-single .ff-recipe-step-body li,
    .ff-hub-single .ff-recipe-ingredient-list {
        font-size: 16px;
        line-height: 1.7;
    }
}

/* =========================================================
   CLIENT LOGO CAROUSEL ([ff_client_logos] in Global Block #845; includes/client-logos.php + initClientCarousels)
   ========================================================= */
/*
 * One component on Homepage, About, Wholesale & Export and Gifting. Manual navigation only (no autoplay): JS adds
 * aria-hidden clones for a seamless loop and previous / next arrows.
 * Without JS it is a plain swipeable row. Visible logos: 5 (>= 1200px), 4 (>= 1024px),
 * 3 (>= 768px), 2 below. Each mark frames the logo's artwork bounds at an area-normalised size (no distortion,
 * no cropping of the artwork); default understated grey, full strength on hover / focus.
 */
.ff-client-carousel {
    --ff-client-visible: 5;
    --ff-client-scale: 1;
    position: relative;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    contain: inline-size;
}
/* the Oxygen Shortcode wrapper sits in centred flex columns: give it the full content width (no shrink-to-fit) */
.oxy-shortcode:has(> .ff-client-carousel) {
    align-self: stretch;
    width: 100%;
    min-width: 0;
}
.ff-client-carousel-track {
    position: relative;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: calc(100% / var(--ff-client-visible));
    margin: 0;
    padding: 0;
    list-style: none;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 3%, #000 97%, transparent);
}
.ff-client-carousel-track::-webkit-scrollbar {
    display: none;
}
.ff-client-carousel.is-looping .ff-client-carousel-track {
    cursor: grab;
}
.ff-client-carousel .ff-client-carousel-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}
.ff-client-carousel .ff-client-carousel-track.is-dragging a {
    pointer-events: none;
}
.ff-client-carousel .ff-client-carousel-track.is-gliding {
    scroll-snap-type: none;
}
.ff-client-carousel-item {
    display: flex;
    align-items: stretch;
    margin: 0;
    padding: 0;
    scroll-snap-align: start;
}
.ff-client-carousel-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(124px * var(--ff-client-scale));
    padding: 8px 12px;
    border-radius: 4px;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
}
.ff-client-carousel-mark {
    position: relative;
    display: block;
    flex: none;
    width: calc(var(--ff-logo-w) * var(--ff-client-scale) * 1px);
    height: calc(var(--ff-logo-h) * var(--ff-client-scale) * 1px);
    overflow: hidden;
    opacity: 0.62;
    transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
/* the image is offset so its artwork bounds fill the mark (the empty canvas margin falls outside) */
.ff-client-carousel-mark img {
    position: absolute;
    top: var(--ff-crop-y, 0%);
    left: var(--ff-crop-x, 0%);
    display: block;
    width: var(--ff-crop-w, 100%);
    max-width: none;
    height: var(--ff-crop-h, 100%);
    object-fit: contain;
    -webkit-user-drag: none;
}
.ff-client-carousel-link:hover .ff-client-carousel-mark,
.ff-client-carousel-link:focus-visible .ff-client-carousel-mark {
    opacity: 1;
    transform: translateY(-2px) scale(1.04);
}
.ff-client-carousel-link:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -4px;
}
/* previous / next: the site's carousel arrows (.ff-track-arrow, 37px circle), vertically centred on the logo track.
   Wide screens: outside the content edge, like the homepage carousels. Narrower: the carousel reserves a side gutter
   so an arrow never covers a logo. */
.ff-client-carousel.has-arrows {
    --ff-client-arrow-gutter: 0px;
    padding-inline: var(--ff-client-arrow-gutter);
}
.ff-client-carousel > .ff-client-carousel-arrow {
    top: 50%;
}
.ff-client-carousel > .ff-client-carousel-arrow::after {
    content: "";
    position: absolute;
    inset: -4px;   /* 45px hit area around the 37px circle */
    border-radius: 50%;
}
@media (max-width: 1383px) {
    .ff-client-carousel.has-arrows {
        --ff-client-arrow-gutter: 46px;
    }
    .ff-client-carousel > .ff-client-carousel-arrow--prev {
        left: 0;
    }
    .ff-client-carousel > .ff-client-carousel-arrow--next {
        right: 0;
    }
}
@media (max-width: 767px) {
    .ff-client-carousel.has-arrows {
        --ff-client-arrow-gutter: 42px;
    }
}
/* placements: Homepage / About "Trusted Across South Africa", Wholesale "Our Happy Customers", Gifting story */
.ff-home-clients .ff-client-carousel {
    margin-top: 8px;
}
.ff-gifting-page .ff-gift-story .ff-client-carousel {
    margin: clamp(40px, 4vw, 56px) 0 clamp(28px, 3vw, 40px);
}
@media (max-width: 1199px) {
    .ff-client-carousel {
        --ff-client-visible: 4;
        --ff-client-scale: 0.92;
    }
}
@media (max-width: 1023px) {
    .ff-client-carousel {
        --ff-client-visible: 3;
        --ff-client-scale: 0.86;
    }
}
@media (max-width: 767px) {
    .ff-client-carousel {
        --ff-client-visible: 2;
        --ff-client-scale: 0.74;
    }
    .ff-client-carousel-link {
        padding: 6px 10px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-client-carousel-mark {
        transition: opacity 0.2s ease;
    }
    .ff-client-carousel-link:hover .ff-client-carousel-mark,
    .ff-client-carousel-link:focus-visible .ff-client-carousel-mark {
        transform: none;
    }
}

/* =========================================================
   SITE — MOTION LAYER (Final polish): restrained hover / open / focus transitions
   ========================================================= */
/*
 * Small distances (2-6px), 200-300ms, one easing. Hover lifts only on real hover devices (no sticky "lift" after a
 * tap). Entrance reveals live in SITE — MOTION above (initReveal). Everything is switched off for reduced motion.
 */
:root {
    --ff-ease-out: cubic-bezier(0.22, 0.61, 0.36, 1);
}
@media (hover: hover) and (pointer: fine) {
    /* cards: 2px lift (the image zoom / title underline already on each card stays as approved) */
    .ff-product-card,
    .ff-hub-card,
    .ff-content-page .ff-usp-card,
    .ff-content-page .ff-process-card {
        transition: transform 0.28s var(--ff-ease-out);
    }
    .ff-product-card:hover,
    .ff-product-card:focus-within,
    .ff-hub-card:hover,
    .ff-hub-card:focus-within,
    .ff-content-page .ff-usp-card:hover,
    .ff-content-page .ff-process-card:hover {
        transform: translateY(-2px);
    }
}
/* mega menus: the panel content settles 6px as the (approved) fade opens it - interaction logic unchanged */
@media (min-width: 1025px) {
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .ff-mega-inner {
        transform: translateY(-6px);
        transition: transform 0.28s var(--ff-ease-out);
    }
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown.breakdance-dropdown--open .ff-mega-inner,
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown:hover .ff-mega-inner,
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown:focus-within .ff-mega-inner {
        transform: none;
    }
}
/* accordions (native height animation): the answer fades with it */
.bde-accordion__content-wrapper .bde-accordion__panel-content {
    transition: opacity 0.3s ease;
}
.bde-accordion__content-wrapper:has(.bde-accordion__button[aria-expanded="false"]) .bde-accordion__panel-content {
    opacity: 0;
}
/* form fields: calm focus change (validation messages are not animated) */
.ff-commerce .woocommerce form .input-text,
.ff-commerce .woocommerce form select,
.ff-commerce .woocommerce form textarea,
.wpforms-container .wpforms-form input,
.wpforms-container .wpforms-form select,
.wpforms-container .wpforms-form textarea,
.ff-product-select,
.ff-product-textarea {
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
@media (prefers-reduced-motion: reduce) {
    .ff-product-card,
    .ff-hub-card,
    .ff-content-page .ff-usp-card,
    .ff-content-page .ff-process-card,
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .ff-mega-inner,
    .bde-accordion__content-wrapper .bde-accordion__panel-content {
        transition: none;
    }
    .ff-product-card:hover,
    .ff-product-card:focus-within,
    .ff-hub-card:hover,
    .ff-hub-card:focus-within,
    .ff-content-page .ff-usp-card:hover,
    .ff-content-page .ff-process-card:hover,
    .ff-site-header .ff-main-nav-menu .bde-menu-custom-dropdown .ff-mega-inner {
        transform: none;
    }
}

/* =========================================================
   SINGLE PRODUCT — Final polish: fixed gallery stage + product information grid
   ========================================================= */
/*
 * Gallery: the STAGE owns the approved 1:1 footprint; the scroll track and every image are positioned inside it, so no
 * image (portrait, landscape, a variation image added later) can ever change the stage height - images are contained,
 * centred, never cropped or stretched. Counter and arrows stay in the stage at a fixed position.
 */
.ff-product-single .ff-product-gallery-stage {
    width: 100%;
    aspect-ratio: 1 / 1;
    background-color: var(--ff-colour-white);
}
.ff-product-single .ff-product-gallery-track {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
}
.ff-product-single .ff-product-gallery-track:focus-visible {
    outline-offset: -2px;
}
.ff-product-single .ff-product-gallery-slide {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
}
.ff-product-single .ff-product-gallery-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
/* thumbnails: one square stage each, whatever the source dimensions */
.ff-product-single .ff-product-thumbnail {
    position: relative;
    min-height: 0;
}
.ff-product-single .ff-product-thumbnail-image {
    position: absolute;
    inset: 0;
    object-position: center;
}

/*
 * Product information: Ingredients / Allergens / Dietary information / Storage and shelf life, a full-width section
 * between the purchase area and "You might also like". 2 x 2 on desktop and tablet, 1 column on phones. White items
 * with a hairline border on a warm-white band, Jost, a small outline icon per heading; empty groups are never rendered.
 */
.ff-product-info-section {
    padding: var(--ff-space-6) 0;
    background-color: var(--ff-colour-warm-white);
}
.ff-product-single .ff-product-main + .ff-product-info-section,
.ff-product-single .ff-product-main + .oxy-shortcode .ff-product-info-section {
    margin-top: var(--ff-space-6);
}
.ff-product-info-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
}
.ff-product-info-grid--single {
    grid-template-columns: minmax(0, 1fr);
}
.ff-product-info-item {
    min-width: 0;
    padding: 28px 32px 30px;
    border: 1px solid rgba(48, 48, 48, 0.1);
    border-radius: 2px;
    background-color: var(--ff-colour-white);
    transition: transform 0.25s var(--ff-ease-out, ease), border-color 0.25s ease;
}
.ff-product-info-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 14px;
    font-family: var(--ff-font-primary);
    font-size: 17px;
    font-weight: var(--ff-weight-medium);
    line-height: 1.35;
    letter-spacing: 0.01em;
    color: var(--ff-colour-dark);
}
.ff-product-info-icon {
    flex: none;
    width: 24px;
    height: 24px;
    color: var(--ff-colour-dark);
    transition: transform 0.25s var(--ff-ease-out, ease);
}
.ff-product-info-copy {
    font-size: 15px;
    line-height: 1.7;
    color: rgba(48, 48, 48, 0.86);
    overflow-wrap: anywhere;
}
@media (hover: hover) and (pointer: fine) {
    .ff-product-info-item:hover {
        transform: translateY(-2px);
        border-color: rgba(48, 48, 48, 0.24);
    }
    .ff-product-info-item:hover .ff-product-info-icon {
        transform: scale(1.06);
    }
}
@media (max-width: 1023px) {
    .ff-product-info-section {
        padding: var(--ff-space-5) 0;
    }
    .ff-product-info-grid {
        gap: 16px;
    }
    .ff-product-info-item {
        padding: 24px 24px 26px;
    }
}
@media (max-width: 767px) {
    .ff-product-info-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 12px;
    }
    .ff-product-info-item {
        padding: 22px 20px 24px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-product-info-item,
    .ff-product-info-icon {
        transition: none;
    }
    .ff-product-info-item:hover,
    .ff-product-info-item:hover .ff-product-info-icon {
        transform: none;
    }
}

/* =========================================================
   CART — Popular Picks (includes/cart-popular.php): after the cart + summary, FF Product Card v2 carousel
   ========================================================= */
/*
 * The site's user-controlled track (initTrackControls: .ff-track-arrow circles, mouse drag, native swipe; no autoplay,
 * no dots). Visible cards: 4 (>= 1200px), 3 (>= 1024px), 2.4 (>= 768px, a peek shows there is more), 1.6 on phones.
 */
.ff-cart-popular {
    --ff-cart-popular-gap: 24px;
    --ff-cart-popular-visible: 4;
    clear: both;
    margin-top: var(--ff-space-7);
    padding-top: var(--ff-space-6);
    border-top: 1px solid rgba(48, 48, 48, 0.1);
}
.ff-cart-popular .ff-section-header {
    margin: 0 auto 32px;
    text-align: center;
}
.ff-cart-popular .ff-cart-popular-title {
    margin: 0;
    text-transform: uppercase;
}
.ff-cart-popular-track {
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: none;
    grid-auto-columns: calc((100% - (var(--ff-cart-popular-visible) - 1) * var(--ff-cart-popular-gap)) / var(--ff-cart-popular-visible));
    gap: var(--ff-cart-popular-gap);
    margin: 0;
    padding: 4px 0 6px;   /* room for the card's 2px hover lift and focus rings */
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.ff-cart-popular-track::-webkit-scrollbar {
    display: none;
}
.ff-cart-popular-item {
    min-width: 0;
    margin: 0;
    scroll-snap-align: start;
}
.ff-track-frame.is-scrollable > .ff-cart-popular-track {
    cursor: grab;
}
/* arrows centre on the product image, not on image + title + price */
.ff-track-frame:has(> .ff-cart-popular-track) > .ff-track-arrow {
    top: calc((100% - 72px) / 2);
}
@media (max-width: 1199px) {
    .ff-cart-popular {
        --ff-cart-popular-visible: 3;
    }
}
@media (max-width: 1023px) {
    .ff-cart-popular {
        --ff-cart-popular-visible: 2.4;
        --ff-cart-popular-gap: 18px;
    }
}
@media (max-width: 767px) {
    .ff-cart-popular {
        --ff-cart-popular-visible: 1.6;
        --ff-cart-popular-gap: 14px;
        margin-top: var(--ff-space-6);
        padding-top: var(--ff-space-5);
    }
    .ff-cart-popular .ff-section-header {
        margin-bottom: 20px;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-cart-popular-track {
        scroll-behavior: auto;
    }
}

/* =========================================================
   SINGLE PRODUCT — Final UI follow-up: tighter section rhythm
   ========================================================= */
/*
 * main area -> information band -> "You might also like" -> footer: connected, not detached. The main area ends with its
 * tallest column (no min-heights); the band follows at a normal section transition and the cards keep their padding.
 */
.ff-product-single .ff-product-main + .ff-product-info-section,
.ff-product-single .ff-product-main + .oxy-shortcode .ff-product-info-section {
    margin-top: 40px;
}
.ff-product-single .ff-product-info-section {
    padding: 44px 0;
}
.ff-product-single > .ff-related-products {
    padding: 64px 0 60px;
}
@media (max-width: 1023px) {
    .ff-product-single .ff-product-main + .ff-product-info-section,
    .ff-product-single .ff-product-main + .oxy-shortcode .ff-product-info-section {
        margin-top: 36px;
    }
    .ff-product-single .ff-product-info-section {
        padding: 36px 0;
    }
    .ff-product-single > .ff-related-products {
        padding: 52px 0 52px;
    }
}
@media (max-width: 767px) {
    .ff-product-single .ff-product-main + .ff-product-info-section,
    .ff-product-single .ff-product-main + .oxy-shortcode .ff-product-info-section {
        margin-top: 32px;
    }
    .ff-product-single .ff-product-info-section {
        padding: 32px 0;
    }
    .ff-product-single > .ff-related-products {
        padding: 44px 0 48px;
    }
}

/* =========================================================
   FOOTER — agency credit ([ff_footer_credit] after the copyright line in #758)
   ========================================================= */
/* desktop: copyright and credit stacked on the left, payment marks on the right (unchanged); phones: payment marks,
   copyright, credit - left aligned like the rest of the approved mobile footer */
.ff-site-footer .ff-footer-bottom:has(.ff-footer-credit) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "copy pay" "credit pay";
    align-items: center;
    row-gap: 4px;
}
.ff-site-footer .ff-footer-bottom:has(.ff-footer-credit) > .ff-footer-copyright {
    grid-area: copy;
    align-self: end;
}
.ff-site-footer .ff-footer-bottom > .oxy-shortcode:has(> .ff-footer-credit) {
    grid-area: credit;
    align-self: start;
}
.ff-site-footer .ff-footer-bottom:has(.ff-footer-credit) > .ff-footer-payments {
    grid-area: pay;
}
.ff-site-footer .ff-footer-credit {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-small);
    font-weight: var(--ff-weight-regular);
    line-height: 1.4;
    color: var(--ff-colour-warm-grey);
}
.ff-site-footer a.ff-footer-credit-link {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, 0.35);
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
.ff-site-footer a.ff-footer-credit-link:hover {
    color: var(--ff-colour-warm-white);
    text-decoration-color: currentColor;
}
.ff-site-footer a.ff-footer-credit-link:focus-visible {
    color: var(--ff-colour-warm-white);
    outline: 2px solid var(--ff-colour-warm-white);
    outline-offset: 3px;
    border-radius: 2px;
}
@media (max-width: 767px) {
    .ff-site-footer .ff-footer-bottom:has(.ff-footer-credit) {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        row-gap: 4px;
    }
    .ff-site-footer .ff-footer-bottom:has(.ff-footer-credit) > .ff-footer-payments {
        order: -1;
        width: 100%;
        margin-bottom: 12px;
    }
    /* the desktop grid's vertical align-self would mean "right" in this column: back to the column's left alignment */
    .ff-site-footer .ff-footer-bottom:has(.ff-footer-credit) > .ff-footer-copyright,
    .ff-site-footer .ff-footer-bottom > .oxy-shortcode:has(> .ff-footer-credit) {
        align-self: auto;
    }
}
@media (prefers-reduced-motion: reduce) {
    .ff-site-footer a.ff-footer-credit-link {
        transition: none;
    }
}

/* =========================================================
   SELF-HOSTED FONTS (performance / privacy hardening)
   Replaces the Google Fonts request. Files: ../fonts/ (see fonts/README.md, OFL).
   Weights = those rendered by the approved site: Jost 300-700 (+ italic 300-400), Roboto 400/600 (gallery counter, Support + Content Hub tabs; buttons use Jost since Oct 2026).
   Variable WOFF2 files, latin + latin-ext slices with Google's unicode ranges, font-display: swap.
   ========================================================= */
@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/jost-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Jost";
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url("../fonts/jost-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Jost";
    font-style: italic;
    font-weight: 300 400;
    font-display: swap;
    src: url("../fonts/jost-italic-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Jost";
    font-style: italic;
    font-weight: 300 400;
    font-display: swap;
    src: url("../fonts/jost-italic-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/roboto-latin-ext.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400 600;
    font-display: swap;
    src: url("../fonts/roboto-latin.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* =========================================================
   HOMEPAGE STORY CTA (XD "FIND OUT MORE ABOUT US")
   Every story-column child is width: 100% (max 643px); the CTA keeps its natural button width instead, left-aligned with
   the copy as in the XD. On mobile it spans the column like the hero CTA.
   ========================================================= */
.ff-home .ff-home-story-content > .ff-home-story-cta {
    width: auto;
    align-self: flex-start;
}
@media (max-width: 767px) {
    .ff-home .ff-home-story-content > .ff-home-story-cta {
        width: 100%;
        align-self: stretch;
    }
}

/* About - fifth brand value "Premium Ingredients" (XD About carousel, Group 355 honey-dipper mark): sized to its XD
   proportion within the same 96px + 20px mark slot, so every card title still starts on the same line */
.ff-content-page .ff-usp-card:nth-child(5) .ff-usp-mark {
    height: 72px;
    margin-block: 12px 32px;
}

/* =========================================================
   UI CORRECTION BATCH 2 (Darren review)
   ========================================================= */
/* Sugar-Free "Crafted for Conscious Indulgence": image removed - one centred editorial column at a readable measure */
.ff-content-page .ff-sf-info .ff-split-inner {
    grid-template-columns: minmax(0, 1fr);
}
.ff-content-page .ff-sf-info .ff-split-content {
    width: min(760px, 100%);
    margin-inline: auto;
    text-align: center;
}
.ff-content-page .ff-sf-info .ff-split-content > * {
    max-width: 720px;
    margin-inline: auto;
}
.ff-content-page .ff-sf-info {
    padding-bottom: var(--ff-home-section-space);
}
/* Sugar-Free / Gifting "Why choose": benefits as the site accordion (same treatment as Home story + Wholesale) */
.ff-content-page .ff-sf-why .ff-home-story-accordion,
.ff-content-page .ff-gift-why .ff-home-story-accordion {
    margin-top: 8px;
    margin-bottom: 8px;
}
/* Gifting "More Than Just a Gift": XD Rectangle 434 light grey #FAF9F7 (Ziflow 52; was warm-neutral #F2F0ED) */
.ff-gifting-page .ff-gift-story {
    background-color: var(--ff-colour-warm-white, #FAF9F7);
}
.ff-gifting-page .ff-gift-story .ff-section-header + .ff-section-cta {
    margin-top: var(--ff-gap-copy-cta);
}
/* Content Hub / Recipes search: the browser focus rectangle is replaced by a field-level indicator in the site's
   underline style (2px underline + warm tint) - keyboard focus stays clearly visible; the submit button keeps its outline */
.ff-hub .ff-hub-search-input:focus,
.ff-hub .ff-hub-search-input:focus-visible {
    outline: none;   /* overrides the generic .ff-hub input:focus-visible box; replaced by the field indicator below */
}
.ff-hub .ff-hub-search:focus-within {
    background-color: var(--ff-colour-warm-grey);
    box-shadow: 0 1px 0 0 var(--ff-colour-dark);
}
.ff-hub .ff-hub-search-submit:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: -4px;
}

/* =========================================================
   UI CORRECTION BATCH 3 (Darren review + Ziflow)
   ========================================================= */
/* Single product: information accordion ([ff_product_details], XD: bold label, thin dividers, chevron) - replaces the
   Description block and the 2 x 2 information grid. Collapsing only with JavaScript (html.ff-js). */
.ff-product-accordion {
    margin-top: var(--ff-space-5);
    border-bottom: 1px solid var(--ff-product-line);
}
.ff-product-acc-item {
    border-top: 1px solid var(--ff-product-line);
}
.ff-product-acc-heading {
    margin: 0;
    font: inherit;
}
.ff-product-acc-button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--ff-space-2);
    width: 100%;
    min-height: 52px;
    margin: 0;
    padding: 14px 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-heading);
    line-height: var(--ff-line-height-label);
    letter-spacing: 0.005em;
    color: var(--ff-colour-dark);
    text-align: left;
    cursor: pointer;
}
.ff-product-acc-button:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 2px;
}
.ff-product-acc-icon {
    flex: 0 0 auto;
    width: 12px;
    height: 7px;
    background: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    transition: transform 0.25s ease;
}
.ff-product-acc-button[aria-expanded="true"] .ff-product-acc-icon {
    transform: rotate(180deg);
}
.ff-product-acc-panel {
    display: grid;
    grid-template-rows: 1fr;
}
.ff-product-acc-panel-inner {
    min-height: 0;
    overflow: hidden;
}
.ff-product-acc-panel-inner > .ff-product-detail-copy {
    padding: 0 0 18px;
}
.ff-js .ff-product-acc-panel {
    transition: grid-template-rows 0.28s ease, visibility 0s linear 0s;
}
.ff-js .ff-product-acc-item:not(.is-open) .ff-product-acc-panel {
    grid-template-rows: 0fr;
    visibility: hidden;   /* collapsed rows leave the tab order / accessibility tree */
    transition: grid-template-rows 0.28s ease, visibility 0s linear 0.28s;
}
@media (prefers-reduced-motion: reduce) {
    .ff-js .ff-product-acc-panel,
    .ff-js .ff-product-acc-item:not(.is-open) .ff-product-acc-panel,
    .ff-product-acc-icon {
        transition: none;
    }
}
/* Variable products: two (or more) attributes side by side from tablet up - equal columns, label above each select;
   the "Clear options" link keeps its own row. Phones stay one per row. Markup / Woo logic unchanged. */
@media (min-width: 768px) {
    .ff-product-options:has(> .ff-product-field ~ .ff-product-field) {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        column-gap: 16px;
        row-gap: var(--ff-space-3);
        width: 100%;
    }
    .ff-product-options:has(> .ff-product-field ~ .ff-product-field) > .ff-product-field,
    .ff-product-options:has(> .ff-product-field ~ .ff-product-field) > .ff-product-field select {
        width: 100%;
        min-width: 0;
    }
    .ff-product-options:has(> .ff-product-field ~ .ff-product-field) > .ff-product-reset {
        grid-column: 1 / -1;
        justify-self: start;
    }
}
/* Homepage "Find Your Sweet": XD shows three large category cards (377 x 550) per view on desktop; the rest scroll */
@media (min-width: 1120px) {
    .ff-home .ff-category-track {
        grid-auto-columns: calc((100% - 2 * var(--ff-home-card-gap)) / 3);
    }
}
/* Homepage testimonials: phones get the arrows centred BELOW the row (content-page convention) so they never cover
   review text; a little more breathing room before the footer now that the final CTA band is gone */
@media (max-width: 767px) {
    .ff-home .ff-home-testimonials .ff-track-frame.is-scrollable {
        padding-bottom: 56px;
    }
    .ff-home .ff-home-testimonials .ff-track-frame > .ff-track-arrow {
        top: auto;
        bottom: 0;
        margin: 0;
        transform: none;
    }
    .ff-home .ff-home-testimonials .ff-track-frame > .ff-track-arrow--prev {
        left: calc(50% - 37px - 6px);
    }
    .ff-home .ff-home-testimonials .ff-track-frame > .ff-track-arrow--next {
        right: calc(50% - 37px - 6px);
        left: auto;
    }
}
.ff-home .ff-home-testimonials {
    padding-bottom: calc(var(--ff-home-section-space) + 24px);
}
/* Wishlist: list names always DISPLAY in uppercase (presentation only - stored names and the typing field are unchanged) */
.ff-wishlist-list-name,
.ff-wishlist-nav-name,
.ff-wishlist-list-title,
.ff-wishlist-breadcrumbs [aria-current="page"],
.ff-shared-list-title {
    text-transform: uppercase;
}
/* Product category archive heroes on phones (image above the copy, 16:10): every approved banner places the products
   right of centre (copy area left on desktop), so the phone crop is biased right to keep the whole product group */
@media (max-width: 767px) {
    .ff-shop .ff-category-hero .ff-archive-hero-media img {
        object-position: 75% 50%;
    }
}
/* Product card square media in EVERY context (Ziflow: cut-off / uneven cards in Related products + Cart Popular Picks):
   WooCommerce's ".woocommerce img { height: auto }" (product, cart, checkout bodies) beat the card's height: 100%, so
   portrait packs overflowed the square frame (cropped) and wide boxes sat short. Same fix as the shop archive, for all. */
.ff-product-card-media > .ff-product-card-image,
.ff-product-card-media .ff-product-card-hover img {
    height: 100%;
}
/* About "What Makes Us Forest Fairies" carousel: arrows OUTSIDE the card row, vertically centred against it (side
   placement of the other carousels) instead of below the row. >= 1400px they sit in the page gutter; 768-1399px the
   gutter is too narrow, so the row is inset by the arrow width and they still sit outside the cards. Phones keep the
   approved below-row convention. Carousel logic, swipe and keyboard unchanged. */
@media (min-width: 768px) {
    .ff-content-page .ff-usp-section .ff-track-frame.is-scrollable {
        padding-bottom: 0;
    }
    .ff-content-page .ff-usp-section .ff-track-frame > .ff-track-arrow {
        top: 50%;
        bottom: auto;
        margin: -18.5px 0 0;
    }
    .ff-content-page .ff-usp-section .ff-track-frame > .ff-track-arrow--prev {
        left: -52px;
        right: auto;
    }
    .ff-content-page .ff-usp-section .ff-track-frame > .ff-track-arrow--next {
        right: -52px;
        left: auto;
    }
}
@media (min-width: 768px) and (max-width: 1399px) {
    .ff-content-page .ff-usp-section .ff-track-frame.is-scrollable {
        box-sizing: border-box;
        padding-inline: 52px;
    }
    .ff-content-page .ff-usp-section .ff-track-frame > .ff-track-arrow--prev {
        left: 0;
    }
    .ff-content-page .ff-usp-section .ff-track-frame > .ff-track-arrow--next {
        right: 0;
    }
}

/* =========================================================
   UI CORRECTION BATCH 4 - motion / interaction polish (extends the one global reveal system; no new library)
   ========================================================= */
/* editorial image depth on hover: category + Content Hub cards settle into the brief's 1.015-1.025 range (text stays put) */
.ff-home .ff-category-card:hover .ff-category-card-image,
.ff-hub-card:hover .ff-hub-card-image {
    transform: scale(1.025);
}
@media (prefers-reduced-motion: reduce) {
    .ff-home .ff-category-card:hover .ff-category-card-image,
    .ff-hub-card:hover .ff-hub-card-image {
        transform: none;
    }
}

/* =========================================================
   CLOSE-OUT: 404 page ([ff_not_found] in Oxygen template "FF — 404")
   Site type / colours / spacing only (Jost, brand dark, warm neutrals, standard buttons). Artwork column appears only
   once the approved illustration is in the Media Library.
   ========================================================= */
.ff-404 {
    padding: clamp(64px, 9vw, 128px) 0;
    background-color: var(--ff-colour-white);
    color: var(--ff-colour-dark);
}
.ff-404-inner {
    display: grid;
    justify-items: center;
    margin-bottom: 0;
    text-align: center;
}
.ff-404--art .ff-404-inner {
    gap: clamp(32px, 5vw, 72px);
}
.ff-404-art {
    width: min(520px, 100%);
}
.ff-404-art-image {
    display: block;
    width: 100%;
    height: auto;
}
.ff-404-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 640px;
}
.ff-404-title {
    margin: 0;
    font-family: var(--ff-font-primary);
    font-weight: var(--ff-weight-heading);
    line-height: 1;
}
.ff-404-code {
    display: block;
    font-size: clamp(88px, 14vw, 168px);
    letter-spacing: 0.02em;
}
.ff-404-caption {
    margin: 20px 0 0;
    font-family: var(--ff-font-primary);
    font-size: clamp(20px, 2.2vw, 24px);
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
}
.ff-404-text {
    margin: 12px 0 0;
}
.ff-404-actions {
    justify-content: center;
    margin-top: calc(var(--ff-gap-copy-cta) + 8px);
}
@media (min-width: 1024px) {
    .ff-404--art .ff-404-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        align-items: center;
        justify-items: start;
        text-align: left;
    }
    .ff-404--art .ff-404-copy {
        align-items: flex-start;
    }
    .ff-404--art .ff-404-actions {
        justify-content: flex-start;
    }
}
@media (max-width: 767px) {
    .ff-404-actions {
        width: 100%;
    }
}
/* Close-out accessibility (axe): WPForms defaults below WCAG AA - upload hint text (#ababab, 2.3:1) and the blue
   privacy-policy link in field descriptions (#3b82f6, 3.7:1) take the site's text colours (no layout change) */
.wpforms-container .modern-hint {
    color: #6f6f6c;
}
.wpforms-container .wpforms-field-description a,
.wpforms-container .wpforms-field-description a:visited {
    color: var(--ff-colour-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}
/* Close-out layout-shift fixes (Batch 4 audit, causes confirmed)
   Wishlist: the lists are rendered by the site script (guest lists live in the browser), so the server only sends
   "Loading your lists..." and the footer jumped ~385px once the app rendered. Its usual rendered height is reserved
   while it loads (desktop ~509px, below 1024px ~710-750px). */
.ff-wishlist-app:not(.ff-wishlist-app--account):has(> .ff-wishlist-loading) {
    min-height: 500px;
}
@media (max-width: 1023px) {
    .ff-wishlist-app:not(.ff-wishlist-app--account):has(> .ff-wishlist-loading) {
        min-height: 700px;
    }
}
/* Checkout: WooCommerce shows "Ship to a different address" fields until its script hides them (the details column
   collapsed by ~700px after first paint). Hidden from the start while the box is unticked; WooCommerce's own toggle
   (inline display) still opens / closes them exactly as before. */
.woocommerce-shipping-fields:has(#ship-to-different-address-checkbox:not(:checked)) .shipping_address {
    display: none;
}

/* =========================================================
   GIFTING - "WHY CHOOSE" ARTWORK FADE (XD REV2 layers)
   ========================================================= */
/*
 * The XD frame (605 x 561) blends the floral photo into the #FAF9F7 section with two layers over the photo and under
 * the cut-outs; percentages are of the frame, as the existing layer positions:
 *   "hotel room background": white, 40% opacity, screen, object blur 44.7, 572 x 430 starting 64px left of the photo;
 *   "Rectangle 436": linear gradient rgba(250,249,248,0) -> #FAF9F8 over the photo's lower 111px (506 x 111 at y 318).
 * Non-destructive: the photo and cut-out assets are the XD originals, unchanged.
 */
.ff-content-page .ff-gift-why-media::before,
.ff-content-page .ff-gift-why-media::after {
    content: "";
    position: absolute;
    pointer-events: none;
}
.ff-content-page .ff-gift-why-media::before {
    z-index: 1;
    left: -10.58%;
    top: 0.18%;
    width: 94.55%;
    height: 76.65%;
    background-color: #fff;
    opacity: 0.4;
    mix-blend-mode: screen;
    filter: blur(min(20px, 3.7vw));
}
.ff-content-page .ff-gift-why-media::after {
    z-index: 2;
    left: 0.33%;
    top: 56.68%;
    width: 83.64%;
    height: 19.79%;
    background-image: linear-gradient(to bottom, rgba(250, 249, 248, 0), #FAF9F8);
}
.ff-content-page .ff-gift-why-media .ff-split-layer-main {
    z-index: 3;
}
.ff-content-page .ff-gift-why-media .ff-split-layer-front {
    z-index: 4;
}

/* =========================================================
   ZIFLOW 43 / 49 - "WHY CHOOSE" ARTWORK: XD PATTERN PLACEMENT
   ========================================================= */
/*
 * XD draws each layer as a pattern fill: "cover" x the layer's own zoom, centred + offset, clipped to the layer frame.
 * The previous `contain` fit rendered the products 10-20% smaller than the XD (and the Sugar-Free box sat under the
 * brittle). Each image now takes its XD drawn rect (percentages of the artwork frame) and is clipped to its XD frame,
 * so the products are the focus and the background photo is subordinate, exactly as designed. Same XD asset files,
 * aspect ratios preserved (object-fit: fill on a rect of the image's own ratio = no distortion).
 */
.ff-content-page .ff-sf-why-media,
.ff-content-page .ff-gift-why-media {
    overflow: clip;
}
.ff-content-page .ff-sf-why-media img,
.ff-content-page .ff-gift-why-media img {
    object-fit: fill;
}
/* Sugar-Free (frame 545 x 625): photo zoom 1.324, box, brittle, nougat; XD z-order photo < fade < brittle < box < nougat */
.ff-content-page .ff-sf-why-media .ff-split-layer-bg {
    z-index: 0;
    left: -15.011%;
    top: -17.747%;
    width: 122.682%;
    height: 96.393%;
    clip-path: inset(18.411% 12.236% 10.214% 12.236%);
}
.ff-content-page .ff-sf-why-media .ff-split-layer-back {
    z-index: 3;
    left: 7.264%;
    top: 15.84%;
    width: 61.253%;
    height: 73.76%;
    clip-path: inset(0 8.212% 0 8.212%);
}
.ff-content-page .ff-sf-why-media .ff-split-layer-main {
    z-index: 2;
    left: 34.257%;
    top: 58.181%;
    width: 71.429%;
    height: 29.819%;
    clip-path: inset(0 8.217% 0 1.619%);
}
.ff-content-page .ff-sf-why-media .ff-split-layer-front {
    z-index: 4;
    left: 12.732%;
    top: 68.175%;
    width: 61.673%;
    height: 28.688%;
    clip-path: inset(0 4.911% 0 6.727%);
}
/* XD "Rectangle 435": the photo fades into #FAF9F8 over its lower 111px (Ziflow 43) */
.ff-content-page .ff-sf-why-media::after {
    content: "";
    position: absolute;
    z-index: 1;
    left: -0.183%;
    top: 51.04%;
    width: 92.844%;
    height: 17.76%;
    background-image: linear-gradient(to bottom, rgba(250, 249, 248, 0), #FAF9F8);
    pointer-events: none;
}
/* Gifting (frame 605 x 561): photo (XD zoom 1.026 + offset), President box, sweets */
.ff-content-page .ff-gift-why-media .ff-split-layer-bg {
    left: -0.384%;
    top: 0;
    width: 94.816%;
    height: 78.628%;
    clip-path: inset(0 11.385% 2.517% 0.58%);
}
.ff-content-page .ff-gift-why-media .ff-split-layer-main {
    left: 4.271%;
    top: 27.718%;
    width: 72.075%;
    height: 70.678%;
    clip-path: inset(0 5.311% 0 5.311%);
}
.ff-content-page .ff-gift-why-media .ff-split-layer-front {
    left: 48.124%;
    top: 76.526%;
    width: 41.704%;
    height: 24.675%;
    clip-path: inset(0 0 5.071% 0);
}

/* =========================================================
   ZIFLOW 33-52 - SPACING CONVENTION, HEROES, CATEGORY CROP
   ========================================================= */
/*
 * One product-row rhythm (Ziflow 34 / 36 / 48 / 50): the gap between a section's copy (or row label) and its cards is
 * the existing gap between the cards' price and the section button: flex gap 32 + CTA 8 + 15 = 55px.
 * Applied to every section header followed by content (product rows, category tiles, client logos, testimonials -
 * Ziflow 38); a header followed directly by its button keeps the copy -> CTA gap.
 */
:root {
    --ff-gap-products: calc(var(--ff-space-4) + 8px + var(--ff-gap-cta-extra));
}
.ff-home .ff-home-section-inner > .ff-section-header + :not(.ff-section-cta):not(.ff-section-header) {
    margin-top: calc(var(--ff-gap-products) - var(--ff-space-4));
}
/* Gifting row labels ("Shop Gift Boxes" / "Shop Sugar-Free"): 55px to their cards, a larger break from the copy above */
.ff-home.ff-content-page .ff-collection-section > .ff-home-section-inner > .ff-section-header + h3.ff-h3 {
    margin: calc(var(--ff-gap-products) + 16px - var(--ff-space-4)) 0 calc(var(--ff-gap-products) - var(--ff-space-4));
}
/* Related Products + Cart Popular Picks: the same title -> cards rhythm */
.ff-product-single .ff-related-products-inner > .ff-section-header + * {
    margin-top: calc(var(--ff-gap-products) - var(--ff-space-4));
}
.ff-cart-popular .ff-section-header {
    margin-bottom: var(--ff-gap-products);
}
/* Ziflow 51: "Shop All Sugar-Free" no longer sits on the closing band - the section closes with the section space */
.ff-gifting-page .ff-gift-sugar {
    padding-bottom: var(--ff-home-section-space);
}
/* Ziflow 52: XD closing band - story copy, "Looking for Something Special?" (XD title case, 20px) + copy, Get In Touch */
.ff-gifting-page .ff-gift-story .ff-section-header + .ff-section-header {
    margin-top: -8px;   /* XD: the second block follows the story copy closely (flex gap 32 - 8) */
}
.ff-gifting-page .ff-gift-story #ff-gift-special-title {
    text-transform: none;
}
/* Ziflow 42: Sugar-Free "Crafted for Conscious Indulgence" -> "Why choose" band: one section space, as on the other pages
   (the band's own top margin), instead of the section's bottom padding + the band margin */
.ff-content-page .ff-sf-info {
    padding-bottom: 0;
}
/* Ziflow 40 / 46: Sugar-Free + Gifting heroes at the XD proportion (1280 x 550 = 42.97vw) so the products sit
   comfortably in frame; desktop only (tablet keeps 450px, phones the image-first layout). No extra zoom. */
@media (min-width: 1024px) {
    .ff-sugar-free-page .ff-archive-hero,
    .ff-gifting-page .ff-archive-hero {
        min-height: clamp(500px, 42.97vw, 640px);
    }
}
@media (min-width: 1120px) {
    .ff-sugar-free-page .ff-archive-hero-media img {
        object-position: 50% 85%;   /* XD crop keeps the lower half (products) */
    }
}
/* Ziflow 35: Novelty tile - the centred 377 x 550 crop cut the chocolate cup; shifted so baklava + cup both show */
.ff-home .ff-category-card[href*="/novelty/"] img {
    object-position: 62% 50%;
}
/* Ziflow 37: XD open row - the description sits directly under its title (title 4025 -> copy 4050, Bold 16 / 21px line),
   then ~20px to the next divider. Collapsed rows are unaffected (the panel is closed). */
.ff-home .ff-home-story-accordion .bde-accordion__panel-content {
    margin-top: -15px;
}

/* =========================================================
   ZIFLOW 53-92 (Darren clarifications, Oct 2026)
   ========================================================= */
/* 53: one hero heading size site-wide (Homepage, content pages, Shop, categories, Contact, text heroes) - smaller than
   the previous 40px, XD-proportioned, responsive */
:root {
    --ff-hero-title-size: clamp(26px, 1.25rem + 0.9vw, 32px);
}
html .ff-home .ff-home-hero-title,
html .ff-archive-hero-title,
html .ff-archive-hero h1,
html .ff-contact-hero h1,
html .ff-text-hero h1 {
    font-size: var(--ff-hero-title-size);
    line-height: 1.25;
}

/* 85 / 86 + 54: image heroes at the XD proportion (1280 x 550 = 42.97vw) on desktop, as Sugar-Free / Gifting, so the
   artwork is not cut or squashed; tablet keeps 450px, phones the image-first layout */
@media (min-width: 1024px) {
    .ff-archive-hero {
        min-height: clamp(500px, 42.97vw, 640px);
    }
}
/* 85: Sugar-Free category - keep the ZERO packaging in frame (XD crop) */
@media (min-width: 1120px) {
    .term-sugar-free .ff-category-hero .ff-archive-hero-media img {
        object-position: 50% 40%;
    }
}

/* 56: Wholesale "Our Happy Customers" - a little more room under the image band */
.ff-wholesale-page .ff-split-section .ff-home-section:has(.ff-client-carousel) {
    padding-top: calc(var(--ff-section-space) + 24px);
}

/* 55: hero down arrow (forest-fairies.js initHeroArrows) - centred on the hero bottom edge, gentle bob */
.ff-home-hero,
.ff-contact-hero {
    position: relative;
}
.ff-hero-arrow {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-left: -22px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 2px 10px rgba(48, 48, 48, 0.1);
    color: var(--ff-colour-dark);
    animation: ff-hero-arrow-bob 2.2s ease-in-out infinite;
}
.ff-hero-arrow::before {
    content: "";
    width: 14px;
    height: 8px;
    background-color: currentColor;
    -webkit-mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
}
.ff-hero-arrow:hover {
    background-color: #fff;
}
.ff-hero-arrow:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
    animation-play-state: paused;
}
@keyframes ff-hero-arrow-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(6px); }
}
@media (prefers-reduced-motion: reduce) {
    .ff-hero-arrow {
        animation: none;
    }
}
.ff-hero-target {
    scroll-margin-top: 96px;   /* clear of the sticky header */
}
.ff-hero-target:focus {
    outline: none;   /* programmatic focus target (tabindex -1) after the arrow scroll; controls inside keep their rings */
}
/* phones: the hero is image-first (copy below the artwork) - the arrow sits under the copy, inside the hero */
@media (max-width: 767px) {
    .ff-archive-hero:has(> .ff-hero-arrow) {
        padding-bottom: 72px;
    }
    .ff-hero-arrow {
        bottom: 16px;
        background-color: var(--ff-colour-warm-white);
    }
}
/* Wholesale Step 1 ("...using the form below"): the same arrow, in the card, linking to the enquiry form */
.ff-process-card .ff-step-arrow {
    position: relative;
    left: auto;
    bottom: auto;
    margin: 16px auto 0;
    background-color: #fff;
}

/* 57: a soft, restrained shadow under the white header bar so it separates from white / light content */
.ff-site-header .ff-header-main,
.ff-site-header.ff-header-stuck .ff-header-main {
    box-shadow: 0 1px 0 rgba(48, 48, 48, 0.05), 0 4px 14px rgba(48, 48, 48, 0.06);
}

/* 58: Support FAQ questions clearly heavier than their answers (answers stay regular) */
.ff-content-page .ff-faq-question {
    font-weight: var(--ff-weight-semibold, 600);
}
/* 61: Contact detail headings a little bolder than the info under them */
.ff-content-page .ff-contact-panel .ff-label-bold {
    font-weight: var(--ff-weight-semibold, 600);
}
/* 62: Wholesale enquiry intro - same type as the Customer enquiry intro (regular body copy, not bold) */
.ff-content-page #wholesale-enquiry > p.ff-label-bold,
.ff-content-page #wholesale-enquiry > .ff-contact-form-intro .ff-label-bold {
    margin: 0 0 var(--ff-space-3);
    font-family: var(--ff-font-primary);
    font-size: var(--ff-font-size-body);
    font-weight: var(--ff-weight-regular, 400);
    line-height: var(--ff-line-height-body);
}

/* 59: Support - Darren's prepared composition (one image with its own soft fade) replaces the layered artwork */
.ff-content-page .ff-help-media {
    aspect-ratio: 1200 / 668;
}
.ff-content-page .ff-help-media .ff-split-layer-bg {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* 64: Content Hub - no hero artwork (XD had none): heading, copy and the two buttons, centred and balanced */
.ff-content-hub-page .ff-archive-hero {
    min-height: 0;
    padding-block: var(--ff-section-space) 0;
    background-color: var(--ff-colour-white);
}
.ff-content-hub-page .ff-archive-hero::after {
    display: none;
}
.ff-content-hub-page .ff-archive-hero .ff-archive-hero-content {
    max-width: 760px;
    margin-inline: auto;
    text-align: center;
}
.ff-content-hub-page .ff-archive-hero .ff-archive-hero-copy {
    max-width: none;
}
.ff-content-hub-page .ff-archive-hero .ff-home-hero-actions {
    justify-content: center;
}

/* 67: article image - XD frame (757 x 551) keeping the lower part of the shot, so the full product shows */
.ff-hub-single--article .ff-hub-article-media {
    aspect-ratio: 757 / 551;
}
.ff-hub-single--article .ff-hub-article-media .ff-hub-article-image {
    object-position: 50% 68%;
}

/* 71: article FAQs (the product accordion, single-open) */
.ff-hub-faqs {
    margin-top: var(--ff-space-6);
}
.ff-hub-faqs-title {
    margin: 0 0 var(--ff-space-2);
    font-family: var(--ff-font-primary);
    font-size: clamp(22px, 1.2rem + 0.4vw, 26px);
    font-weight: var(--ff-weight-heading);
    line-height: 1.3;
    text-transform: none;
}
.ff-hub-faq-accordion .ff-product-acc-title {
    font-weight: var(--ff-weight-semibold, 600);
}

/* 72: article shopping section - the scroll-track carousel with the shared product card */
.ff-hub-shop {
    --ff-hub-shop-visible: 3;
    --ff-hub-shop-gap: 24px;
}
.ff-hub-shop-intro {
    margin: 0 0 var(--ff-space-4);
}
.ff-hub-shop-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - (var(--ff-hub-shop-visible) - 1) * var(--ff-hub-shop-gap)) / var(--ff-hub-shop-visible));
    gap: var(--ff-hub-shop-gap);
    margin: 0;
    padding: 4px 0 6px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}
.ff-hub-shop-track::-webkit-scrollbar {
    display: none;
}
.ff-hub-shop-track > li {
    scroll-snap-align: start;
}
.ff-track-frame.is-scrollable > .ff-hub-shop-track {
    cursor: grab;
}
.ff-track-frame:has(> .ff-hub-shop-track) > .ff-track-arrow {
    top: calc((100% - 72px) / 2);
}
.ff-hub-shop-cta {
    display: flex;
    justify-content: center;
    margin-top: var(--ff-gap-products, 55px);
}
@media (max-width: 767px) {
    .ff-hub-shop {
        --ff-hub-shop-visible: 1.6;
        --ff-hub-shop-gap: 14px;
    }
}

/* 89-91: Shop mega menu without the Explore column - Shop list + the three featured cards */
@media (min-width: 1025px) {
    .ff-mega:not(.ff-mega--hub) .ff-mega-inner {
        grid-template-columns: minmax(170px, 1fr) minmax(0, 4fr);
    }
}

/* 54: Wholesale "Who We Work With" artwork - XD layers: bedroom photo zoomed x1.225 (only a small part of the lampshade
   shows), XD "hotel room background" soft white veil (50%, screen, blurred) so the products lead, then the Assorted
   Black Box and Coconut Wheel at their XD size (pattern "cover", clipped to the layer frame). Same XD asset files. */
.ff-content-page .ff-who-media {
    overflow: clip;
}
.ff-content-page .ff-who-media img {
    object-fit: fill;
}
.ff-content-page .ff-who-media .ff-split-layer-bg {
    z-index: 0;
    left: -16.052%;
    top: -16.977%;
    width: 147.955%;
    height: 92.415%;
    clip-path: inset(18.37% 25.233% 0 10.849%);
}
.ff-content-page .ff-who-media::before {
    content: "";
    position: absolute;
    z-index: 1;
    left: -12.734%;
    top: 0.351%;
    width: 107.116%;
    height: 75.439%;
    background-color: #fff;
    opacity: 0.5;
    mix-blend-mode: screen;
    filter: blur(min(20px, 3.7vw));
    pointer-events: none;
}
.ff-content-page .ff-who-media .ff-split-layer-main {
    z-index: 2;
    left: -12.696%;
    top: 9.027%;
    width: 90.861%;
    height: 85.122%;
    clip-path: inset(0 7.171% 0 7.171%);
}
.ff-content-page .ff-who-media .ff-split-layer-front {
    z-index: 3;
    left: 31.395%;
    top: 69.065%;
    width: 72.924%;
    height: 30.855%;
    clip-path: inset(0 6.053% 0 2.042%);
}
/* 64: centred text hero - title and actions follow the copy */
html .ff-content-hub-page .ff-archive-hero .ff-archive-hero-title {
    text-align: center;
}
html .ff-content-hub-page .ff-archive-hero .ff-archive-hero-content .ff-home-hero-actions {
    display: flex;
    justify-content: center;
}
/* 71 / 72 polish: FAQ rows separated by the product line; article carousel arrows on the track edges (narrow column) */
.ff-hub-faq-accordion .ff-hub-faq-item + .ff-hub-faq-item {
    border-top: 1px solid var(--ff-product-line, #E2DFDA);
}
.ff-track-frame:has(> .ff-hub-shop-track) > .ff-track-arrow--prev {
    left: -18px;
}
.ff-track-frame:has(> .ff-hub-shop-track) > .ff-track-arrow--next {
    right: -18px;
}
/* 55: Homepage hero on phones - room under the copy for the arrow (it never sits on the text / button) */
@media (max-width: 767px) {
    .ff-home .ff-home-hero:has(> .ff-hero-arrow) {
        padding-bottom: 76px;
    }
}

/* =========================================================
   RAPID FINAL VISUAL PASS (Darren's confirmed corrections)
   ========================================================= */
/* 1. desktop main nav: 30px between items (mobile drawer unchanged) */
@media (min-width: 1025px) {
    .ff-site-header .ff-main-nav-menu .breakdance-menu {
        --links-gap: 30px;
    }
    .ff-site-header .ff-main-nav-menu .breakdance-menu-list {
        gap: 30px;
    }
}

/* 2. hero down arrow: exact centre, straddling the hero's bottom edge (half in the hero, half over the next section);
   the hero keeps its artwork clipped on the media layer and paints above the following section */
.ff-home-hero:has(> .ff-hero-arrow),
.ff-archive-hero:has(> .ff-hero-arrow),
.ff-contact-hero:has(> .ff-hero-arrow) {
    position: relative;
    z-index: 2;
    overflow: visible;
}
.ff-archive-hero:has(> .ff-hero-arrow) .ff-archive-hero-media,
.ff-contact-hero:has(> .ff-hero-arrow) > :not(.ff-hero-arrow):first-child {
    overflow: hidden;
}
.ff-hero-arrow:not(.ff-step-arrow) {
    top: auto;
    bottom: 0;
    left: 50%;
    margin: 0;
    transform: translate(-50%, 50%);
    background-color: #fff;
    border: 1px solid var(--ff-colour-dark);
    box-shadow: 0 2px 10px rgba(48, 48, 48, 0.12);
    animation-name: ff-hero-arrow-bob-edge;
    -webkit-tap-highlight-color: transparent;
}
@keyframes ff-hero-arrow-bob-edge {
    0%, 100% { transform: translate(-50%, 50%); }
    50% { transform: translate(-50%, calc(50% + 5px)); }
}
/* CI hover / focus: dark fill + white chevron; focus ring in the site dark (never the browser blue) */
.ff-hero-arrow:hover,
.ff-hero-arrow:focus-visible {
    background-color: var(--ff-colour-dark);
    color: #fff;
}
.ff-hero-arrow:focus {
    outline: none;
}
.ff-hero-arrow:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .ff-hero-arrow:not(.ff-step-arrow) {
        animation: none;
        transform: translate(-50%, 50%);
    }
}
/* phones: the straddling arrow needs only a little room under the copy (replaces the earlier 72 / 76px) */
@media (max-width: 767px) {
    .ff-archive-hero:has(> .ff-hero-arrow),
    .ff-home .ff-home-hero:has(> .ff-hero-arrow) {
        padding-bottom: 40px;
    }
    .ff-hero-arrow:not(.ff-step-arrow) {
        bottom: 0;
        background-color: #fff;
    }
}
/* the section under a hero: room so its first content clears the lower half of the arrow */
.ff-hero-target {
    position: relative;
}

/* 3. Homepage Novelty tile: Darren's approved crop */
.ff-home .ff-category-card[href*="/novelty/"] img {
    object-position: 85% 50%;
}

/* 4. Sugar-Free "Crafted for Conscious Indulgence": wider text container (1080 max), still centred; normal page padding */
.ff-content-page .ff-sf-info .ff-split-content {
    width: 100%;
    max-width: 1080px;
    margin-inline: auto;
    padding-inline: var(--ff-split-pad, 20px);
    box-sizing: border-box;
}
.ff-content-page .ff-sf-info .ff-split-content > * {
    max-width: none;
}
@media (min-width: 1024px) {
    .ff-content-page .ff-sf-info .ff-split-inner {
        width: min(1080px, calc(100% - (2 * clamp(var(--ff-gutter-min), 3vw, var(--ff-gutter-max)))));
    }
    .ff-content-page .ff-sf-info .ff-split-content {
        padding-inline: 0;
    }
}

/* XD scale for the layered "why choose" artwork (Sugar-Free, Gifting, Wholesale "Who we work with"): in XD the artwork
   frame bleeds from the page's left edge (Sugar-Free 545/1280, Gifting 605/1280, Wholesale 534/1280) and the copy starts
   at 582/1280 (45.5%); inside the 1280 grid it rendered ~30% smaller. Desktop only - tablet / phone layouts unchanged. */
@media (min-width: 1024px) {
    .ff-content-page .ff-sf-why .ff-split-inner,
    .ff-content-page .ff-gift-why .ff-split-inner,
    .ff-content-page .ff-who-we-work-with .ff-split-inner {
        width: 100%;
        margin-inline: 0;
        grid-template-columns: minmax(0, 45.5%) minmax(0, 1fr);
        column-gap: 0;
    }
    .ff-content-page .ff-sf-why .ff-split-media,
    .ff-content-page .ff-gift-why .ff-split-media,
    .ff-content-page .ff-who-we-work-with .ff-split-media {
        max-width: none;
        margin: 0;
        justify-self: start;
    }
    .ff-content-page .ff-sf-why .ff-sf-why-media { width: calc(100% * 545 / 582); }
    .ff-content-page .ff-gift-why .ff-gift-why-media { width: calc(100% * 605 / 582); }
    .ff-content-page .ff-who-we-work-with .ff-who-media { width: calc(100% * 534 / 582); }
    .ff-content-page .ff-sf-why .ff-split-content,
    .ff-content-page .ff-gift-why .ff-split-content,
    .ff-content-page .ff-who-we-work-with .ff-split-content {
        position: relative;
        z-index: 1;
        padding-inline: 0 max(clamp(var(--ff-gutter-min), 3vw, var(--ff-gutter-max)), calc((100% - var(--ff-content-width)) / 2));
    }
    .ff-content-page .ff-sf-why .ff-split-content > *,
    .ff-content-page .ff-gift-why .ff-split-content > *,
    .ff-content-page .ff-who-we-work-with .ff-split-content > * {
        max-width: 643px;   /* XD copy / accordion width */
    }
}
/* Sugar-Free: Crafted -> "Why choose" band a little tighter (Darren) */
.ff-content-page .ff-sf-why {
    margin-top: calc(var(--ff-home-section-space, var(--ff-section-space)) - 32px);
}

/* =========================================================
   FINAL RAPID CORRECTION PASS (Chrome visual QA list)
   ========================================================= */
/* 1. Homepage hero, tablet (768-1119): narrower copy column + soft left wash so the copy never sits on the products;
   desktop and phones unchanged */
@media (min-width: 768px) and (max-width: 1119px) {
    .ff-home .ff-home-hero .ff-home-hero-content {
        max-width: min(42vw, 400px);
    }
    .ff-home .ff-home-hero::before {
        content: "";
        position: absolute;
        z-index: 0;
        top: 0;
        bottom: 0;
        left: 0;
        width: 62%;
        background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.5) 50%, rgba(255, 255, 255, 0) 100%);
        pointer-events: none;
    }
    .ff-home .ff-home-hero > :not(.ff-hero-arrow) {
        position: relative;
        z-index: 1;
    }
}

/* 2. Content Hub hero: heading, copy and the Blogs / Recipes row on one centred axis */
.ff-content-hub-page .ff-archive-hero .ff-archive-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.ff-content-hub-page .ff-archive-hero .ff-archive-hero-title,
.ff-content-hub-page .ff-archive-hero .ff-archive-hero-copy {
    width: 100%;
    margin-inline: auto;
}

/* 3 + 6. Content Hub headings (cards, article title, prose subheadings, FAQ / shop / sidebar titles): site Jost and the
   site heading colour #303030 - they were inheriting Breakdance's system-ui / #111827 heading defaults */
.ff-hub :is(h1, h2, h3, h4),
.ff-hub .ff-hub-card-title a,
.ff-hub .ff-hub-card-title a:visited {
    font-family: var(--ff-font-primary);
    color: var(--ff-colour-dark);
}

/* 4. Sugar-Free blog image: the full product shot at its own ratio (no crop, no stretch) */
.ff-hub-single--article .ff-hub-article-media {
    aspect-ratio: auto;
}
.ff-hub-single--article .ff-hub-article-media .ff-hub-article-image {
    width: 100%;
    height: auto;
    aspect-ratio: auto;
    object-fit: contain;
    object-position: 50% 50%;
}

/* 5. Blog product carousel rhythm: intro -> cards and price -> button both 55px (the approved price -> button gap);
   arrows sit beside the row, so the content-page "arrows below" padding does not apply */
.ff-hub-shop .ff-hub-shop-intro {
    margin-bottom: calc(var(--ff-gap-products, 55px) - 4px);   /* track has 4px top padding */
}
.ff-content-page .ff-track-frame.is-scrollable:has(> .ff-hub-shop-track),
.ff-track-frame:has(> .ff-hub-shop-track) {
    padding-bottom: 0;
}
.ff-hub-shop .ff-hub-shop-cta {
    margin-top: calc(var(--ff-gap-products, 55px) - 6px);   /* track has 6px bottom padding */
}
/* 10. phones: the arrows stay inside the row (the -18px offset overflowed the 360px viewport by 1px) */
@media (max-width: 767px) {
    .ff-track-frame:has(> .ff-hub-shop-track) > .ff-track-arrow--prev {
        left: 0;
    }
    .ff-track-frame:has(> .ff-hub-shop-track) > .ff-track-arrow--next {
        right: 0;
    }
}

/* 8. Seasonal category, phones: a taller frame centred on the Snack Storm jar - lid visible, product fills the frame */
@media (max-width: 767px) {
    .term-seasonal .ff-category-hero .ff-archive-hero-media {
        aspect-ratio: 4 / 3;
    }
    .term-seasonal .ff-category-hero .ff-archive-hero-media img {
        object-position: 100% 50%;
    }
}

/* =========================================================
   FINAL MICRO FIX
   ========================================================= */
/* 1. hero arrow: the circle never moves - its centre stays exactly on the hero edge; only the chevron bobs (subtle) */
html .ff-hero-arrow,
html .ff-hero-arrow:not(.ff-step-arrow) {
    animation: none;
}
html .ff-hero-arrow:not(.ff-step-arrow) {
    transform: translate(-50%, 50%);
}
html .ff-hero-arrow::before {
    animation: ff-hero-chevron-bob 2.2s ease-in-out infinite;
}
@keyframes ff-hero-chevron-bob {
    0%, 100% { transform: translateY(-1px); }
    50% { transform: translateY(2px); }
}
@media (prefers-reduced-motion: reduce) {
    html .ff-hero-arrow::before {
        animation: none;
    }
}
/* 2. hover / focus at every width: dark CI fill, white chevron, dark ring (the phone rule had kept the fill white) */
html .ff-hero-arrow:hover,
html .ff-hero-arrow:focus,
html .ff-hero-arrow:focus-visible {
    border-color: var(--ff-colour-dark);
    background-color: var(--ff-colour-dark);
    color: #fff;
}
html .ff-hero-arrow:focus:not(:focus-visible) {
    outline: none;
}
html .ff-hero-arrow:focus-visible {
    outline: 2px solid var(--ff-colour-dark);
    outline-offset: 3px;
}
/* 3. Sugar-Free category only: last product row -> pagination at the approved ~55px (was 64px) */
.term-sugar-free .ff-shop-pagination {
    margin-top: 55px;
}

/* Ziflow 96: Sugar-Free article image back to the XD frame (757 x 551) so it sits within the first viewport; anchored to
   the bottom of the shot - only the cup / flowers at the top are trimmed, the whole plate of sweets stays visible.
   Same ratio at every width, no stretch (cover keeps the image's own proportions). */
.ff-hub-single--article .ff-hub-article-media {
    aspect-ratio: 757 / 551;
    overflow: hidden;
}
.ff-hub-single--article .ff-hub-article-media .ff-hub-article-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 100%;
}

/* Article hero, desktop: a 500px visible image area at the existing width, centred cover crop (tablet / phones keep the
   757 / 551 frame) */
@media (min-width: 1024px) {
    .ff-hub-single--article .ff-hub-article-media {
        aspect-ratio: auto;
        height: 500px;
    }
    .ff-hub-single--article .ff-hub-article-media .ff-hub-article-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
    }
}

/* =========================================================
   REDESIGN 2026-11 — STAGE 1: COLOUR TOKENS, TYPOGRAPHY, BUTTONS, HEADER
   Source: Darren's redesign direction + the XD homepage asset pack
   (forest-fairies-project-structure/assets/forest-fairies-homepage-assets/).
   Colour + display-font tokens are Oxygen global variables (Global Settings > Variables, mirrored in
   custom-code/oxygen/forest-fairies-oxygen-variables.json):
     --ff-colour-burgundy #742D37 · --ff-colour-teal #5C9A9C · --ff-colour-brown #302821
     --ff-colour-cream-light #FCFAF6 · --ff-colour-cream #F3EEE5 · --ff-font-display "Fraunces"
     --ff-colour-cream-mid #F2EADF · --ff-colour-cream-deep #EDE1CF · --ff-colour-teal-light #E9EFED (stage 1b; corrected to the XD palette 2026-11-11)
   They are not redefined here (that would override edits made in Oxygen); var() fallbacks only.
   Later redesign stages (homepage sections, footer, product cards) add their own sections below this one.
   ========================================================= */

/* ---- fonts: Jost 700 italic (burgundy heading accents) + Fraunces 400 / 400 italic (subheadings), self-hosted ---- */
@font-face {
    font-family: "Jost";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/jost-latin-ext-700-italic.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Jost";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/jost-latin-700-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/fraunces-latin-ext-400-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/fraunces-latin-400-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/fraunces-latin-ext-400-italic.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/fraunces-latin-400-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- derived tokens (built from the Oxygen variables, so they follow any change made there) ---- */
:root {
    --ff-colour-text: var(--ff-colour-brown, #302821);
    --ff-colour-accent: var(--ff-colour-burgundy, #742D37);
    --ff-colour-accent-hover: color-mix(in srgb, var(--ff-colour-burgundy, #742D37) 84%, #000);   /* pressed / hover burgundy */
    --ff-font-display-stack: var(--ff-font-display, "Fraunces"), Georgia, serif;
    --ff-icon-arrow-up-right: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17 17 7M8 7h9v9'/%3E%3C/svg%3E");
    --ff-btn-arrow-size: 12px;
    --ff-btn-arrow-gap: 10px;
}

/* ---- typography: body copy stays Jost Regular; main headings Jost Bold in dark brown ----
   Accent words: wrap them in <em> (or .ff-accent) inside the heading - burgundy bold italic. */
body :is(.ff-h1, .ff-heading-hero, .ff-h2, .ff-heading-section),
.ff-home .ff-home-hero-title {   /* the homepage hero title has its own 500 weight rules (SITE — HOMEPAGE, 8374) */
    font-weight: var(--ff-weight-bold, 700);
    color: var(--ff-colour-text);
}
body :is(.ff-h1, .ff-heading-hero, .ff-h2, .ff-heading-section) :is(em, i, .ff-accent) {
    font-style: italic;
    font-weight: var(--ff-weight-bold, 700);
    font-synthesis: none;
    color: var(--ff-colour-accent);
}
body .ff-body {
    color: var(--ff-colour-text);
}
/* subheadings: Fraunces Regular, ~36px desktop / 28px mobile (28px up to 768, 36px from 1280); accent words
   (<em> / .ff-accent) in burgundy italic */
.ff-subheading {
    margin: 0;
    font-family: var(--ff-font-display-stack);
    font-size: clamp(28px, calc(1rem + 1.5625vw), 36px);
    font-weight: var(--ff-weight-regular, 400);
    font-style: normal;
    font-synthesis: none;
    line-height: 1.22;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ff-colour-text);
}
.ff-subheading :is(em, i, .ff-accent) {
    font-style: italic;
    font-weight: var(--ff-weight-regular, 400);
    color: var(--ff-colour-accent);
}

/* ---- buttons ----
   Primary: burgundy fill, white text, up-right arrow. Secondary: transparent, underlined text, up-right arrow.
   The arrow is a ::before flex item moved after the label (order: 1), so ::after stays free for the existing
   enlarged hit areas (.ff-content-page .ff-btn-primary::after). Link buttons only: <button> controls (forms,
   cookie banner, quick view) get the new colours without the navigation arrow. */
.ff-btn-primary,
.ff-btn-primary:visited {
    background-color: var(--ff-colour-accent);
    color: var(--ff-colour-white, #fff);
}
.ff-btn-primary:hover,
.ff-btn-primary:focus-visible {
    background-color: var(--ff-colour-accent-hover);
    color: var(--ff-colour-white, #fff);
    box-shadow: 0 8px 18px -8px rgba(116, 45, 55, 0.45);
}
.ff-btn-primary:focus-visible {
    outline-color: var(--ff-colour-accent);
}
.ff-btn-primary:active {
    box-shadow: 0 3px 8px -4px rgba(116, 45, 55, 0.4);
}
/* WPForms enquiry submit (form system section styles it as the dark primary button; WPForms' own
   :not(:hover) rule paints it from --wpforms-button-background-color) */
.wpforms-container.ff-enquiry-wpform {
    --wpforms-button-background-color: var(--ff-colour-accent);
}
.wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit {
    border-color: var(--ff-colour-accent);
    background-color: var(--ff-colour-accent);
    color: var(--ff-colour-white, #fff);
}
.wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit:hover,
.wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit:focus-visible {
    border-color: var(--ff-colour-accent-hover);
    background-color: var(--ff-colour-accent-hover);
}
.wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit:focus-visible {
    outline-color: var(--ff-colour-accent);
}
.ff-btn-secondary,
.ff-btn-secondary:visited,
.ff-home .ff-home-hero .ff-btn-secondary {
    min-height: var(--ff-button-min-height);
    padding: var(--ff-button-padding-y) 0;
    border: 0;
    border-radius: 0;
    background-color: transparent;
    box-shadow: none;
    color: var(--ff-colour-text);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
}
.ff-btn-secondary:hover,
.ff-btn-secondary:focus-visible,
.ff-home .ff-home-hero .ff-btn-secondary:hover,
.ff-home .ff-home-hero .ff-btn-secondary:focus-visible {
    background-color: transparent;
    color: var(--ff-colour-accent);
    text-decoration-thickness: 2px;
}
.ff-btn-secondary:focus-visible {
    outline: 2px solid var(--ff-colour-accent);
    outline-offset: 3px;
}
a.ff-btn-primary::before,
a.ff-btn-secondary::before {
    content: "";
    order: 1;
    flex: 0 0 auto;
    width: var(--ff-btn-arrow-size);
    height: var(--ff-btn-arrow-size);
    margin-left: var(--ff-btn-arrow-gap);
    background-color: currentColor;
    -webkit-mask: var(--ff-icon-arrow-up-right) center / contain no-repeat;
    mask: var(--ff-icon-arrow-up-right) center / contain no-repeat;
    transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
a.ff-btn-primary:hover::before,
a.ff-btn-primary:focus-visible::before,
a.ff-btn-secondary:hover::before,
a.ff-btn-secondary:focus-visible::before {
    transform: translate(2px, -2px);
}
@media (prefers-reduced-motion: reduce) {
    a.ff-btn-primary::before,
    a.ff-btn-secondary::before {
        transition: none;
    }
    a.ff-btn-primary:hover::before,
    a.ff-btn-primary:focus-visible::before,
    a.ff-btn-secondary:hover::before,
    a.ff-btn-secondary:focus-visible::before {
        transform: none;
    }
}
/* on burgundy backgrounds (.ff-surface-burgundy): white buttons */
.ff-surface-burgundy {
    background-color: var(--ff-colour-accent);
    color: var(--ff-colour-white, #fff);
}
.ff-surface-burgundy :is(.ff-h1, .ff-heading-hero, .ff-h2, .ff-heading-section, .ff-subheading, .ff-body),
.ff-surface-burgundy :is(.ff-h1, .ff-heading-hero, .ff-h2, .ff-heading-section, .ff-subheading) :is(em, i, .ff-accent) {
    color: var(--ff-colour-white, #fff);
}
.ff-surface-burgundy .ff-btn-primary,
.ff-surface-burgundy .ff-btn-primary:visited {
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-accent);
}
.ff-surface-burgundy .ff-btn-primary:hover,
.ff-surface-burgundy .ff-btn-primary:focus-visible {
    background-color: var(--ff-colour-cream-light, #FCFAF6);
    color: var(--ff-colour-accent-hover);
    box-shadow: 0 8px 18px -8px rgba(0, 0, 0, 0.35);
}
.ff-surface-burgundy .ff-btn-secondary,
.ff-surface-burgundy .ff-btn-secondary:visited,
.ff-surface-burgundy .ff-btn-secondary:hover,
.ff-surface-burgundy .ff-btn-secondary:focus-visible {
    color: var(--ff-colour-white, #fff);
}
.ff-surface-burgundy :is(.ff-btn-primary, .ff-btn-secondary):focus-visible {
    outline-color: var(--ff-colour-white, #fff);
}

/* ---- stage 1b: arrows only on CTA links - functional link controls keep a plain label ---- */
a.ff-btn-primary:is([data-ff-shop-clear], .ff-cart-sticky-button)::before {
    content: none;
}

/* ---- stage 1b: primary WooCommerce, newsletter and form actions in burgundy (no arrows: functional controls) ---- */
.ff-commerce .woocommerce :is(.button, button.button, a.button, .button.alt, button.button.alt, a.button.alt) {
    border-color: var(--ff-colour-accent);
    background-color: var(--ff-colour-accent);
    color: var(--ff-colour-white, #fff);
}
.ff-commerce .woocommerce :is(.button, button.button, a.button, .button.alt, button.button.alt, a.button.alt):is(:hover, :focus-visible) {
    border-color: var(--ff-colour-accent-hover);
    background-color: var(--ff-colour-accent-hover);
    color: var(--ff-colour-white, #fff);
    box-shadow: 0 8px 18px -8px rgba(116, 45, 55, 0.45);
}
.ff-commerce .woocommerce .button:focus-visible {
    outline-color: var(--ff-colour-accent);
}
/* secondary WooCommerce actions keep their outline style (coupon, update cart, shipping calculator, orders, downloads) */
html .ff-commerce .woocommerce :is(.coupon .button, .checkout_coupon .button, .shipping-calculator-form .button, button[name="update_cart"], .woocommerce-orders-table .button, .order-again .button, .woocommerce-MyAccount-downloads .button, .woocommerce-table--order-downloads .button) {
    border-color: var(--ff-colour-text);
    background-color: transparent;
    color: var(--ff-colour-text);
    box-shadow: none;
}
html .ff-commerce .woocommerce :is(.coupon .button, .checkout_coupon .button, .shipping-calculator-form .button, button[name="update_cart"], .woocommerce-orders-table .button, .order-again .button, .woocommerce-MyAccount-downloads .button, .woocommerce-table--order-downloads .button):is(:hover, :focus-visible) {
    border-color: var(--ff-colour-text);
    background-color: var(--ff-colour-text);
    color: var(--ff-colour-white, #fff);
    box-shadow: none;
}
/* mini cart: View cart / Checkout */
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button,
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button:visited {
    background-color: var(--ff-colour-accent);
    color: var(--ff-colour-white, #fff);
}
.ff-site-header .ff-header-action--cart .bde-mini-cart-offcanvas .woocommerce-mini-cart__buttons .button:is(:hover, :focus-visible) {
    background-color: var(--ff-colour-accent-hover);
    color: var(--ff-colour-white, #fff);
    box-shadow: 0 8px 18px -8px rgba(116, 45, 55, 0.45);
}
/* wishlist: "create list" save */
.ff-wishlist-create-save {
    background-color: var(--ff-colour-accent);
}
.ff-wishlist-create-save:is(:hover, :focus-visible) {
    background-color: var(--ff-colour-accent-hover);
}
/* footer newsletter: burgundy submit square with the up-right arrow (its text stays the accessible name) */
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit {
    background: var(--ff-colour-accent);
    transition: background-color 0.25s ease;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit:is(:hover, :focus-visible) {
    background: var(--ff-colour-accent-hover);
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit::before,
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit:hover::before {
    width: 14px;
    height: 14px;
    background-color: var(--ff-colour-white, #fff);
    -webkit-mask: var(--ff-icon-arrow-up-right) center / contain no-repeat;
    mask: var(--ff-icon-arrow-up-right) center / contain no-repeat;
}
.ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit:focus-visible {
    outline-color: var(--ff-colour-white, #fff);
}

/* ---- stage 1b: sentence case - headings render as their stored copy (the all-caps transform is removed).
   Labels stay capitalised: eyebrows / kickers, buttons, header + mega-menu + search labels, footer headings (footer stage),
   cookie banner. Selector list = every heading rule that set uppercase (incl. the ID-based login heading, so :is() takes
   that specificity and wins everywhere). ---- */
:is(.ff-section-title, .ff-home .ff-section-title, .ff-home .ff-home-hero-title, .ff-shop-intro-title, .ff-h1, .ff-h2, .ff-h3, .ff-h4,
    .ff-heading-hero, .ff-heading-section, .ff-archive-hero-title, .ff-product-single .ff-product-single-title,
    .ff-content-page .ff-process-step, .ff-content-page .ff-collection-section > .ff-home-section-inner > h3.ff-h3,
    .ff-gifting-page .ff-gift-story .ff-section-header .ff-h3, .ff-hub-article-title, .ff-hub-prose h2, .ff-hub-section-title,
    .ff-commerce .ff-commerce-title, .ff-cart-empty-title, .ff-cart-popular .ff-cart-popular-title, .ff-commerce .cart_totals > h2,
    .ff-commerce .ff-checkout-section-title, .ff-commerce .woocommerce #order_review_heading,
    .ff-commerce .woocommerce .woocommerce-order-details__title, .ff-commerce .woocommerce .woocommerce-column__title,
    .ff-commerce .woocommerce .woocommerce-Address-title h2, .ff-commerce .woocommerce .woocommerce-Address-title h3,
    .ff-commerce .woocommerce form.woocommerce-form-login > h2, .ff-commerce .woocommerce .ff-login-title,
    .ff-account-title, .ff-commerce .woocommerce .ff-account-title, .ff-commerce .woocommerce-MyAccount-content form > h2,
    .ff-commerce .woocommerce-MyAccount-content form > h3, .ff-commerce--account.is-logged-out .woocommerce > h2,
    .ff-commerce .woocommerce #customer_login h2, .ff-wishlist-title, .ff-wishlist-app--account .ff-wishlist-title,
    .ff-wishlist-list-title, .ff-shared-list-title, .ff-wishlist-empty-title) {
    text-transform: none;
}

/* ---- header #746: white bar, centred burgundy ribbon logo, no announcement bar ----
   Desktop (>= 1025px): Shop · Sugar-Free · Gifting · Contact | logo | Wholesale · About · Content Hub, then search /
   account / wishlist / bag / WhatsApp, on the standard 1280px content container (stage 1c). The Menu Builder's
   mobile menu shows at the custom Oxygen breakpoint "Header nav drawer" (<= 1024px): burger + off-canvas drawer.
   One Menu Builder (node order set in Oxygen), so drawer, mega menu and sticky header behaviour are unchanged.
   Support is no longer in the header (Oxygen node removed); it stays linked from the footer and content pages. */
.ff-site-header {
    --ff-announcement-h: 0px;   /* the delivery bar is hidden: sticky offset 0 from the first paint */
    color: var(--ff-colour-text);
}
.ff-site-header .ff-announcement-bar {
    display: none;
}
.ff-header-logo-image {
    aspect-ratio: 149 / 50;   /* the supplied SVG's viewBox */
}
.ff-site-header .ff-main-nav-menu .breakdance-menu {
    --link-color: var(--ff-colour-text);
    --link-color-hover: var(--ff-colour-accent);
    --link-color-active: var(--ff-colour-text);
    --link-arrow-color: var(--ff-colour-text);
    --link-arrow-color-hover: var(--ff-colour-accent);
    --dropdown-link-color: var(--ff-colour-text);
    --toggle-layer-color: var(--ff-colour-text);
    --mobile-topbar-close-button-color: var(--ff-colour-text);
}
.ff-site-header .ff-main-nav-menu .breakdance-menu-item--active > .breakdance-menu-link,
.ff-site-header .ff-main-nav-menu .breakdance-menu-link:hover {
    text-decoration-color: var(--ff-colour-accent);
}
.ff-site-header .ff-header-actions .ff-header-action .bde-icon-icon.breakdance-icon-atom {
    color: var(--ff-colour-text);
}
@media (min-width: 1025px) {
    .ff-site-header {
        --ff-header-action-size: 32px;
        --ff-header-actions-w: calc(5 * var(--ff-header-action-size) + 8px);   /* 5 controls + 4 x 2px gaps */
        --ff-header-nav-gap: 18px;
        --ff-header-icons-gap: 16px;   /* last link -> search icon */
    }
    .ff-header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
        column-gap: 0;
    }
    .ff-header-logo {
        position: relative;
        z-index: 1;
        grid-column: 2;
        grid-row: 1;
        width: 128px;
    }
    .ff-main-nav {
        grid-column: 1 / -1;
        grid-row: 1;
        justify-content: stretch;
        padding-right: calc(var(--ff-header-actions-w) + var(--ff-header-icons-gap));
    }
    .ff-header-actions {
        position: relative;
        z-index: 1;
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
    .ff-site-header .ff-main-nav-menu,
    .ff-site-header .ff-main-nav-menu .breakdance-menu,
    .ff-site-header .ff-main-nav-menu .breakdance-menu-list {
        width: 100%;
    }
    .ff-site-header .ff-main-nav-menu .breakdance-menu {
        --menu-base-font-size: 0.9375rem;   /* 15px */
        --links-gap: var(--ff-header-nav-gap);
    }
    .ff-site-header .ff-main-nav-menu .breakdance-menu-list {
        justify-content: flex-start;
        gap: var(--ff-header-nav-gap);
    }
    .ff-site-header .ff-main-nav-menu .breakdance-menu-list > li:has(> a[href$="/wholesale-export/"]) {
        margin-left: auto;
    }
}
/* 1025-1119px: the viewport is narrower than the reference width - slightly tighter so the links clear the logo */
@media (min-width: 1025px) and (max-width: 1119px) {
    .ff-site-header {
        --ff-header-action-size: 30px;
        --ff-header-nav-gap: 14px;
        --ff-header-icons-gap: 14px;
    }
    .ff-header-logo {
        width: 112px;
    }
    .ff-site-header .ff-main-nav-menu .breakdance-menu {
        --menu-base-font-size: 0.875rem;   /* 14px */
    }
}
/* tablet (768-1024px): burger left, logo centred, controls right (phones keep their own grid below 768px) */
@media (min-width: 768px) and (max-width: 1024px) {
    .ff-header-inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
        align-items: center;
    }
    .ff-main-nav {
        grid-column: 1;
        grid-row: 1;
        justify-self: start;
        justify-content: flex-start;
    }
    .ff-header-logo {
        grid-column: 2;
        grid-row: 1;
    }
    .ff-header-actions {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
        margin-left: 0;
    }
}

/* ---- stage 1c: one content container - max 1280px (--ff-content-width), fluid below with the standard responsive
   gutter (20-32px, as .ff-container-content). Header row, footer content, mega-menu panels and the Content Hub now use
   it too, so their edges line up with the page body. Full-bleed sections keep spanning the viewport. Phones (< 768px)
   keep the existing header grid, whose icon hit areas already put the icons on the 20px gutter. ---- */
:root {
    --ff-container-gutter: clamp(var(--ff-gutter-min, 20px), 3vw, var(--ff-gutter-max, 32px));
    --ff-container-width: min(var(--ff-content-width, 1280px), calc(100% - 2 * var(--ff-container-gutter)));
}
@media (min-width: 768px) {
    .ff-header-inner {
        width: var(--ff-container-width);
        max-width: none;
        margin-inline: auto;
        padding-inline: 0;
    }
}
.ff-footer-inner {
    width: var(--ff-container-width);
    max-width: none;
    margin-inline: auto;
    padding-inline: 0;
}
.ff-hub,
.ff-content-hub-page .ff-hub-feature .ff-split-inner {
    width: var(--ff-container-width);
}
@media (min-width: 1025px) {
    .ff-mega-inner {
        width: var(--ff-container-width);
    }
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: HERO (#776 container 200)
   XD hero: 50/50 band - cream copy panel (left) + photo #1467 (right, to the viewport edge), copy + CTAs on the
   shared 1280px container, teal sparkles (#1462), scalloped lower trim and a burgundy curved arrow.
   The protected .ff-home-hero selector (registry index 48: old photo background, flex column, 620px) is untouched;
   these scoped rules override it. Decorations live in .ff-home-hero-decor (aria-hidden). The curved arrow is the
   existing scroll link from initHeroArrows (label "Scroll to the next section"), restyled - same action, focus ring.
   Phones (< 768px): photo first (5:4), then the copy panel; the arrow scales down beside the CTAs' bottom edge.
   ========================================================= */
.ff-home .ff-home-hero,
.ff-home .ff-home-hero:has(> .ff-hero-arrow) {
    --ff-hero-pad-top: clamp(48px, 5vw, 72px);
    --ff-hero-pad-bottom: clamp(64px, 6.5vw, 96px);   /* room for the scalloped trim */
    --ff-hero-trim-h: 22px;
    /* shared right-hand anchor (2026-11-11): the top-right sparkle's right edge and the curved arrow's arrowhead tip
       both sit on this line. Percentages resolve against the hero width for both (decor layer is inset: 0). */
    --ff-hero-anchor-right: 10%;
    --ff-hero-arrow-w: 150px;   /* arrow box width; height keeps the 150:112 artwork ratio per breakpoint */
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: clamp(480px, 42.5vw, 600px);
    margin-bottom: 0;
    padding: var(--ff-hero-pad-top) 0 var(--ff-hero-pad-bottom);
    background-color: var(--ff-colour-cream, #F3EEE5);
    background-image: none;   /* the selector's previous photo: replaced by the image element (never downloaded) */
}
.ff-home .ff-home-hero::before {
    content: none;   /* tablet white wash from the previous photo hero */
}
.ff-home .ff-home-hero > .ff-container-content {
    position: relative;
    z-index: 2;
    width: var(--ff-container-width);
    margin-inline: auto;
}
.ff-home .ff-home-hero .ff-home-hero-content {
    width: calc(50% - clamp(32px, 4vw, 64px));
    max-width: none;
}
html .ff-home .ff-home-hero-title {
    margin: 0 0 clamp(16px, 1.6vw, 22px);
    font-size: clamp(42px, 1.5rem + 3.1vw, 68px);
    line-height: 1.04;
    letter-spacing: -0.005em;
}
.ff-home .ff-home-hero-title .ff-hero-line {
    display: block;
}
/* wave under "bite." (2026-11-11): ~5px optical gap below the letters (measured from rendered pixels: 5px at
   1440/1280, 4-5px at 1024-1054, 4px on phones). The wave box sits on the inline's content-area bottom (~0.38em below
   the baseline in Jost) and the wave's crest is ~0.03em inside its 0.2em box, so the box is lifted by (0.2em - 6px).
   Vertical padding on an inline never affects layout, so the heading/copy/CTAs do not move. */
.ff-home .ff-home-hero-title .ff-hero-underline {
    padding-bottom: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7c9-6 17-6 26 0s17 6 26 0 17-6 26 0 17 6 26 0 10-5 12-4' fill='none' stroke='%23742D37' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left -0.12em bottom calc(0.2em - 6px) / calc(100% + 0.18em) 0.2em;
}
.ff-home .ff-home-hero .ff-home-hero-copy {
    max-width: 16.75em;   /* XD: three lines, breaking after "chocolates and" / "thoughtful gift" */
}
.ff-home .ff-home-hero .ff-home-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}
.ff-home .ff-home-hero .ff-home-hero-actions :is(.ff-btn-primary, .ff-btn-secondary) {
    text-transform: none;   /* XD: sentence-case CTA labels */
    letter-spacing: 0.02em;
}
/* photo: right half, edge to edge */
.ff-home .ff-home-hero > .ff-home-hero-photo {
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 32%;
}
/* decorations */
.ff-home .ff-home-hero > .ff-home-hero-decor {
    position: absolute;
    z-index: 3;
    inset: 0;
    pointer-events: none;
}
.ff-home .ff-home-hero-decor .ff-home-hero-sparkle {
    position: absolute;
    width: 26px;
    height: auto;
    max-width: none;
}
.ff-home .ff-home-hero-sparkle--photo {
    top: 6.5%;
    right: var(--ff-hero-anchor-right);   /* the SVG path fills its viewBox edge to edge: box edge = visible edge */
    width: 30px;
}
.ff-home .ff-home-hero-sparkle--split {
    bottom: calc(var(--ff-hero-trim-h) + 32px);
    left: calc(50% - 56px);
    width: 22px;
}
/* scalloped lower trim (cream-deep), full width */
.ff-home .ff-home-hero-decor::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: var(--ff-hero-trim-h);
    background:
        radial-gradient(circle at 50% 100%, var(--ff-colour-cream-deep, #EDE1CF) 15.5px, transparent 16.5px) 0 0 / 36px 100% repeat-x,
        linear-gradient(var(--ff-colour-cream-deep, #EDE1CF), var(--ff-colour-cream-deep, #EDE1CF)) 0 100% / 100% 7px no-repeat;
}
/* curved arrow = the scroll-to-next-section link (initHeroArrows), restyled from the circle button */
/* arrowhead tip = viewBox x 137 of 150 (13 units of empty space to its right); the mask is drawn at width-fit
   ("contain" with the boxes below), so the tip sits arrow-width * 13/150 in from the box's right edge */
html .ff-home .ff-home-hero > .ff-hero-arrow {
    left: auto;
    right: calc(var(--ff-hero-anchor-right) - var(--ff-hero-arrow-w) * 13 / 150);
    bottom: -58px;
    width: var(--ff-hero-arrow-w);
    height: 112px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ff-colour-accent, #742D37);
    transform: none;
    animation: none;
}
html .ff-home .ff-home-hero > .ff-hero-arrow::before {
    width: 100%;
    height: 100%;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 112' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12C38 0 86 2 104 20c13 13 10 32-6 34-15 2-17-17-4-24 15-8 33 4 40 22 6 16 6 34 3 50'/%3E%3Cpath d='M124 96l13 14 9-18'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 112' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12C38 0 86 2 104 20c13 13 10 32-6 34-15 2-17-17-4-24 15-8 33 4 40 22 6 16 6 34 3 50'/%3E%3Cpath d='M124 96l13 14 9-18'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: none;
    transform: none;
}
html .ff-home .ff-home-hero > .ff-hero-arrow:is(:hover, :focus, :focus-visible) {
    border: 0;
    background: transparent;
    color: var(--ff-colour-accent-hover, #61262e);
}
html .ff-home .ff-home-hero > .ff-hero-arrow:focus-visible {
    outline: 2px solid var(--ff-colour-accent, #742D37);
    outline-offset: 4px;
    border-radius: 6px;
}
/* tablet (768-1023): a little less height; copy column keeps its half */
@media (min-width: 768px) and (max-width: 1023px) {
    .ff-home .ff-home-hero,
    .ff-home .ff-home-hero:has(> .ff-hero-arrow) {
        min-height: 460px;
        --ff-hero-arrow-w: 120px;
    }
    .ff-home .ff-home-hero .ff-home-hero-content {
        width: calc(50% - 24px);
    }
    html .ff-home .ff-home-hero > .ff-hero-arrow {
        height: 90px;
        bottom: -46px;
    }
}
/* phones: stacked - photo (5:4) first, then the cream copy panel and both CTAs */
@media (max-width: 767px) {
    .ff-home .ff-home-hero,
    .ff-home .ff-home-hero:has(> .ff-hero-arrow) {
        min-height: 0;
        padding: 0 0 calc(var(--ff-hero-trim-h) + 56px);
        background-image: none;
        --ff-hero-anchor-right: 18px;
        --ff-hero-arrow-w: 84px;
    }
    .ff-home .ff-home-hero > .ff-home-hero-photo {
        position: relative;
        order: -1;
        width: 100%;
        height: auto;
        aspect-ratio: 5 / 4;
        object-position: 50% 40%;
    }
    .ff-home .ff-home-hero > .ff-container-content {
        padding-top: 32px;
    }
    .ff-home .ff-home-hero .ff-home-hero-content {
        width: 100%;
    }
    .ff-home .ff-home-hero .ff-home-hero-copy {
        max-width: 22em;
    }
    .ff-home .ff-home-hero .ff-home-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    .ff-home .ff-home-hero .ff-home-hero-actions .ff-btn-primary {
        align-self: stretch;
    }
    .ff-home .ff-home-hero-sparkle--photo {
        top: 16px;
        width: 24px;
    }
    .ff-home .ff-home-hero-sparkle--split {
        top: calc(100vw * 4 / 5 + 20px);
        right: 22px;
        bottom: auto;
        left: auto;
        width: 18px;
    }
    html .ff-home .ff-home-hero > .ff-hero-arrow {
        bottom: -30px;
        height: 64px;
    }
}

/* =========================================================
   REDESIGN 2026-11 — SHARED: WAVY RULES (reusable)
   Thin burgundy wave lines drawn with a repeating SVG mask tile (24 x 8, seamless: the quadratic's start and end
   tangents match), so the colour stays a token and the line spans whatever width its container has.
   Usage: add .ff-wave-rules to a container -> wave above (::before) and below (::after) its content. The container
   becomes a flex column. Colour: --ff-wave-rule-colour; gap between rule and content: --ff-wave-rule-gap.
   Decorative only - pseudo-elements carry no content, so screen readers never announce them.
   ========================================================= */
:root {
    --ff-wave-rule-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 8'%3E%3Cpath d='M0 4Q6 0 12 4T24 4' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E");
}
.ff-wave-rules {
    display: flex;
    flex-direction: column;
    gap: var(--ff-wave-rule-gap, 32px);
}
.ff-wave-rules::before,
.ff-wave-rules::after {
    content: "";
    display: block;
    flex: none;
    width: 100%;
    height: 8px;
    background-color: var(--ff-wave-rule-colour, var(--ff-colour-burgundy, #742D37));
    -webkit-mask: var(--ff-wave-rule-image) 0 50% / 24px 8px repeat-x;
    mask: var(--ff-wave-rule-image) 0 50% / 24px 8px repeat-x;
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: COLLECTION NAVIGATION STRIP (#776, nav node 382, between hero 200 and intro 213)
   Warm cream band; content on the shared 1280px container (.ff-container-content / --ff-container-width) between
   two wavy burgundy rules. Two equal link columns with the teal sparkle (#1462, aria-hidden) between them:
     "Shop the classics"     -> Sugar products        -> /product-category/signature-sweets/
     "Another way to indulge" -> Sugar-free collection -> /sugar-free/
   The up-right arrow is one CSS mask per link (::after, no text), so it renders - and is announced - nowhere else.
   The band is deliberately NOT positioned: the hero's curved arrow overhangs into it and must paint above the
   cream background; the top padding clears that overhang (58px desktop / 46px tablet / 30px phones).
   Phones (< 768px): the columns stack, centred, with the sparkle between them.
   ========================================================= */
.ff-home .ff-home-collections {
    --ff-collections-bg: var(--ff-colour-cream-light, #FCFAF6);
    width: 100%;
    margin: 0;
    padding: 80px 0 clamp(40px, 4.5vw, 64px);
    background-color: var(--ff-collections-bg);
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-collections > .ff-home-collections-inner {
    --ff-wave-rule-gap: clamp(28px, 2.8vw, 40px);
    display: flex;   /* the shared .ff-container-content selector sets display: block - restore the wave-rules column */
    flex-direction: column;
    gap: var(--ff-wave-rule-gap);
    width: var(--ff-container-width);
    max-width: none;
    margin: 0 auto;
    padding: 0;
    text-align: center;
}
.ff-home .ff-home-collections-list {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    column-gap: clamp(24px, 4vw, 64px);
}
.ff-home .ff-home-collection {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
}
html .ff-home .ff-home-collection-eyebrow {
    margin: 0;
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 1.4;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-collection-link,
html .ff-home .ff-home-collection-link:visited {
    display: inline-flex;
    align-items: center;
    gap: 0.3em;
    max-width: 100%;
    padding: 2px 4px;
    border-radius: 4px;
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-size: clamp(22px, 1.1rem + 0.9vw, 28px);
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
    text-transform: none;
    text-decoration: none;
    color: var(--ff-colour-brown, #302821);
    transition: color 0.2s ease;
}
.ff-home .ff-home-collection-link::after {
    content: "";
    flex: none;
    width: 0.62em;
    height: 0.62em;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13L13 3M5 3h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 13L13 3M5 3h8v8'/%3E%3C/svg%3E") center / contain no-repeat;
    transition: transform 0.2s ease;
}
html .ff-home .ff-home-collection-link:hover,
html .ff-home .ff-home-collection-link:focus-visible {
    color: var(--ff-colour-burgundy, #742D37);
    text-decoration: none;
}
.ff-home .ff-home-collection-link:hover::after,
.ff-home .ff-home-collection-link:focus-visible::after {
    transform: translate(2px, -2px);
}
html .ff-home .ff-home-collection-link:focus {
    outline: none;
}
html .ff-home .ff-home-collection-link:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 4px;
}
html .ff-home .ff-home-collections-sparkle {
    display: block;
    width: 22px;
    max-width: none;
    height: auto;
}
@media (prefers-reduced-motion: reduce) {
    .ff-home .ff-home-collection-link,
    .ff-home .ff-home-collection-link::after {
        transition: none;
    }
}
/* tablet: the hero arrow overhangs 46px */
@media (min-width: 768px) and (max-width: 1023px) {
    .ff-home .ff-home-collections {
        padding-top: 66px;
    }
}
/* phones: stacked, centred, sparkle between the two links */
@media (max-width: 767px) {
    .ff-home .ff-home-collections {
        padding: 48px 0 40px;
    }
    html .ff-home .ff-home-collections > .ff-home-collections-inner {
        --ff-wave-rule-gap: 28px;
    }
    .ff-home .ff-home-collections-list {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 20px;
    }
    html .ff-home .ff-home-collections-sparkle {
        justify-self: center;
        width: 18px;
    }
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: INTRODUCTION (#776 section 213)
   Light cream band (#FCFAF6) continuous with the collection strip above. Heading 207 is a semantic H2 with the
   shared Fraunces .ff-subheading treatment (28px phones -> 36px from 1280): "More than just" dark brown,
   <em>sweets.</em> burgundy italic. Body copy (322, 324) unchanged; wrapping comes from the column width only.
   Teal sparkle (392, Local #1462, aria-hidden) sits just outside the copy column's lower-right corner; on phones it
   drops into normal flow under the copy, right-aligned, so it can never overlap text.
   Spacing: the strip already ends 40-64px below its bottom wave, so this band adds only 16-24px above the heading
   (rule -> heading ~88px at 1440, ~56px on phones) instead of the standard 68-96px section space.
   ========================================================= */
.ff-home .ff-home-intro {
    padding-top: clamp(16px, 1.7vw, 24px);
    padding-bottom: clamp(56px, 6vw, 88px);
    background-color: var(--ff-colour-cream-light, #FCFAF6);
}
.ff-home .ff-home-intro .ff-section-header {
    position: relative;
    align-items: center;
    gap: clamp(16px, 1.6vw, 22px);
    max-width: 680px;   /* ~80 characters of 16px Jost per line */
    margin-inline: auto;
}
.ff-home .ff-home-intro .ff-home-intro-title {
    margin: 0;
    text-align: center;
}
.ff-home .ff-home-intro .ff-section-header .ff-body {
    font-weight: var(--ff-weight-regular, 400);
    text-align: center;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-intro-sparkle {
    position: absolute;
    right: -52px;
    bottom: -14px;
    width: 22px;
    max-width: none;
    height: auto;
    pointer-events: none;
}
@media (max-width: 1023px) {
    .ff-home .ff-home-intro .ff-section-header {
        max-width: 620px;
    }
}
/* tablet portrait: the column can reach the gutters, so the sparkle tucks under the last line's right end */
@media (min-width: 768px) and (max-width: 1023px) {
    html .ff-home .ff-home-intro-sparkle {
        right: 0;
        bottom: -36px;
        width: 20px;
    }
}
@media (max-width: 767px) {
    .ff-home .ff-home-intro .ff-section-header {
        max-width: none;
    }
    html .ff-home .ff-home-intro-sparkle {
        position: static;
        align-self: flex-end;
        width: 18px;
        margin-top: -4px;
    }
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: SHOP BY CATEGORY (#776 section 242, now directly after the introduction)
   Light cream band continuous with the introduction (#FCFAF6) on the shared 1280px container. Header row (393):
   "Shop by category." (H2 237, Jost Bold, burgundy) left; "Shop all" (239, .ff-btn-secondary: underline + one
   up-right arrow) right -> /shop/. Four square cards in the existing scroll track (238) - Signature sweets / Bars /
   Dubai-inspired / Gifting (redesign photos #1466 / #1463 / #1464 / #1465). Each card is one link (ContainerLink);
   label + small up-right arrow under the photo. initTrackControls keeps its real prev/next buttons, swipe, drag and
   snap: they only appear when the row actually scrolls (tablet: 3 per view, phones: ~1.6 per view; desktop shows
   all four, so no inert buttons). The intro's bottom padding (56-88px) is the only gap above this band.
   Burgundy flowing line: CSS-only ::after in the lower-right corner (no content, so never announced); the band
   clips it, so it cannot cause horizontal scroll.
   ========================================================= */
html .ff-home .ff-home-categories {
    --ff-cat-gap: clamp(16px, 1.9vw, 24px);
    position: relative;
    overflow-x: clip;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: clamp(80px, 8vw, 112px);   /* 2026-11-11 seasonal pass: tightened with the smaller flowing line */
    background-color: var(--ff-colour-cream-light, #FCFAF6);
}
html .ff-home .ff-home-categories > .ff-home-section-inner {
    align-items: stretch;
    gap: clamp(24px, 2.4vw, 36px);
    width: var(--ff-container-width);
    max-width: none;
    margin-inline: auto;
    text-align: left;
}
.ff-home .ff-home-categories-header {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px 24px;
}
html .ff-home .ff-home-categories .ff-home-categories-title {
    margin: 0;
    text-align: left;
    text-transform: none;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-categories .ff-home-categories-cta {
    flex: none;
    width: auto;
    margin: 0;
}
html .ff-home .ff-home-categories .ff-home-categories-cta .ff-btn-secondary {
    text-transform: none;
    letter-spacing: 0.02em;
}
/* track: four per view on desktop (all visible), three on tablet, ~1.6 on phones */
html .ff-home .ff-home-categories .ff-category-track {
    gap: var(--ff-cat-gap);
    grid-auto-columns: calc((100% - 3 * var(--ff-cat-gap)) / 4);
}
html .ff-home .ff-home-categories .ff-category-item {
    min-width: 0;
}
html .ff-home .ff-home-categories .ff-category-card {
    gap: 14px;
    color: var(--ff-colour-brown, #302821);
    text-decoration: none;
}
html .ff-home .ff-home-categories .ff-category-card-media {
    aspect-ratio: 1 / 1;
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-home .ff-home-categories .ff-category-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
html .ff-home .ff-home-categories .ff-category-card-title {
    display: flex;
    align-self: stretch;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 0;
    background-image: none;
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-size: clamp(16px, 0.9rem + 0.25vw, 18px);
    font-weight: var(--ff-weight-medium, 500);
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: inherit;
    transition: color 0.2s ease;
}
html .ff-home .ff-home-categories .ff-category-card-title::after {
    content: "";
    flex: none;
    width: 12px;
    height: 12px;
    background-color: currentColor;
    -webkit-mask: var(--ff-icon-arrow-up-right) center / contain no-repeat;
    mask: var(--ff-icon-arrow-up-right) center / contain no-repeat;
    transition: transform 0.25s cubic-bezier(0.22, 0.61, 0.36, 1);
}
html .ff-home .ff-home-categories .ff-category-card:is(:hover, :focus-visible) .ff-category-card-title {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-categories .ff-category-card:is(:hover, :focus-visible) .ff-category-card-title::after {
    transform: translate(2px, -2px);
}
html .ff-home .ff-home-categories .ff-category-card:focus {
    outline: none;
}
html .ff-home .ff-home-categories .ff-category-card:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 4px;
}
/* track arrows centre on the square photo (label row ~37px) */
html .ff-home .ff-home-categories .ff-track-frame > .ff-track-arrow {
    top: calc((100% - 37px) / 2);
}
/* flowing line, lower-right */
html .ff-home .ff-home-categories::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: clamp(10px, 1.4vw, 20px);
    width: clamp(130px, 14vw, 200px);
    aspect-ratio: 250 / 92;
    background-color: var(--ff-colour-burgundy, #742D37);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 92' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M252 16C214 12 186 26 166 46c-18 18-42 30-58 18-13-10-4-30 13-26 18 4 18 30-2 42-26 16-66 6-96-8C24 66 12 58 3 50'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 92' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M252 16C214 12 186 26 166 46c-18 18-42 30-58 18-13-10-4-30 13-26 18 4 18 30-2 42-26 16-66 6-96-8C24 66 12 58 3 50'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    html .ff-home .ff-home-categories .ff-category-card-title,
    html .ff-home .ff-home-categories .ff-category-card-title::after {
        transition: none;
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    html .ff-home .ff-home-categories .ff-category-track {
        grid-auto-columns: calc((100% - 2 * var(--ff-cat-gap)) / 3);
    }
}
@media (max-width: 767px) {
    html .ff-home .ff-home-categories .ff-category-track {
        grid-auto-columns: 62%;
    }
    .ff-home .ff-home-categories-header {
        column-gap: 12px;   /* keeps "Shop all" on the heading's row down to 360px */
    }
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: SEASONAL COLLECTIONS (#776 section 221, after "Shop by category", before Sugar-Free)
   Cream band (#FCFAF6) continuous with the categories. Header row (394): left = header 216 (teal sparkle 395 above
   the heading's left edge, H2 214 "Shop <seasonal> collections." Jost Bold - "seasonal" burgundy, upright - and the
   intro copy 325, left aligned); right = CTA 219/218 "Shop our seasonal collection" (.ff-btn-secondary, one arrow)
   -> /product-category/seasonal/. Phones: the CTA wraps under the copy.
   Products: the existing Post Loop 217 (Seasonal category, menu order, 12 max, FF Product Card v2 block 774) and its
   Breakdance Swiper slider are unchanged - only this section's card presentation is scoped here: flat, square white
   image area with a small inset, compact badge top-left, name + price left aligned, the circular "+" (and the
   wishlist heart) at the image's lower right. Swiper's watchOverflow hides the arrows when every card fits.
   ========================================================= */
html .ff-home .ff-home-seasonal {
    position: relative;
    padding-top: clamp(28px, 2.6vw, 38px);   /* room for the sparkle; the categories band ends 80-112px below its labels */
    padding-bottom: clamp(56px, 6vw, 88px);   /* the cream band closes below the prices, not on them */
    background-color: var(--ff-colour-cream-light, #FCFAF6);
}
html .ff-home .ff-home-seasonal > .ff-home-section-inner {
    align-items: stretch;
    gap: clamp(24px, 2.4vw, 36px);
    width: var(--ff-container-width);
    max-width: none;
    margin-inline: auto;
    text-align: left;
}
.ff-home .ff-home-seasonal-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 32px;
}
html .ff-home .ff-home-seasonal .ff-home-seasonal-heading {
    position: relative;
    flex: 1 1 420px;
    align-items: flex-start;
    gap: 10px;
    width: auto;
    max-width: 720px;
    margin: 0;
    text-align: left;
}
html .ff-home .ff-home-seasonal .ff-home-seasonal-title {
    margin: 0;
    text-align: left;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-seasonal-title .ff-home-seasonal-accent {
    font-style: normal;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-seasonal .ff-section-intro {
    margin: 0;
    text-align: left;
}
html .ff-home .ff-home-seasonal .ff-section-intro .ff-body {
    text-align: left;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-seasonal-sparkle {
    position: absolute;
    top: -26px;
    left: 2px;
    width: 20px;
    max-width: none;
    height: auto;
    pointer-events: none;
}
html .ff-home .ff-home-seasonal .ff-home-seasonal-cta {
    flex: none;
    width: auto;
    margin: 0;
}
html .ff-home .ff-home-seasonal .ff-home-seasonal-cta .ff-btn-secondary {
    text-transform: none;
    letter-spacing: 0.02em;
}
/* cards (Seasonal + Sugar-Free share this treatment) */
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card {
    gap: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    text-align: left;
}
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-media {
    aspect-ratio: 1 / 1;
    margin-bottom: 14px;
    border-radius: 0;
    background-color: var(--ff-colour-white, #fff);
}
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-media > .ff-product-card-image,
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-media .ff-product-card-hover img {
    box-sizing: border-box;
    padding: 7%;   /* every pack sits inside the same inset square */
}
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-badge {
    top: 10px;
    right: auto;
    left: 10px;
    align-items: flex-start;
}
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-badge__label {
    padding: 3px 8px;
    border: 0;
    border-radius: 2px;
    background-color: var(--ff-colour-burgundy, #742D37);
    font-size: 12px;
    letter-spacing: 0.02em;
    color: var(--ff-colour-white, #fff);
}
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-heading {
    margin: 0 0 4px;
    text-align: left;
}
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-title,
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-title:visited {
    font-size: 16px;
    font-weight: var(--ff-weight-medium, 500);
    color: var(--ff-colour-brown, #302821);
}
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-price {
    text-align: left;
    font-size: 15px;
    color: var(--ff-colour-brown, #302821);
}
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-title:focus-visible::after {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 3px;
}
@media (max-width: 767px) {
    html .ff-home .ff-home-seasonal .ff-home-seasonal-heading {
        flex-basis: 100%;
        max-width: none;
    }
    html .ff-home .ff-home-seasonal-sparkle {
        top: -22px;
        width: 17px;
    }
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: SHOP SUGAR-FREE (#776 section 250, after Seasonal, before "Our happy customers")
   Cream band continuous with Seasonal (its 56-88px bottom padding is the only gap above this heading). Header row
   (396): left = header 245 (H2 243 "Shop <sugar-free.>" Jost Bold, burgundy accent upright; copy 349 left aligned, its
   opening question in burgundy); right = CTA 248/247 "Shop sugar-free" -> /sugar-free/ (.ff-btn-secondary, one
   arrow). Products: Post Loop 246 (Sugar-Free category minus #636/#643, menu order, 12 max, card block 774, Swiper
   settings) unchanged; cards share the Seasonal treatment above.
   Lower edge: full-width cream scallops hanging into the white "Our happy customers" band - the hero trim technique
   (36px repeat of a 16px radial circle) mirrored to hang from the section's bottom edge. z-index keeps the lobes above
   the next band's background; they sit inside its top padding, clear of any control.
   ========================================================= */
html .ff-home .ff-home-sugar-free {
    --ff-scallop-h: 16px;
    position: relative;
    z-index: 1;
    padding-top: 0;
    padding-bottom: clamp(64px, 6.5vw, 96px);
    background-color: var(--ff-colour-cream-light, #FCFAF6);
}
html .ff-home .ff-home-sugar-free::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    height: var(--ff-scallop-h);
    background: radial-gradient(circle at 50% 0, var(--ff-colour-cream-light, #FCFAF6) 15.5px, transparent 16.5px) 0 0 / 36px 100% repeat-x;
    pointer-events: none;
}
html .ff-home .ff-home-sugar-free > .ff-home-section-inner {
    align-items: stretch;
    gap: clamp(24px, 2.4vw, 36px);
    width: var(--ff-container-width);
    max-width: none;
    margin-inline: auto;
    text-align: left;
}
.ff-home .ff-home-sugar-free-header {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px 32px;
}
html .ff-home .ff-home-sugar-free .ff-home-sugar-free-heading {
    flex: 1 1 520px;
    align-items: flex-start;
    gap: 10px;
    width: auto;
    max-width: 760px;
    margin: 0;
    text-align: left;
}
html .ff-home .ff-home-sugar-free .ff-home-sugar-free-title {
    margin: 0;
    text-align: left;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-sugar-free-title .ff-home-sugar-free-accent {
    font-style: normal;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-sugar-free .ff-section-intro {
    margin: 0;
    text-align: left;
}
html .ff-home .ff-home-sugar-free .ff-section-intro .ff-body {
    text-align: left;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-sugar-free-lead {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-sugar-free .ff-home-sugar-free-cta {
    flex: none;
    width: auto;
    margin: 0;
}
html .ff-home .ff-home-sugar-free .ff-home-sugar-free-cta .ff-btn-secondary {
    text-transform: none;
    letter-spacing: 0.02em;
}
@media (max-width: 767px) {
    html .ff-home .ff-home-sugar-free {
        --ff-scallop-h: 12px;
    }
    html .ff-home .ff-home-sugar-free::after {
        background: radial-gradient(circle at 50% 0, var(--ff-colour-cream-light, #FCFAF6) 11.5px, transparent 12.5px) 0 0 / 27px 100% repeat-x;
    }
    html .ff-home .ff-home-sugar-free .ff-home-sugar-free-heading {
        flex-basis: 100%;
        max-width: none;
    }
    .ff-home .ff-home-sugar-free-header {
        row-gap: 20px;
    }
}
/* product carousels (Seasonal, Sugar-Free, related products): Swiper's watchOverflow flags the arrows with
   .swiper-button-lock when every card fits, but the Breakdance arrow styles keep them visible as inert buttons -
   hide them in that state (they reappear as soon as the row overflows again) */
html .ff-product-carousel .breakdance-swiper-wrapper > .swiper-button-lock {
    display: none;
}

/* =========================================================
   CLIENT LOGO CAROUSEL — all logos fit (shared, 2026-11-11): initClientCarousels sets .is-all-visible when every
   real logo fits the row: no arrows, no loop copies, no edge fade, a still centred row. Re-checked on resize. With
   today's 12 clients this never applies (max 5 in view); it keeps a shorter list from showing inert arrows.
   ========================================================= */
.ff-client-carousel.is-all-visible {
    --ff-client-arrow-gutter: 0px;
}
.ff-client-carousel.is-all-visible > .ff-client-carousel-arrow,
.ff-client-carousel.is-all-visible .ff-client-carousel-item.is-clone {
    display: none;
}
.ff-client-carousel.is-all-visible .ff-client-carousel-track {
    justify-content: center;
    overflow-x: hidden;
    -webkit-mask-image: none;
    mask-image: none;
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: OUR HAPPY CUSTOMERS (#776 section 269, after Sugar-Free, before the story)
   White band on the shared container. Top: the Sugar-Free cream scallops (that section's ::after) hang into this
   band's top padding. Heading 266 "Our <happy> customers" centred (Jost Bold, "happy" burgundy, upright) with the teal
   sparkle 397 (#1462, aria-hidden) above its right end - header 353 shrinks to the heading's width so the sparkle
   follows it at every size. Logos: the shared [ff_client_logos] carousel (Global Block #845, 12 clients, manual
   arrows, swipe, endless loop) unchanged; this page shows the marks a little stronger (0.8) with a burgundy focus
   ring. Bottom: cream scallops rising from the band's lower edge into the story section - the hero trim technique
   (16px circles on a 36px repeat at the bottom edge); the story's own top margin is removed so the cream meets them.
   ========================================================= */
html .ff-home .ff-home-clients {
    --ff-scallop-colour: var(--ff-colour-cream-light, #FCFAF6);
    position: relative;
    padding-top: clamp(72px, 7vw, 104px);
    padding-bottom: clamp(80px, 8vw, 112px);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-home .ff-home-clients::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 16px;
    background: radial-gradient(circle at 50% 100%, var(--ff-scallop-colour) 15.5px, transparent 16.5px) 0 0 / 36px 100% repeat-x;
    pointer-events: none;
}
html .ff-home .ff-home-clients + .ff-home-story {
    margin-top: 0;
}
html .ff-home .ff-home-clients > .ff-home-section-inner {
    gap: clamp(20px, 2.2vw, 32px);   /* the logo links add ~25-30px of their own vertical padding above the marks */
    width: var(--ff-container-width);
    max-width: none;
    margin-inline: auto;
}
html .ff-home .ff-home-clients .ff-home-clients-heading {
    position: relative;
    width: fit-content;
    max-width: 100%;
    margin-inline: auto;
}
html .ff-home .ff-home-clients .ff-home-clients-title {
    margin: 0;
    text-align: center;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-clients-title .ff-home-clients-accent {
    font-style: normal;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-clients-sparkle {
    position: absolute;
    top: -20px;
    right: -30px;
    width: 20px;
    max-width: none;
    height: auto;
    pointer-events: none;
}
html .ff-home .ff-home-clients .ff-client-carousel {
    margin-top: 0;
}
html .ff-home .ff-home-clients .ff-client-carousel-mark {
    opacity: 0.8;
}
html .ff-home .ff-home-clients .ff-client-carousel-link:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
@media (max-width: 767px) {
    html .ff-home .ff-home-clients::after {
        height: 12px;
        background: radial-gradient(circle at 50% 100%, var(--ff-scallop-colour) 11.5px, transparent 12.5px) 0 0 / 27px 100% repeat-x;
    }
    html .ff-home .ff-home-clients-sparkle {
        top: -18px;
        right: -24px;
        width: 17px;
    }
}
/* small phones: two columns of ~118px - scale the marks so the widest (Southern Sun) fits its column */
@media (max-width: 400px) {
    html .ff-home .ff-home-clients .ff-client-carousel {
        --ff-client-scale: 0.64;
    }
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: THE FOREST FAIRIES STORY (#776 section 287, after the customers, before testimonials)
   Full-width split band. Left (274): the story photograph (270 -> #1468, caramel pouring over a chocolate spiral),
   object-fit: cover, focal point on the caramel stream + spirals. Right (285): solid burgundy; its copy sits in the
   right half of the shared 1280px grid (right padding = the container edge, via container units on the band).
   H2 281 Fraunces .ff-subheading, white, "story." italic; copy 282 and accordion 279 (4 items, Breakdance accordion:
   real buttons, aria-expanded, aria-controls) white; actions 399: 376 "Get to know Forest Fairies" -> /about/ (white
   outline) + 400 "Wholesale opportunities" -> /wholesale-export/ (white underline). Sparkles 398 (photo, upper right)
   and 401 (panel, lower right), #1462, aria-hidden. Top: the customers band's cream scallops sit directly on the
   panels. Bottom: #F3EEE5 cream scallops rising into the band's lower edge (hero trim technique) towards the
   testimonials. Phones: photo (5:4) above the panel; everything grows naturally.
   ========================================================= */
html .ff-home .ff-home-story {
    --ff-story-pad: clamp(40px, 5vw, 80px);
    --ff-story-scallop: var(--ff-colour-cream, #F3EEE5);
    position: relative;
    margin-top: 0;
    padding: 0;
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-story > .ff-home-story-inner {
    container-type: inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: clamp(560px, 44vw, 680px);
    margin: 0;
}
html .ff-home .ff-home-story .ff-home-story-photo-panel {
    position: relative;
    width: 100%;
    max-width: none;
    height: 100%;
    min-height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-home .ff-home-story .ff-home-story-photo-panel::before {
    content: none;   /* the old composite's blurred glow */
}
html .ff-home .ff-home-story .ff-home-story-photo-panel > img.ff-home-story-photo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 36% 58%;   /* caramel stream + the two spirals; nougat stays in frame */
    translate: none;
}
html .ff-home .ff-home-story .ff-home-story-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    padding: clamp(64px, 7vw, 104px) max(var(--ff-container-gutter, 20px), calc(50cqi - 640px)) calc(clamp(64px, 7vw, 104px) + 16px) var(--ff-story-pad);
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .ff-home .ff-home-story .ff-home-story-content > * {
    width: 100%;
    max-width: 560px;
}
html .ff-home .ff-home-story .ff-home-story-title {
    margin: 0 0 clamp(14px, 1.4vw, 20px);
    color: var(--ff-colour-white, #fff);
}
html .ff-home .ff-home-story .ff-home-story-title :is(em, i) {
    font-style: italic;
    color: var(--ff-colour-white, #fff);
}
html .ff-home .ff-home-story .ff-home-story-content > .ff-body,
html .ff-home .ff-home-story .ff-home-story-accordion .ff-body {
    font-weight: var(--ff-weight-regular, 400);
    line-height: 1.65;
    color: var(--ff-colour-white, #fff);
}
/* accordion on burgundy */
html .ff-home .ff-home-story .ff-home-story-accordion {
    margin-top: clamp(20px, 2vw, 28px);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
html .ff-home .ff-home-story .ff-home-story-accordion .bde-accordion__content-wrapper + .bde-accordion__content-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}
html .ff-home .ff-home-story .ff-home-story-accordion .bde-accordion__button {
    padding: 17px 2px;
    color: var(--ff-colour-white, #fff);
}
html .ff-home .ff-home-story .ff-home-story-accordion .bde-accordion__title {
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ff-colour-white, #fff);
}
html .ff-home .ff-home-story .ff-home-story-accordion .bde-accordion__icon {
    background: currentColor;
    -webkit-mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    transition: transform 0.25s ease;
}
html .ff-home .ff-home-story .ff-home-story-accordion .bde-accordion__button:focus-visible {
    outline: 2px solid var(--ff-colour-white, #fff);
    outline-offset: 2px;
    border-radius: 2px;
}
html .ff-home .ff-home-story .ff-home-story-accordion .bde-accordion__panel-content {
    padding: 0 0 18px;
}
/* CTAs */
html .ff-home .ff-home-story .ff-home-story-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: clamp(28px, 3vw, 40px);
}
html .ff-home .ff-home-story .ff-home-story-actions > .ff-home-story-cta {
    margin: 0;
}
html .ff-home .ff-home-story .ff-home-story-actions .ff-btn-primary,
html .ff-home .ff-home-story .ff-home-story-actions .ff-btn-primary:visited {
    border: 1px solid var(--ff-colour-white, #fff);
    background-color: transparent;
    box-shadow: none;
    color: var(--ff-colour-white, #fff);
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-home .ff-home-story .ff-home-story-actions .ff-btn-primary:is(:hover, :focus-visible) {
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-burgundy, #742D37);
    box-shadow: none;
}
html .ff-home .ff-home-story .ff-home-story-actions .ff-btn-secondary,
html .ff-home .ff-home-story .ff-home-story-actions .ff-btn-secondary:visited {
    color: var(--ff-colour-white, #fff);
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-home .ff-home-story .ff-home-story-actions .ff-btn-secondary:is(:hover, :focus-visible) {
    color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-home .ff-home-story .ff-home-story-actions :is(.ff-btn-primary, .ff-btn-secondary):focus-visible {
    outline: 2px solid var(--ff-colour-white, #fff);
    outline-offset: 3px;
}
/* sparkles */
html .ff-home .ff-home-story .ff-home-story-sparkle {
    position: absolute;
    z-index: 2;
    width: 22px;
    max-width: none;
    height: auto;
    pointer-events: none;
}
html .ff-home .ff-home-story .ff-home-story-sparkle--photo {
    top: clamp(28px, 7%, 56px);
    right: clamp(24px, 7%, 56px);
}
html .ff-home .ff-home-story .ff-home-story-sparkle--panel {
    right: max(var(--ff-container-gutter, 20px), calc(50cqi - 640px));
    bottom: calc(16px + clamp(28px, 3.4vw, 48px));
    width: 20px;
}
/* lower edge: cream scallops rising into the band, towards the testimonials */
html .ff-home .ff-home-story::after {
    content: "";
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    height: 16px;
    background: radial-gradient(circle at 50% 100%, var(--ff-story-scallop) 15.5px, transparent 16.5px) 0 0 / 36px 100% repeat-x;
    pointer-events: none;
}
@media (prefers-reduced-motion: reduce) {
    html .ff-home .ff-home-story .ff-home-story-accordion .bde-accordion__icon {
        transition: none;
    }
}
/* phones: photo above the burgundy panel */
@media (max-width: 767px) {
    html .ff-home .ff-home-story > .ff-home-story-inner {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    html .ff-home .ff-home-story .ff-home-story-photo-panel {
        height: auto;
        aspect-ratio: 5 / 4;
    }
    html .ff-home .ff-home-story .ff-home-story-content {
        padding: 48px var(--ff-container-gutter, 20px) calc(56px + 12px);
    }
    html .ff-home .ff-home-story .ff-home-story-content > * {
        max-width: none;
    }
    html .ff-home .ff-home-story .ff-home-story-sparkle--photo {
        top: 18px;
        right: 18px;
        width: 18px;
    }
    html .ff-home .ff-home-story .ff-home-story-sparkle--panel {
        right: var(--ff-container-gutter, 20px);
        bottom: calc(12px + 20px);
        width: 17px;
    }
    html .ff-home .ff-home-story::after {
        height: 12px;
        background: radial-gradient(circle at 50% 100%, var(--ff-story-scallop) 11.5px, transparent 12.5px) 0 0 / 27px 100% repeat-x;
    }
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: TESTIMONIALS (#776 section 315, after the story; the footer follows today)
   Cream #F3EEE5 band that starts directly under the story's cream scallops (no white strip). Heading 312: Fraunces
   .ff-subheading, centred, "customers" burgundy italic with the hand-drawn burgundy wave (the hero underline
   technique, a background SVG on the <em>, close under the letters). Upper-left flowing line in cream-deep #EDE1CF
   (the categories line, mirrored; ::before, decorative, clipped by the band). Reviews: the shared [ff_testimonials]
   track (Global Block #843, ff_testimonial "home" set, 4 reviews) unchanged - open columns on the cream, left aligned,
   Jost Bold names, teal stars sized to each stored rating (role="img" "Rated n out of 5"), small dates, Jost Regular
   quotes. Columns: 4 desktop, 2 x 2 on tablet (768-1119), 1 + peek on phones (track arrows below the row).
   ========================================================= */
html .ff-home .ff-home-testimonials {
    position: relative;
    overflow-x: clip;
    margin-top: 0;
    padding-top: clamp(72px, 7.2vw, 108px);
    padding-bottom: clamp(72px, 7vw, 104px);
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-home .ff-home-testimonials::before {
    content: "";
    position: absolute;
    top: clamp(18px, 2.6vw, 36px);
    left: 0;
    width: clamp(130px, 14vw, 200px);
    aspect-ratio: 250 / 92;
    background-color: var(--ff-colour-cream-deep, #EDE1CF);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 92' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M-2 76C36 80 64 66 84 46c18-18 42-30 58-18 13 10 4 30-13 26-18-4-18-30 2-42 26-16 66-6 96 8 19 9 13 17 22 25'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 250 92' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M-2 76C36 80 64 66 84 46c18-18 42-30 58-18 13 10 4 30-13 26-18-4-18-30 2-42 26-16 66-6 96 8 19 9 13 17 22 25'/%3E%3C/svg%3E") center / contain no-repeat;
    pointer-events: none;
}
html .ff-home .ff-home-testimonials > .ff-home-section-inner {
    gap: clamp(36px, 4vw, 56px);
    width: var(--ff-container-width);
    max-width: none;
    margin-inline: auto;
}
html .ff-home .ff-home-testimonials .ff-home-testimonials-title {
    margin: 0;
    text-align: center;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-testimonials-title .ff-home-testimonials-underline {
    font-style: italic;
    color: var(--ff-colour-burgundy, #742D37);
    padding-bottom: 0;
    /* wave ~4-5px under the letters (Fraunces italic, no descenders in "customers"); measured from rendered pixels */
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 12' preserveAspectRatio='none'%3E%3Cpath d='M2 7c9-6 17-6 26 0s17 6 26 0 17-6 26 0 17 6 26 0 10-5 12-4' fill='none' stroke='%23742D37' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat left 0 bottom calc(0.12em - 7px) / 100% 0.22em;
}
/* reviews: open columns */
html .ff-home .ff-home-testimonials .ff-testimonial-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    text-align: left;
}
html .ff-home .ff-home-testimonials .ff-testimonial-card > .ff-label-bold {
    margin: 0;
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-size: 17px;
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.3;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-testimonials .ff-testimonial-meta {
    gap: 4px 10px;
    margin-top: 10px;
}
html .ff-home .ff-home-testimonials .ff-testimonial-rating {
    background-color: var(--ff-colour-teal, #5C9A9C);
}
html .ff-home .ff-home-testimonials .ff-testimonial-meta .ff-body {
    margin: 0;
    font-size: 14px;
    line-height: 1.4;
    color: var(--ff-colour-brown, #302821);
    opacity: 0.8;
}
html .ff-home .ff-home-testimonials .ff-testimonial-quote {
    margin-top: 16px;
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-size: 16px;
    font-weight: var(--ff-weight-regular, 400);
    line-height: 1.7;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-testimonials .ff-testimonial-track:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
@media (max-width: 767px) {
    html .ff-home .ff-home-testimonials::before {
        top: 14px;
    }
}

/* =========================================================
   REDESIGN 2026-11 — HOMEPAGE: CLOSING ENQUIRY CTA (#776 section 402, new; after testimonials 315, before the footer)
   Light cream #FCFAF6 band, shared 1280px container (403). Left (404): H2 405 "Let's make something <em>sweet</em>
   happen." - Fraunces .ff-subheading, dark brown, "sweet" burgundy italic; two lines on desktop via the column's
   measure (no forced break), natural wrapping below. Right (406): "Get in touch" (407 -> /contact/, dark-brown
   outline) and "Explore gifting" (408 -> /gifting/, dark-brown underline), one up-right arrow each (the buttons'
   shared ::before). Teal sparkle 409 (#1462, aria-hidden) at the container's upper right, clear of the links.
   Supporting line: none - the removed band's intro was never approved (xd-copy-reconciliation: NO XD SOURCE).
   Stacks below 900px; links stack on phones.
   ========================================================= */
html .ff-home .ff-home-enquiry {
    position: relative;
    width: 100%;
    margin: 0;
    padding: clamp(56px, 6.6vw, 96px) 0;
    background-color: var(--ff-colour-cream-light, #FCFAF6);
}
html .ff-home .ff-home-enquiry > .ff-home-enquiry-inner {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 32px clamp(40px, 6vw, 96px);
    width: var(--ff-container-width);
    max-width: none;
    margin: 0 auto;
    text-align: left;
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-title {
    max-width: 11.6em;   /* "Let's make something" / "sweet happen." at 36px */
    margin: 0;
    text-align: left;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-title em {
    font-style: italic;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 32px;
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-actions :is(.ff-btn-primary, .ff-btn-secondary) {
    min-height: 48px;
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-actions .ff-btn-primary,
html .ff-home .ff-home-enquiry .ff-home-enquiry-actions .ff-btn-primary:visited {
    border: 1px solid var(--ff-colour-brown, #302821);
    background-color: transparent;
    box-shadow: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-actions .ff-btn-primary:is(:hover, :focus-visible) {
    border-color: var(--ff-colour-brown, #302821);
    background-color: var(--ff-colour-brown, #302821);
    box-shadow: none;
    color: var(--ff-colour-white, #fff);
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-actions .ff-btn-secondary,
html .ff-home .ff-home-enquiry .ff-home-enquiry-actions .ff-btn-secondary:visited {
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-actions .ff-btn-secondary:is(:hover, :focus-visible) {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-actions :is(.ff-btn-primary, .ff-btn-secondary):focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 3px;
}
html .ff-home .ff-home-enquiry .ff-home-enquiry-sparkle {
    position: absolute;
    top: calc(-1 * clamp(28px, 3vw, 44px));
    right: 0;
    width: 20px;
    max-width: none;
    height: auto;
    pointer-events: none;
}
/* narrower screens: copy above the links */
@media (max-width: 899px) {
    html .ff-home .ff-home-enquiry > .ff-home-enquiry-inner {
        grid-template-columns: minmax(0, 1fr);
        align-items: start;
        gap: 28px;
    }
}
@media (max-width: 767px) {
    html .ff-home .ff-home-enquiry .ff-home-enquiry-title {
        max-width: none;
    }
    html .ff-home .ff-home-enquiry .ff-home-enquiry-sparkle {
        top: -32px;
        width: 17px;
    }
}
@media (max-width: 479px) {
    html .ff-home .ff-home-enquiry .ff-home-enquiry-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    html .ff-home .ff-home-enquiry .ff-home-enquiry-actions .ff-btn-primary {
        align-self: stretch;
        justify-content: center;
    }
}

/* =========================================================
   REDESIGN 2026-11 — SHARED FOOTER (Oxygen #758 "Global Footer", template condition: everywhere)
   Cream #F3EEE5 band on the shared 1280px container, dark-brown Jost text, burgundy Jost Bold uppercase group headings.
   Top border: one full-width row of alternating burgundy / cream rectangular blocks (::before, decorative).
   Structure unchanged (contact + social | Shop in two columns + newsletter | useful links; bottom row copyright +
   credit left, payment marks right). Restyle only - every link, label, form field and payment mark is untouched.
   FF artwork: the design's faint FF watermark and the burgundy monogram badge on the border are NOT built - no FF
   monogram artwork exists in the asset pack, Media Library or XD (the favicon #1373 is a grey app tile, not the
   monogram). The border runs uninterrupted; record the asset as missing.
   ========================================================= */
html .ff-site-footer {
    --ff-footer-ink: var(--ff-colour-brown, #302821);
    --ff-footer-accent: var(--ff-colour-burgundy, #742D37);
    --ff-footer-border-h: 12px;
    position: relative;
    background-color: var(--ff-colour-cream, #F3EEE5);
    color: var(--ff-footer-ink);
}
html .ff-site-footer::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    height: var(--ff-footer-border-h);
    background: repeating-linear-gradient(90deg,
        var(--ff-colour-burgundy, #742D37) 0 32px,
        var(--ff-colour-cream-light, #FCFAF6) 32px 64px);
    pointer-events: none;
}
html .ff-site-footer .ff-footer-inner {
    padding-top: calc(var(--ff-footer-border-h) + clamp(48px, 5vw, 72px));
    padding-bottom: 28px;
}
html .ff-site-footer .ff-footer-heading {
    margin: 0 0 12px;
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--ff-footer-accent);
}
html .ff-site-footer :is(.ff-footer-text, .ff-footer-newsletter-label, .ff-footer-copyright, .ff-footer-credit, .ff-footer-payments-label) {
    color: var(--ff-footer-ink);
}
html .ff-site-footer .ff-footer-list {
    gap: 4px;
}
html .ff-site-footer a.ff-footer-link,
html .ff-site-footer a.ff-footer-link:visited,
html .ff-site-footer button.ff-cookie-settings {
    color: var(--ff-footer-ink);
    text-decoration: none;
}
html .ff-site-footer a.ff-footer-link:hover,
html .ff-site-footer button.ff-cookie-settings:hover {
    color: var(--ff-footer-accent);
    text-decoration: underline;
}
/* social circles */
html .ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom {
    border-color: var(--ff-footer-ink);
    color: var(--ff-footer-ink);
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
html .ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom:is(:hover, :focus-visible) {
    border-color: var(--ff-footer-accent);
    background-color: var(--ff-footer-accent);
    color: var(--ff-colour-white, #fff);
}
/* newsletter: thin dark-brown field, burgundy submit (existing up-right arrow, "Subscribe" stays its name) */
html .ff-site-footer .ff-footer-newsletter .ff-footer-newsletter-label {
    margin-bottom: 8px;
    font-weight: var(--ff-weight-medium, 500);
}
html .ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form input[type="email"] {
    height: 44px;
    border: 1px solid var(--ff-footer-ink);
    background-color: var(--ff-colour-cream-light, #FCFAF6);
    color: var(--ff-footer-ink);
}
html .ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form input[type="email"]::placeholder {
    color: var(--ff-footer-ink);
    opacity: 0.7;
}
html .ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form input[type="email"]:focus {
    outline: 2px solid var(--ff-footer-accent);
    outline-offset: 2px;
    border-color: var(--ff-footer-ink);
}
html .ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit {
    width: 44px;
    height: 44px;
}
html .ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form button.wpforms-submit:focus-visible {
    outline: 2px solid var(--ff-footer-accent);
    outline-offset: 2px;
}
html .ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-submit-spinner {
    top: 9px;
    right: 50px;
}
html .ff-site-footer .ff-footer-newsletter .wpforms-container :is(.wpforms-error, em.wpforms-error, label.wpforms-error) {
    color: #A8261E;
}
html .ff-site-footer .ff-footer-newsletter .wpforms-container .wpforms-form input[type="email"].wpforms-error {
    border-color: #A8261E;
}
html .ff-site-footer .ff-footer-newsletter .wpforms-confirmation-container-full {
    color: var(--ff-footer-ink);
}
/* bottom row */
html .ff-site-footer .ff-footer-bottom {
    margin-top: clamp(36px, 4vw, 56px);
    padding-top: 20px;
    border-top: 1px solid rgba(48, 40, 33, 0.16);
}
html .ff-site-footer a.ff-footer-credit-link {
    text-decoration-color: rgba(48, 40, 33, 0.4);
}
html .ff-site-footer a.ff-footer-credit-link:hover {
    color: var(--ff-footer-accent);
}
html .ff-site-footer .ff-footer-payments {
    padding: 0;
    min-height: 0;
    background-color: transparent;
    color: var(--ff-footer-ink);
}
/* focus */
html .ff-site-footer a:focus-visible,
html .ff-site-footer button:focus-visible,
html .ff-site-footer a.ff-footer-credit-link:focus-visible {
    color: var(--ff-footer-accent);
    outline: 2px solid var(--ff-footer-accent);
    outline-offset: 2px;
}
html .ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom:focus-visible {
    color: var(--ff-colour-white, #fff);
}
@media (prefers-reduced-motion: reduce) {
    html .ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom {
        transition: none;
    }
}
@media (max-width: 767px) {
    html .ff-site-footer {
        --ff-footer-border-h: 10px;
    }
    html .ff-site-footer::before {
        background: repeating-linear-gradient(90deg,
            var(--ff-colour-burgundy, #742D37) 0 24px,
            var(--ff-colour-cream-light, #FCFAF6) 24px 48px);
    }
    html .ff-site-footer .ff-footer-inner {
        padding-top: calc(var(--ff-footer-border-h) + 44px);
        /* no dock reservation here: html.ff-dock-on body already adds the dock's 61px (+ safe area) below the footer,
           and only while the dock is showing - a second reservation left an empty band (and one on dock-less pages) */
    }
    html .ff-site-footer .ff-footer-bottom {
        margin-top: 32px;
    }
}

/* =========================================================
   AUDIT CORRECTIONS 2026-11-11 (manual audit, 17 items) - overrides the redesign stages above.
   Brief: forest-fairies-project-structure/assets/Forest_Fairies_Combined_Audit_Fixes_2026-11-11/
          audit-fixes-2026-11-11/COMBINED_CORRECTION_PROMPT.txt
   Artwork: assets/images/decor/ (derived from the supplied PNGs - see its README.md).
   ========================================================= */

/* ---- fonts: Fraunces Light (300) normal + italic, self-hosted (@fontsource/fraunces 5.2.9, OFL) ---- */
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/fraunces-latin-ext-300-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/fraunces-latin-300-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/fraunces-latin-ext-300-italic.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 300;
    font-display: swap;
    src: url("../fonts/fraunces-latin-300-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- heading scales: main section headings cap at 52px, the introduction at 44px (fluid below) ---- */
:root {
    --ff-section-heading-size: clamp(26px, 0.9rem + 2.7vw, 52px);
    --ff-section-heading-display-size: clamp(28px, 0.9rem + 2.7vw, 52px);   /* Fraunces headings */
    --ff-intro-heading-size: clamp(28px, 1rem + 1.95vw, 44px);
}
html .ff-home :is(.ff-home-categories-title, .ff-home-seasonal-title, .ff-home-sugar-free-title, .ff-home-clients-title) {
    font-size: var(--ff-section-heading-size);
    line-height: 1.1;
}
html .ff-home :is(.ff-home-testimonials-title, .ff-home-enquiry-title) {
    font-size: var(--ff-section-heading-display-size);
    line-height: 1.12;
}

/* ---- 1. header menu: Jost Medium (500) on the desktop menu and the mobile drawer (variable Jost 300-700) ---- */
html .ff-site-header .breakdance-menu .breakdance-menu-link,
html .ff-site-header .breakdance-menu .breakdance-dropdown-toggle > .breakdance-menu-link {
    font-weight: var(--ff-weight-medium, 500);
}

/* ---- 2. header WhatsApp: solid black disc, white glyph; same anchor (tap area), link, label and focus ring ---- */
html .ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom {
    font-size: 13px;
    color: var(--ff-colour-white, #fff);
    background: radial-gradient(circle closest-side, #000 calc(12px - 0.5px), transparent 12px) center / 24px 24px no-repeat;
}
html .ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom svg {
    fill: currentColor;
}
html .ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom:hover {
    background: radial-gradient(circle closest-side, #3a3a3a calc(12px - 0.5px), transparent 12px) center / 24px 24px no-repeat;
}

/* ---- 3. homepage hero: deeper scallops (48px repeat, 22px lobes on a 10px base), grown inward ---- */
.ff-home .ff-home-hero,
.ff-home .ff-home-hero:has(> .ff-hero-arrow) {
    --ff-hero-trim-h: 32px;
}
.ff-home .ff-home-hero-decor::after {
    background:
        radial-gradient(circle at 50% calc(100% - 10px), var(--ff-colour-cream-deep, #EDE1CF) 21.5px, transparent 22.5px) 0 0 / 48px 100% repeat-x,
        linear-gradient(var(--ff-colour-cream-deep, #EDE1CF), var(--ff-colour-cream-deep, #EDE1CF)) 0 100% / 100% 10px no-repeat;
}

/* ---- 4. homepage hero: faint FF monogram (Group 505) at the photo's lower right, above the scallops ---- */
.ff-home .ff-home-hero > .ff-home-hero-decor::before {
    content: "";
    position: absolute;
    right: 24px;
    bottom: calc(var(--ff-hero-trim-h) + 14px);
    width: clamp(40px, 4vw, 58px);
    aspect-ratio: 1100 / 1109;
    background: url("../images/decor/ff-monogram-watermark.png") center / contain no-repeat;
    pointer-events: none;
}

@media (max-width: 767px) {
    .ff-home .ff-home-hero,
    .ff-home .ff-home-hero:has(> .ff-hero-arrow) {
        --ff-hero-trim-h: 24px;
    }
    .ff-home .ff-home-hero-decor::after {
        background:
            radial-gradient(circle at 50% calc(100% - 8px), var(--ff-colour-cream-deep, #EDE1CF) 15.5px, transparent 16.5px) 0 0 / 36px 100% repeat-x,
            linear-gradient(var(--ff-colour-cream-deep, #EDE1CF), var(--ff-colour-cream-deep, #EDE1CF)) 0 100% / 100% 8px no-repeat;
    }
    /* phones: the photo is the top 5:4 block - keep the monogram inside it, bottom right */
    .ff-home .ff-home-hero > .ff-home-hero-decor::before {
        top: calc(100vw * 4 / 5 - 14px - 34px);
        right: 14px;
        bottom: auto;
        width: 34px;
    }
}

/* ---- 5. homepage hero heading: tighter leading (true Jost Bold + bold-italic accents unchanged) ---- */
html .ff-home .ff-home-hero-title {
    line-height: 0.96;
}

/* ---- 7. collection strip: the broad supplied wave (Group 473), uniform scale; phones crop it centrally ---- */
html .ff-home .ff-home-collections .ff-wave-rules::before,
html .ff-home .ff-home-collections .ff-wave-rules::after {
    height: clamp(12px, 1.8vw, 23px);
    background: url("../images/decor/ff-wave-broad.png") center / auto 100% no-repeat;
    -webkit-mask: none;
    mask: none;
}

/* ---- 8. introduction: Fraunces Regular capped at 44px; wider centred copy column ---- */
html .ff-home .ff-home-intro .ff-home-intro-title {
    font-size: var(--ff-intro-heading-size);
    font-weight: var(--ff-weight-regular, 400);
    line-height: 1.15;
}
html .ff-home .ff-home-intro .ff-section-header {
    max-width: min(960px, calc(100% - 120px));   /* room for the sparkle beside the copy */
}
@media (max-width: 1023px) {
    html .ff-home .ff-home-intro .ff-section-header {
        max-width: 100%;
    }
}

/* ---- 9. categories: "Shop by" dark, "category." burgundy; triple-wave pattern (Group 494) at the lower right ---- */
html .ff-home .ff-home-categories .ff-home-categories-title {
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-categories-title .ff-home-categories-accent {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-categories > .ff-home-section-inner {
    position: relative;
    z-index: 1;
}
html .ff-home .ff-home-categories::after {
    z-index: 0;
    right: calc(-1 * clamp(36px, 3.4vw, 52px));
    bottom: 4px;
    width: clamp(150px, 15vw, 230px);   /* under the Gifting label row, between its text and arrow, into the gutter */
    aspect-ratio: 720 / 767;
    background: url("../images/decor/ff-triple-wave-categories.png") center / contain no-repeat;
    -webkit-mask: none;
    mask: none;
}

/* ---- 10. product cards (shared presentation): burgundy "+" and heart; Jost Regular names + prices ---- */
.ff-product-card-action {
    border-color: rgba(116, 45, 55, 0.45);
}
.ff-product-card-action::before {
    background-color: var(--ff-colour-burgundy, #742D37);
}
.ff-product-card-action:hover,
.ff-product-card-action:focus-visible {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
}
.ff-product-card-action:hover::before,
.ff-product-card-action:focus-visible::before {
    background-color: var(--ff-colour-white, #fff);
}
.ff-product-card-action:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
.ff-product-card-action.is-added {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
}
.ff-product-card-media .ff-wishlist-control {
    border-color: rgba(116, 45, 55, 0.45);
}
.ff-product-card-media .ff-wishlist-control:hover,
.ff-product-card-media .ff-wishlist-control[aria-expanded="true"],
.ff-product-card-media .ff-wishlist-control:focus-visible {
    border-color: var(--ff-colour-burgundy, #742D37);
}
.ff-product-card-media .ff-wishlist-control:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
.ff-product-card-media .ff-wishlist-icon::after {
    background-color: var(--ff-colour-burgundy, #742D37);
}
.ff-product-card-media .ff-wishlist-icon::before {
    background-color: var(--ff-colour-burgundy, #742D37);   /* saved: filled burgundy heart (was gold) */
}
.ff-product-card .ff-product-card-title,
.ff-product-card .ff-product-card-title:visited,
.ff-product-card .ff-product-card-price,
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-title,
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-title:visited,
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-card-price {
    font-weight: var(--ff-weight-regular, 400);
}
/* homepage carousels + shop/category grids + related products: the design's outlined badge (burgundy line + text on the white image area) */
html :is(.ff-home .ff-home-seasonal, .ff-home .ff-home-sugar-free, .ff-shop .ff-shop-results, .ff-product-single .ff-related-products, .ff-commerce .ff-cart-popular, .ff-content-page .ff-collection-grid, .ff-hub .ff-hub-products) .ff-product-badge__label {
    border: 1px solid var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-burgundy, #742D37);
}

/* ---- 11. Sugar-Free copy: the question on its own line in burgundy, the second sentence dark ---- */
html .ff-home .ff-home-sugar-free-lead {
    display: block;
}

/* ---- 13. customers band: deeper scallops above (Sugar-Free lobes) and below (into the story) ---- */
html .ff-home .ff-home-sugar-free {
    --ff-scallop-h: 22px;
}
html .ff-home .ff-home-sugar-free::after {
    background: radial-gradient(circle at 50% 0, var(--ff-colour-cream-light, #FCFAF6) 21.5px, transparent 22.5px) 0 0 / 48px 100% repeat-x;
}
html .ff-home .ff-home-clients::after {
    height: 22px;
    background: radial-gradient(circle at 50% 100%, var(--ff-scallop-colour) 21.5px, transparent 22.5px) 0 0 / 48px 100% repeat-x;
}
@media (max-width: 767px) {
    html .ff-home .ff-home-sugar-free {
        --ff-scallop-h: 16px;
    }
    html .ff-home .ff-home-sugar-free::after {
        background: radial-gradient(circle at 50% 0, var(--ff-colour-cream-light, #FCFAF6) 15.5px, transparent 16.5px) 0 0 / 35px 100% repeat-x;
    }
    html .ff-home .ff-home-clients::after {
        height: 16px;
        background: radial-gradient(circle at 50% 100%, var(--ff-scallop-colour) 15.5px, transparent 16.5px) 0 0 / 35px 100% repeat-x;
    }
}

/* ---- 14. story heading: Fraunces Light (300), cap 52px, white, "story." Light italic ---- */
html .ff-home .ff-home-story .ff-home-story-title {
    font-size: var(--ff-section-heading-display-size);
    font-weight: 300;
    line-height: 1.1;
}
html .ff-home .ff-home-story .ff-home-story-title :is(em, i) {
    font-weight: 300;
}
/* desktop split: the accordion's tallest open state is reserved (forest-fairies.js initStoryAccordionHeight sets
   --ff-story-reserve), so switching items never changes the band height or the photo crop; copy starts at the top */
@media (min-width: 768px) {
    html .ff-home .ff-home-story .ff-home-story-content {
        justify-content: flex-start;
        min-height: var(--ff-story-reserve, 0px);
    }
}

/* ---- 15. testimonials: story-to-testimonials scallops now hang DOWN into the cream (the story's own lower edge is
   scalloped by a mask - photo + burgundy lobes - and the cream band slides 22px under it); complete wave under
   "customers"; triple-wave pattern (Group 501) at the upper left ---- */
html .ff-home .ff-home-story {
    --ff-story-lobe: 22px;
    z-index: 1;
    -webkit-mask:
        linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--ff-story-lobe)) no-repeat,
        radial-gradient(circle at 50% 0, #000 21.5px, transparent 22.5px) 0 100% / 48px var(--ff-story-lobe) repeat-x;
    mask:
        linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--ff-story-lobe)) no-repeat,
        radial-gradient(circle at 50% 0, #000 21.5px, transparent 22.5px) 0 100% / 48px var(--ff-story-lobe) repeat-x;
}
html .ff-home .ff-home-story::after {
    content: none;   /* the previous upward cream lobes */
}
html .ff-home .ff-home-story .ff-home-story-content {
    padding-bottom: calc(clamp(64px, 7vw, 104px) + var(--ff-story-lobe));
}
html .ff-home .ff-home-testimonials {
    margin-top: calc(-1 * var(--ff-story-lobe, 22px));
    padding-top: calc(clamp(72px, 7.2vw, 108px) + 22px);
}
@media (max-width: 767px) {
    html .ff-home .ff-home-story {
        --ff-story-lobe: 16px;
        -webkit-mask:
            linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--ff-story-lobe)) no-repeat,
            radial-gradient(circle at 50% 0, #000 15.5px, transparent 16.5px) 0 100% / 35px var(--ff-story-lobe) repeat-x;
        mask:
            linear-gradient(#000 0 0) 0 0 / 100% calc(100% - var(--ff-story-lobe)) no-repeat,
            radial-gradient(circle at 50% 0, #000 15.5px, transparent 16.5px) 0 100% / 35px var(--ff-story-lobe) repeat-x;
    }
    html .ff-home .ff-home-story .ff-home-story-content {
        padding-bottom: calc(56px + var(--ff-story-lobe));
    }
    html .ff-home .ff-home-testimonials {
        margin-top: -16px;
        padding-top: calc(72px + 16px);
    }
}
/* the wave under "customers": its own box below the word (no longer a clipped inline background) */
html .ff-home .ff-home-testimonials-title .ff-home-testimonials-underline {
    position: relative;
    display: inline-block;
    padding-bottom: 0;
    background: none;
}
html .ff-home .ff-home-testimonials-title .ff-home-testimonials-underline::after {
    content: "";
    position: absolute;
    left: 2%;
    right: 2%;
    top: calc(100% + 0.06em);
    height: 0.3em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M3 12C20 3 37 3 53 11s34 8 50 0 34-8 50 0 30 7 44-1' fill='none' stroke='%23742D37' stroke-width='2' stroke-linecap='round' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") center / 100% 100% no-repeat;
    pointer-events: none;
}
html .ff-home .ff-home-testimonials > .ff-home-section-inner {
    gap: clamp(48px, 4.6vw, 64px);   /* clear room for the wave under the heading */
}
html .ff-home .ff-home-testimonials::before {
    top: var(--ff-story-lobe, 22px);
    left: calc(-1 * clamp(24px, 3vw, 48px));
    width: clamp(150px, 19vw, 280px);
    aspect-ratio: 720 / 793;
    background: url("../images/decor/ff-triple-wave-testimonials.png") center / contain no-repeat;
    -webkit-mask: none;
    mask: none;
}
@media (max-width: 767px) {
    html .ff-home .ff-home-testimonials::before {
        top: 8px;
        left: -36px;
        width: 104px;
    }
    /* the heading wraps on phones: open the leading so the wave sits clear between "customers" and the next line */
    html .ff-home .ff-home-testimonials .ff-home-testimonials-title {
        line-height: 1.6;
    }
}

/* ---- 16. closing CTA: 52px heading scale + the approved supporting line ---- */
html .ff-home .ff-home-enquiry .ff-home-enquiry-copy-line {
    margin: clamp(12px, 1.2vw, 16px) 0 0;
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-size: 16px;
    font-weight: var(--ff-weight-regular, 400);
    line-height: 1.5;
    color: var(--ff-colour-brown, #302821);
}

/* ---- 17. footer: block strip at the supplied 39 : 30 : 48 proportions, FF badge (Group 508) interrupting it in
   the centre, large pale FF watermark (Group 505) on the left; Jost Regular body, Jost Bold headings ---- */
html .ff-site-footer {
    --ff-footer-border-h: 26px;
    --ff-footer-badge: 60px;
    isolation: isolate;
    clip-path: inset(-80px 0 0 0);   /* the watermark is cropped by the footer; the badge may rise above the strip */
}
html .ff-site-footer::before {
    background: repeating-linear-gradient(90deg,
        var(--ff-colour-burgundy, #742D37) 0 calc(var(--ff-footer-border-h) * 39 / 48),
        var(--ff-colour-cream-light, #FCFAF6) calc(var(--ff-footer-border-h) * 39 / 48) calc(var(--ff-footer-border-h) * 69.4 / 48));
    background-position: center 0;
}
html .ff-site-footer::after {
    content: "";
    position: absolute;
    z-index: 2;
    top: calc(var(--ff-footer-border-h) / 2 - var(--ff-footer-badge) / 2);
    left: 50%;
    width: calc(var(--ff-footer-border-h) * 170 / 48);
    height: var(--ff-footer-badge);
    background:
        url("../images/decor/ff-monogram-badge.png") center / var(--ff-footer-badge) var(--ff-footer-badge) no-repeat,
        linear-gradient(var(--ff-colour-cream-light, #FCFAF6), var(--ff-colour-cream-light, #FCFAF6)) center / 100% var(--ff-footer-border-h) no-repeat;
    transform: translateX(-50%);
    pointer-events: none;
}
html .ff-site-footer .ff-footer-main::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: var(--ff-footer-border-h);
    bottom: 0;   /* the box never extends past the footer (clip-path hid the overflow but it still added scroll height) */
    left: 0;
    width: clamp(240px, 30vw, 440px);
    --ff-footer-watermark-h: clamp(300px, 38vw, 540px);
    background: url("../images/decor/ff-monogram-watermark.png") right top / auto var(--ff-footer-watermark-h) no-repeat;
    pointer-events: none;
}
html .ff-site-footer :is(.ff-footer-text, a.ff-footer-link, button.ff-cookie-settings, .ff-footer-copyright, .ff-footer-credit, .ff-footer-payments-label) {
    font-weight: var(--ff-weight-regular, 400);
}
html .ff-site-footer .ff-footer-heading {
    font-weight: var(--ff-weight-bold, 700);
}
@media (max-width: 767px) {
    html .ff-site-footer {
        --ff-footer-border-h: 18px;
        --ff-footer-badge: 44px;
    }
    html .ff-site-footer::before {
        background: repeating-linear-gradient(90deg,
            var(--ff-colour-burgundy, #742D37) 0 calc(var(--ff-footer-border-h) * 39 / 48),
            var(--ff-colour-cream-light, #FCFAF6) calc(var(--ff-footer-border-h) * 39 / 48) calc(var(--ff-footer-border-h) * 69.4 / 48));
        background-position: center 0;
    }
    html .ff-site-footer .ff-footer-main::before {
        width: 200px;
        --ff-footer-watermark-h: 260px;
    }
}

/* ---- 6. PAGE HEROES - the corrected homepage hero language on every existing page hero (copy, imagery and links
   unchanged per page). Covered: image page heroes .ff-page-hero (About #851, Wholesale & Export #853, Sugar-Free #957,
   Gifting #958) -> cream copy panel left + photo right half (phones: photo first); Content Hub #971 hero
   (.ff-page-hero without media) and the text heroes .ff-text-hero (Support #864, Privacy #3, Returns #15, Terms #924,
   Delivery #926, Cookie notice #932) -> cream band; Contact #866 photo hero (.ff-contact-hero). Shared: Jost Bold
   heading with tight leading (burgundy bold-italic for any <em> accent), sentence-case CTAs, teal sparkle, deeper
   cream-deep scallops, and the burgundy curved scroll arrow (same initHeroArrows link, action and focus ring) on the
   heroes that have one. Shop / category heroes
   (.ff-shop-hero, .ff-category-hero) join this treatment in the catalogue pass (section 7 below).
   ========================================================= */
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero),
html .ff-text-hero,
html .ff-contact-hero {
    --ff-hero-trim-h: 32px;
    --ff-hero-anchor-right: 10%;
    --ff-hero-arrow-w: 150px;
    --ff-hero-sparkle: url("/wp-content/uploads/2026/11/forest-fairies-teal-sparkle.svg");
}
/* scallop trim (shared): cream-deep lobes rising from a 10px base, inside the hero's lower edge */
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero)::after,
html .ff-text-hero::after,
html .ff-contact-hero::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: auto 0 0 0;
    width: auto;
    height: var(--ff-hero-trim-h);
    background:
        radial-gradient(circle at 50% calc(100% - 10px), var(--ff-colour-cream-deep, #EDE1CF) 21.5px, transparent 22.5px) 0 0 / 48px 100% repeat-x,
        linear-gradient(var(--ff-colour-cream-deep, #EDE1CF), var(--ff-colour-cream-deep, #EDE1CF)) 0 100% / 100% 10px no-repeat;
    pointer-events: none;
}
/* teal sparkle (shared): upper right, on the shared right-hand anchor */
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero)::before,
html .ff-text-hero::before,
html .ff-contact-hero::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: clamp(24px, 6.5%, 48px);
    right: var(--ff-hero-anchor-right);
    width: 26px;
    aspect-ratio: 1;
    background: var(--ff-hero-sparkle) center / contain no-repeat;
    pointer-events: none;
}
/* heading + CTAs (shared) */
html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-text-hero) h1,
html .ff-shop .ff-shop-hero .ff-archive-hero-title {
    margin: 0 0 clamp(14px, 1.4vw, 20px);
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.02;
    letter-spacing: -0.005em;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-text-hero) h1 :is(em, i, .ff-accent),
html .ff-shop .ff-shop-hero .ff-archive-hero-title :is(em, i, .ff-accent) {
    font-style: italic;
    font-weight: var(--ff-weight-bold, 700);
    color: var(--ff-colour-burgundy, #742D37);
}
html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-text-hero) .ff-home-hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}
html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-text-hero) .ff-home-hero-actions :is(.ff-btn-primary, .ff-btn-secondary) {
    text-transform: none;
    letter-spacing: 0.02em;
}
html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-text-hero) .ff-body {
    color: var(--ff-colour-brown, #302821);
}

/* image page heroes: split like the homepage hero */
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    min-height: clamp(480px, 42.5vw, 600px);
    padding: clamp(48px, 5vw, 72px) 0 clamp(64px, 6.5vw, 96px);
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) > .ff-archive-hero-media {
    position: absolute;
    z-index: 1;
    inset: 0 0 0 50%;
    overflow: hidden;
}
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) > .ff-archive-hero-media img {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 85% 55%;   /* the page artwork was composed for copy on the left: its subject sits right */
}
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) > .ff-archive-hero-inner {
    position: relative;
    z-index: 2;
    width: var(--ff-container-width);
    max-width: none;
    margin-inline: auto;
    padding-block: 0;
}
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) .ff-archive-hero-content {
    width: calc(50% - clamp(32px, 4vw, 64px));
    max-width: none;
}
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) h1,
html .ff-shop .ff-shop-hero:has(> .ff-archive-hero-media) .ff-archive-hero-title {
    font-size: clamp(36px, 1rem + 2.6vw, 56px);
}
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) .ff-archive-hero-copy {
    max-width: 26em;
    margin: 0 0 var(--ff-gap-copy-cta, 32px);
}

/* heading-band heroes (Content Hub, Support, policy pages): cream band, centred or left as built */
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):not(:has(> .ff-archive-hero-media)),
html .ff-text-hero,
html .ff-home .ff-home-section.ff-text-hero {
    position: relative;
    padding-top: clamp(56px, 6vw, 88px);
    padding-bottom: calc(clamp(48px, 5vw, 72px) + var(--ff-hero-trim-h));
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):not(:has(> .ff-archive-hero-media)) h1,
html .ff-text-hero h1 {
    font-size: clamp(32px, 1rem + 2.2vw, 52px);
}

/* Contact: full-width photograph hero */
html .ff-content-page .ff-contact-hero {
    position: relative;
}

/* curved scroll arrow (same link, action and focus treatment as the homepage hero) */
html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-contact-hero) > .ff-hero-arrow {
    top: auto;
    left: auto;
    right: calc(var(--ff-hero-anchor-right) - var(--ff-hero-arrow-w) * 13 / 150);
    bottom: -58px;
    width: var(--ff-hero-arrow-w);
    height: 112px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--ff-colour-accent, #742D37);
    transform: none;
    animation: none;
}
html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-contact-hero) > .ff-hero-arrow::before {
    width: 100%;
    height: 100%;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 112' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12C38 0 86 2 104 20c13 13 10 32-6 34-15 2-17-17-4-24 15-8 33 4 40 22 6 16 6 34 3 50'/%3E%3Cpath d='M124 96l13 14 9-18'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 150 112' fill='none' stroke='%23000' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12C38 0 86 2 104 20c13 13 10 32-6 34-15 2-17-17-4-24 15-8 33 4 40 22 6 16 6 34 3 50'/%3E%3Cpath d='M124 96l13 14 9-18'/%3E%3C/svg%3E") center / contain no-repeat;
    animation: none;
    transform: none;
}
html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-contact-hero) > .ff-hero-arrow:is(:hover, :focus, :focus-visible) {
    border: 0;
    background: transparent;
    color: var(--ff-colour-accent-hover, #61262e);
}
html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-contact-hero) > .ff-hero-arrow:focus-visible {
    outline: 2px solid var(--ff-colour-accent, #742D37);
    outline-offset: 4px;
    border-radius: 6px;
}

@media (min-width: 768px) and (max-width: 1023px) {
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero),
    html .ff-text-hero,
    html .ff-contact-hero {
        --ff-hero-arrow-w: 120px;
    }
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) {
        min-height: 460px;
    }
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) .ff-archive-hero-content {
        width: calc(50% - 24px);
    }
    html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-contact-hero) > .ff-hero-arrow {
        height: 90px;
        bottom: -46px;
    }
}
@media (max-width: 767px) {
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero),
    html .ff-text-hero,
    html .ff-contact-hero {
        --ff-hero-trim-h: 24px;
        --ff-hero-anchor-right: 18px;
        --ff-hero-arrow-w: 84px;
    }
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero)::after,
    html .ff-text-hero::after,
    html .ff-contact-hero::after {
        background:
            radial-gradient(circle at 50% calc(100% - 8px), var(--ff-colour-cream-deep, #EDE1CF) 15.5px, transparent 16.5px) 0 0 / 36px 100% repeat-x,
            linear-gradient(var(--ff-colour-cream-deep, #EDE1CF), var(--ff-colour-cream-deep, #EDE1CF)) 0 100% / 100% 8px no-repeat;
    }
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero)::before,
    html .ff-text-hero::before,
    html .ff-contact-hero::before {
        top: 16px;
        width: 22px;
    }
    /* image page heroes: photo (5:4) first, then the cream copy panel */
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) {
        min-height: 0;
        padding: 0 0 calc(var(--ff-hero-trim-h) + 56px);
    }
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) > .ff-archive-hero-media {
        position: relative;
        inset: auto;
        width: 100%;
        aspect-ratio: 5 / 4;
    }
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) > .ff-archive-hero-inner {
        padding-top: 32px;
    }
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) .ff-archive-hero-content {
        width: 100%;
    }
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) .ff-home-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
    }
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero):has(> .ff-archive-hero-media) .ff-home-hero-actions .ff-btn-primary {
        align-self: stretch;
    }
    html :is(:is(.ff-page-hero, .ff-shop-hero, .ff-category-hero), .ff-contact-hero) > .ff-hero-arrow {
        bottom: -30px;
        height: 64px;
    }
}

/* ---- 7. SHOP / CATEGORY ARCHIVES - the approved homepage language on /shop/ (#800) and every product category (#802).
   Heroes: the shared page-hero rules above (section 6, now also .ff-shop-hero / .ff-category-hero): cream copy panel +
   photo right half, scallops, sparkle, curved arrow. Cards: the homepage card rules (left aligned, 7% inset square white
   image area, outlined badge, Jost 400). This block: cream-light page, intro heading scale, warm field borders, burgundy
   selected / focus states for filters, sort, toolbar, drawer and pagination, sentence-case controls. Queries, filters,
   URL parameters, counts, page sizes and the drawer behaviour are unchanged (includes/shop-archive.php, site script). */
html .ff-shop {
    --ff-shop-field-border: #DCCFBD;
    --ff-shop-line: #E6DACA;
    background-color: var(--ff-colour-cream-light, #FCFAF6);
    color: var(--ff-colour-brown, #302821);
}
/* intro heading on the shared section scale (capped at 52px) */
html .ff-shop .ff-shop-intro-title {
    font-size: var(--ff-section-heading-size);
    line-height: 1.1;
    color: var(--ff-colour-brown, #302821);
}
html .ff-shop :is(.ff-shop-intro-copy, .ff-shop-count, .ff-shop-search-input, .ff-shop-sort-select, .ff-shop-sort-label,
    .ff-shop-filter-toggle, .ff-shop-check-label, .ff-shop-price-label, .ff-shop-filter-link) {
    color: var(--ff-colour-brown, #302821);
}
/* search + sort fields */
html .ff-shop .ff-shop-search::before {
    background-color: var(--ff-colour-brown, #302821);
}
html .ff-shop .ff-shop-search-input[type="search"]:hover,
html .ff-shop .ff-shop-sort:hover {
    border-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-search-input[type="search"]:focus {
    border-color: var(--ff-colour-burgundy, #742D37);
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
html .ff-shop .ff-shop-sort:focus-within {
    border-color: var(--ff-colour-burgundy, #742D37);
    outline-color: var(--ff-colour-burgundy, #742D37);
}
/* filter groups */
html .ff-shop .ff-shop-filter-toggle {
    font-weight: var(--ff-weight-medium, 500);
}
html .ff-shop .ff-shop-filter-toggle:hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop :is(.ff-shop-filter-toggle, .ff-shop-filter-link, .ff-shop-clear, .ff-filter-drawer-close):focus-visible,
html .ff-shop .ff-shop-check input[type="checkbox"]:focus-visible,
html .ff-shop .ff-shop-price-range:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-check:hover input[type="checkbox"] {
    border-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-check input[type="checkbox"]:checked {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-check:has(input:checked) .ff-shop-check-label {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-filter-link:hover,
html .ff-shop .ff-shop-filter-link.is-current {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-filter-link.is-current {
    font-weight: var(--ff-weight-medium, 500);
}
/* price range: burgundy thumb, warm track */
html .ff-shop .ff-shop-price-range {
    accent-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-price-range::-webkit-slider-thumb {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-price-range::-moz-range-thumb {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-price-range:focus-visible::-webkit-slider-thumb {
    border-color: var(--ff-colour-white, #fff);
    box-shadow: 0 0 0 2px var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-price-range:focus-visible::-moz-range-thumb {
    border-color: var(--ff-colour-white, #fff);
    box-shadow: 0 0 0 2px var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-price-value {
    font-weight: var(--ff-weight-medium, 500);
    color: var(--ff-colour-burgundy, #742D37);
}
/* clear all + drawer apply */
html .ff-shop .ff-shop-clear,
html .ff-shop .ff-shop-clear:visited {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-filter-apply {
    text-transform: none;
    letter-spacing: 0.02em;
}
/* pagination: burgundy current page + hover, burgundy focus ring */
html .ff-shop .ff-shop-pagination a.ff-shop-page:is(:hover, :focus-visible),
html .ff-shop .ff-shop-pagination .ff-shop-page.is-current {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-pagination .ff-shop-page.is-current {
    font-weight: var(--ff-weight-medium, 500);
}
html .ff-shop .ff-shop-pagination .ff-shop-page.is-current::after {
    height: 2px;
}
html .ff-shop .ff-shop-pagination a.ff-shop-page-arrow:is(:hover, :focus-visible)::before {
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-shop .ff-shop-pagination :is(a.ff-shop-page, a.ff-shop-page-arrow):focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
    border-radius: 2px;
}
/* tablet / phone toolbar + drawer */
@media (max-width: 1119px) {
    html .ff-shop .ff-shop-toolbar-button {
        border-color: var(--ff-shop-field-border);
        text-transform: none;
        letter-spacing: 0.02em;
        color: var(--ff-colour-brown, #302821);
    }
    html .ff-shop .ff-shop-toolbar-button:hover {
        border-color: var(--ff-colour-burgundy, #742D37);
    }
    html .ff-shop :is(.ff-shop-filter-open:focus-visible, .ff-shop-toolbar-sort:focus-within) {
        border-color: var(--ff-colour-burgundy, #742D37);
        outline-color: var(--ff-colour-burgundy, #742D37);
    }
    html .ff-shop .ff-shop-filter-count {
        background-color: var(--ff-colour-burgundy, #742D37);
    }
    html.ff-js .ff-shop .ff-shop-filters {
        background-color: var(--ff-colour-cream-light, #FCFAF6);
    }
    html.ff-js .ff-shop .ff-filter-drawer-foot {
        border-top-color: var(--ff-shop-line);
        background-color: var(--ff-colour-cream-light, #FCFAF6);
    }
    html .ff-shop .ff-filter-drawer-title {
        text-transform: none;
        letter-spacing: 0.01em;
        font-size: 20px;
        color: var(--ff-colour-brown, #302821);
    }
    html .ff-shop .ff-filter-drawer-close::before,
    html .ff-shop .ff-filter-drawer-close::after {
        background-color: var(--ff-colour-brown, #302821);
    }
}
/* phones: the scallop trim stays on every page / catalogue hero (the base archive rule hides .ff-archive-hero::after below 768px) */
@media (max-width: 767px) {
    html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero)::after {
        display: block;
    }
}
/* category archives have no intro band: the products start below the curved hero arrow (58 / 46 / 30px overhang) */
html .ff-shop .ff-category-hero ~ .ff-shop-body {
    padding-top: 104px;
}
@media (max-width: 1023px) {
    html .ff-shop .ff-category-hero ~ .ff-shop-body {
        padding-top: 84px;
    }
}
@media (max-width: 767px) {
    html .ff-shop .ff-category-hero ~ .ff-shop-body {
        padding-top: 56px;
    }
}

/* ---- 8. SINGLE PRODUCT - the approved language on "FF — Single Product" (#806). Structure, data and behaviour are the
   existing ones (includes/single-product.php shortcodes + the site script: gallery, variations, quantity, AJAX add to
   cart, wishlist, accordion); this block only restyles them. Cream-light page with white image areas, Jost Bold H1 on a
   responsive scale capped at 52px, Jost Regular copy and prices, warm hairlines, burgundy selected / hover / focus states.
   Related-product cards use the shared homepage / catalogue card rules (selector lists above). */
html .ff-product-single {
    --ff-product-line: #E6DACA;
    --ff-product-field-border: #DCCFBD;
    --ff-product-accent: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-cream-light, #FCFAF6);
    color: var(--ff-colour-brown, #302821);
}
/* breadcrumbs */
html .ff-product-single .ff-product-breadcrumbs ol,
html .ff-product-single .ff-product-breadcrumb-link,
html .ff-product-single .ff-product-breadcrumb-link:visited {
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-breadcrumb-link:hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-product-breadcrumb-link:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
/* gallery: white image area, cream counter, burgundy selected thumbnail + focus */
html .ff-product-single .ff-product-gallery-track:focus-visible,
html .ff-product-single .ff-product-gallery-arrow:focus-visible,
html .ff-product-single .ff-product-thumbnail:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-product-gallery-counter {
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-product-single .ff-product-gallery-count {
    font-weight: var(--ff-weight-medium, 500);
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-gallery-arrow::before {
    background-color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-gallery-arrow:not(:disabled):hover::before {
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-product-thumbnail:hover {
    border-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-product-thumbnail[aria-current="true"] {
    border-color: var(--ff-colour-burgundy, #742D37);
    box-shadow: inset 0 0 0 1px var(--ff-colour-burgundy, #742D37);
}
/* share */
html .ff-product-single .ff-share-label {
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-share a.ff-share-action,
html .ff-product-single .ff-share .ff-share-action {
    border-color: rgba(116, 45, 55, 0.45);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-share .ff-share-action:hover {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-product-single .ff-share .ff-share-action:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
/* title + price + availability */
html .ff-product-single .ff-product-single-title {
    margin-bottom: 14px;
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-size: clamp(30px, 0.9rem + 2.1vw, 52px);
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.06;
    letter-spacing: -0.005em;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-single-price {
    font-size: clamp(20px, 1.05rem + 0.35vw, 24px);
    font-weight: var(--ff-weight-regular, 400);
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-single-price :is(ins, .amount) {
    font-weight: var(--ff-weight-regular, 400);
}
html .ff-product-single .ff-product-availability {
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-availability-label {
    font-weight: var(--ff-weight-medium, 500);
    text-transform: none;
    letter-spacing: 0;
}
/* variation fields */
html .ff-product-single .ff-product-field-label {
    font-weight: var(--ff-weight-medium, 500);
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-field select {
    border-color: var(--ff-colour-brown, #302821);
    font-weight: var(--ff-weight-regular, 400);
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-field select:hover {
    border-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-product-field select:focus-visible {
    border-color: var(--ff-colour-burgundy, #742D37);
    outline-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-product-reset,
html .ff-product-single .ff-product-reset:visited,
html .ff-product-single .ff-product-reset:hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-product-reset:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
/* quantity */
html .ff-product-single .ff-quantity-control {
    border-color: var(--ff-colour-brown, #302821);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-product-single .ff-quantity-step::before,
html .ff-product-single .ff-quantity-step::after {
    background-color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-quantity-step:not(:disabled):hover::before,
html .ff-product-single .ff-quantity-step:not(:disabled):hover::after {
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-quantity-step:focus-visible,
html .ff-product-single .ff-quantity-control:focus-within {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-quantity-control .ff-quantity-input[type="number"] {
    font-weight: var(--ff-weight-regular, 400);
    color: var(--ff-colour-brown, #302821);
}
/* add to cart (shared burgundy primary), wishlist like the card controls */
html .ff-product-single .ff-product-add:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 3px;
}
html .ff-product-single .ff-wishlist-control--large {
    border-color: rgba(116, 45, 55, 0.45);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-product-single .ff-wishlist-control--large:is(:hover, [aria-expanded="true"], :focus-visible) {
    border-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-wishlist-control--large:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
html .ff-product-single .ff-wishlist-control--large .ff-wishlist-icon::before,
html .ff-product-single .ff-wishlist-control--large .ff-wishlist-icon::after {
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single :is(.ff-product-hint, .ff-product-purchase-status, .ff-product-variation p) {
    color: var(--ff-colour-brown, #302821);
}
/* notices (WooCommerce messages printed above the summary) */
html .ff-product-single .ff-product-notices > * {
    border: 1px solid var(--ff-product-line);
    border-left: 3px solid var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-cream, #F3EEE5);
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-notices a {
    color: var(--ff-colour-burgundy, #742D37);
}
/* description / details accordion + specs */
html .ff-product-single .ff-product-acc-button {
    font-weight: var(--ff-weight-medium, 500);
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-acc-button:hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-product-acc-button:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single :is(.ff-product-detail-copy, .ff-product-detail-title, .ff-product-specs-list) {
    color: var(--ff-colour-brown, #302821);
}
html .ff-product-single .ff-product-detail-title {
    font-weight: var(--ff-weight-medium, 500);
}
/* related products: section heading on the shared scale (text kept; shown in sentence case like the homepage) */
html .ff-product-single .ff-related-products .ff-section-title {
    font-size: var(--ff-section-heading-size);
    line-height: 1.1;
    color: var(--ff-colour-brown, #302821);
}
/* the stored text is capitalised; the global heading rule (text-transform: none) reaches id specificity (1,2,0) through
   #order_review_heading in its :is() list, so this needs (1,2,1) */
html .ff-product-single .ff-related-products #ff-related-title {
    text-transform: lowercase;
}
html .ff-product-single .ff-related-products #ff-related-title::first-letter {
    text-transform: uppercase;
}

/* ---- 9. CORRECTION ROUND 2026-11-12 ---- */
/* 9a. footer block strip around the FF badge: the strip used to tile from the left edge, so the bar pattern met the
   centred badge at a different phase on every viewport and a sliver of a bar showed beside the badge. The strip is now
   one bar + gap tile (39 : 30.4 of 48) repeated outward from the centre, with the centre of a gap exactly at 50%, and
   the badge's cream mask is exactly three periods minus one bar wide: both mask edges land on bar ends at every width
   (+1px each side for anti-aliasing), so no partial bar can appear next to the badge. Bars and badge are unchanged. */
html .ff-site-footer {
    --ff-footer-period: calc(var(--ff-footer-border-h) * 69.4 / 48);
    --ff-footer-bar: calc(var(--ff-footer-border-h) * 39 / 48);
}
html .ff-site-footer::before,
html body .ff-site-footer::before {
    background:
        linear-gradient(90deg,
            var(--ff-colour-burgundy, #742D37) 0 var(--ff-footer-bar),
            var(--ff-colour-cream-light, #FCFAF6) var(--ff-footer-bar) 100%)
        calc(50% - var(--ff-footer-bar) / 2) 0 / var(--ff-footer-period) 100% repeat-x;
}
html .ff-site-footer::after {
    width: calc(3 * var(--ff-footer-period) - var(--ff-footer-bar) + 2px);
}

/* 9b. heading accents (site script initHeadingAccents): one word per page-hero heading, section heading, subheading
   and product H1 in burgundy with a hand-drawn squiggle (aria-hidden SVG generated for the word's width, so the stroke
   never stretches). Kept homepage accents keep their own colour and only gain the squiggle. Inverse (cream) on dark
   sections. The squiggle sits below the descender line and the accented word's line gets room for it (bottom margin on
   the inline-block), so it never touches the next line or the copy below. Font family, weight, size and line-height
   are untouched. */
.ff-accent-word {
    position: relative;
    display: inline-block;
}
.ff-accent-word:not(.ff-accent-word--kept) {
    color: var(--ff-colour-burgundy, #742D37);
}
.ff-accent-word--inverse:not(.ff-accent-word--kept) {
    color: var(--ff-colour-cream-light, #FCFAF6);
}
/* room for the squiggle under the accented word's line (the squiggle hangs ~0.3em below the word) */
.ff-accent-word,
.ff-accent-word.is-inner-line {
    margin-bottom: calc(0.4em + 2px);
}
.ff-squiggle {
    position: absolute;
    top: calc(100% + 0.1em + 2px);
    left: -0.06em;
    width: calc(100% + 0.12em);
    height: clamp(9px, 0.28em, 16px);
    overflow: visible;
    color: var(--ff-colour-burgundy, #742D37);
    pointer-events: none;
}
.ff-accent-word--inverse .ff-squiggle {
    color: var(--ff-colour-cream, #F3EEE5);
}
.ff-squiggle path {
    fill: none;
    stroke: currentColor;
    stroke-width: 2.4;
    stroke-linecap: round;
    stroke-linejoin: round;
}
html.ff-motion .ff-squiggle path {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    transition: stroke-dashoffset 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.25s;
}
html.ff-motion .ff-accent-word.is-drawn .ff-squiggle path {
    stroke-dashoffset: 0;
}
html.ff-motion .ff-accent-word.is-drawn:not(.ff-accent-word--kept) {
    animation: ff-accent-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
}

/* 9c. bold, playful motion (2026-11-12). Everything is keyed on html.ff-motion (set in <head> unless the visitor asks
   for reduced motion) and only animates opacity + the individual translate / scale / rotate properties, so existing
   transforms, layout, Swiper, gallery scroll-snap, accordion sizing and sticky controls are untouched.
   Fill mode is "backwards": while waiting / running the animation applies, afterwards nothing is left behind (no
   lingering identity transform, so no extra stacking contexts or containing blocks once a block has settled).
   - Above the fold (CSS only, plays from first paint): hero headings / copy / CTAs bounce in one after another, hero
     photos zoom-settle (always visible: LCP priority kept), sparkles spin in then twinkle, the curved arrow pops.
   - Below the fold (site script initReveal adds the classes): blocks pop up with an overshoot, headers stagger their
     children, media zooms and tilts into place, cards cascade with alternating tilts, squiggles draw. */
@keyframes ff-pop {
    0% { opacity: 0; translate: 0 64px; scale: 0.88; }
    55% { opacity: 1; }
    100% { opacity: 1; translate: 0 0; scale: 1; }
}
@keyframes ff-pop-tilt-l {
    0% { opacity: 0; translate: -28px 72px; rotate: -7deg; scale: 0.84; }
    55% { opacity: 1; }
    100% { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; }
}
@keyframes ff-pop-tilt-r {
    0% { opacity: 0; translate: 28px 72px; rotate: 7deg; scale: 0.84; }
    55% { opacity: 1; }
    100% { opacity: 1; translate: 0 0; rotate: 0deg; scale: 1; }
}
@keyframes ff-zoom-tilt {
    0% { opacity: 0; scale: 1.22; rotate: -4deg; }
    45% { opacity: 1; }
    100% { opacity: 1; scale: 1; rotate: 0deg; }
}
@keyframes ff-hero-in {
    0% { opacity: 0; translate: 0 56px; scale: 0.9; rotate: -2deg; }
    55% { opacity: 1; }
    100% { opacity: 1; translate: 0 0; scale: 1; rotate: 0deg; }
}
@keyframes ff-hero-zoom {
    from { scale: 1.14; }
    to { scale: 1; }
}
@keyframes ff-sparkle-pop {
    0% { opacity: 0; scale: 0; rotate: -220deg; }
    70% { opacity: 1; scale: 1.4; rotate: 25deg; }
    100% { opacity: 1; scale: 1; rotate: 0deg; }
}
@keyframes ff-twinkle {
    0%, 100% { scale: 1; rotate: 0deg; }
    50% { scale: 1.22; rotate: 24deg; }
}
@keyframes ff-accent-pop {
    0% { scale: 1; rotate: 0deg; }
    40% { scale: 1.12; rotate: -3deg; }
    100% { scale: 1; rotate: 0deg; }
}
@keyframes ff-arrow-pop {
    0% { opacity: 0; scale: 0.4; rotate: -30deg; }
    70% { opacity: 1; scale: 1.12; rotate: 6deg; }
    100% { opacity: 1; scale: 1; rotate: 0deg; }
}

/* above the fold: heroes */
html.ff-motion :is(.ff-home-hero-title, .ff-home-hero-copy, .ff-home-hero-actions),
html.ff-motion :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero) .ff-archive-hero-content > *,
html.ff-motion .ff-text-hero :is(h1, h1 ~ *),
html.ff-motion .ff-product-summary > :is(.ff-product-single-badges, .ff-product-single-title, .ff-product-single-price) {
    animation: ff-hero-in 0.95s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
html.ff-motion .ff-home-hero-title,
html.ff-motion :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero) .ff-archive-hero-content > :nth-child(1),
html.ff-motion .ff-text-hero h1,
html.ff-motion .ff-product-summary > .ff-product-single-badges { animation-delay: 0.08s; }
html.ff-motion .ff-home-hero-copy,
html.ff-motion :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero) .ff-archive-hero-content > :nth-child(2),
html.ff-motion .ff-text-hero h1 + *,
html.ff-motion .ff-product-summary > .ff-product-single-title { animation-delay: 0.24s; }
html.ff-motion .ff-home-hero-actions,
html.ff-motion :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero) .ff-archive-hero-content > :nth-child(3),
html.ff-motion .ff-text-hero h1 + * + *,
html.ff-motion .ff-product-summary > .ff-product-single-price { animation-delay: 0.4s; }
html.ff-motion :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero) .ff-archive-hero-content > :nth-child(n+4) { animation-delay: 0.56s; }
html.ff-motion :is(.ff-home-hero-photo, .ff-archive-hero-media img, .ff-contact-hero img) {
    animation: ff-hero-zoom 1.8s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}
html.ff-motion .ff-product-gallery-stage {
    animation: ff-hero-zoom 1.4s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
}
html.ff-motion .ff-home-hero-sparkle,
html.ff-motion :is(.ff-page-hero, .ff-text-hero, .ff-contact-hero, .ff-shop-hero, .ff-category-hero)::before {
    animation:
        ff-sparkle-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.55s backwards,
        ff-twinkle 3.8s ease-in-out 1.6s infinite;
}
html.ff-motion .ff-home-hero-sparkle--split {
    animation-delay: 0.8s, 1.9s;
}
html.ff-motion :is(.ff-home-hero, .ff-page-hero, .ff-shop-hero, .ff-category-hero, .ff-contact-hero) > .ff-hero-arrow {
    animation: ff-arrow-pop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.9s backwards;
}

/* below the fold: blocks tagged by the site script */
html.ff-motion .ff-reveal {
    opacity: 0;
    transform: none;
    transition: none;
}
html.ff-motion .ff-reveal.ff-reveal--in {
    opacity: 1;
    animation: ff-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) var(--ff-reveal-delay, 0ms) backwards;
}
html.ff-motion .ff-reveal--media.ff-reveal--in {
    animation-name: ff-zoom-tilt;
    animation-duration: 1.2s;
    animation-timing-function: cubic-bezier(0.22, 1.25, 0.36, 1);
}
html.ff-motion .ff-reveal--tilt-l.ff-reveal--in { animation-name: ff-pop-tilt-l; }
html.ff-motion .ff-reveal--tilt-r.ff-reveal--in { animation-name: ff-pop-tilt-r; }
html.ff-motion .ff-reveal--sparkle.ff-reveal--in {
    animation:
        ff-sparkle-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) var(--ff-reveal-delay, 0ms) backwards,
        ff-twinkle 3.8s ease-in-out calc(var(--ff-reveal-delay, 0ms) + 1s) infinite;
}
/* staggered headers: the wrapper stays put, its children (eyebrow, heading, copy, CTA, sparkle) pop in turn */
html.ff-motion .ff-reveal--stagger,
html.ff-motion .ff-reveal--stagger.ff-reveal--in {
    opacity: 1;
    animation: none;
}
html.ff-motion .ff-reveal--stagger:not(.ff-reveal--in) > * {
    opacity: 0;
}
html.ff-motion .ff-reveal--stagger.ff-reveal--in > * {
    animation: ff-pop 0.85s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--ff-reveal-delay, 0ms) + var(--ff-i, 0) * 120ms) backwards;
}
html.ff-motion .ff-reveal--stagger.ff-reveal--in > :nth-child(2) { --ff-i: 1; }
html.ff-motion .ff-reveal--stagger.ff-reveal--in > :nth-child(3) { --ff-i: 2; }
html.ff-motion .ff-reveal--stagger.ff-reveal--in > :nth-child(4) { --ff-i: 3; }
html.ff-motion .ff-reveal--stagger.ff-reveal--in > :nth-child(n+5) { --ff-i: 4; }
html.ff-motion .ff-reveal--stagger.ff-reveal--in > img[class*="-sparkle"] {
    animation:
        ff-sparkle-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) calc(var(--ff-reveal-delay, 0ms) + 0.3s) backwards,
        ff-twinkle 3.8s ease-in-out calc(var(--ff-reveal-delay, 0ms) + 1.3s) infinite;
}
/* sparkles already on screen at load: pop + twinkle too (CSS only) */
html.ff-motion img[class*="-sparkle"]:not(.ff-reveal):not(.ff-home-hero-sparkle) {
    animation:
        ff-sparkle-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s backwards,
        ff-twinkle 3.8s ease-in-out 1.6s infinite;
}
html.ff-motion .ff-reveal img[class*="-sparkle"]:not(.ff-reveal--in *) {
    animation: none;
}
@media (prefers-reduced-motion: reduce) {
    html .ff-reveal,
    html .ff-reveal--stagger > * {
        opacity: 1 !important;
        animation: none !important;
    }
    html .ff-squiggle path {
        stroke-dashoffset: 0 !important;
    }
}
/* tilted / zoomed entrances never widen the page: the animated page bodies clip horizontally only (overflow-x: clip
   creates no scroll container, so sticky elements, the fixed filter drawer and vertical scallops are unaffected) */
html.ff-motion :is(.ff-home > .ff-home-section, .ff-shop .ff-shop-body, .ff-shop .ff-shop-intro, .ff-product-single > .ff-related-products, .ff-hub-layout) {
    overflow-x: clip;
}

/* ---- 10. CART + CHECKOUT (2026-11-12) - the approved language on pages 12 / 13 ([ff_commerce] around WooCommerce's
   classic cart / checkout). Presentation only: totals, coupons, delivery, tax, validation, gateways, terms and every
   WooCommerce hook / fragment are untouched. My Account (page 14) joined in the account pass (section 11d).
   Cream-light page, white panels on warm hairlines, H1 on the shared scale (capped at 52px, accent + squiggle from the
   site script), Jost Regular copy / names / prices, warm field borders, burgundy selected states and focus rings,
   sentence-case buttons and links. Entrances run once on wrappers WooCommerce never replaces. */
html .ff-commerce-page:has(.ff-commerce:is(.ff-commerce--cart, .ff-commerce--checkout, .ff-commerce--order-pay, .ff-commerce--account)) {
    background-color: var(--ff-colour-cream-light, #FCFAF6);
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce:is(.ff-commerce--cart, .ff-commerce--checkout, .ff-commerce--order-pay, .ff-commerce--account) {
    --ffc-line: #E6DACA;
    --ffc-field: #8F8274;
    --ffc-muted: #6E6259;
    --ffc-panel-line: var(--ff-colour-cream-deep, #EDE1CF);
    --ffc-accent: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-brown, #302821);
    accent-color: var(--ff-colour-burgundy, #742D37);
}
/* page head: steps (eyebrow style) + H1 */
html .ff-commerce .ff-commerce-title {
    font-size: var(--ff-section-heading-size);
    line-height: 1.08;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce .ff-commerce-steps li.is-current {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce .ff-commerce-steps li.is-done,
html .ff-commerce .ff-commerce-steps a,
html .ff-commerce .ff-commerce-steps a:visited {
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce .ff-commerce-steps a:hover {
    color: var(--ff-colour-burgundy, #742D37);
}
/* shared: links, focus, fields, buttons, notices */
html .ff-commerce :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible,
html .ff-commerce .select2-selection:focus,
html .ff-commerce .select2-container--focus .select2-selection {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
html .ff-commerce :is(.woocommerce-privacy-policy-link, .woocommerce-terms-and-conditions-link, .showlogin, .showcoupon, .shipping-calculator-button, .ff-commerce-link):hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce :is(input.input-text, textarea.input-text, select:not(.select2-hidden-accessible), .select2-selection--single),
html .ff-commerce .coupon input.input-text {
    border-color: var(--ffc-field);
    border-radius: 2px;
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce :is(input.input-text, textarea.input-text, select:not(.select2-hidden-accessible)):hover,
html .ff-commerce .select2-selection--single:hover {
    border-color: var(--ff-colour-brown, #302821);
}
html .ff-commerce :is(input.input-text, textarea.input-text, select):focus,
html .ff-commerce .select2-container--focus .select2-selection--single,
html .ff-commerce .select2-container--open .select2-selection--single {
    border-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce .form-row label,
html .ff-commerce .ff-checkout-section-title {
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce .form-row .required,
html .ff-commerce abbr.required {
    color: var(--ff-colour-burgundy, #742D37);
    text-decoration: none;
}
html .ff-commerce .form-row.woocommerce-invalid :is(input.input-text, select, .select2-selection) {
    border-color: var(--ffc-error);
}
html .ff-commerce :is(.button, .checkout-button, button.button, #place_order, .ff-btn-primary) {
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-commerce .coupon button.button {
    border-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-burgundy, #742D37);
    background-color: transparent;
}
html .ff-commerce .coupon button.button:is(:hover, :focus-visible) {
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .ff-commerce :is(.woocommerce-info, .woocommerce-message, .woocommerce-error, .wc-block-components-notice-banner) {
    border: 1px solid var(--ffc-line);
    border-left: 3px solid var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce .woocommerce-error {
    border-left-color: var(--ffc-error);
}
html .ff-commerce :is(.woocommerce-info, .woocommerce-message) a {
    color: var(--ff-colour-burgundy, #742D37);
}

/* cart */
html .ff-commerce--cart .ff-commerce-link.ff-cart-continue,
html .ff-commerce--cart .ff-commerce-link.ff-cart-continue:visited {
    font-size: 15px;
    font-weight: var(--ff-weight-medium, 500);
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce--cart .coupon label {
    text-transform: none;
    letter-spacing: 0;
    font-weight: var(--ff-weight-medium, 500);
}
html .ff-commerce--cart table.cart td.product-name a,
html .ff-commerce--cart table.cart td.product-name a:visited {
    font-weight: var(--ff-weight-regular, 400);
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--cart table.cart td.product-name a:hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce--cart table.cart :is(td.product-price, td.product-subtotal) {
    font-weight: var(--ff-weight-regular, 400);
}
html .ff-commerce--cart table.cart td.product-subtotal {
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--cart table.cart td.product-thumbnail img {
    background-color: var(--ff-colour-white, #fff);
}
html .ff-commerce--cart table.cart a.remove,
html .ff-commerce--cart table.cart a.remove:visited {
    color: var(--ffc-muted);
}
html .ff-commerce--cart table.cart a.remove:hover {
    background: transparent;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce--cart .ff-mini-cart-stepper {
    border-color: var(--ffc-field);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-commerce--cart .ff-mini-cart-step:not(:disabled):hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce--cart table.cart tr.cart_item {
    border-color: var(--ffc-line);
}
/* order summary panels (cart totals, checkout summary) + checkout boxes */
html .ff-commerce :is(.cart_totals, .ff-checkout-summary),
html .ff-commerce form.checkout > .ff-checkout-summary {
    border-color: var(--ffc-panel-line);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-commerce .cart_totals > h2,
html .ff-commerce .ff-checkout-summary #order_review_heading,
html .ff-commerce .ff-checkout-summary > h3 {
    font-size: 20px;
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce :is(.cart_totals, .ff-checkout-summary) tr.order-total {
    border-top-color: var(--ff-colour-brown, #302821);
}
html .ff-commerce :is(.cart_totals, .ff-checkout-summary) :is(tr, th, td) {
    border-color: var(--ffc-line);
}
html .ff-commerce .woocommerce-shipping-methods li:has(input:checked) label {
    font-weight: var(--ff-weight-medium, 500);
    color: var(--ff-colour-burgundy, #742D37);
}
/* checkout */
html .ff-commerce--checkout .ff-checkout-section-title {
    font-size: 20px;
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0;
    text-transform: none;
}
html .ff-commerce--checkout .woocommerce-shipping-fields #ship-to-different-address,
html .ff-commerce--checkout .woocommerce-shipping-fields > h3 {
    border-color: var(--ffc-line);
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--checkout :is(.woocommerce-additional-fields, .ff-checkout-payment) {
    border-color: var(--ffc-line);
}
html .ff-commerce--checkout .woocommerce #payment ul.payment_methods li {
    border-color: var(--ffc-line);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-commerce--checkout .woocommerce #payment ul.payment_methods li:has(input:checked) {
    border-color: var(--ff-colour-burgundy, #742D37);
    box-shadow: inset 0 0 0 1px var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce--checkout .woocommerce #payment ul.payment_methods div.payment_box {
    background-color: var(--ff-colour-cream, #F3EEE5);
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--checkout .woocommerce #payment ul.payment_methods div.payment_box::before {
    border-bottom-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-commerce--checkout :is(.woocommerce-terms-and-conditions-wrapper, .ff-checkout-trust) {
    color: var(--ffc-muted);
}
html .ff-commerce--checkout .ff-review-name {
    font-weight: var(--ff-weight-regular, 400);
}

/* popular picks under the cart: the shared approved card + section heading treatment */
html .ff-commerce .ff-cart-popular .ff-cart-popular-title {
    font-size: var(--ff-intro-heading-size);
    font-weight: var(--ff-weight-bold, 700);
    color: var(--ff-colour-brown, #302821);
}

/* entrances: once, on wrappers WooCommerce never replaces (AJAX swaps the forms, totals, review table and payment
   area inside them), so updating totals / payment never replays an animation */
html.ff-motion .ff-commerce .ff-commerce-head > * {
    animation: ff-hero-in 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}
html.ff-motion .ff-commerce .ff-commerce-head > .ff-commerce-title {
    animation-delay: 0.12s;
}
html.ff-motion .ff-commerce--cart .ff-cart-layout,
html.ff-motion .ff-commerce--checkout form.checkout > .col2-set {
    animation: ff-pop 0.95s cubic-bezier(0.34, 1.56, 0.64, 1) 0.25s backwards;
}
html.ff-motion .ff-commerce--checkout .ff-checkout-summary {
    animation: ff-pop-tilt-r 1s cubic-bezier(0.34, 1.56, 0.64, 1) 0.4s backwards;
}
/* terms checkbox row: the label flows as text (the checkbox sits at its start), so the required "*" stays right after
   "terms and conditions" when the sentence wraps on phones instead of drifting to the far edge */
html .ff-commerce--checkout .woocommerce-terms-and-conditions-wrapper .form-row label.woocommerce-form__label-for-checkbox {
    position: relative;
    display: block;
    padding-left: 28px;
}
html .ff-commerce--checkout .woocommerce-terms-and-conditions-wrapper .form-row label.woocommerce-form__label-for-checkbox > input[type="checkbox"] {
    position: absolute;
    top: 0.2em;
    left: 0;
    margin: 0;
}
/* focus: the commerce base rules (gold field ring, dark outlines) outrank the shared rule above - same selectors here,
   so every focused field, radio, checkbox and remove link shows the 2px burgundy ring of the rest of the site */
html .ff-commerce:is(.ff-commerce--cart, .ff-commerce--checkout, .ff-commerce--order-pay, .ff-commerce--account) .woocommerce :is(input.input-text, input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="number"], select, textarea):focus,
html .ff-commerce:is(.ff-commerce--cart, .ff-commerce--checkout, .ff-commerce--order-pay, .ff-commerce--account) .woocommerce :is(.select2-container--focus, .select2-container--open) .select2-selection--single {
    border-color: var(--ff-colour-burgundy, #742D37);
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 1px;
    box-shadow: none;
}
html .ff-commerce:is(.ff-commerce--cart, .ff-commerce--checkout, .ff-commerce--order-pay, .ff-commerce--account) .woocommerce :is(input[type="checkbox"], input[type="radio"]):focus-visible,
html .ff-commerce--cart .woocommerce-cart-form td.product-remove a.remove:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
html .ff-commerce--cart .woocommerce-cart-form td.product-remove a.remove:is(:hover, :focus-visible) {
    background-color: var(--ff-colour-cream, #F3EEE5);
    color: var(--ff-colour-burgundy, #742D37) !important;
}

/* ---- 11. HOMEPAGE HERO COPY WIDTH + SHARED ACCORDION SPLIT (2026-11-12) ---- */
/* 11a. hero body copy: its right edge lines up with the visible end of "bite." (site script initHeroCopyWidth measures
   the heading's last line after fonts and the entrance animation, trims the final glyph's side bearing and sets
   --ff-hero-copy-w); natural wrapping; the previous em caps remain the no-JS fallback */
html .ff-home .ff-home-hero .ff-home-hero-copy {
    max-width: var(--ff-hero-copy-w, 16.75em);
}
@media (max-width: 767px) {
    html .ff-home .ff-home-hero .ff-home-hero-copy {
        max-width: var(--ff-hero-copy-w, 22em);
    }
}

/* 11b. image + accordion sections (Sugar-Free "Why choose", Gifting "Why choose", Wholesale "Who we work with") in
   the homepage story language: full-width 50 / 50 split, the existing layered artwork centred on a cream panel at its
   own XD proportions (never stretched or re-cropped), a burgundy panel with the copy aligned to the 1280 grid, Fraunces
   Light heading (cap 52px) with a cream italic accent + squiggle, white Jost copy, the story accordion and inverse
   buttons. Desktop: the tallest open state is reserved (initStoryAccordionHeight), so switching items never changes
   the band height. Phones: artwork above, copy below, natural height. Copy, images, items and links unchanged. */
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) {
    --ff-acc-pad: clamp(40px, 5vw, 80px);
    padding: 0;
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) > .ff-split-inner {
    container-type: inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    column-gap: 0;
    width: 100%;
    max-width: none;
    min-height: clamp(560px, 44vw, 680px);
    margin: 0;
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-media--layered {
    align-self: center;
    justify-self: center;
    width: calc(100% - 2 * clamp(24px, 4vw, 64px));
    margin: clamp(40px, 4.5vw, 72px) 0;
}
html .ff-content-page .ff-sf-why .ff-split-media--layered { max-width: 560px; }
html .ff-content-page .ff-gift-why .ff-split-media--layered { max-width: 600px; }
html .ff-content-page .ff-who-we-work-with .ff-split-media--layered { max-width: 560px; }
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: clamp(64px, 7vw, 104px) max(var(--ff-container-gutter, 20px), calc(50cqi - 640px)) clamp(64px, 7vw, 104px) var(--ff-acc-pad);
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content > * {
    width: 100%;
    max-width: 560px;
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content > .ff-section-title {
    margin: 0 0 clamp(14px, 1.4vw, 20px);
    font-family: var(--ff-font-display-stack);
    font-size: var(--ff-section-heading-display-size);
    font-weight: 300;
    font-style: normal;
    font-synthesis: none;
    line-height: 1.1;
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content > .ff-section-title .ff-accent-word {
    font-style: italic;
    font-weight: 300;
    color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content :is(.ff-body, p) {
    font-weight: var(--ff-weight-regular, 400);
    line-height: 1.65;
    color: var(--ff-colour-white, #fff);
}
/* accordion on burgundy (same values as the homepage story) */
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-home-story-accordion {
    margin-top: clamp(20px, 2vw, 28px);
    margin-bottom: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-home-story-accordion .bde-accordion__content-wrapper + .bde-accordion__content-wrapper {
    border-top: 1px solid rgba(255, 255, 255, 0.28);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-home-story-accordion .bde-accordion__button {
    padding: 17px 2px;
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-home-story-accordion .bde-accordion__title {
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-home-story-accordion .bde-accordion__icon {
    background: currentColor;
    -webkit-mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    transition: transform 0.25s ease;
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-home-story-accordion .bde-accordion__button:focus-visible {
    outline: 2px solid var(--ff-colour-white, #fff);
    outline-offset: 2px;
    border-radius: 2px;
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-home-story-accordion .bde-accordion__panel-content {
    padding: 0 0 18px;
    color: var(--ff-colour-white, #fff);
}
/* inverse buttons */
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content > .ff-home-hero-actions {
    margin-top: clamp(28px, 3vw, 40px);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content :is(.ff-btn-primary, .ff-btn-primary:visited) {
    border: 1px solid var(--ff-colour-white, #fff);
    background-color: transparent;
    box-shadow: none;
    color: var(--ff-colour-white, #fff);
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content .ff-btn-primary:is(:hover, :focus-visible) {
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content :is(.ff-btn-secondary, .ff-btn-secondary:visited) {
    color: var(--ff-colour-white, #fff);
    text-transform: none;
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content :is(.ff-btn-primary, .ff-btn-secondary, a):focus-visible {
    outline: 2px solid var(--ff-colour-white, #fff);
    outline-offset: 3px;
}
@media (min-width: 768px) {
    html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content {
        justify-content: flex-start;
        min-height: var(--ff-story-reserve, 0px);
    }
}
@media (max-width: 767px) {
    html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) > .ff-split-inner {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-media--layered {
        width: calc(100% - 2 * var(--ff-container-gutter, 20px));
        margin: 32px 0;
    }
    html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content {
        padding: 48px var(--ff-container-gutter, 20px) 56px;
    }
    html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content > * {
        max-width: none;
    }
}
@media (prefers-reduced-motion: reduce) {
    html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-home-story-accordion .bde-accordion__icon {
        transition: none;
    }
}

/* 11c. standalone accordion (product information) on light backgrounds: the same typography and controls - Jost
   Bold labels, Jost Regular copy, hairline separators, chevron in the label colour, burgundy focus ring */
html .ff-product-single .ff-product-acc-button {
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0.01em;
}
html .ff-product-single .ff-product-acc-icon {
    background: currentColor;
    -webkit-mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
}
html .ff-product-single .ff-product-acc-button:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
    border-radius: 2px;
}
html .ff-product-single .ff-product-detail-copy {
    font-weight: var(--ff-weight-regular, 400);
}

/* 11d. MY ACCOUNT (page 14: login / register, lost + reset password, dashboard, orders, view order, addresses, account
   details, My Lists) - the Cart / Checkout language (section 10 now includes .ff-commerce--account: cream-light page,
   white panels, warm field borders, burgundy focus + selected states, sentence-case buttons, notices) plus the account
   pieces below. Routes, fields, requirements, validation and session handling are WooCommerce's, untouched. */
html .ff-commerce--account .ff-account-nav ul {
    border-top-color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--account .ff-account-nav li {
    border-bottom-color: var(--ffc-line);
}
html .ff-commerce--account .woocommerce .ff-account-nav li a,
html .ff-commerce--account .woocommerce .ff-account-nav li a:visited {
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--account .woocommerce .ff-account-nav li a:hover {
    background-color: var(--ff-colour-cream, #F3EEE5);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce--account .woocommerce .ff-account-nav li.is-active a {
    font-weight: var(--ff-weight-bold, 700);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce--account .woocommerce .ff-account-nav li.is-active a::before {
    width: 3px;
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-commerce--account .woocommerce .ff-account-nav li.woocommerce-MyAccount-navigation-link--customer-logout a {
    color: var(--ffc-muted);
}
html .ff-commerce--account .ff-account-nav.is-enhanced .ff-account-nav-toggle {
    border-color: var(--ffc-field);
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--account .ff-account-nav.is-enhanced .ff-account-nav-toggle:focus-visible {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
/* content headings: account section titles, login / register, address cards, password fieldset */
html .ff-commerce--account .woocommerce .ff-account-title,
html .ff-commerce--account.is-logged-out .woocommerce > h2,
html .ff-commerce--account .woocommerce :is(.u-column1, .u-column2) > h2,
html .ff-commerce--account .woocommerce-MyAccount-content form > :is(h2, h3) {
    font-family: var(--ff-font-primary);
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--account .woocommerce .ff-account-title {
    font-size: clamp(24px, 1.1rem + 0.9vw, 32px);
    line-height: 1.2;
}
html .ff-commerce--account.is-logged-out .woocommerce > h2,
html .ff-commerce--account .woocommerce :is(.u-column1, .u-column2) > h2 {
    font-size: 20px;
    line-height: 1.3;
}
html .ff-commerce--account .woocommerce form.edit-account fieldset legend {
    font-size: 18px;
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--account .woocommerce .woocommerce-Address-title :is(h2, h3) {
    font-size: 18px;
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0;
    text-transform: none;
}
html .ff-commerce--account .woocommerce .woocommerce-Address-title .edit,
html .ff-commerce--account .woocommerce .woocommerce-Address-title .edit:visited {
    color: var(--ff-colour-burgundy, #742D37);
}
/* panels */
html .ff-commerce--account .woocommerce :is(form.woocommerce-form-login, form.woocommerce-form-register, form.lost_reset_password) {
    border-color: var(--ffc-panel-line);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-commerce--account .woocommerce :is(.woocommerce-LostPassword a, .ff-account-switch a):hover {
    color: var(--ff-colour-burgundy, #742D37);
}
/* dashboard tiles */
html .ff-commerce--account .woocommerce a.ff-account-tile {
    border-color: var(--ffc-panel-line);
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce--account .woocommerce a.ff-account-tile:is(:hover, :focus-visible) {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-commerce--account .ff-account-tile-title {
    font-size: 18px;
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0;
    text-transform: none;
}
html .ff-commerce--account .ff-account-tile-arrow {
    background: var(--ff-colour-burgundy, #742D37);
    -webkit-mask: url("../images/icons/arrow-right.svg") center / contain no-repeat;
    mask: url("../images/icons/arrow-right.svg") center / contain no-repeat;
}
/* orders table */
html .ff-commerce--account .woocommerce table.woocommerce-orders-table :is(th, td) {
    border-color: var(--ffc-line);
}
html .ff-commerce--account .woocommerce table.woocommerce-orders-table thead th {
    color: var(--ffc-muted);
}
/* entrances (once; the account content is not replaced by AJAX) */
html.ff-motion .ff-commerce--account .woocommerce > :is(.ff-account-nav, .woocommerce-MyAccount-content, .u-columns, form) {
    animation: ff-pop 0.9s cubic-bezier(0.34, 1.56, 0.64, 1) 0.2s backwards;
}
html.ff-motion .ff-commerce--account .woocommerce > .woocommerce-MyAccount-content {
    animation-delay: 0.32s;
}
/* login / register headings: the base rule targets #customer_login h2 (id specificity) */
html .ff-commerce--account .woocommerce #customer_login h2 {
    font-size: 20px;
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-commerce:is(.ff-commerce--checkout, .ff-commerce--account) .woocommerce form .show-password-input:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}

/* ---- 12. CONTENT PAGES - body content (2026-11-12): Content Hub (landing, archives, article + recipe singles), About,
   Wholesale & Export, Gifting, Sugar-Free, Contact, Support and the policy pages, in the approved language. Presentation
   only: wording, images, links, queries, taxonomy, structured data, form configuration and behaviour are unchanged.
   Completed heroes, the story-style accordion sections (11b), commerce and My Account are excluded by scope. */

/* 12a. shared: sentence-case buttons everywhere (the hero / commerce treatment), section headings on the homepage scale
   (capped at 52px), smaller subheads in proportion, cream-light / cream bands instead of white / grey */
html :is(.ff-btn-primary, .ff-btn-secondary),
html :is(.ff-btn-primary, .ff-btn-secondary):visited {
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-content-page .ff-home-section:not(:is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with, .ff-home-story)) :is(h1, h2).ff-section-title:not(.ff-h3) {
    font-size: var(--ff-section-heading-size);
    line-height: 1.1;
}
html .ff-content-page .ff-home-section :is(h2, h3).ff-h3:not(.ff-process-step),
html .ff-content-page .ff-home-section h2.ff-h3.ff-section-title {
    font-size: clamp(22px, 1rem + 0.9vw, 30px);
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.2;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page > section:is(.ff-hub-feature, .ff-home-final-cta, .ff-milestones, .ff-process-section, .ff-enquiry-section, .ff-collection-section, .ff-sf-info, .ff-contact-section, .ff-faq-section, .ff-useful-links) {
    background-color: var(--ff-colour-cream-light, #FCFAF6);
}
html .ff-content-page > section:is(.ff-usp-section, .ff-explore-cta, .ff-gift-story, .ff-help-section),
html .ff-content-page > section.ff-hub-feature:nth-of-type(odd) {
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-content-page .ff-faq-section .ff-faq-nav-band {
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html body:has(.ff-hub, .ff-policy-article) {
    background-color: var(--ff-colour-cream-light, #FCFAF6);
}
/* product cards inside content pages use the approved card (selector lists in 9/10 extended below) */
html .ff-content-page .ff-collection-grid .ff-product-card,
html .ff-hub .ff-collection-grid .ff-product-card {
    text-align: left;
}

/* 12b. Content Hub archives: tabs, search, cards, sidebar */
html .ff-hub .ff-hub-tab,
html .ff-hub .ff-hub-tab:visited {
    border-color: var(--ff-colour-brown, #302821);
    background-color: transparent;
    color: var(--ff-colour-brown, #302821);
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-hub .ff-hub-tab:hover {
    border-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-hub-tab[aria-current="page"] {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .ff-hub :is(.ff-hub-tab, .ff-hub-card-link, .ff-hub-recent-link, .ff-hub-term-link, .ff-hub-meta-link, .ff-hub-search-submit, .ff-hub-filter-select, .ff-hub-search-input):focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
html .ff-hub .ff-hub-search-input {
    border-bottom-color: var(--ff-colour-brown, #302821);
    background-color: transparent;
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-card {
    text-align: left;
}
html .ff-hub .ff-hub-card-media {
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-hub .ff-hub-card-badge {
    border-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-burgundy, #742D37);
    font-weight: var(--ff-weight-regular, 400);
}
html .ff-hub .ff-hub-card-arrow {
    border-color: rgba(116, 45, 55, 0.45);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-hub-card:hover .ff-hub-card-arrow {
    border-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-hub-card-body {
    text-align: left;
}
html .ff-hub .ff-hub-meta {
    justify-content: flex-start;
    color: var(--ff-colour-muted, rgba(48, 40, 33, 0.72));
}
html .ff-hub .ff-hub-card-title {
    font-size: clamp(18px, 1rem + 0.3vw, 21px);
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.3;
    text-align: left;
}
html .ff-hub .ff-hub-card-link,
html .ff-hub .ff-hub-card-link:visited {
    font-weight: inherit;
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-card-link:hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-hub-card-text {
    text-align: left;
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-sidebar {
    border: 1px solid var(--ff-colour-cream-deep, #EDE1CF);
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-hub .ff-hub-side-title {
    font-size: 20px;
    font-weight: var(--ff-weight-bold, 700);
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-recent-topic {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-hub-recent-link:hover,
html .ff-hub .ff-hub-category-list a:hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-hub-term-link,
html .ff-hub .ff-hub-term-link:visited {
    border-color: var(--ff-colour-cream-deep, #EDE1CF);
    color: var(--ff-colour-brown, #302821);
    font-weight: var(--ff-weight-regular, 400);
}
html .ff-hub .ff-hub-term-link:hover {
    border-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-hub-filter-select {
    border-color: var(--ff-colour-cream-deep, #EDE1CF);
}
/* pagination (shown once an archive has more than one page) */
html .ff-hub :is(.ff-hub-pagination, .navigation.pagination) :is(a, span).page-numbers.current {
    color: var(--ff-colour-burgundy, #742D37);
    font-weight: var(--ff-weight-medium, 500);
}
html .ff-hub :is(.ff-hub-pagination, .navigation.pagination) a.page-numbers:hover {
    color: var(--ff-colour-burgundy, #742D37);
}

/* 12c. Article + Recipe singles: reading layout */
html .ff-hub .ff-hub-article-title {
    font-size: clamp(32px, 1rem + 2.4vw, 52px);
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.08;
    letter-spacing: -0.005em;
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-lead {
    font-size: clamp(17px, 1rem + 0.2vw, 19px);
    line-height: 1.65;
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-article-media {
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-hub :is(.ff-hub-prose, .ff-recipe-section) {
    max-width: 72ch;
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-prose :is(p, li) {
    font-size: 17px;
    line-height: 1.7;
}
html .ff-hub .ff-hub-prose :is(h2, .wp-block-heading:is(h2)),
html .ff-hub :is(.ff-hub-section-title, .ff-hub-faqs-title) {
    margin-top: clamp(32px, 3vw, 44px);
    font-size: clamp(24px, 1rem + 0.9vw, 30px);
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.2;
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-prose h3,
html .ff-hub .ff-recipe-subtitle {
    font-size: clamp(19px, 1rem + 0.3vw, 22px);
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.3;
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-prose :is(ul, ol) {
    padding-left: 1.3em;
}
html .ff-hub .ff-hub-prose li + li {
    margin-top: 6px;
}
html .ff-hub .ff-hub-prose li::marker {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-hub-prose a:not(.ff-btn-primary):not(.ff-btn-secondary) {
    color: var(--ff-colour-burgundy, #742D37);
    text-decoration: underline;
    text-underline-offset: 3px;
}
html .ff-hub .ff-hub-prose blockquote {
    margin: 28px 0;
    padding: 4px 0 4px 20px;
    border-left: 3px solid var(--ff-colour-burgundy, #742D37);
    font-size: 19px;
    font-style: italic;
}
html .ff-hub .ff-hub-prose :is(img, iframe, video) {
    max-width: 100%;
    height: auto;
}
html .ff-hub .ff-hub-prose iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
}
html .ff-hub .ff-hub-prose table,
html .ff-policy-article table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    border-collapse: collapse;
    font-size: 15px;
}
html .ff-hub .ff-hub-prose :is(th, td),
html .ff-policy-article :is(th, td) {
    padding: 10px 12px;
    border: 1px solid var(--ff-colour-cream-deep, #EDE1CF);
    text-align: left;
    vertical-align: top;
}
html .ff-hub .ff-hub-prose th,
html .ff-policy-article th {
    background-color: var(--ff-colour-cream, #F3EEE5);
    font-weight: var(--ff-weight-bold, 700);
}
/* recipe: facts, ingredients, numbered method */
html .ff-hub .ff-recipe-facts {
    border-color: var(--ff-colour-cream-deep, #EDE1CF);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-hub .ff-recipe-facts :is(dt, .ff-recipe-fact-label) {
    color: var(--ff-colour-burgundy, #742D37);
    font-weight: var(--ff-weight-bold, 700);
}
html .ff-hub .ff-recipe-ingredient-list li::marker {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-recipe-ingredient-list li + li {
    margin-top: 6px;
}
html .ff-hub .ff-recipe-step + .ff-recipe-step {
    border-top-color: var(--ff-colour-cream-deep, #EDE1CF);
}
html .ff-hub .ff-recipe-step::before {
    color: var(--ff-colour-burgundy, #742D37);
}
/* article FAQ accordion: same treatment as the product information accordion */
html .ff-hub .ff-hub-faq-accordion .ff-product-acc-button {
    font-weight: var(--ff-weight-bold, 700);
    color: var(--ff-colour-brown, #302821);
}
html .ff-hub .ff-hub-faq-accordion .ff-product-acc-button:hover {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-hub-faq-accordion .ff-product-acc-icon {
    background: currentColor;
    -webkit-mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
    mask: url("../images/icons/chevron-down.svg") center / contain no-repeat;
}
html .ff-hub .ff-hub-faq-accordion .ff-product-acc-button:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
html .ff-hub .ff-hub-faq-accordion :is(.ff-product-acc-item, .ff-product-accordion) {
    border-color: var(--ff-colour-cream-deep, #EDE1CF);
}
/* share row on singles */
html .ff-hub .ff-hub-share {
    border-color: var(--ff-colour-cream-deep, #EDE1CF);
}
html .ff-hub .ff-share .ff-share-action,
html .ff-hub .ff-share a.ff-share-action {
    border-color: rgba(116, 45, 55, 0.45);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-hub .ff-share-icon {
    background-color: currentColor;
}
html .ff-hub .ff-share .ff-share-action:hover {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-cream, #F3EEE5);
}

/* 12d. About: feature cards, milestones timeline */
html .ff-content-page .ff-usp-card {
    border: 1px solid var(--ff-colour-cream-deep, #EDE1CF);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-usp-title {
    font-size: 18px;
    font-weight: var(--ff-weight-bold, 700);
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-milestone-year {
    font-family: var(--ff-font-display-stack);
    font-size: clamp(26px, 1rem + 1.2vw, 34px);
    font-weight: 300;
    font-style: italic;
    line-height: 1.1;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-milestone {
    border-color: var(--ff-colour-cream-deep, #EDE1CF);
}
html .ff-content-page .ff-milestone::before {
    background-color: var(--ff-colour-burgundy, #742D37);
    border-color: var(--ff-colour-burgundy, #742D37);
}

/* 12e. Wholesale: process cards */
html .ff-content-page .ff-process-card,
html .ff-content-page .ff-process-card:nth-child(n) {
    border: 1px solid var(--ff-colour-cream-deep, #EDE1CF);
    background-color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-process-step {
    font-family: var(--ff-font-display-stack);
    font-size: clamp(24px, 1rem + 0.8vw, 30px);
    font-weight: 300;
    font-style: italic;
    text-transform: none;
    color: var(--ff-colour-burgundy, #742D37);
}

/* 12f. Contact + Wholesale enquiry (WPForms): visible labels (WPForms prints them, the design hid them), warm fields,
   burgundy required marks, focus rings and validation; tabs + details panel */
html .ff-content-page .ff-tab,
html .ff-content-page .ff-tab:visited {
    border-color: var(--ff-colour-brown, #302821);
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-brown, #302821);
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-content-page .ff-tab:hover {
    border-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-tab[aria-selected="true"] {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-tab:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
html .ff-content-page .wpforms-container .wpforms-field-label.wpforms-label-hide:not(legend) {
    position: static;
    width: auto;
    height: auto;
    margin: 0 0 6px;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
}
html .ff-content-page .wpforms-container :is(.wpforms-field-label, .wpforms-field-label-inline) {
    font-size: 15px;
    font-weight: var(--ff-weight-medium, 500);
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .wpforms-container .wpforms-required-label {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .wpforms-container :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) {
    border: 1px solid #8F8274;
    border-radius: 2px;
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .wpforms-container :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea):focus {
    border-color: var(--ff-colour-burgundy, #742D37);
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 1px;
    box-shadow: none;
}
html .ff-content-page .wpforms-container input[type="checkbox"] {
    accent-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .wpforms-container input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
html .ff-content-page .wpforms-container :is(input, select, textarea).wpforms-error {
    border-color: #A63A2F;
}
html .ff-content-page .wpforms-container label.wpforms-error,
html .ff-content-page .wpforms-container em.wpforms-error {
    margin-top: 6px;
    font-size: 14px;
    font-style: normal;
    color: #A63A2F;
}
html .ff-content-page .wpforms-container .wpforms-field-description a,
html .ff-content-page .wpforms-container .wpforms-field-description a:visited {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .wpforms-confirmation-container-full {
    border: 1px solid var(--ff-colour-cream-deep, #EDE1CF);
    border-left: 3px solid var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-contact-panel {
    border: 1px solid var(--ff-colour-cream-deep, #EDE1CF);
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-content-page .ff-contact-panel :is(h2, .ff-label-bold) {
    font-weight: var(--ff-weight-bold, 700);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-contact-panel a {
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-contact-panel a:hover {
    color: var(--ff-colour-burgundy, #742D37);
}

/* 12g. Support: open FAQ list, help + useful links */
html .ff-content-page .ff-faq-question {
    font-size: 18px;
    font-weight: var(--ff-weight-bold, 700);
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-faq-item {
    border-color: var(--ff-colour-cream-deep, #EDE1CF);
}
html .ff-content-page .ff-link-row a:not(.ff-btn-primary) {
    color: var(--ff-colour-burgundy, #742D37);
}

/* 12h. policy pages: readable measure, clear hierarchy (h2 > h3), contents list, list spacing, anchors */
html .ff-content-page .ff-policy-article {
    max-width: 72ch;
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-policy-article :is(p, li) {
    font-size: 16px;
    line-height: 1.75;
}
html .ff-content-page .ff-policy-article h2 {
    margin: clamp(32px, 3vw, 44px) 0 12px;
    font-size: clamp(24px, 1rem + 0.8vw, 30px);
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.2;
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-policy-article h3 {
    margin: 26px 0 8px;
    font-size: clamp(18px, 1rem + 0.25vw, 21px);
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.3;
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-policy-article :is(h2, h3)[id] {
    scroll-margin-top: calc(var(--ff-sticky-admin-offset, 0px) + 110px);
}
html .ff-content-page .ff-policy-article :is(ul, ol) {
    padding-left: 1.3em;
}
html .ff-content-page .ff-policy-article li + li {
    margin-top: 6px;
}
html .ff-content-page .ff-policy-article li::marker {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-policy-article a {
    color: var(--ff-colour-burgundy, #742D37);
    text-decoration: underline;
    text-underline-offset: 3px;
}
html .ff-content-page .ff-policy-toc .ff-policy-toc-title {
    font-size: 16px;
    font-weight: var(--ff-weight-bold, 700);
    letter-spacing: 0;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-policy-toc .ff-policy-toc-list a {
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-policy-toc .ff-policy-toc-list a:is(:hover, [aria-current="true"], .is-active) {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-policy-toc :is(a, summary):focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
/* 12i. fixes after review: the content-page wrapper itself was white; several context rules (WPForms submit, consent
   map button, ...) set uppercase with higher specificity - the sentence-case button rule carries :not(#ff-x) (id-level
   specificity, matches every button) so it wins everywhere; Contact tab rules include .ff-contact-main */
html .ff-content-page {
    background-color: var(--ff-colour-cream-light, #FCFAF6);
}
html :is(.ff-btn-primary, .ff-btn-secondary):not(#ff-x) {
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-hub .ff-hub-meta {
    text-align: left;
}
html .ff-content-page .ff-tabs .ff-tab,
html .ff-content-page .ff-tabs .ff-tab:visited {
    border: 1px solid var(--ff-colour-brown, #302821);
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-brown, #302821);
    text-transform: none;
    letter-spacing: 0.02em;
}
html .ff-content-page .ff-tabs .ff-tab:hover {
    border-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-tabs .ff-tab[aria-selected="true"] {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-tabs .ff-tab:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}
html .ff-content-page .ff-cookie-placeholder {
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-content-page div.wpforms-container-full .wpforms-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea) {
    border: 1px solid #8F8274;
    border-radius: 2px;
}
html .ff-content-page div.wpforms-container-full .wpforms-form :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], select, textarea):focus {
    border-color: var(--ff-colour-burgundy, #742D37);
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 1px;
    box-shadow: none;
}
html .ff-content-page div.wpforms-container-full .wpforms-form :is(input, select, textarea).wpforms-error {
    border-color: #A63A2F;
}
html .ff-content-page .ff-policy-section {
    background-color: var(--ff-colour-cream-light, #FCFAF6);
}
/* 12j. one focus ring for content pages: 2px burgundy on every link / control / focusable panel (older rules drew dark
   rings on track arrows, tab panels and contact links); the burgundy story-style sections keep their white ring */
html .ff-content-page :is(a, button, input, select, textarea, summary, [tabindex]):focus-visible:not(:is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with, .ff-home-story) *):not(#ff-x) {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 2px;
}

/* ---- 13. CORRECTION ROUND 2026-11-12 (b) ---- */
/* 13a. Wholesale intro ("Let's grow something sweet together"): heading, copy and Enquire Now centred vertically as one
   group with equal space above and below (the shared intro rule had 24px above / 86px below) */
html .ff-wholesale-page .ff-home-intro {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-block: clamp(72px, 7vw, 104px);
}
@media (max-width: 767px) {
    html .ff-wholesale-page .ff-home-intro {
        padding-block: 56px;
    }
}

/* 13b. Wholesale "Who we work with": the photograph fills the whole left panel (cover), the two product cut-outs keep
   their own proportions, anchored as in the XD composition (box left, coins lower right); no cream frame. The copy
   group (heading, accordion, button) sits in the centre of the burgundy panel; the accordion keeps its left-aligned
   labels and chevrons and reserves its tallest open state (--ff-acc-reserve, site script), so the centred group and
   the image crop never move while items switch. Phones: photo panel first (square), copy below at natural height. */
html .ff-content-page .ff-who-we-work-with .ff-split-media--layered.ff-who-media {
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 100%;
    margin: 0;
    aspect-ratio: auto;
    overflow: hidden;
}
html .ff-content-page .ff-who-we-work-with .ff-who-media .ff-split-layer-bg {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 45%;
    clip-path: none;
}
html .ff-content-page .ff-who-we-work-with .ff-who-media .ff-split-layer-main {
    top: auto;
    bottom: 5%;
    left: 1%;
    width: 72%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: contain;
}
html .ff-content-page .ff-who-we-work-with .ff-who-media .ff-split-layer-front {
    top: auto;
    bottom: 3%;
    left: 34%;
    width: 60%;
    height: auto;
    aspect-ratio: 1375 / 621;
    object-fit: contain;
}
html .ff-content-page .ff-who-we-work-with .ff-split-content {
    align-items: center;
}
@media (min-width: 768px) {
    html .ff-content-page .ff-who-we-work-with .ff-split-content {
        justify-content: center;
        padding-inline: clamp(32px, 5vw, 80px);
    }
    html .ff-content-page .ff-who-we-work-with .ff-home-story-accordion {
        min-height: var(--ff-acc-reserve, 0px);
    }
}
html .ff-content-page .ff-who-we-work-with .ff-split-content > .ff-section-title {
    text-align: center;
}
html .ff-content-page .ff-who-we-work-with .ff-split-content > .ff-home-hero-actions {
    justify-content: center;
}
@media (max-width: 767px) {
    html .ff-content-page .ff-who-we-work-with .ff-split-media--layered.ff-who-media {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }
}
@media (max-width: 767px) {
    html .ff-content-page .ff-who-we-work-with .ff-split-media--layered.ff-who-media {
        margin: 0;
    }
}
@media (max-width: 767px) {
    html .ff-content-page .ff-who-we-work-with > .ff-split-inner {
        row-gap: 0;
    }
}

/* 13c. one button system (homepage primary / secondary / inverse): Jost Regular 15px, sentence case, 0.02em, 4px radius,
   44px tall (also the minimum touch target), 10px 32px padding, one up-right arrow on link CTAs only (<button> controls
   carry none). Filled and outlined variants share a 1px border so they line up. Purchase controls next to the 48px
   quantity steppers (Add to cart, Proceed to checkout, Place order) keep 48px. Tabs use the navigation weight. */
html :is(a, button).ff-btn-primary:not(#ff-x),
html :is(a, button).ff-btn-secondary:not(#ff-x),
html .ff-commerce .woocommerce :is(button.button, a.button, input.button):not(.checkout-button):not(#place_order):not(#ff-x),
html .wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit:not(#ff-x),
html .woocommerce-mini-cart__buttons a.button:not(#ff-x),
html .ff-quick-view :is(.ff-quick-view-add, .ff-btn-secondary):not(#ff-x) {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-height: 44px;
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-size: 15px;
    font-weight: var(--ff-weight-regular, 400);
    line-height: 1.2;
    letter-spacing: 0.02em;
    text-transform: none;
}
html :is(a, button).ff-btn-primary:not(#ff-x),
html .ff-commerce .woocommerce :is(button.button, a.button, input.button):not(.checkout-button):not(#place_order):not(#ff-x),
html .wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit:not(#ff-x),
html .woocommerce-mini-cart__buttons a.button:not(#ff-x) {
    padding: 10px 32px;
    border-width: 1px;
    border-style: solid;
    border-radius: 4px;
}
html :is(a, button).ff-btn-primary:not(.ff-home-story-cta):not(#ff-x) {
    border-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-product-single .ff-product-add.ff-btn-primary:not(#ff-x),
html .ff-commerce .woocommerce :is(a.checkout-button, #place_order):not(#ff-x) {
    min-height: 48px;
    text-transform: none;
    letter-spacing: 0.02em;
}
/* mini cart (Breakdance drawer): View cart = secondary outline, Checkout = primary */
html .woocommerce-mini-cart__buttons a.button:not(.checkout):not(#ff-x) {
    border-color: var(--ff-colour-brown, #302821);
    background-color: transparent;
    color: var(--ff-colour-brown, #302821);
}
html .woocommerce-mini-cart__buttons a.button:not(.checkout):is(:hover, :focus-visible):not(#ff-x) {
    border-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-burgundy, #742D37);
}
html .woocommerce-mini-cart__buttons a.button.checkout:not(#ff-x) {
    border-color: var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .woocommerce-mini-cart__buttons a.button.checkout:is(:hover, :focus-visible):not(#ff-x) {
    border-color: var(--ff-colour-accent-hover, #61262e);
    background-color: var(--ff-colour-accent-hover, #61262e);
}
html .woocommerce-mini-cart__buttons a.button:focus-visible {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 3px;
}
/* disabled (all variants): visible but clearly inactive */
html :is(.ff-btn-primary, .ff-btn-secondary, .button, .wpforms-submit):is(:disabled, [aria-disabled="true"], .disabled) {
    opacity: 0.45;
    box-shadow: none;
    cursor: not-allowed;
}
/* tabs (Contact, Support, Content Hub): Jost, navigation weight */
html :is(.ff-tab, .ff-hub-tab):not(#ff-x) {
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    font-weight: var(--ff-weight-medium, 500);
}
/* the homepage closing CTA's outlined primary keeps its approved brown outline */
html .ff-home .ff-home-enquiry a.ff-btn-primary:not(#ff-x) {
    border-color: currentColor;
}
html .ff-commerce .woocommerce a.checkout-button:not(#ff-x) {
    padding: 12px 32px;
    font-size: 15px;
}

/* 13d. typography: only the locally hosted faces (Jost variable 300-700 + Jost 700 italic; Fraunces 300/400 roman and
   italic). Utility and plugin text that fell back to system-ui/Roboto now uses Jost; no synthesised weights or italics. */
html body :is(.oxy-skip-link, .skip-link, a[href="#main"], a[href="#content"], .screen-reader-shortcut),
html .bde-mini-cart-offcanvas__close-button,
html .ff-product-single :is(.ff-product-gallery-count, .ff-product-gallery-count *, .ff-product-gallery-counter, .ff-product-gallery-counter *),
html .ff-product-single :is(.reset_variations, .ff-product-reset, .ff-product-hint),
html .ff-content-page :is(h3, h4, h5, h6),
html .ff-policy-article :is(h3, h4, h5, h6) {
    font-family: var(--ff-font-primary, "Jost", sans-serif);
}
html .ff-product-single :is(.ff-product-gallery-count, .ff-product-gallery-counter *):not(#ff-x) {
    font-weight: var(--ff-weight-regular, 400);
}
/* bold labels: accordion titles (Content Hub FAQ) at 700, not 600 */
html .ff-hub-faq-accordion .ff-product-acc-title:not(#ff-x) {
    font-weight: var(--ff-weight-bold, 700);
}
/* Wishlist: page title matches every other H1 (Jost 700); the list name in the side navigation uses the nav weight */
html .ff-wishlist-page h1:not(#ff-x),
html body.woocommerce-wishlist h1:not(#ff-x) {
    font-weight: var(--ff-weight-bold, 700);
}
html .ff-wishlist-nav-name:not(#ff-x) {
    font-weight: var(--ff-weight-medium, 500);
}
/* Content Hub topic label: a real light italic (Fraunces Light Italic) instead of a slanted Jost Light */
html .ff-hub .ff-hub-recent-topic:not(#ff-x) {
    font-family: var(--ff-font-display-stack, "Fraunces", Georgia, serif);
    font-weight: var(--ff-weight-light, 300);
    font-style: italic;
}
/* headings default to Jost (Breakdance's global heading font is system-ui); class rules keep Fraunces where approved */
:where(html body) :is(h1, h2, h3, h4, h5, h6, legend),
:where(html body) .bde-accordion__title-tag {
    font-family: var(--ff-font-primary, "Jost", sans-serif);
}
html :is(.ff-product-card-heading, .ff-product-acc-heading, .ff-filter-drawer-title, .ff-shop-filter-heading, .bde-accordion__title-tag):not(#ff-x) {
    font-family: var(--ff-font-primary, "Jost", sans-serif);
}
/* 13c (cont.). pressed state for every filled button matches the homepage primary (shallow shadow while held);
   text-link secondaries press to burgundy */
html .ff-commerce .woocommerce :is(button.button, a.button, input.button, #place_order):not(:disabled):active,
html .wpforms-container.ff-enquiry-wpform .wpforms-form button.wpforms-submit:active,
html .woocommerce-mini-cart__buttons a.button:active,
html .ff-quick-view .ff-quick-view-add:active {
    box-shadow: 0 3px 8px -4px rgba(116, 45, 55, 0.4);
}
html .ff-btn-secondary:active {
    color: var(--ff-colour-accent, #742D37);
}

/* ---- 14. CATEGORY ARCHIVE HEROES (2026-11-18) ----
   Source: XD "6889 Forest Fairies website REV3", artboard "Product page héros – 1" (1280px; each banner 1280 x 543,
   copy panel left, photo panel right 640 x 543, cream-deep scallops along the bottom). Template "FF — Product Category
   Archive" (#802) is unchanged: same elements, classes and dynamic fields, so the hero entrance motion (section 9:
   ff-hero-in on the copy, ff-hero-zoom on the photo, sparkle pop + twinkle, arrow pop, squiggle draw) runs as before.
   - Heading: the XD's Fraunces 72pt Bold 52px (at 1280), leading 44px, tracking 10, burgundy - self-hosted Fraunces 700
     (@fontsource/fraunces 5.2.9, same package as the 300/400 files). Copy: Jost Regular 16px on the XD's narrow measure.
   - Photos: the XD originals (Media Library, WebP). Each image's crop is art-directed on its attachment (post meta
     ff_hero_framing -> --ff-hero-pos / -tablet / -phone / --ff-hero-zoom on the img, includes/product-category-design.php);
     a photo without framing keeps the previous crop (85% 55% desktop, 75% 50% phones).
   - Copy stays on the site grid (container edge, like the header and the product grid below), not the artboard's
     116px inset. */
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/fraunces-latin-ext-700-normal.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/fraunces-latin-700-normal.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
html .ff-category-hero:has(> .ff-archive-hero-media) h1.ff-archive-hero-title:not(#ff-x) {
    font-family: var(--ff-font-display-stack, "Fraunces", Georgia, serif);
    font-weight: 700;
    font-size: clamp(36px, 1.25rem + 2.5vw, 60px);   /* 52px at 1280 (XD), 56px at 1440 */
    max-width: 8.5em;   /* the XD text frames: "Signature / sweets.", "A little / Christmas / magic.", "Dubai-inspired." on one line */
    line-height: 0.88;
    letter-spacing: 0.01em;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-category-hero:has(> .ff-archive-hero-media) h1.ff-archive-hero-title .ff-accent-word:not(#ff-x) {
    font-weight: inherit;
    color: inherit;
}
html .ff-category-hero:has(> .ff-archive-hero-media) .ff-archive-hero-copy:not(#ff-x) {
    max-width: 20em;
    line-height: 1.35;
}
/* photo framing (values from the image's attachment) */
html .ff-category-hero:has(> .ff-archive-hero-media) > .ff-archive-hero-media img:not(#ff-x) {
    object-position: var(--ff-hero-pos, 85% 55%);
}
@media (min-width: 1024px) {
    html .ff-category-hero:has(> .ff-archive-hero-media) > .ff-archive-hero-media img:not(#ff-x) {
        transform: scale(var(--ff-hero-zoom, 1));
    }
}
@media (min-width: 768px) and (max-width: 1023px) {
    html .ff-category-hero:has(> .ff-archive-hero-media) > .ff-archive-hero-media img:not(#ff-x) {
        object-position: var(--ff-hero-pos-tablet, var(--ff-hero-pos, 85% 55%));
    }
}
@media (max-width: 767px) {
    html .ff-category-hero:has(> .ff-archive-hero-media) > .ff-archive-hero-media img:not(#ff-x) {
        object-position: var(--ff-hero-pos-phone, 75% 50%);
    }
    /* one 5:4 phone frame for every category (the old Seasonal artwork needed 4:3) */
    html body.term-seasonal .ff-category-hero:has(> .ff-archive-hero-media) > .ff-archive-hero-media:not(#ff-x) {
        aspect-ratio: 5 / 4;
    }
}

/* ---- 15. ZIFLOW PROOF CORRECTIONS + QA REPORT (2026-11-18) ----
   Ziflow proof bj1242no11cdr2mplldeg93q2n (24 comments on the Dev build) and the Website QA & Improvement Report.
   Every value checked against the XD/PDF export of the page in question. Notes per block; change record in
   oxygen-imports/backups/ziflow-qa-cart-<ts>/change-record/NOTES.md. */

/* 15a. cookie notice (Ziflow 1, QA-031): opened out to ~600px so the three choices sit on one row and the panel is
   about two-thirds the height; it stays bottom-left and never reaches the hero CTAs. Phones keep the full-width sheet. */
@media (min-width: 768px) {
    html .ff-cookie-banner:not(#ff-x) {
        width: min(600px, calc(100vw - 48px));
    }
    html .ff-cookie-banner .ff-cookie-inner {
        padding: 20px 24px 18px;
    }
    html .ff-cookie-banner .ff-cookie-actions {
        flex-wrap: nowrap;
        margin-top: 10px;
    }
}
html .ff-cookie-manage:not(#ff-x) {
    font-family: var(--ff-font-primary, "Jost", sans-serif);
    text-transform: none;
    letter-spacing: 0.02em;
}

/* 15b. homepage category tiles (Ziflow 2): the arrow follows the label, as in the design, instead of the card edge */
html .ff-home .ff-home-categories .ff-category-card-title:not(#ff-x) {
    justify-content: flex-start;
    gap: clamp(10px, 1.1vw, 16px);
}

/* 15c. flowing line under the Gifting tile (Ziflow 3): anchored to the category row itself - its right edge is the
   Gifting tile's right edge, its top the bottom of the Gifting photo - so it can no longer drift into the gutter or off
   the page. Behind the tile labels. Hidden below 1024px, where the row scrolls and Gifting is not the last tile shown. */
html .ff-home .ff-home-categories::after {
    display: none;
}
html .ff-home .ff-home-categories > .ff-home-section-inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    top: calc(100% - 37px);
    width: calc((100% - 3 * 24px) / 4 * 0.62);
    aspect-ratio: 720 / 767;
    background: url("../images/decor/ff-triple-wave-categories.png") center / contain no-repeat;
    pointer-events: none;
}
@media (max-width: 1023px) {
    html .ff-home .ff-home-categories > .ff-home-section-inner::after {
        display: none;
    }
}

/* 15d. "Shop our seasonal collection" / "Explore sugar-free" links sit on the bottom of the heading (Ziflow 4), the
   intro line runs underneath. Subgrid: the heading block keeps its own box (the reveal observer watches it). */
@media (min-width: 768px) {
    html .ff-home :is(.ff-home-seasonal-header, .ff-home-sugar-free-header):not(#ff-x) {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-rows: auto auto;
        column-gap: 32px;
        row-gap: 10px;
        align-items: end;
    }
    html .ff-home :is(.ff-home-seasonal-header, .ff-home-sugar-free-header) > .ff-section-header:not(#ff-x) {
        display: grid;
        grid-column: 1;
        grid-row: 1 / span 2;
        grid-template-rows: subgrid;
        row-gap: inherit;
        max-width: 760px;
    }
    html .ff-home :is(.ff-home-seasonal-header, .ff-home-sugar-free-header) > .ff-section-header > h2 {
        grid-row: 1;
    }
    html .ff-home :is(.ff-home-seasonal-header, .ff-home-sugar-free-header) > .ff-section-header > .ff-section-intro {
        grid-row: 2;
    }
    html .ff-home :is(.ff-home-seasonal-header, .ff-home-sugar-free-header) > .ff-section-cta:not(#ff-x) {
        grid-column: 2;
        grid-row: 1;
        align-self: end;
        margin-bottom: 0.45em;   /* the heading box includes the squiggle room under the line */
    }
}

/* 15e. scallop rows the design draws darker (Ziflow 5, 6): the Sugar-Free lobes over the customers band and the lobes
   above the story are cream (#F3EEE5), not the near-invisible cream-light */
html .ff-home .ff-home-sugar-free::after {
    background: radial-gradient(circle at 50% 0, var(--ff-colour-cream, #F3EEE5) 21.5px, transparent 22.5px) 0 0 / 48px 100% repeat-x;
}
html .ff-home .ff-home-clients:not(#ff-x) {
    --ff-scallop-colour: var(--ff-colour-cream, #F3EEE5);
}
@media (max-width: 767px) {
    html .ff-home .ff-home-sugar-free::after {
        background: radial-gradient(circle at 50% 0, var(--ff-colour-cream, #F3EEE5) 15.5px, transparent 16.5px) 0 0 / 35px 100% repeat-x;
    }
}
/* under the story (Ziflow 7): the design hangs a row of light (white) lobes from the story's straight lower edge onto
   the cream testimonials band - not cream bites out of the photo and the burgundy panel */
html .ff-home .ff-home-story:not(#ff-x) {
    -webkit-mask: none;
    mask: none;
}
html .ff-home .ff-home-story .ff-home-story-content:not(#ff-x) {
    padding-bottom: clamp(64px, 7vw, 104px);
}
html .ff-home .ff-home-story::after {
    content: none;
}
/* the lobes hang from the top edge of the testimonials band (the story clips anything drawn below itself) */
html .ff-home .ff-home-story + .ff-home-testimonials:not(#ff-x) {
    position: relative;
    margin-top: 0;
}
html .ff-home .ff-home-story + .ff-home-testimonials::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 0;
    right: 0;
    left: 0;
    height: 22px;
    background: radial-gradient(circle at 50% 0, var(--ff-colour-cream-light, #FCFAF6) 21.5px, transparent 22.5px) 0 0 / 48px 100% repeat-x;
    pointer-events: none;
}
@media (max-width: 767px) {
    html .ff-home .ff-home-story .ff-home-story-content:not(#ff-x) {
        padding-bottom: 56px;
    }
    html .ff-home .ff-home-story + .ff-home-testimonials::after {
        height: 16px;
        background: radial-gradient(circle at 50% 0, var(--ff-colour-cream-light, #FCFAF6) 15.5px, transparent 16.5px) 0 0 / 35px 100% repeat-x;
    }
}

/* 15f. footer (Ziflow 8, 9): the FF badge rises above the footer, but WP Rocket's lazy rendering gives the footer
   content-visibility:auto, whose paint containment cut the top of the badge off. The footer always paints normally
   (it is small; nothing else changes). The block strip sits ON the footer's cream block, as designed: the gaps between
   the bars and the band behind the badge are the footer colour, not a cream-light stripe above it. */
html .ff-site-footer:not(#ff-x),
html .ff-site-footer[data-wpr-lazyrender]:not(#ff-x) {
    content-visibility: visible;
}
html .ff-site-footer::before,
html body .ff-site-footer::before {
    background:
        linear-gradient(90deg,
            var(--ff-colour-burgundy, #742D37) 0 var(--ff-footer-bar),
            transparent var(--ff-footer-bar) 100%)
        calc(50% - var(--ff-footer-bar) / 2) 0 / var(--ff-footer-period) 100% repeat-x;
}
html .ff-site-footer::after {
    background:
        url("../images/decor/ff-monogram-badge.png") center / var(--ff-footer-badge) var(--ff-footer-badge) no-repeat,
        linear-gradient(var(--ff-colour-cream, #F3EEE5), var(--ff-colour-cream, #F3EEE5)) center / 100% var(--ff-footer-border-h) no-repeat;
}

/* 15g. hero scallop trims (Ziflow 12): the trim reaches 1px past the hero's edge, so no row of the photo can show as a
   hairline under the lobes when the page is drawn at a fractional scale (proofing tools, browser zoom) */
html :is(.ff-page-hero, .ff-shop-hero, .ff-category-hero)::after,
html .ff-text-hero::after,
html .ff-contact-hero::after {
    bottom: -1px;
}

/* 15h. burgundy split panels (Ziflow 13, 16, 17): the homepage story system - an outlined white button plus an
   underlined text link, left aligned (Wholesale keeps its centred group). The 12 Nov button rule had turned the
   outline burgundy on burgundy (invisible) and left only its padding. */
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content :is(a, button).ff-btn-primary:not(#ff-x) {
    border-color: var(--ff-colour-white, #fff);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with) .ff-split-content :is(a, button).ff-btn-primary:is(:hover, :focus-visible):not(#ff-x) {
    border-color: var(--ff-colour-white, #fff);
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why) .ff-split-content > .oxy-shortcode {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 16px 28px;
    margin-top: clamp(28px, 3vw, 40px);
}
html .ff-content-page .ff-who-we-work-with .ff-split-content > .ff-home-hero-actions:not(#ff-x) {
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
}

/* 15i. About (Ziflow 14, 15): the intro no longer leaves a ~180px gap under its copy, and the customers band starts
   closer to its heading */
html .ff-about-page .ff-home-intro:not(#ff-x) {
    padding-bottom: clamp(48px, 4.5vw, 64px);
}
html .ff-about-page .ff-home-intro + .ff-usp-section:not(#ff-x) {
    margin-top: 0;
}
html .ff-about-page .ff-home-testimonials:not(#ff-x) {
    padding-top: clamp(64px, 6vw, 88px);
}

/* 15j. Gifting product rows (Ziflow 18): "Shop gift boxes." / "Shop sugar-free." use the homepage section heading
   ("Shop by category.") - same size, weight, leading and tracking; no new heading style */
html .ff-content-page .ff-collection-section .ff-home-section-inner > h3.ff-h3:not(#ff-x) {
    font-size: var(--ff-section-heading-size, clamp(26px, 0.9rem + 2.7vw, 52px));
    font-weight: var(--ff-weight-bold, 700);
    line-height: 1.1;
    letter-spacing: 0.01em;
    text-transform: none;
    color: var(--ff-colour-brown, #302821);
}

/* 15k. mini cart lines (Ziflow 23): the same 20px inset as the panel title and the subtotal row */
html .ff-site-header .bde-mini-cart-offcanvas .woocommerce-mini-cart:not(#ff-x) {
    padding-inline: 20px;
}
html .ff-site-header .bde-mini-cart-offcanvas .woocommerce-mini-cart-item:not(#ff-x) {
    padding-inline: 0;
}

/* 15l. Contact hero (browser review 19 Nov): while the photo's entrance zoom (ff-hero-zoom, scale 1.14 -> 1) runs, the
   full-width photo reaches ~55px past the viewport's right edge and the page scrolls sideways for ~1.5s at 1024px+.
   The hero clips its horizontal overflow only - "clip" (not "hidden") keeps the vertical axis visible, so the scroll
   arrow hanging below the hero and the scallop trim are unaffected, and no scroll container is created. Only what lies
   outside the viewport is cut; the animation itself (timing, easing, movement) is unchanged. */
html .ff-contact-hero:not(#ff-x) {
    overflow-x: clip;
}

/* =====================================================================================================================
   16. Final change set (19 Nov 2026)
   ===================================================================================================================== */

/* 16a. Utility icons: one size, one stroke, one badge rule across the desktop header, phone header, phone dock and footer.
   - Header (all widths) and dock use the same outline set (assets/images/icons, 24px grid, 1.6 stroke) in the same
     22px glyph box, so every line renders ~1.5px. Tap targets, links, labels, focus rings and drawers are unchanged.
   - Optical correction: the heart's ink is wider than the other glyphs, so it is drawn at 92% of the box.
   - Count badges (header basket, dock wishlist / basket): 16px, 10px type, 2px white separation ring, at the icon's
     top-right and clear of the glyph. Phone header + dock: 9px right of the icon centre, 10px above the icon. Desktop
     header: lifted (4px right of centre, 11px above the icon) because the WhatsApp disc sits 22px from the bag's centre.
   - WhatsApp: a vector glyph (whatsapp.svg, 15px) on a true 24px disc (border-radius, no feathered gradient), replacing
     the 13px icon-font glyph; same element, link, label, disc size, colour and position.
   - Footer social: line-style Facebook / Instagram / X glyphs (2px stroke on 24 -> 1.5px at 18px) in the existing
     34px rings, replacing the mixed solid / thin icon-font glyphs. */
html .ff-site-header:not(#ff-x) {
    --ff-header-icon-size: 22px;
}
html .ff-site-header .ff-header-actions .ff-header-action--wishlist .bde-icon-icon.breakdance-icon-atom:not(#ff-x)::before {
    -webkit-mask-size: 92%;
    mask-size: 92%;
}
/* header basket badge */
html .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle:not(#ff-x) {
    position: relative;
}
html .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle__counter:not(#ff-x) {
    top: calc(50% - 22px);
    right: auto;
    left: calc(50% + 4px);
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    font-size: 10px;
    line-height: 16px;
    box-shadow: 0 0 0 2px var(--ff-colour-white, #fff);
}
/* header WhatsApp: crisp disc + vector glyph */
html .ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom:not(#ff-x) {
    background: none;
}
html .ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom:not(#ff-x) svg {
    display: none;
}
html .ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom:not(#ff-x)::before {
    content: "";
    display: block;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #000 url("../images/icons/whatsapp.svg") center / 15px 15px no-repeat;
    transition: background-color 0.2s ease;
}
html .ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom:not(#ff-x):hover {
    background: none;
}
html .ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom:not(#ff-x):hover::before {
    background-color: #3a3a3a;
}
@media (max-width: 767px) {
    /* dock: same 22px box as the header */
    html .ff-mobile-dock .ff-dock-item:not(#ff-x) .ff-dock-icon {
        width: 22px;
        height: 22px;
        margin: 1px 0;
    }
    html .ff-mobile-dock .ff-dock-item--wishlist:not(#ff-x) .ff-dock-icon {
        -webkit-mask-size: 92%;
        mask-size: 92%;
    }
    html .ff-mobile-dock .ff-dock-item:not(#ff-x) .ff-dock-badge {
        top: 0;
        left: calc(50% + 9px);
        min-width: 16px;
        height: 16px;
        padding: 0 4px;
        font-size: 10px;
        line-height: 16px;
    }
}
@media (max-width: 767px) {
    html .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle__counter:not(#ff-x) {
        top: calc(50% - 21px);
        left: calc(50% + 9px);
    }
}
@media (prefers-reduced-motion: reduce) {
    html .ff-site-header .ff-header-actions .ff-header-action--whatsapp .bde-icon-icon.breakdance-icon-atom:not(#ff-x)::before {
        transition: none;
    }
}
/* footer social glyphs */
html .ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom:not(#ff-x) svg {
    display: none;
}
html .ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom:not(#ff-x)::before {
    content: "";
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask: url("../images/icons/social-facebook.svg") center / contain no-repeat;
    mask: url("../images/icons/social-facebook.svg") center / contain no-repeat;
}
html .ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom[href*="instagram"]:not(#ff-x)::before {
    -webkit-mask-image: url("../images/icons/social-instagram.svg");
    mask-image: url("../images/icons/social-instagram.svg");
    -webkit-mask-size: 86%;
    mask-size: 86%;
}
html .ff-site-footer .ff-footer-social .ff-footer-social-link .bde-icon-icon.breakdance-icon-atom:is([href*="twitter"], [href*="x.com"]):not(#ff-x)::before {
    -webkit-mask-image: url("../images/icons/social-x.svg");
    mask-image: url("../images/icons/social-x.svg");
}

/* 16b. About: more breathing room above "Crafted to Delight" (the intro section directly under the hero scallops and
   arrow). Only this section's top padding changes (was 24px desktop / 16px phone); the heading's typography, centring,
   heading-to-copy gap, paragraph spacing, the section's bottom padding and "What Makes Us Forest Fairies" are unchanged.
   Node oxy-container-851-19 exists only on the About page (#851). */
html .oxy-container-851-19.ff-home-intro:not(#ff-x) {
    padding-top: 72px;
}
@media (max-width: 1024px) {
    html .oxy-container-851-19.ff-home-intro:not(#ff-x) {
        padding-top: 60px;
    }
}
@media (max-width: 767px) {
    html .oxy-container-851-19.ff-home-intro:not(#ff-x) {
        padding-top: 52px;
    }
}

/* 16c. Header count badges: ONE shared rule for the wishlist heart and the basket bag (19 Nov 2026).
   Root cause of the mismatch: the wishlist badge still used the older rule (top 3px / right 1px of its tap target, 17px,
   11px type) while 16a restyled only the basket counter (16px, 10px, lifted for the WhatsApp disc). The tap target is
   32px on desktop and 44px on tablets, so the wishlist badge moved relative to its heart at every width and covered it.
   Now: each badge is positioned on its OWN icon link (position: relative; both links are the same size and centre their
   22px glyph), so identical top / left values give identical placement - 14px above the glyph's top edge, overlapping its
   right edge by 5px (clear of the heart lobes and the bag handle). Same rule at every width; neighbouring icons
   (WhatsApp) play no part. Size, type, colours and centring are shared; counts grow to the right (min-width + padding);
   the existing hide-at-zero rules still apply. Icon size, icon positions, spacing and the phone dock are unchanged. */
html .ff-site-header:not(#ff-x) {
    --ff-badge-size: 16px;
    --ff-badge-lift: 25px;   /* badge top = icon centre - 25px = glyph top (centre - 11px) - 14px */
    --ff-badge-shift: 6px;   /* badge left = icon centre + 6px = glyph right edge (centre + 11px) - 5px */
}
html .ff-site-header .ff-header-actions .ff-header-action--wishlist .bde-icon-icon.breakdance-icon-atom:not(#ff-x),
html .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle:not(#ff-x) {
    position: relative;
}
html .ff-site-header .ff-header-actions .ff-header-action--wishlist .bde-icon-icon .ff-header-wishlist-count:not(#ff-x),
html .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle .bde-mini-cart-toggle__counter:not(#ff-x) {
    position: absolute;
    top: calc(50% - var(--ff-badge-lift));
    left: calc(50% + var(--ff-badge-shift));
    right: auto;
    bottom: auto;
    z-index: 2;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    min-width: var(--ff-badge-size);
    height: var(--ff-badge-size);
    margin: 0;
    padding: 0 4px;
    border-radius: 999px;
    box-shadow: 0 0 0 2px var(--ff-colour-white, #fff);
    background-color: var(--ff-colour-dark);
    color: var(--ff-colour-white, #fff);
    font-family: var(--ff-font-primary);
    font-size: 10px;
    font-weight: var(--ff-weight-semibold, 600);
    font-variant-numeric: tabular-nums;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    white-space: nowrap;
    pointer-events: none;
}
html .ff-site-header .ff-header-actions .ff-header-action--wishlist .bde-icon-icon .ff-header-wishlist-count:not([hidden]):not(#ff-x),
html .ff-site-header .ff-header-actions .ff-header-action--cart .bde-mini-cart-toggle .bde-mini-cart-toggle__counter:not([data-count="0"]):not(#ff-x) {
    display: inline-flex;
}

/* =========================================================
   17. REV3 CORRECTIONS (23 Nov 2026) - XD "6889 Forest Fairies website REV3" (artboards Home page, Support pg, Sugar-free,
   Gifting, Wholesale & export, About); PDF used to cross-check. Change record:
   oxygen-imports/backups/rev3-corrections-20261123-134323/change-record/NOTES.md
   ========================================================= */

/* 17a. Fraunces 700 italic (the XD's "Fraunces 72pt Bold Italic" accent words) - npm @fontsource/fraunces@5.2.9, the
   same package as the hosted 300 / 400 / 700 files (its 700 normal file is byte-identical to the one already here). */
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/fraunces-latin-ext-700-italic.woff2") format("woff2");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
    font-family: "Fraunces";
    font-style: italic;
    font-weight: 700;
    font-display: swap;
    src: url("../fonts/fraunces-latin-700-italic.woff2") format("woff2");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* 17b. Fraunces for every site heading (REV3: "Fraunces 72pt Bold" page + section headings; the story-style split
   headings keep Fraunces Light, the subheadings Fraunces Regular - their own rules set those weights). Replaces the
   13d Jost default. UI labels that the XD sets in Jost stay Jost: product card names, accordion item titles, FAQ
   questions, review names, card / USP titles, footer column headings, shop filter + product information headings,
   form legends, mini-cart / quick-view / dialog headings. Only the family (and the weights Fraunces does not ship:
   500 / 600 -> 700) change; sizes, colours, spacing and casing rules are untouched. */
html body :is(h1, h2, h3, h4, h5, h6):not(#ff-x) {
    font-family: var(--ff-font-display-stack, "Fraunces", Georgia, serif);
    font-synthesis: none;
}
html body :is(.ff-label-bold, .ff-product-card-heading, .bde-accordion__title-tag, .bde-accordion__title, .ff-faq-question,
    .ff-footer-heading, .ff-shop-filter-heading, .ff-filter-drawer-title, .ff-product-acc-heading, .ff-product-detail-title,
    .ff-usp-title, .ff-hub-side-title, .ff-mega-menu-title, .wpforms-field-label, .woocommerce-loop-product__title):is(h1, h2, h3, h4, h5, h6, legend):not(#ff-x),
html body :is(.ff-site-header, .ff-site-footer, .ff-product-card, .ff-quick-view, .ff-mini-cart, .bde-mini-cart-offcanvas, .ff-cookie-banner, dialog) :is(h1, h2, h3, h4, h5, h6, legend):not(#ff-x),
html body :is(h1, h2, h3, h4, h5, h6) :is(.bde-accordion__title, .ff-product-card-heading):not(#ff-x) {
    font-family: var(--ff-font-primary, "Jost", sans-serif);
}
/* the milestone years keep their approved Fraunces Light italic (they carry .ff-label-bold) */
html body .ff-milestone-year.ff-label-bold:is(h1, h2, h3, h4, h5, h6):not(#ff-x) {
    font-family: var(--ff-font-display-stack, "Fraunces", Georgia, serif);
}
/* Fraunces ships 300 / 400 / 700 only: medium / semibold display headings render at 700 (never a synthesised weight) */
html body :is(.ff-cart-empty-title, .ff-wishlist-list-title, .ff-wishlist-empty-title, .ff-404-title, .ff-h1, .ff-h2,
    .ff-section-title, .ff-archive-hero-title, .ff-commerce-title, .ff-hub-article-title, .ff-hub-section-title,
    .ff-recipe-subtitle, .ff-wishlist-title, .ff-shop-intro-title, .ff-product-single-title):is(h1, h2, h3, h4, h5, h6):not(.ff-subheading):not(#ff-x) {
    font-weight: 700;
}
html body .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with, .ff-help-section, .ff-explore-cta) .ff-split-content > .ff-section-title:not(#ff-x),
html body .ff-content-page .ff-process-step:not(#ff-x) {
    font-weight: 300;
}

/* 17c. burgundy words inside headings are Fraunces Italic (XD: Bold Italic in bold headings, Light / Regular Italic in
   the light ones - each heading's own weight is inherited). Covers the JS accent words, kept <em> accents and the
   homepage's span accents ("category.", "seasonal", "sugar-free.", "happy"). Colour rules are unchanged. */
html body :is(h1, h2, h3, h4, h5, h6) :is(.ff-accent-word, em, i, [class*="-accent"]):not(#ff-x) {
    font-family: inherit;
    font-style: italic;
    font-weight: inherit;
    font-synthesis: none;
}
html body :is(.ff-label-bold, .ff-product-card-heading, .bde-accordion__title-tag, .ff-faq-question, .ff-footer-heading):is(h1, h2, h3, h4, h5, h6) :is(.ff-accent-word, em, i):not(#ff-x) {
    font-style: normal;
}

/* 17d. homepage hero: "A little magic." / "in every bite." - exactly two lines in Fraunces Bold (XD 64px at 1280),
   "magic." and "bite." burgundy Fraunces Bold Italic. Each line stays on one line (nowrap) and the size is set so the
   longer line fits the copy column at every width (half the container on desktop / tablet, full width on phones).
   The static wave under "bite." is replaced by the shared animated squiggle (initHeadingAccents). */
html .ff-home .ff-home-hero-title:not(#ff-x) {
    margin-bottom: clamp(26px, 2.4vw, 34px);
    font-family: var(--ff-font-display-stack, "Fraunces", Georgia, serif);
    font-weight: 700;
    font-size: clamp(34px, 1rem + 3.75vw, 68px);   /* 64px at 1280 (XD) */
    line-height: 1.06;
    letter-spacing: 0.005em;
    color: var(--ff-colour-brown, #302821);
}
html .ff-home .ff-home-hero-title .ff-hero-line:not(#ff-x) {
    display: block;
    white-space: nowrap;
}
html .ff-home .ff-home-hero-title em:not(#ff-x) {
    font-style: italic;
    font-weight: 700;
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-home .ff-home-hero-title .ff-hero-underline:not(#ff-x) {
    background: none;
}
html .ff-home .ff-home-hero-title .ff-accent-word:not(#ff-x) {
    margin-bottom: 0;   /* the squiggle hangs into the title's bottom margin instead of growing the line */
}
@media (min-width: 768px) and (max-width: 1023px) {
    html .ff-home .ff-home-hero-title:not(#ff-x) {
        font-size: clamp(30px, 0.4rem + 3.6vw, 40px);
    }
}
@media (max-width: 767px) {
    html .ff-home .ff-home-hero-title:not(#ff-x) {
        font-size: clamp(31px, 0.35rem + 8.4vw, 54px);
    }
}

/* 17e. squiggles: the testimonials "customers" wave becomes the shared animated squiggle too (initHeadingAccents) */
html .ff-home .ff-home-testimonials-title .ff-home-testimonials-underline:not(#ff-x)::after {
    content: none;
}
html .ff-home .ff-home-testimonials-title .ff-home-testimonials-underline:not(#ff-x) {
    background: none;
}
.ff-squiggle path {
    stroke-width: 2.2;
}

/* 17f. homepage "Shop by category." carousel: every customer-facing WooCommerce category ([ff_home_categories] in
   #776, inside the existing category track markup). Four cards per view at the 1280 reference (three on tablet, ~1.6
   on phones) with the Seasonal carousel's rhythm: 24px card gap, label row under the square photo, the XD 37px arrow
   centred on the photo, outside the 1280 grid on wide screens and over the photo edges below 1384px - the Seasonal
   Swiper arrows' positions. Touch swipe, mouse drag and keyboard focus scrolling come from the shared track controls. */
html .ff-home .ff-home-categories .oxy-shortcode:has(.ff-category-track) {
    width: 100%;
    min-width: 0;
}
html .ff-home .ff-home-categories:not(#ff-x) {
    --ff-cat-gap: 24px;
}
html .ff-home .ff-home-categories .ff-category-track:not(#ff-x) {
    grid-auto-columns: calc((100% - 3 * var(--ff-cat-gap)) / 4);
    gap: var(--ff-cat-gap);
    margin: 0;
    padding: 0;
    list-style: none;
}
html .ff-home .ff-home-categories .ff-category-track > .ff-category-item:not(#ff-x) {
    scroll-snap-align: start;
}
html .ff-home .ff-home-categories .ff-category-card-media:not(#ff-x) {
    overflow: hidden;
}
@media (min-width: 768px) and (max-width: 1023px) {
    html .ff-home .ff-home-categories:not(#ff-x) {
        --ff-cat-gap: 20px;
    }
    html .ff-home .ff-home-categories .ff-category-track:not(#ff-x) {
        grid-auto-columns: calc((100% - 2 * var(--ff-cat-gap)) / 3);
    }
}
@media (max-width: 767px) {
    html .ff-home .ff-home-categories:not(#ff-x) {
        --ff-cat-gap: 16px;
    }
    html .ff-home .ff-home-categories .ff-category-track:not(#ff-x) {
        grid-auto-columns: 62%;
    }
}

/* 17g. content-page heroes (Sugar-Free, Gifting, Wholesale & Export, About): REV3 Fraunces Bold 64px headings on the
   XD's ~490px measure ("Gifts made / to delight.", "The story / behind the / sweetness.", "Wholesale / & export /
   opportunities."), the accent word burgundy bold italic with the squiggle, two CTAs; new XD photographs framed per
   page. About: the XD replaces the scallop trim with a burgundy block strip. */
html .ff-page-hero h1:not(#ff-x) {
    font-family: var(--ff-font-display-stack, "Fraunces", Georgia, serif);
    font-size: clamp(36px, 1.05rem + 3.65vw, 64px);
    line-height: 1.02;
    letter-spacing: 0.005em;
}
html .ff-content-page .ff-page-hero .ff-archive-hero-content:not(#ff-x) {
    max-width: 500px;
}
html .ff-content-page .ff-page-hero .ff-archive-hero-copy:not(#ff-x) {
    max-width: 390px;
}
html .ff-sugar-free-page .ff-page-hero .ff-archive-hero-media img:not(#ff-x) { object-position: 50% 50%; }
html .ff-gifting-page .ff-page-hero .ff-archive-hero-media img:not(#ff-x) { object-position: 62% 45%; }
html .ff-wholesale-page .ff-page-hero .ff-archive-hero-media img:not(#ff-x) { object-position: 50% 55%; }
html .ff-about-page .ff-page-hero .ff-archive-hero-media img:not(#ff-x) { object-position: 84% 50%; }
@media (max-width: 767px) {
    html .ff-gifting-page .ff-page-hero .ff-archive-hero-media img:not(#ff-x) { object-position: 55% 50%; }
    html .ff-about-page .ff-page-hero .ff-archive-hero-media img:not(#ff-x) { object-position: 80% 50%; }
}
/* About: burgundy block strip along the hero's lower edge (XD: 24-25 x 30px blocks every 43.3px) instead of scallops */
html .ff-about-page .ff-page-hero:not(#ff-x)::after {
    height: 30px;
    background: linear-gradient(90deg, var(--ff-colour-burgundy, #742D37) 0 24.5px, transparent 24.5px 100%) -4px 0 / 43.33px 100% repeat-x;
}
@media (max-width: 767px) {
    html .ff-about-page .ff-page-hero:not(#ff-x)::after {
        height: 22px;
        background: linear-gradient(90deg, var(--ff-colour-burgundy, #742D37) 0 18px, transparent 18px 100%) 0 0 / 32px 100% repeat-x;
    }
}

/* 17h. REV3 split sections with ONE full-bleed photograph (the XD "new look" artwork replaces the layered cut-outs):
   Sugar-Free "Why choose", Gifting "Why choose", Wholesale "Who we work with?" and Support "Still need help?" - photo
   fills the left half (cover), copy panel on the right.
   - Gifting, Wholesale, Support: burgundy panel (story language) with cream #F2EADF scallops along the band's top and
     bottom edges (XD Component 28 rows).
   - Sugar-Free: REV3 turns this band light - cream #F3EEE5 panel, dark copy and accordion, burgundy primary button, with
     cream-deep #EDE1CF block strips above and below the band (XD Group 532). */
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with, .ff-help-section) .ff-split-media--layered:not(#ff-x) {
    position: relative;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 100%;
    margin: 0;
    aspect-ratio: auto;
    overflow: hidden;
    background: var(--ff-colour-cream, #F3EEE5);
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with, .ff-help-section) .ff-split-media--layered:not(#ff-x)::before,
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with, .ff-help-section) .ff-split-media--layered:not(#ff-x)::after {
    content: none;
}
html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with, .ff-help-section) .ff-split-media--layered .ff-split-layer-bg:not(#ff-x) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: 50% 50%;
    clip-path: none;
    opacity: 1;
}
html .ff-content-page .ff-sf-why .ff-split-layer-bg:not(#ff-x) { object-position: 50% 55%; }
html .ff-content-page .ff-who-we-work-with .ff-split-layer-bg:not(#ff-x) { object-position: 45% 50%; }
html .ff-content-page .ff-help-section .ff-split-layer-bg:not(#ff-x) { object-position: 50% 45%; }
/* scalloped burgundy bands */
html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section):not(#ff-x) {
    --ff-rev3-lobe: 22px;
    --ff-rev3-lobe-colour: #F2EADF;
    position: relative;
    overflow: hidden;
}
html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section):not(#ff-x)::before,
html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section):not(#ff-x)::after {
    content: "";
    position: absolute;
    z-index: 4;
    left: 0;
    right: 0;
    height: var(--ff-rev3-lobe);
    pointer-events: none;
}
html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section):not(#ff-x)::before {
    top: 0;
    background: radial-gradient(circle at 50% 0, var(--ff-rev3-lobe-colour) 21.5px, transparent 22.5px) 0 0 / 48px 100% repeat-x;
}
html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section):not(#ff-x)::after {
    bottom: 0;
    background: radial-gradient(circle at 50% 100%, var(--ff-rev3-lobe-colour) 21.5px, transparent 22.5px) 0 0 / 48px 100% repeat-x;
}
/* the copy panel clears the lobes */
html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section) .ff-split-content:not(#ff-x) {
    padding-top: calc(clamp(64px, 7vw, 104px) + var(--ff-rev3-lobe));
    padding-bottom: calc(clamp(64px, 7vw, 104px) + var(--ff-rev3-lobe));
}
@media (max-width: 767px) {
    html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section):not(#ff-x) {
        --ff-rev3-lobe: 16px;
    }
    html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section):not(#ff-x)::before {
        background: radial-gradient(circle at 50% 0, var(--ff-rev3-lobe-colour) 15.5px, transparent 16.5px) 0 0 / 35px 100% repeat-x;
    }
    html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section):not(#ff-x)::after {
        background: radial-gradient(circle at 50% 100%, var(--ff-rev3-lobe-colour) 15.5px, transparent 16.5px) 0 0 / 35px 100% repeat-x;
    }
    html .ff-content-page :is(.ff-sf-why, .ff-gift-why, .ff-who-we-work-with, .ff-help-section) .ff-split-media--layered:not(#ff-x) {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }
    html .ff-content-page :is(.ff-gift-why, .ff-who-we-work-with, .ff-help-section) .ff-split-content:not(#ff-x) {
        padding-top: calc(44px + var(--ff-rev3-lobe));
        padding-bottom: calc(52px + var(--ff-rev3-lobe));
    }
}
/* Sugar-Free "Why choose": light band */
html .ff-content-page .ff-sf-why:not(#ff-x) {
    --ff-rev3-block: 30px;
    position: relative;
    padding-block: var(--ff-rev3-block);
    background:
        linear-gradient(90deg, var(--ff-colour-cream-deep, #EDE1CF) 0 24.5px, transparent 24.5px 100%) -4px 0 / 43.33px var(--ff-rev3-block) repeat-x,
        linear-gradient(90deg, var(--ff-colour-cream-deep, #EDE1CF) 0 24.5px, transparent 24.5px 100%) -4px 100% / 43.33px var(--ff-rev3-block) repeat-x,
        var(--ff-colour-cream-light, #FCFAF6);
}
html .ff-content-page .ff-sf-why > .ff-split-inner:not(#ff-x),
html .ff-content-page .ff-sf-why .ff-split-content:not(#ff-x) {
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-content-page .ff-sf-why .ff-split-content:not(#ff-x),
html .ff-content-page .ff-sf-why .ff-split-content > .ff-section-title:not(#ff-x),
html .ff-content-page .ff-sf-why .ff-split-content > .ff-section-title .ff-accent-word:not(#ff-x),
html .ff-content-page .ff-sf-why .ff-split-content :is(.ff-body, p):not(#ff-x),
html .ff-content-page .ff-sf-why .ff-home-story-accordion :is(.bde-accordion__button, .bde-accordion__title, .bde-accordion__panel-content):not(#ff-x) {
    color: var(--ff-colour-brown, #302821);
}
html .ff-content-page .ff-sf-why .ff-split-content > .ff-section-title .ff-accent-word .ff-squiggle:not(#ff-x) {
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-sf-why .ff-home-story-accordion:not(#ff-x),
html .ff-content-page .ff-sf-why .ff-home-story-accordion .bde-accordion__content-wrapper + .bde-accordion__content-wrapper:not(#ff-x) {
    border-color: rgba(48, 40, 33, 0.22);
}
html .ff-content-page .ff-sf-why .ff-home-story-accordion .bde-accordion__button:focus-visible:not(#ff-x),
html .ff-content-page .ff-sf-why .ff-split-content :is(.ff-btn-primary, .ff-btn-secondary, a):focus-visible:not(#ff-x) {
    outline-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-sf-why .ff-split-content :is(.ff-btn-primary, .ff-btn-primary:visited):not(#ff-x) {
    border: 1px solid var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-sf-why .ff-split-content .ff-btn-primary:is(:hover, :focus-visible):not(#ff-x) {
    border-color: var(--ff-colour-accent-hover, #5f252d);
    background-color: var(--ff-colour-accent-hover, #5f252d);
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-sf-why .ff-split-content :is(.ff-btn-secondary, .ff-btn-secondary:visited):not(#ff-x) {
    color: var(--ff-colour-brown, #302821);
}
@media (max-width: 767px) {
    html .ff-content-page .ff-sf-why:not(#ff-x) {
        --ff-rev3-block: 22px;
        background:
            linear-gradient(90deg, var(--ff-colour-cream-deep, #EDE1CF) 0 18px, transparent 18px 100%) 0 0 / 32px var(--ff-rev3-block) repeat-x,
            linear-gradient(90deg, var(--ff-colour-cream-deep, #EDE1CF) 0 18px, transparent 18px 100%) 0 100% / 32px var(--ff-rev3-block) repeat-x,
            var(--ff-colour-cream-light, #FCFAF6);
    }
}
/* Wholesale "Want to explore the range first?": one photograph flush left on a cream band with cream-deep block strips
   above and below (XD Rectangle 432 + block rows); heading Fraunces Light with "range first?" Light italic; primary
   "Shop our full range" + secondary "Enquire now". */
html .ff-content-page .ff-explore-cta:not(#ff-x) {
    --ff-rev3-block: 30px;
    padding-block: var(--ff-rev3-block);
    overflow: hidden;
    background:
        linear-gradient(90deg, var(--ff-colour-cream-deep, #EDE1CF) 0 24.5px, transparent 24.5px 100%) -4px 0 / 43.33px var(--ff-rev3-block) repeat-x,
        linear-gradient(90deg, var(--ff-colour-cream-deep, #EDE1CF) 0 24.5px, transparent 24.5px 100%) -4px 100% / 43.33px var(--ff-rev3-block) repeat-x,
        var(--ff-colour-cream-light, #FCFAF6);
}
html .ff-content-page .ff-explore-cta > .ff-split-inner:not(#ff-x) {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    min-height: clamp(420px, 39vw, 500px);
    background-color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-content-page .ff-explore-cta .ff-explore-media:not(#ff-x) {
    position: relative;
    width: 100%;
    max-width: none;
    height: auto;
    min-height: 100%;
    aspect-ratio: auto;
    overflow: hidden;
}
html .ff-content-page .ff-explore-cta .ff-explore-media .ff-split-layer-bg:not(#ff-x) {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
html .ff-content-page .ff-explore-cta .ff-split-content:not(#ff-x) {
    justify-content: center;
    padding: clamp(48px, 5vw, 72px) var(--ff-split-pad) clamp(48px, 5vw, 72px) clamp(36px, 3vw, 48px);
}
html .ff-content-page .ff-explore-cta .ff-split-content > .ff-section-title:not(#ff-x) {
    font-size: var(--ff-section-heading-display-size, clamp(28px, 0.9rem + 2.7vw, 52px));
    line-height: 1.1;
    text-align: left;
}
@media (max-width: 767px) {
    html .ff-content-page .ff-explore-cta:not(#ff-x) {
        --ff-rev3-block: 22px;
        background:
            linear-gradient(90deg, var(--ff-colour-cream-deep, #EDE1CF) 0 18px, transparent 18px 100%) 0 0 / 32px var(--ff-rev3-block) repeat-x,
            linear-gradient(90deg, var(--ff-colour-cream-deep, #EDE1CF) 0 18px, transparent 18px 100%) 0 100% / 32px var(--ff-rev3-block) repeat-x,
            var(--ff-colour-cream-light, #FCFAF6);
    }
    html .ff-content-page .ff-explore-cta > .ff-split-inner:not(#ff-x) {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    html .ff-content-page .ff-explore-cta .ff-explore-media:not(#ff-x) {
        min-height: 0;
        aspect-ratio: 1 / 1;
    }
    html .ff-content-page .ff-explore-cta .ff-split-content:not(#ff-x) {
        padding: 40px var(--ff-container-gutter, 20px) 48px;
    }
}

/* 17i. Support (#864) to the XD "Support pg" artboard: Fraunces headings; FAQ category tabs in the XD's inverse states
   (other categories filled, the open category outlined with dark text); "Still need help?" as the story-language split
   - the XD photograph left, burgundy panel right with Fraunces Light "Still need help?" ("help?" Light italic), white
   copy, contact lines in Jost Medium, an outlined white "Fill out our contact form" button and an underlined
   "WhatsApp us" link, cream scallops above and below (17h). Useful links keep the four approved buttons. */
html .ff-support-page .ff-faq-section .ff-tab:not(#ff-x) {
    border: 1px solid var(--ff-colour-burgundy, #742D37);
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .ff-support-page .ff-faq-section .ff-tab:hover:not([aria-selected="true"]):not(#ff-x) {
    border-color: var(--ff-colour-accent-hover, #5f252d);
    background-color: var(--ff-colour-accent-hover, #5f252d);
    color: var(--ff-colour-white, #fff);
}
html .ff-support-page .ff-faq-section .ff-tab[aria-selected="true"]:not(#ff-x) {
    border-color: var(--ff-colour-brown, #302821);
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-brown, #302821);
}
html .ff-support-page .ff-faq-section .ff-tab:focus-visible:not(#ff-x) {
    outline: 2px solid var(--ff-colour-burgundy, #742D37);
    outline-offset: 3px;
}
html .ff-content-page .ff-help-section:not(#ff-x) {
    margin-top: var(--ff-home-section-space);
    padding: 0;
    background-color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-help-section > .ff-split-inner:not(#ff-x) {
    container-type: inline-size;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;
    width: 100%;
    max-width: none;
    min-height: clamp(440px, 39vw, 500px);
    margin: 0;
}
html .ff-content-page .ff-help-section .ff-split-content:not(#ff-x) {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding-left: clamp(36px, 3vw, 48px);
    padding-right: max(var(--ff-container-gutter, 20px), calc(50cqi - 640px));
    background-color: var(--ff-colour-burgundy, #742D37);
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-help-section .ff-split-content > *:not(#ff-x) {
    width: 100%;
    max-width: 540px;
}
html .ff-content-page .ff-help-section .ff-split-content > .ff-section-title:not(#ff-x) {
    margin: 0 0 clamp(14px, 1.4vw, 20px);
    font-family: var(--ff-font-display-stack, "Fraunces", Georgia, serif);
    font-size: var(--ff-section-heading-display-size, clamp(28px, 0.9rem + 2.7vw, 52px));
    font-weight: 300;
    line-height: 1.1;
    text-align: left;
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-help-section .ff-split-content > .ff-section-title .ff-accent-word:not(#ff-x) {
    font-weight: 300;
    color: var(--ff-colour-cream, #F3EEE5);
}
html .ff-content-page .ff-help-section .ff-split-content :is(.ff-body, p, li, a):not(.ff-btn-primary):not(.ff-btn-secondary):not(#ff-x) {
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-help-section .ff-contact-list:not(#ff-x) {
    margin: clamp(20px, 2vw, 28px) 0 0;
    padding: 0;
    list-style: none;
}
html .ff-content-page .ff-help-section .ff-contact-list :is(p, li, a):not(#ff-x) {
    margin: 0;
    font-weight: var(--ff-weight-medium, 500);
    line-height: 1.6;
}
html .ff-content-page .ff-help-section .ff-home-hero-actions:not(#ff-x) {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 28px;
    margin-top: clamp(28px, 3vw, 40px);
}
html .ff-content-page .ff-help-section .ff-split-content :is(.ff-btn-primary, .ff-btn-primary:visited):not(#ff-x) {
    border: 1px solid var(--ff-colour-white, #fff);
    background-color: transparent;
    box-shadow: none;
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-help-section .ff-split-content .ff-btn-primary:is(:hover, :focus-visible):not(#ff-x) {
    background-color: var(--ff-colour-white, #fff);
    color: var(--ff-colour-burgundy, #742D37);
}
html .ff-content-page .ff-help-section .ff-split-content :is(.ff-btn-secondary, .ff-btn-secondary:visited):not(#ff-x) {
    color: var(--ff-colour-white, #fff);
}
html .ff-content-page .ff-help-section .ff-split-content :is(a, .ff-btn-primary, .ff-btn-secondary):focus-visible:not(#ff-x) {
    outline: 2px solid var(--ff-colour-white, #fff);
    outline-offset: 3px;
}
@media (max-width: 767px) {
    html .ff-content-page .ff-help-section > .ff-split-inner:not(#ff-x) {
        grid-template-columns: minmax(0, 1fr);
        min-height: 0;
    }
    html .ff-content-page .ff-help-section .ff-split-content:not(#ff-x) {
        padding-left: var(--ff-container-gutter, 20px);
        padding-right: var(--ff-container-gutter, 20px);
    }
}

/* 17j. homepage collection strip: "Sugar products" / "Sugar-free collection" are Fraunces 72pt Bold 32px in REV3 (they
   read as headings); size, arrow, hover and focus are unchanged. */
html .ff-home .ff-home-collection-link:not(#ff-x),
html .ff-home .ff-home-collection-link:visited:not(#ff-x) {
    font-family: var(--ff-font-display-stack, "Fraunces", Georgia, serif);
    font-weight: 700;
    font-synthesis: none;
    letter-spacing: 0.005em;
}

/* 17k. category archive heroes: the XD sets the WHOLE heading in burgundy Fraunces Bold, upright ("Bars.", "Sugar-free.") -
   the accent span there is the entire heading, not a burgundy word within it, so it stays upright (14 unchanged). */
html .ff-category-hero h1.ff-archive-hero-title .ff-accent-word:not(#ff-x) {
    font-style: normal;
}

/* 17l. product badge colours by type (23 Nov 2026) - product cards, carousels, product page and wish list. Only the
   colours change: the outlined shape, 1px border, padding, radius and type size of each context are kept.
   - On Sale (automatic, WooCommerce): burgundy text + border #742D37 on light cream #F2EADF.
   - Gluten-free: chocolate-brown text #302821, teal border #5C9A9C, pale teal #E9EFED.
   - Low Carb: chocolate-brown text + border #302821 on warm cream #EDE1CF.
   Other badge types (Black Friday, New, Best Seller...) keep the burgundy outline on white. */
html body .ff-product-badge__label.ff-product-badge--on-sale:not(#ff-x) {
    border-color: #742D37;
    background-color: #F2EADF;
    color: #742D37;
}
html body .ff-product-badge__label.ff-product-badge--gluten-free:not(#ff-x) {
    border-color: #5C9A9C;
    background-color: #E9EFED;
    color: #302821;
}
html body .ff-product-badge__label.ff-product-badge--low-carb:not(#ff-x) {
    border-color: #302821;
    background-color: #EDE1CF;
    color: #302821;
}
