:root {
  --color-primary: #dc2626;
  --color-primary-hover: #b91c1c;
  --color-secondary: #1f2937;
  --color-secondary-hover: #111827;
  --color-accent: #fbbf24;
  --color-accent-hover: #f59e0b;
  --color-text: #111827;
  --color-text-muted: #4b5563;
  --color-surface: #f3f4f6;
  --color-background: #ffffff;
  --color-border: #d1d5db;
  --font-heading: Outfit, system-ui, sans-serif;
  --font-body: Inter, system-ui, sans-serif;
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.75rem;
  --radius-lg: 1.25rem;
  --radius-full: 9999px;
}

:root {
  --color-primary: #e8642b;
  --color-primary-hover: #f2793f;
  --color-secondary: #f6c93c;
  --color-secondary-hover: #ffd75e;
  --color-accent: #f6c93c;
  --color-accent-hover: #ffd75e;
  --color-text: #f2f0ea;
  --color-text-muted: #a9a79f;
  --color-text-subtle: #94928a;
  --color-background: #0c0d12;
  --color-surface: #14161d;
  --color-surface-raised: #1b1d23;
  --color-border: #262931;
  --color-primary-soft: rgba(232, 100, 43, 0.08);
  --color-accent-soft: rgba(246, 201, 60, 0.1);
  --color-shop-background: #f7f6f3;
  --color-shop-surface: #ffffff;
  --color-shop-raised: #f2f0ea;
  --color-shop-text: #14161d;
  --color-shop-text-muted: #5c5a54;
  --color-shop-border: #e2dfd7;
  --color-on-primary: #0c0d12;
  --color-on-accent: #0c0d12;
  --color-cta: #f6c93c;
  --color-cta-hover: #ffd75e;
  --color-on-cta: #0c0d12;
  --font-heading: "Work Sans", system-ui, sans-serif;
  --font-body: "Work Sans", system-ui, sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1.1875rem;
  --font-size-lg: 1.375rem;
  --font-size-xl: 1.75rem;
  --font-size-2xl: 2.125rem;
  --font-size-3xl: 2.875rem;
  --font-size-4xl: 3.5rem;
  --font-size-5xl: 4.75rem;
  --font-weight-body: 400;
  --font-weight-display: 300;
  --font-weight-heading: 500;
  --space-3xl: 5rem;
  --space-section: 7rem;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 4px;
  --container-wide: 1200px;
  --container: 1000px;
  --container-narrow: 820px;
  --container-text: 700px;
}

/* Pressing Forward Marketplace - global theme layer
 *
 * SCOPING NOTE: widgets on this site render with `.wpc-widget` / `.ewb-widget`
 * wrappers but NOT a `.wpc-theme-*` class, so everything here is scoped to
 * `.wpc-widget` rather than the theme class. Page-level rules are scoped to
 * `body.wpcursor-fullwidth`, which only exists on our own full-width templates.
 * Nothing here touches bare html/body font-size or any admin surface.
 */

/* Work Sans - the reference site's typeface, weights 300–800 */

/* ── Page canvas ───────────────────────────────────────────── */

html body.wpcursor-fullwidth {
  background: var(--color-background);
  color: var(--color-text);
}

body.wpcursor-fullwidth .wpcursor-fullwidth-wrapper {
  background: var(--color-background);
  min-height: 100vh;
}

/* ── Block-rendered pages ───────────────────────────────────────
   The pages we built use the WPCursor Full Width template and take
   their canvas from the two rules above. Everything WordPress renders
   through a block template instead (product category archives, single
   product pages, single posts, search results, 404) falls back to
   Twenty Twenty-Five's own light styling, so a customer following a
   category link landed on a white page set in Times New Roman.

   Scoped to .wp-site-blocks, which only exists on block-rendered
   pages, so none of this reaches the built pages. The product grid
   itself is deliberately left alone: FluentCart's cream panel and
   white cards are the same treatment used on the Shop page, and
   category pages should match it. */

body:has(.wp-site-blocks) {
  background: var(--color-background);
  color: var(--color-text);
}

.wp-site-blocks {
  background: var(--color-background);
  min-height: 100vh;
}

/* Page body only. The header and footer inside .wp-site-blocks are
   our own widgets and keep their own styling. */
.wp-site-blocks  main {
  color: var(--color-text);
  font-family: var(--font-body);
  padding-bottom: var(--space-2xl);
}

.wp-site-blocks  main :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-heading);
  color: var(--color-text);
}

/* The archive title, e.g. a product category name. Sized to sit in
   the same register as the page-intro band on the built pages. */
.wp-site-blocks  main .wp-block-query-title {
  margin: 0;
  padding-top: var(--space-2xl);
  padding-bottom: var(--space-md);
  font-weight: var(--font-weight-display, 300);
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* margin-inline is reset because a constrained block centres itself,
   which reads as centred text even when text-align is left. */
.wp-site-blocks  main .wp-block-term-description {
  max-width: 62ch;
  margin-inline: 0;
  color: var(--color-text-muted);
}

/* ── Product security notice ────────────────────────────────────
   Rendered under the product description on single product pages by
   the pf_product_patchstack snippet, when that product has a
   Patchstack disclosure page on record.

   Styled for the DARK canvas. FluentCart's light panel covers only
   the product info card at the top of the page; the description this
   sits under is on the site background, so light-background colours
   here were dark text on near-black and unreadable.

   Measured on --color-background #0C0D12:
     body  #F2F0EA  16.9:1
     link  #F6C93C  12.3:1
     label #E8642B   5.4:1  */

.pf-vdp {
  max-width: 68ch;
  margin: var(--space-lg) 0 0;
  padding: var(--space-md) var(--space-lg);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
  border-radius: var(--radius-md);
  background: var(--color-surface);
}

.pf-vdp__label {
  margin: 0 0 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.pf-vdp__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text);
}

/* Underlined as well as coloured, so it is not distinguished by
   colour alone (WCAG 1.4.1). */
.pf-vdp__body a {
  color: var(--color-accent);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pf-vdp__body a:hover,
.pf-vdp__body a:focus-visible {
  color: var(--color-accent-hover);
}

/* WCAG 2.4.1. Our skip link shows on every page, including these.
   WordPress core's competing "Skip to content" link is removed in PHP
   instead, by the pf_landmark_dedupe snippet, so that the one skip
   link the site has is branded and worded identically everywhere.
   Nothing is hidden here on purpose. */

/* ── Base typography inside our widgets ────────────────────── */

.wpc-widget {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

.wpc-widget h1,
.wpc-widget h2,
.wpc-widget h3,
.wpc-widget h4,
.wpc-widget h5,
.wpc-widget h6 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-text);
}

.wpc-widget p {
  font-weight: 300;
  line-height: 1.6;
}

/* ── Shared section primitives ─────────────────────────────── */

.wpc-widget .pf-section {
  padding: var(--space-section, 7rem) var(--space-xl);
  background: var(--color-background);
}

.wpc-widget .pf-section--alt {
  background: var(--color-surface);
}

.wpc-widget .pf-section--tight {
  padding-block: var(--space-3xl, 5rem);
}

.wpc-widget .pf-container {
  max-width: var(--container, 1000px);
  margin-inline: auto;
}

.wpc-widget .pf-container--wide {
  max-width: var(--container-wide, 1200px);
  margin-inline: auto;
}

.wpc-widget .pf-container--narrow {
  max-width: var(--container-narrow, 820px);
  margin-inline: auto;
}

/* ── The signature moves from the reference design ─────────── */

/* Orange uppercase eyebrow above section headings */
.wpc-widget .pf-eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

/* Italic emphasis inside large headings - gold, matching the logo mark */
.wpc-widget .pf-em {
  font-style: italic;
  color: var(--color-accent);
}

.wpc-widget .pf-h1 {
  font-size: clamp(2.75rem, 6vw, 4.75rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin: 0;
}

.wpc-widget .pf-h2 {
  font-size: clamp(2rem, 4vw, 2.875rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.002em;
  margin: 0;
}

.wpc-widget .pf-h3 {
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.3;
  margin: 0;
}

.wpc-widget .pf-lead {
  font-size: 1.1875rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* ── Buttons ───────────────────────────────────────────────── */

.wpc-widget .pf-btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

/* CTA buttons are the logo gold (--color-cta), set 12 October 2026.
   Near-black label on that gold is 12.35:1, well past AAA. The
   variant keeps the name "primary" because it is the primary ACTION
   in the markup; only its fill moved off --color-primary. */
.wpc-widget .pf-btn--primary {
  background: var(--color-cta);
  color: var(--color-on-cta);
}

.wpc-widget .pf-btn--primary:hover {
  background: var(--color-cta-hover);
}

.wpc-widget .pf-btn--ghost {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border);
}

.wpc-widget .pf-btn--ghost:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.wpc-widget .pf-btn--accent {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

.wpc-widget .pf-btn--accent:hover {
  background: var(--color-accent-hover);
}

/* ═══════════════════════════════════════════════════════════════
   FLUENTCART SKIN
   FluentCart renders its own markup, so these selectors target its
   own `.fct-*` / `.fluent-cart-*` classes rather than our widget
   wrappers. That still scopes them to FluentCart alone, and this
   stylesheet is front-end only - no admin surface is touched.

   Per the brief, commerce areas run LIGHT so listings and forms
   stay scannable, while marketing pages stay dark.
   ═══════════════════════════════════════════════════════════════ */

.fct-products-wrapper,
.fct-single-product,
.fluent-cart-checkout-page,
.fct-cart-page,
.fct-customer-profile,
.fluent-cart-customer-profile {
  background: var(--color-shop-background);
  color: var(--color-shop-text);
  font-family: var(--font-body);
  padding: clamp(2.5rem, 5vw, 4rem) var(--space-xl);
  /* FluentCart ships these as content-box; without this the inline
     padding is added to a 100% width and overflows the viewport. */
  box-sizing: border-box;
  max-width: 100%;
}

.fct-products-wrapper *,
.fct-single-product *,
.fluent-cart-checkout-page *,
.fct-cart-page * {
  font-family: var(--font-body);
}

.fct-products-wrapper-inner {
  max-width: var(--container-wide, 1200px);
  margin-inline: auto;
}

/* ── Product grid ───────────────────────────────────────────── */

/* Layout - grid columns, gaps, card flow - is left entirely to
   FluentCart's own stylesheet. Overriding it here fought style6.css
   and collapsed the grid. Skin colour, type and borders only. */

.fct-product-card {
  background: var(--color-shop-surface);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.fct-product-card:hover {
  border-color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(12, 13, 18, 0.08);
}

.fct-product-card-image-wrap {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-shop-raised);
  border-bottom: 1px solid var(--color-shop-border);
}

.fct-product-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fct-product-card-title {
  margin: var(--space-lg) var(--space-lg) var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.005em;
}

.fct-product-card-title a {
  color: var(--color-shop-text);
  text-decoration: none;
}

.fct-product-card-title a:hover {
  color: var(--color-primary);
}

.fct-product-card-prices {
  margin: 0 var(--space-lg) var(--space-lg);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--color-primary);
}

.fct-product-card-prices .fct-item-price {
  color: var(--color-primary);
}

/* ── Buttons ────────────────────────────────────────────────── */
/* Colour only - size, width and placement stay FluentCart's.
   Prefixed with the wrapper so these win over style6.css without
   resorting to !important. */

.fct-products-wrapper .fluent-cart-add-to-cart-button,
.fct-single-product .fluent-cart-add-to-cart-button,
.fct-cart-page .fct-primary-btn,
.fct-cart-drawer .fct-primary-btn,
.fluent-cart-checkout-page button[type="submit"],
.fluent-cart-checkout-page .fct-primary-btn {
  background: var(--color-cta);
  /* Near-black on the logo gold is 12.35:1, past AAA. */
  color: var(--color-on-cta);
  font-family: var(--font-body);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-color: transparent;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.fct-products-wrapper .fluent-cart-add-to-cart-button:hover,
.fct-single-product .fluent-cart-add-to-cart-button:hover,
.fct-cart-page .fct-primary-btn:hover,
.fct-cart-drawer .fct-primary-btn:hover,
.fluent-cart-checkout-page button[type="submit"]:hover,
.fluent-cart-checkout-page .fct-primary-btn:hover {
  background: var(--color-cta-hover);
}

.fct-products-wrapper .fluent-cart-add-to-cart-button .fct-button-text,
.fct-single-product .fluent-cart-add-to-cart-button .fct-button-text {
  color: inherit;
}

/* ── Toolbar: view switcher + filter toggle ─────────────────── */

.fct-shop-view-switcher,
.fct-shop-filter-toggle-button {
  background: var(--color-shop-surface);
  color: var(--color-shop-text);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
}

.fct-shop-filter-toggle-button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* ── Filter panel ───────────────────────────────────────────── */
/* FluentCart ships this panel with zero padding and no gap between
   the two price inputs, so it renders as a cramped white box. The
   rules below give it a card, real spacing, and brand colours.
   Selectors are prefixed with .fct-shop-filter-wrapper where they
   need to beat FluentCart's own stylesheet on load order. */

.fct-shop-filter-wrapper {
  margin-bottom: var(--space-lg);
}

.fct-shop-filter-wrapper .fct-shop-filter-wrapper-inner {
  background: var(--color-shop-surface);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.fct-shop-filter-wrapper .fct-shop-filter-form {
  background: transparent;
  border: 0;
  padding: var(--space-lg);
}

/* Search box */
.fct-shop-filter-wrapper .fct-shop-input {
  width: 100%;
  box-sizing: border-box;
  background: var(--color-shop-background);
  color: var(--color-shop-text);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
  padding: 0.625rem 0.875rem 0.625rem 2.25rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.fct-shop-filter-wrapper .fct-shop-input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.fct-shop-filter-wrapper .fct-shop-product-search {
  margin-bottom: var(--space-lg);
}

/* Each filter group, divided by a hairline */
.fct-shop-filter-wrapper .fct-shop-filter-item {
  padding-bottom: var(--space-lg);
  margin-bottom: var(--space-lg);
  border-bottom: 1px solid var(--color-shop-border);
}

.fct-shop-filter-wrapper .fct-shop-filter-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.fct-shop-filter-wrapper .fct-shop-filter-item .item-heading,
.fct-shop-filter-wrapper .fct-shop-filter-item h3 {
  margin: 0;
  font-family: var(--font-heading);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-shop-text-muted);
}

.fct-shop-filter-wrapper .fct-shop-item-collapse-wrap {
  padding-top: 0.875rem;
}

/* Checkbox rows */
.fct-shop-filter-wrapper .fct-shop-checkbox-group-inner {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.fct-shop-filter-wrapper .fct-shop-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-shop-text);
  font-size: 0.9375rem;
  font-weight: 300;
  cursor: pointer;
}

.fct-shop-filter-wrapper .fct-shop-checkbox:hover {
  color: var(--color-primary);
}

.fct-shop-filter-wrapper input[type="checkbox"] {
  accent-color: var(--color-primary);
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  margin: 0;
}

/* ── Price range ────────────────────────────────────────────── */
/* The two inputs sat flush against each other with no gap, and the
   £ sign floated loose beside them. Here they become a pair of
   proper input groups with the currency set inside each field. */

.fct-shop-filter-wrapper .fct-shop-price-range-wrap {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 1.25rem;
}

.fct-shop-filter-wrapper .fct-shop-price-range {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
}

.fct-shop-filter-wrapper .fct-shop-currency-sign {
  position: absolute;
  left: 0.625rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  font-size: 0.875rem;
  line-height: 1;
  color: var(--color-shop-text-muted);
}

/* FluentCart resets padding and border-width on these inputs from a
   later, more specific rule, which is what collapsed them to an 18px
   borderless sliver with the £ sign sitting on top of the value.
   Element+class specificity plus !important on just those properties
   is what it takes to win. */
.fct-shop-filter-wrapper .fct-shop-price-range input.fc_price_range_input {
  width: 100% !important;
  height: auto !important;
  box-sizing: border-box !important;
  background: var(--color-shop-background) !important;
  color: var(--color-shop-text) !important;
  border: 1px solid var(--color-shop-border) !important;
  border-radius: var(--radius-sm) !important;
  padding: 0.5rem 0.5rem 0.5rem 1.5rem !important;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.35;
  text-align: left;
}

.fct-shop-filter-wrapper .fct-shop-price-range input.fc_price_range_input:focus {
  outline: none;
  border-color: var(--color-primary) !important;
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

/* Give the slider room to breathe above and below */
.fct-shop-filter-wrapper .fct-shop-range-slider {
  margin: 0 0.5rem 1rem;
  height: 4px;
  background: var(--color-shop-border);
  border: 0;
  box-shadow: none;
  border-radius: var(--radius-full);
}

.fct-shop-filter-wrapper .fct-shop-range-slider .noUi-connects {
  border-radius: var(--radius-full);
}

/* FluentCart's nouislider CSS loads after the theme, so these need
   the extra class to win rather than !important. */
.fct-shop-filter-wrapper .fct-shop-range-slider .noUi-connect {
  background: var(--color-primary);
}

.fct-shop-filter-wrapper .fct-shop-range-slider .noUi-handle {
  width: 16px;
  height: 16px;
  top: -6px;
  right: -8px;
  background: var(--color-shop-surface);
  border: 2px solid var(--color-primary);
  border-radius: var(--radius-full);
  box-shadow: 0 1px 3px rgba(12, 13, 18, 0.2);
  cursor: grab;
}

.fct-shop-filter-wrapper .fct-shop-range-slider .noUi-handle:focus {
  outline: none;
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.fct-shop-filter-wrapper .fct-shop-range-slider .noUi-handle:active {
  cursor: grabbing;
}

/* noUiSlider draws pseudo-element grip lines inside the handle -
   they look like dirt at this size. */
.fct-shop-filter-wrapper .fct-shop-range-slider .noUi-handle::before,
.fct-shop-filter-wrapper .fct-shop-range-slider .noUi-handle::after {
  display: none;
}

.fct-shop-filter-wrapper #price-range-help,
.fct-shop-filter-wrapper .fct-shop-price-range-container  div:last-child {
  font-size: 0.75rem;
  color: var(--color-shop-text-muted);
}

/* ── Empty state ────────────────────────────────────────────── */

.fluent-cart-shop-no-result-found {
  color: var(--color-shop-text-muted);
  text-align: left;
  padding: var(--space-3xl, 5rem) var(--space-lg);
}

/* ── Cart page ──────────────────────────────────────────────── */

.fct-cart-page  * {
  max-width: var(--container, 1000px);
  margin-inline: auto;
}

.fct-cart-page h2 {
  font-family: var(--font-heading);
  font-size: 1.375rem;
  font-weight: 500;
  color: var(--color-shop-text);
}

.fct-cart-item {
  background: var(--color-shop-surface);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
}

.fct-cart-item-title,
.fct-cart-item-title a {
  color: var(--color-shop-text);
  font-family: var(--font-heading);
  font-weight: 500;
  text-decoration: none;
}

.fct-cart-item-title a:hover {
  color: var(--color-primary);
}

.fct-cart-item-total,
.fct-cart-total-wrapper [class*="total"] {
  color: var(--color-primary);
  font-weight: 600;
}

.fct-cart-total-wrapper {
  background: var(--color-shop-surface);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
  color: var(--color-shop-text);
}

.fct-cart-item-delete-button {
  color: var(--color-shop-text-muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.fct-cart-item-delete-button:hover {
  color: var(--color-primary);
}

/* Empty cart / empty payment-method states */
.fct-empty-state {
  color: var(--color-shop-text-muted);
}

.fct-empty-state a {
  color: var(--color-primary);
}

/* ── Cart drawer (dark - it overlays the site, not the shop) ── */

.fct-cart-drawer {
  background: var(--color-surface);
  color: var(--color-text);
  border-left: 1px solid var(--color-border);
}

.fct-cart-drawer .fct-cart-drawer-header,
.fct-cart-drawer .fct-cart-drawer-footer {
  border-color: var(--color-border);
  color: var(--color-text);
}

.fct-cart-drawer .fct-cart-item {
  background: var(--color-surface-raised);
  border-color: var(--color-border);
}

.fct-cart-drawer .fct-cart-item-title,
.fct-cart-drawer .fct-cart-item-title a,
.fct-cart-drawer .fct-cart-total-wrapper {
  color: var(--color-text);
  background: transparent;
  border: 0;
}

.fct-cart-drawer .fct-cart-item-total {
  color: var(--color-accent);
}

.fct-cart-drawer-open-btn {
  background: var(--color-primary);
  color: var(--color-on-primary);
  border: 0;
}

.fct-cart-badge-count {
  background: var(--color-accent);
  color: var(--color-on-accent);
}

/* ── Checkout ───────────────────────────────────────────────── */

.fct_checkout_inner {
  max-width: var(--container-wide, 1200px);
  margin-inline: auto;
}

.fct_checkout_form_section,
.fct_checkout_summary {
  background: var(--color-shop-surface);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
}

.fluent-cart-checkout-page h2,
.fluent-cart-checkout-page h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  color: var(--color-shop-text);
}

/* FluentCart already renders these light; align radius and focus only. */
.fct-input {
  border-radius: var(--radius-sm);
  border-color: var(--color-shop-border);
  font-family: var(--font-body);
}

.fct-input:focus,
.fct-input:focus-within {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.fct-nice-select.open,
.fct-nice-select:focus {
  border-color: var(--color-primary);
}

.fct_checkout_summary [class*="total"] {
  color: var(--color-primary);
  font-weight: 600;
}

.fluent-cart-checkout-page a {
  color: var(--color-primary);
}

/* ── Single product page ────────────────────────────────────
   FluentCart renders no single-product wrapper class, so the hook is
   WordPress's own body class for the CPT: body.single-fluent-products.
   This page is theme-rendered (not wpcursor-fullwidth), so it needs its
   own typography rules - the .wpc-widget rules do not reach it.      */

body.single-fluent-products {
  background: var(--color-shop-background);
  color: var(--color-shop-text);
}

body.single-fluent-products main {
  font-family: var(--font-body);
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

body.single-fluent-products main h1,
body.single-fluent-products main h2,
body.single-fluent-products main h3,
body.single-fluent-products main h4 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--color-shop-text);
}

body.single-fluent-products main p,
body.single-fluent-products .fct-product-card-excerpt {
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  color: var(--color-shop-text-muted);
}

body.single-fluent-products .fct-product-gallery-wrapper {
  background: var(--color-shop-surface);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

body.single-fluent-products .fct-item-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-primary);
}

body.single-fluent-products .fct-product-sku {
  font-size: 0.875rem;
  color: var(--color-shop-text-muted);
}

body.single-fluent-products .fct-product-sku__value {
  color: var(--color-shop-text);
  font-weight: 500;
}

/* Buy Now is the primary action; Add To Cart is the quieter one. */
body.single-fluent-products .fluent-cart-direct-checkout-button,
body.single-fluent-products .fluent-cart-add-to-cart-button {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

/* The doubled class is not a typo. FluentCart's own
   "body:not(.fluent-cart-no-colors) .fluent-cart-direct-checkout-button"
   matches at the same specificity as a single-class rule here and its
   stylesheet loads later, so an equal rule loses on source order and the
   button rendered in FluentCart's navy instead of the theme colour.
   Repeating the class wins it without reaching for !important.
   FluentCart paints with a background shorthand carrying a white gradient
   overlay, so the shorthand is used here too: setting background-color
   alone would leave that overlay sitting on top of the gold. */
body.single-fluent-products .fluent-cart-direct-checkout-button.fluent-cart-direct-checkout-button {
  background: var(--color-cta);
  color: var(--color-on-cta);
  border: 1px solid transparent;
}

body.single-fluent-products .fluent-cart-direct-checkout-button.fluent-cart-direct-checkout-button:hover {
  background: var(--color-cta-hover);
  color: var(--color-on-cta);
}

body.single-fluent-products .fluent-cart-add-to-cart-button {
  background: transparent;
  color: var(--color-shop-text);
  border: 1px solid var(--color-shop-border);
}

body.single-fluent-products .fluent-cart-add-to-cart-button:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

/* ── Shop grid and affiliate CTAs ───────────────────────────────
   These are the purchase actions FluentCart renders on product cards
   and on affiliate products, and they were the ones still painted in
   FluentCart's default navy: its own rules match at equal or higher
   specificity than the theme rules further up and load after them.
   Doubling the class is what wins the cascade here, and the gradient
   overlay has to be cleared explicitly or it survives on top. */
.fct-product-card .fluent-cart-add-to-cart-button.fluent-cart-add-to-cart-button,
.fct-product-card .fct-product-view-button.fct-product-view-button,
.fct-products-wrapper .fluent-cart-add-to-cart-button.fluent-cart-add-to-cart-button {
  background: var(--color-cta);
  background-image: none;
  color: var(--color-on-cta);
  border-color: transparent;
}

.fct-product-card .fluent-cart-add-to-cart-button.fluent-cart-add-to-cart-button:hover,
.fct-product-card .fct-product-view-button.fct-product-view-button:hover,
.fct-products-wrapper .fluent-cart-add-to-cart-button.fluent-cart-add-to-cart-button:hover {
  background: var(--color-cta-hover);
  background-image: none;
  color: var(--color-on-cta);
}

/* Affiliate products replace FluentCart's native buy controls with a
   link out to the vendor (pf_affiliate_checkout), reusing FluentCart's
   own button classes. That link is the only purchase action on an
   affiliate product, so it is a CTA and carries the gold too.

   !important is needed for exactly one reason: .pf-affiliate-buy-button
   is also applied to a hand-written "Find Out More" link inside some
   product descriptions, and that link carries its own inline style
   attribute. An inline style beats any stylesheet rule that is not
   !important, so without it that one link stays dark. */
.pf-affiliate-buy-button,
a.pf-affiliate-buy-button,
.fct-product-view-button.pf-affiliate-buy-button,
.fluent-cart-direct-checkout-button.pf-affiliate-buy-button {
  background: var(--color-cta) !important;
  background-image: none !important;
  color: var(--color-on-cta) !important;
  border-color: transparent !important;
}

.pf-affiliate-buy-button:hover,
a.pf-affiliate-buy-button:hover,
.fct-product-view-button.pf-affiliate-buy-button:hover,
.fluent-cart-direct-checkout-button.pf-affiliate-buy-button:hover {
  background: var(--color-cta-hover) !important;
  color: var(--color-on-cta) !important;
}

/* The shimmer sweep is a white band, which read well on the old dark
   navy but barely registers on the gold. Darkened so the sweep stays
   visible as motion without altering the button colour itself. */
.pf-affiliate-buy-button::after,
.fluent-cart-direct-checkout-button::after,
.fct-product-card .fluent-cart-add-to-cart-button::after {
  background: linear-gradient(
    120deg,
    rgba(12, 13, 18, 0) 0%,
    rgba(12, 13, 18, 0.18) 50%,
    rgba(12, 13, 18, 0) 100%
  );
}

/* ── Account / customer profile ─────────────────────────────── */

/* Logged-out state. The logged-in customer portal uses different
   markup which could not be verified without account credentials -
   the [class*="fct_customer"] rules below are a defensive fallback. */

.fct_auth_wrap {
  background: var(--color-shop-background);
  color: var(--color-shop-text);
  padding: clamp(3rem, 7vw, 5rem) var(--space-xl);
  box-sizing: border-box;
  max-width: 100%;
}

.fct_auth_message {
  max-width: var(--container-narrow, 820px);
  margin-inline: auto;
  background: var(--color-shop-surface);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
  padding: clamp(2rem, 4vw, 3rem);
  text-align: left;
}

.fct_auth_message h2 {
  margin: 0 0 var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--color-shop-text);
}

.fct_auth_message p {
  margin: 0 0 var(--space-xl);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  color: var(--color-shop-text-muted);
}

.fct_auth_message a.button,
.fct_auth_message  a {
  display: inline-block;
  padding: 0.875rem 2rem;
  background: var(--color-cta);
  color: var(--color-on-cta);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: background-color 0.18s ease;
}

.fct_auth_message a.button:hover,
.fct_auth_message  a:hover {
  background: var(--color-cta-hover);
  color: var(--color-on-cta);
}

/* Fallback for the logged-in portal */
[class*="fct_customer"],
[class*="fct-customer"] {
  font-family: var(--font-body);
  color: var(--color-shop-text);
}

[class*="fct_customer"] a,
[class*="fct-customer"] a {
  color: var(--color-primary);
}

/* ── Self-service refunds and cancellations ─────────────────────
   Rendered by the pf_refund_request shortcode on the Account page,
   directly under FluentCart's own portal, so it uses the light
   commerce scale rather than the dark marketing one. */

.pf-selfserve {
  background: var(--color-shop-background);
  color: var(--color-shop-text);
  padding: clamp(2rem, 5vw, 3.5rem) var(--space-xl);
  box-sizing: border-box;
  max-width: 100%;
  font-family: var(--font-body);
}

.pf-selfserve  * {
  max-width: var(--container-narrow, 820px);
  margin-inline: auto;
}

.pf-selfserve h2 {
  margin: 0 0 var(--space-lg);
  font-family: var(--font-heading);
  font-size: clamp(1.375rem, 2.5vw, 1.75rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-shop-text);
}

.pf-selfserve h3 {
  margin: var(--space-xl) 0 var(--space-sm);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-shop-text-muted);
}

.pf-selfserve__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
  background: var(--color-shop-surface);
}

.pf-selfserve__row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  align-items: center;
  justify-content: space-between;
  padding: var(--space-md) var(--space-lg);
  border-bottom: 1px solid var(--color-shop-border);
}

.pf-selfserve__row:last-child {
  border-bottom: 0;
}

.pf-selfserve__label {
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--color-shop-text);
}

.pf-selfserve__note {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--color-shop-text-muted);
  margin: var(--space-sm) 0 0;
}

/* The refund button is deliberately quiet, not a primary call to
   action - it moves real money and should not invite a stray click. */
.pf-selfserve .pf-btn {
  flex: 0 0 auto;
  padding: 0.5rem 1rem;
  font-size: 0.75rem;
  background: transparent;
  color: var(--color-shop-text-muted);
  border: 1px solid var(--color-shop-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.pf-selfserve .pf-btn:hover:not(:disabled) {
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.pf-selfserve .pf-btn:disabled {
  opacity: 0.55;
  cursor: default;
}

.pf-selfserve__result {
  margin-top: var(--space-lg);
  font-size: 0.9375rem;
}

.pf-selfserve__result.is-ok {
  color: var(--color-shop-text);
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-md);
}

.pf-selfserve__result.is-error {
  color: #b3261e;
  border-left: 3px solid #b3261e;
  padding-left: var(--space-md);
}

.pf-selfserve--empty p {
  color: var(--color-shop-text-muted);
}

/* ═══════════════════════════════════════════════════════════════
   ACCESSIBILITY - keep this block
   ═══════════════════════════════════════════════════════════════
   Added after a site-wide audit on 24 September 2026. Do not delete
   this with the pre-launch block below it. */

/* WCAG 2.4.1 Bypass Blocks (Level A). Off-screen until focused, then
   it lands over the header so it is obvious where focus went. */
.pf-skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 10000;
  padding: 0.875rem 1.5rem;
  background: var(--color-accent);
  color: var(--color-on-accent);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
}

.pf-skip-link:focus {
  left: 0;
}

/* The skip destination. Focus is moved here programmatically by the
   browser, so no ring is needed - the page has visibly jumped. */
.pf-main:focus {
  outline: none;
}

/* WCAG 2.4.7 Focus Visible, and 2.4.13 Focus Appearance (2.2).
   Gold on the dark scale measures 12.2:1, so the ring is unmistakable.
   Two-tone (dark inner, gold outer) so it stays visible whether the
   element sits on the dark marketing scale or the light commerce one. */
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--color-background);
  border-radius: var(--radius-sm);
}

/* Links inside body copy: 300 was too light for coloured text at
   reading sizes. 500 also helps them stand out from the surrounding
   text by more than colour alone (WCAG 1.4.1). */
.pf-prose a,
.pf-contact__block a,
.pf-selfserve a {
  font-weight: 500;
}

/* Third-party logos used editorially, per the owner's brand guidelines.
   Freemius: white version on our dark scale, never under 100px wide, and
   clear space around it about the width of the letter "F". */
.pf-freemius-logo {
  margin-block: var(--space-2xl);
}

.pf-freemius-logo img {
  display: block;
  min-width: 100px;
  height: auto;
}

/* WCAG 2.3.3 Animation from Interactions. Honour the OS setting. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-blocked: auto !important;
  }
}

/* ═══════════════════════════════════════════════════════════════
   PRE-LAUNCH HIDES: DELETE THIS WHOLE BLOCK AT LAUNCH
   ═══════════════════════════════════════════════════════════════
   Hides "Sell With Us", the account link, the cart link and the
   "Browse Marketplace" button everywhere they appear, while the
   store has no payment gateway. Nothing is deleted - the markup,
   the pages and the links all still exist, so removing this block
   restores everything exactly as it was.

   Covers: desktop nav, mobile menu, header icons, header CTA,
   footer columns, and FluentCart's floating cart button.
   ═══════════════════════════════════════════════════════════════ */

/* Header - desktop nav */
.pf-header__nav a[href*="/sell-with-us"],
/* Header - account and cart icons */
.pf-header__util[href*="/account"],
.pf-header__util[href*="/cart"],
/* Header - "Browse Marketplace" CTA */
.pf-header__cta,
/* Header - mobile menu */
.pf-header__mobile a[href*="/sell-with-us"],
.pf-header__mobile a[href*="/account"],
.pf-header__mobile a[href*="/cart"],
/* Footer - Marketplace and Vendors columns */
.pf-footer__links a[href*="/sell-with-us"],
.pf-footer__links a[href*="/cart"],
.pf-footer__links a[href*="/account"],
/* FluentCart floating cart button and its badge */
.fct-cart-drawer-open-btn,
.fct-cart-drawer-container,
/* Homepage hero - "Become A Vendor" */
.pf-hero__actions a[href*="/sell-with-us"],
/* About page closing CTA - "Become A Vendor" */
.pf-story__cta-actions a[href*="/sell-with-us"],
/* Anything explicitly marked for pre-launch hiding in page content:
   the Contact page's "Selling with us" block, and the Terms page's
   "Back to Sell With Us" link with its separator. These are wrapped
   rather than targeted by href so no stray punctuation is left behind. */
.pf-prelaunch-hide,

/* ── Marketplace / shop links ──────────────────────────────────
   Hidden until the store can take payment. Whole containers are
   hidden where removing just the link would leave an empty column
   or an orphaned paragraph. */
/* Header nav + mobile menu */
.pf-header__nav a[href*="/shop"],
.pf-header__mobile a[href*="/shop"],
/* Footer - hide the entire Marketplace column, since "Browse
   Products" was its only remaining link and a bare heading over an
   empty list reads as broken */
.pf-footer__col:has(a[href*="/shop"]),
/* Homepage hero and About page closing CTA */
.pf-hero__actions a[href*="/shop"],
.pf-story__cta-actions a[href*="/shop"],
/* Terms page foot - hide the whole paragraph, not just the link,
   so no empty line is left behind */
.pf-prose p:has( a[href="/shop/"]),

/* ── Job board ─────────────────────────────────────────────────
   The board, the posting form and the listings are all built and
   working, but posting a role charges GBP 5 plus VAT through
   FluentCart, and FluentCart has no payment gateway connected yet.
   A visible "Jobs" link would send people to a form whose last step
   cannot complete. Hidden on the same terms as the shop, and
   revealed by deleting this block at launch.

   The PAGES stay reachable by direct URL on purpose, so the board
   can be tested and shown to people before it is announced. */
.pf-header__nav a[href*="/jobs"],
.pf-header__mobile a[href*="/jobs"],
.pf-footer__links a[href*="/jobs"] {
  display: none !important;
}

/* With the Marketplace column gone the footer is a 4-track grid with an
   empty track left over. Close it up on desktop only: the breakpoints
   below 900px already collapse to one or two columns.

   The wide track is LAST, matching the brand block's move to the right
   on 12 October 2026. It used to be first, from when the brand sat on
   the left; left as it was, Vendors stretched across the 552px track
   and opened a gap before Legal.

   The :not() matters. Pre-launch pages hide every nav column, leaving
   the brand as the only item, and that case needs the single-column
   rule in the footer widget's own CSS. Without the exclusion this
   !important rule applied there too and dropped the brand back into a
   left-hand track, which is the opposite of what was asked for. */
@media (min-width: 901px) {
  .pf-footer__top:not(.pf-footer__top--brand-only) {
    grid-template-columns: 1fr 1fr 2fr !important;
  }
}

@media (max-width: 600px) {
  .fct-products-wrapper,
  .fct-single-product,
  .fluent-cart-checkout,
  .fluent-cart-cart {
    padding-inline: var(--space-md);
  }
}

/* ═══════════════════════════════════════════════════════════════
   LONG-FORM PROSE (legal pages)
   ═══════════════════════════════════════════════════════════════ */

/* Long-form legal copy. Was 16px/300, which measured 8.06:1 - fine on
   contrast, poor on legibility: light strokes at 16px on a dark background
   bloom and thin out. 17px/400 is the readable floor for text people are
   expected to actually read through. */
.pf-prose {
  max-width: var(--container-narrow, 820px);
  margin-inline: auto;
  padding: clamp(3rem, 6vw, 5rem) var(--space-xl) clamp(4rem, 8vw, 6rem);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--color-text-muted);
}

.pf-prose h2 {
  margin: var(--space-2xl) 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.005em;
  color: var(--color-text);
}

.pf-prose h3 {
  margin: var(--space-xl) 0 var(--space-sm);
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--color-text);
}

.pf-prose p,
.pf-prose li {
  font-weight: 300;
  color: var(--color-text-muted);
}

.pf-prose p {
  margin: 0 0 var(--space-md);
}

.pf-prose ul,
.pf-prose ol {
  margin: 0 0 var(--space-md);
  padding-inline-start: 1.5rem;
}

.pf-prose li {
  margin-bottom: 0.5rem;
}

.pf-prose strong {
  color: var(--color-text);
  font-weight: 600;
}

.pf-prose a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pf-prose a:hover {
  color: var(--color-accent);
}

/* Tables - the lawful-basis and retention grids in the privacy policy.
   Collapses to stacked rows on mobile rather than scrolling sideways,
   because these are read, not scanned. */
.pf-prose table {
  width: 100%;
  margin: var(--space-lg) 0 var(--space-xl);
  border-collapse: collapse;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  font-size: 0.9375rem;
}

.pf-prose thead th {
  padding: var(--space-sm) var(--space-md);
  background: var(--color-surface);
  font-family: var(--font-body);
  /* Was 0.6875rem (11px). Uppercase letterforms at 11px are hard work;
     12px with the existing tracking is the smallest that stays legible. */
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-align: left;
  color: var(--color-text-muted);
  border-bottom: 1px solid var(--color-border);
}

.pf-prose tbody td {
  padding: var(--space-sm) var(--space-md);
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text-muted);
  /* Table cells inherited 15px/300. Matched to body weight so a retention
     table is no harder to read than the paragraph above it. */
  font-size: 1rem;
  font-weight: 400;
}

.pf-prose tbody tr:last-child td {
  border-bottom: 0;
}

.pf-prose tbody td:first-child {
  color: var(--color-text);
  width: 45%;
}

@media (max-width: 640px) {
  .pf-prose table,
  .pf-prose tbody,
  .pf-prose tbody tr,
  .pf-prose tbody td {
    display: block;
    width: 100%;
  }

  .pf-prose thead {
    display: none;
  }

  .pf-prose tbody tr {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
  }

  .pf-prose tbody tr:last-child {
    border-bottom: 0;
  }

  .pf-prose tbody td {
    padding: 0.125rem var(--space-md);
    border-bottom: 0;
  }

  .pf-prose tbody td:first-child {
    font-weight: 500;
  }
}

/* Uppercase legal notices - the "PLEASE READ CAREFULLY" blocks */
.pf-prose .pf-prose__notice {
  margin: 0 0 var(--space-xl);
  padding: var(--space-lg);
  background: var(--color-primary-soft);
  border-left: 2px solid var(--color-primary);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--color-text);
}

.pf-prose .pf-prose__notice p:last-child {
  margin-bottom: 0;
}

/* Part dividers inside long legal documents */
.pf-prose .pf-prose__part {
  margin-top: var(--space-3xl, 5rem);
  padding-top: var(--space-lg);
  border-top: 2px solid var(--color-primary);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Unfilled placeholders from the source document - deliberately loud
   so they cannot be missed on a published page. */
.pf-prose .pf-todo {
  display: inline-block;
  padding: 0.0625rem 0.375rem;
  background: rgba(246, 201, 60, 0.16);
  border-bottom: 2px solid var(--color-accent);
  border-radius: 2px;
  color: var(--color-accent);
  font-weight: 500;
}

/* Deep-link target: highlight the section briefly when jumped to */
.pf-prose h2[id] {
  scroll-margin-top: 90px;
}

.pf-prose h2[id]:target {
  border-left: 3px solid var(--color-primary);
  padding-left: var(--space-md);
  margin-left: calc(var(--space-md) * -1 - 3px);
}

.pf-prose .pf-prose__meta {
  margin-bottom: var(--space-2xl);
  font-size: 0.8125rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-text-subtle, #7d7b74);
}

/* ═══════════════════════════════════════════════════════════════
   FLUENT FORMS SKIN - all Fluent Forms
   Scoped to .frm-fluent-form, the class Fluent Forms puts on every
    it renders, so the vendor submission form, the contact form
   and any form added later all pick up the brand automatically.
   NOTE: the formSettings `cssClassName` value is NOT applied to the
   form element, so it cannot be used as the styling hook. The
   per-form classes (.fluent_form_3, .fluent_form_4) are available if
   a single form ever needs to diverge.
   ═══════════════════════════════════════════════════════════════ */

.pf-form-section {
  background: var(--color-background);
  padding: clamp(4rem, 8vw, 6rem) var(--space-xl);
}

.pf-form-section__inner {
  max-width: var(--container-narrow, 820px);
  margin-inline: auto;
}

.pf-form-section__head {
  margin-bottom: var(--space-2xl);
}

.pf-form-section__eyebrow {
  display: block;
  margin-bottom: var(--space-md);
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.pf-form-section__title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.005em;
  color: var(--color-text);
}

.pf-form-section__lead {
  margin: 0;
  max-width: 62ch;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.pf-form-section__lead a {
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.pf-form-section__lead a:hover {
  color: var(--color-accent);
}

/* The privacy reassurance that sits under the lead, above the form.
   Matches .pf-form-section__lead exactly for family, size, weight and line
   height (asked for 12 October 2026), but takes the full text colour rather
   than the muted one, so it reads as a promise rather than as small print.

   Two things were wrong before this rule existed. There was no rule for the
   class at all, so the paragraph inherited no font-family and fell back to the
   browser's default serif, which is why it rendered in Times New Roman. And
   its own inline colour, which was already a near-white, was being overridden
   to near-black by a blanket ".has-text-color { color: ... !important }" rule
   coming from the block theme's global styles. The inline colour has been
   removed from the block itself, so that class no longer applies to it and no
   !important is needed here to win.

   --color-text is the site's warm off-white (#F2F0EA), deliberately not pure
   white: see the note in tokens.css. */
.pf-form-section__privacy {
  max-width: 62ch;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text);
}

.pf-form-shell {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

/* ── Honeypot ───────────────────────────────────────────────
   The decoy field on the signup form. Positioned off-canvas
   rather than display:none - some bots skip display:none inputs,
   but will happily fill one that is merely moved out of view.
   Paired with the pf_honeypot_guard snippet, which rejects any
   submission where it arrives non-empty.                        */

.frm-fluent-form .ff-el-group.pf-hp,
.frm-fluent-form .pf-hp {
  position: absolute !important;
  left: -9999px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* ── Contact page: form beside contact details ──────────────── */

.pf-contact {
  background: var(--color-background);
  padding: clamp(4rem, 8vw, 6rem) var(--space-xl);
}

.pf-contact__inner {
  max-width: var(--container-wide, 1200px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.pf-contact__aside h2 {
  margin: 0 0 var(--space-md);
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.005em;
  color: var(--color-text);
}

.pf-contact__aside  p {
  margin: 0 0 var(--space-2xl);
  max-width: 44ch;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  font-weight: 300;
  line-height: 1.65;
  color: var(--color-text-muted);
}

.pf-contact__block {
  padding-top: var(--space-lg);
  margin-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.pf-contact__block:first-of-type {
  padding-top: 0;
  margin-top: 0;
  border-top: 0;
}

.pf-contact__label {
  display: block;
  margin-bottom: 0.375rem;
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Weight was 300. Raised to 400 for the same reason as the body copy in
   the accessibility pass: light type on a dark background blooms, and at
   15px it is the smallest reading text on the page. */
.pf-contact__block p {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text-muted);
}

/* Blocks holding more than one paragraph, such as the chargeback note. */
.pf-contact__block p + p {
  margin-top: 0.625rem;
}

.pf-contact__block a {
  color: var(--color-primary);
  text-decoration: none;
}

.pf-contact__block a:hover {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (max-width: 900px) {
  .pf-contact__inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .pf-contact {
    padding-inline: var(--space-md);
  }
}

@media (max-width: 600px) {
  .pf-form-section {
    padding-inline: var(--space-md);
  }
}

.fluentform .frm-fluent-form,
.frm-fluent-form {
  font-family: var(--font-body);
}

.frm-fluent-form .ff-el-input--label label {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-text);
}

.frm-fluent-form .ff-el-input--content input[type="text"],
.frm-fluent-form .ff-el-input--content input[type="email"],
.frm-fluent-form .ff-el-input--content input[type="url"],
.frm-fluent-form .ff-el-input--content input[type="number"],
.frm-fluent-form .ff-el-input--content select,
.frm-fluent-form .ff-el-input--content textarea {
  width: 100%;
  background: var(--color-background);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.75rem 0.875rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 300;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.frm-fluent-form .ff-el-input--content input:focus,
.frm-fluent-form .ff-el-input--content select:focus,
.frm-fluent-form .ff-el-input--content textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px var(--color-primary-soft);
}

.frm-fluent-form .ff-el-input--content input::placeholder,
.frm-fluent-form .ff-el-input--content textarea::placeholder {
  color: var(--color-text-subtle, #7d7b74);
}

.frm-fluent-form .ff-el-help-message {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--color-text-subtle, #7d7b74);
}

.frm-fluent-form .ff-el-is-error .text-danger,
.frm-fluent-form .error-text {
  color: #ff8a65;
  font-size: 0.8125rem;
}

/* Section breaks become gold-labelled dividers */
.frm-fluent-form .ff-el-section-break {
  margin: var(--space-2xl) 0 var(--space-lg);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-border);
}

.frm-fluent-form .ff-el-section-break:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.frm-fluent-form .ff-el-section-break h3 {
  margin: 0 0 0.375rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.frm-fluent-form .ff-section_break_desk {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--color-text-muted);
}

/* File upload */
.frm-fluent-form .ff-el-input--content .ff_upload_btn,
.frm-fluent-form .ff_upload_btn.ff-btn {
  background: transparent;
  color: var(--color-text);
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
  padding: 0.875rem 1.25rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.frm-fluent-form .ff_upload_btn.ff-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.frm-fluent-form .ff-uploaded-list .ff-upload-preview {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text);
}

/* Radio and checkbox */
.frm-fluent-form .ff-el-form-check-label,
.frm-fluent-form .ff_item_selectable {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--color-text-muted);
}

.frm-fluent-form input[type="checkbox"],
.frm-fluent-form input[type="radio"] {
  accent-color: var(--color-primary);
}

/* Submit - near-black on the logo gold, 12.35:1, past AAA.
   Note each form also carries its own background_color in its Fluent
   Forms button settings, which generates a higher-specificity
   per-form rule; those were updated to the same gold at source, so
   this is the fallback for any form with no styling of its own. */
.frm-fluent-form .ff-btn-submit {
  background: var(--color-cta);
  color: var(--color-on-cta);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.9375rem 2rem;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.18s ease;
}

.frm-fluent-form .ff-btn-submit:hover {
  background: var(--color-cta-hover);
}

.frm-fluent-form .ff-message-success {
  background: var(--color-surface-raised);
  border: 1px solid var(--color-primary);
  border-radius: var(--radius-sm);
  padding: var(--space-lg);
  color: var(--color-text);
}
