/*
 Theme Name:   Cozy Cottage Oven (Bricks Child)
 Description:  Design system for CozyCottageOven.com (Claude Design, 2026-11-02). Loads assets/css/fonts.css, tokens.css and components.css, then this bridge.
 Author:       Cozy Cottage Oven
 Template:     bricks
 Version:      0.2.0
 Text Domain:  cco
*/

/* =====================================================================
   BRIDGE. tokens.css and components.css are the design system, copied
   unchanged from the handoff. This file only points markup we don't
   control (Bricks, FluentCart, Fluent Forms) and cco-core's output at
   the same tokens, as implementation.md §3–5 asks.
   Never put hex values here; use tokens.
   ===================================================================== */

/* ---------- Bricks frame ---------- */
#brx-content { min-height: 50vh; }
#brx-content > .cco-section:first-child,
#brx-content > .brxe-div.cco-section:first-child { padding-top: var(--units-5); }
.brxe-heading, .brxe-text-basic { margin: 0; }
.brxe-post-content > *:first-child { margin-top: 0; }
/* minmax(0,1fr): a scrolling child (the category chips) must not widen the column past the screen. */
.cco-stack { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--units-2); }
.cco-stack--lg { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--units-4); }
/* CategoryNav bleeds to the screen edge on phones (the preview's `margin: 0 -16px`). */
.cco-category-nav { margin-inline: calc(-1 * var(--units-2)); }
@media (min-width: 1024px) { .cco-category-nav { margin-inline: 0; } }
/* Buttons in a stack keep their own width from tablet up (full width on phones, per the design). */
@media (min-width: 640px) { .cco-stack > .cco-btn, .cco-stack--lg > .cco-btn { justify-self: start; } }
.cco-measure { max-width: var(--measure); }
.cco-prose > * + * { margin-top: var(--units-2); }
.cco-prose h2 { font-family: var(--font-serif); font-weight: 400; font-size: 28px; line-height: 1.2; margin-top: var(--units-5); }
.cco-prose h3 { font-family: var(--font-serif); font-weight: 700; font-size: 22px; line-height: 1.35; margin-top: var(--units-4); }
@media (min-width: 1024px) { .cco-prose h2 { font-size: 32px; } }
.cco-steps { display: grid; gap: var(--units-3); list-style: none; padding: 0; margin: 0; counter-reset: step; }
.cco-steps li { counter-increment: step; display: grid; gap: var(--units-1); align-content: start; padding-top: var(--units-2); border-top: 2px solid var(--oak-400); }
/* align-content: start: steps in a row are stretched to the tallest one; without it the
   shorter steps spread that height between their rows and their headings sink. */
.cco-steps li::before { content: counter(step); font-family: var(--font-serif); font-size: 28px; line-height: 1; color: var(--crust-600); }
@media (min-width: 880px) { .cco-steps { grid-template-columns: repeat(3, 1fr); } }
.cco-split { display: grid; gap: var(--units-4); }
@media (min-width: 880px) { .cco-split { grid-template-columns: 1fr 1fr; align-items: start; } }
.cco-hero__media { background: var(--oak-400) center / cover no-repeat; }
/* Bricks wraps a shortcode in .brxe-shortcode; let the photo fill its frame (photos.css sizes the frame). */
.cco-hero__media > .brxe-shortcode, .cco-hero__media picture,
.cco-feature-photo__media picture, .cco-feature-photo__media > p { display: block; width: 100%; height: 100%; margin: 0; }
.cco-feature-photo { margin-block: var(--units-4); }
/* Page content sits in Bricks' .brxe-post-content inside .cco-prose, hence descendant selectors. */
.cco-prose .cco-lead + .cco-steps { margin-top: var(--units-4); }
.cco-prose .cco-steps li > *, .cco-prose .cco-steps li h3 { margin: 0; }
.cco-prose .cco-rush-alert { margin-block: var(--units-4); }
/* Desktop hero (2026-11-17, owner): the photo fills the whole hero and the text sits on top of it, white, on the
   left, over a dark-to-clear gradient. Replaces the 50/50 split (2026-11-05) and its boxed version (2026-11-13), which
   "looked strange". Phones and tablets (< 1024px) keep the stacked layout: photo, then dark text on beige.
   The gradient strength is set by tools/hero.js (white text must keep >= 4.5:1 contrast on the brightest pixel
   behind it, 3:1 for the big heading), not by eye: a lighter gradient fails that test. Colours inside the hero are
   fixed, not tokens, because the overlay is dark in both light and dark mode. */
@media (min-width: 1024px) {
  .cco-hero {
    grid-template-columns: 1fr; grid-template-rows: 1fr; align-items: stretch;
    min-height: clamp(560px, 72vh, 760px); background: #2a211a; overflow: hidden;
  }
  .cco-hero__media, .cco-hero__content { grid-area: 1 / 1; }
  .cco-hero__media { position: relative; height: auto; min-height: 0; aspect-ratio: auto; order: 0; }
  .cco-hero__media > .brxe-shortcode, .cco-hero__media picture, .cco-hero__media img {
    position: absolute; inset: 0; width: 100%; height: 100%;
  }
  .cco-hero__media img { object-fit: cover; object-position: 50% 10%; }   /* faces sit near the top of the photo */
  .cco-hero__media::after {
    content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(24, 18, 12, .84) 0%, rgba(24, 18, 12, .76) 40%, rgba(24, 18, 12, .68) 54%, rgba(24, 18, 12, .30) 66%, rgba(24, 18, 12, 0) 80%);
  }
  /* The text starts on the logo line (container edge + its gutter), never closer than the gutter. */
  .cco-hero__content {
    position: relative; z-index: 1; align-self: center; box-sizing: content-box;
    max-width: min(560px, 46vw);
    padding-left: max(var(--units-4), calc((100vw - var(--container)) / 2 + var(--units-4)));
  }
  .cco-hero__content .cco-eyebrow, .cco-hero__content .cco-display, .cco-hero__content .cco-h1, .cco-hero__content .cco-lead {
    color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .45);
  }
  .cco-hero__content .cco-btn--primary { background: #fbf8f2; color: #2b2622; border-color: #fbf8f2; }
  .cco-hero__content .cco-btn--primary:hover { background: #fff; border-color: #fff; color: #2b2622; }
  .cco-hero__content .cco-btn--secondary { background: transparent; color: #fff; border-color: #fff; }
  .cco-hero__content .cco-btn--secondary:hover { background: #fff; color: #2b2622; }
  /* The site's focus ring is dark blue: invisible on the dark gradient. White here. */
  .cco-hero__content :focus-visible { outline-color: #fff; }
}

/* ---------- cco-core: bake banner, ZIP check, delivery areas ---------- */
.cco-bake-banner { margin-block: var(--units-2); }
.cco-zip-check { max-width: 30rem; gap: var(--units-1); }
.cco-zip-check__row { display: flex; gap: var(--units-1); }
.cco-zip-check__row .cco-input { flex: 1 1 8rem; }
.cco-zip-check__result { margin: 0; font-weight: 600; min-height: 1.6em; }
.cco-delivery-areas { display: grid; gap: var(--units-2); margin: 0 0 var(--units-2); }
.cco-delivery-areas > div { padding: var(--units-2); background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); }
.cco-delivery-areas dt span { font-weight: 400; font-size: 15px; }
.cco-delivery-areas dd { margin: var(--units-05) 0 0; }

/* ---------- cco-core: product page info ---------- */
.cco-product-info { display: grid; gap: var(--units-2); max-width: 36rem; margin: var(--units-3) 0; }
.cco-ingredients summary { cursor: pointer; font-weight: 600; min-height: var(--target-min); display: flex; align-items: center; }
.cco-ingredients p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--ink-muted); }
.cco-cottage-statement { margin: 0; }
.cco-kitchen-note, .cco-allergens, .cco-allergens-note { margin: 0; }
.cco-allergens-note { font-size: 15px; }
.cco-order-info, .cco-product-tips { display: grid; gap: var(--units-1); padding-top: var(--units-2); border-top: 1px solid var(--border-subtle); }
.cco-order-info h2, .cco-product-tips h2, .cco-order-info p, .cco-product-tips p { margin: 0; }
.cco-order-info ul, .cco-product-tips ol { margin: 0; padding-left: 1.25em; display: grid; gap: var(--units-05); }

/* ---------- cco-core: checkout bake block ---------- */
.cco-bake-fields { display: grid; gap: var(--units-2); padding: var(--units-2); margin: var(--units-3) 0; background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); }
.cco-bake-fields__title, .cco-bake-fields__cutoff, .cco-bake-fields__pickup-note { margin: 0; }
.cco-bake-fields__dates { grid-template-columns: 1fr; }
@media (min-width: 480px) { .cco-bake-fields__dates { grid-template-columns: 1fr 1fr; } }
.cco-bake-fields__dates legend { grid-column: 1 / -1; }
.cco-bake-fields [data-cco-errors] { grid-template-columns: 1fr; }
.cco-bake-fields [data-cco-errors][hidden] { display: none; } /* .cco-alert's display:grid would beat [hidden] */
/* Marketing permission at checkout (Marketing\CheckoutOptIn): two unticked boxes, email and texts */
.cco-optin { display: grid; gap: var(--units-1); padding: var(--units-2); margin: var(--units-3) 0; background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); }
.cco-optin__legend { padding: 0 4px; font-weight: 600; color: var(--ink); }
.cco-optin .cco-optin__label { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: 15px; line-height: 1.45; font-weight: 400; color: var(--ink); cursor: pointer; }
.cco-optin__text strong { font-weight: 700; }
/* the browser's own checkbox (FluentCart's styling left the unticked border too faint: WCAG 1.4.11 wants 3:1) */
.cco-optin input.cco-optin__box { appearance: auto; -webkit-appearance: checkbox; width: 22px; height: 22px; margin: 1px 0 0; padding: 0; border: 0; box-shadow: none; background: none; accent-color: var(--ink); cursor: pointer; align-self: start; }
.cco-optin__phone { margin: 4px 0 0 32px; display: grid; gap: 6px; max-width: 22rem; }
.cco-optin__phone[hidden] { display: none; }
.cco-optin__on { margin: 0; font-weight: 600; color: var(--ink); }
.cco-optin__note { margin: 0; font-size: 14px; }
.cco-bake-fields [data-cco-errors] p { margin: 0; font-weight: 700; color: var(--error); }

/* ---------- cco-core: checkout pickup / delivery chooser ---------- */
.cco-fulfill { display: grid; gap: var(--units-105); margin: var(--units-3) 0 var(--units-2); }
.cco-fulfill__title { margin: 0; }
.cco-fulfill__opts { display: grid; gap: var(--units-1); grid-template-columns: 1fr; }
@media (min-width: 480px) { .cco-fulfill__opts { grid-template-columns: 1fr 1fr; } }
.cco-fulfill__opt { display: flex; gap: var(--units-105); align-items: flex-start; min-height: var(--target-min); padding: var(--units-2); background: var(--surface-raised); border: 1px solid var(--border-control); border-radius: var(--radius-sm); cursor: pointer; }
.cco-fulfill .cco-fulfill__opt input[type="radio"] { all: revert; flex: 0 0 20px; width: 20px; height: 20px; margin: 2px 0 0; padding: 0; accent-color: var(--action); }
.cco-fulfill__opt span { flex: 1 1 auto; min-width: 0; }
.cco-fulfill__opt span { display: grid; gap: 2px; }
.cco-fulfill__opt small { font-size: 14px; line-height: 1.4; color: var(--ink-muted); }
.cco-fulfill__opt.is-on { border-color: var(--action); box-shadow: inset 0 0 0 1px var(--action); }
.cco-fulfill__code { display: grid; gap: 4px; margin: 0; max-width: 22rem; }
.cco-fulfill__code[hidden] { display: none; }
.cco-fulfill__code label { font-size: 14px; color: var(--ink-muted); }
.cco-fulfill__code input { min-height: var(--target-min); text-transform: uppercase; }
.cco-fulfill__status { margin: 0; padding: var(--units-1) var(--units-105); border-radius: var(--radius-sm); background: var(--success-bg); color: var(--ink); font-size: 15px; line-height: 1.45; }
.cco-fulfill__status[hidden] { display: none; }
.cco-fulfill__status.is-error { background: transparent; border: 1px solid var(--error); color: var(--error); font-weight: 700; }
.cco-billing-hint { margin: 4px 0 0; font-size: 14px; color: var(--ink-muted); }

/* ---------- cco-core: Google address suggestions ---------- */
.cco-ac { position: absolute; z-index: 50; left: 0; right: 0; top: 100%; margin: 2px 0 0; padding: 4px 0; list-style: none; background: var(--surface-raised); border: 1px solid var(--border-control); border-radius: var(--radius-sm); box-shadow: 0 8px 24px rgba(43, 38, 34, 0.14); }
.cco-ac[hidden] { display: none; }
.cco-ac__opt { display: grid; gap: 2px; padding: var(--units-1) var(--units-105); min-height: var(--target-min); cursor: pointer; }
.cco-ac__opt strong { font-weight: 600; color: var(--ink); }
.cco-ac__opt span { font-size: 14px; color: var(--ink-muted); }
.cco-ac__opt:hover, .cco-ac__opt.is-active { background: var(--surface-alt); }
.cco-ac__by { padding: 4px var(--units-105) 2px; font-size: 12px; color: var(--ink-muted); text-align: right; }

/* ---------- cco-core: cart perks (free-delivery motivator + offers) ---------- */
.cco-perks { display: grid; gap: var(--units-2); margin: var(--units-2) 0; }
.cco-perks__free { display: grid; gap: var(--units-05); padding: var(--units-105) var(--units-2); background: var(--surface-alt); border-radius: var(--radius-sm); }
.cco-perks__msg { margin: 0; font-weight: 600; font-size: 15px; line-height: 1.4; color: var(--ink); }
.cco-perks__bar { height: 8px; border-radius: 999px; background: var(--border-subtle); overflow: hidden; }
.cco-perks__bar span { display: block; height: 100%; border-radius: inherit; background: var(--action); transition: width .3s ease; }
.cco-perks__free.is-earned .cco-perks__bar span { background: var(--success); }
.cco-perks__note { margin: 0; font-size: 13px; color: var(--ink-muted); }
.cco-perks__min { color: var(--ink); font-weight: 600; }
.cco-perks__title { margin: 0 0 var(--units-1); font-weight: 700; font-size: 15px; }
.cco-perks__list { display: grid; gap: var(--units-1); margin: 0; padding: 0; list-style: none; }
.cco-perks__item { display: flex; align-items: center; gap: var(--units-105); }
.cco-perks__link { display: flex; align-items: center; gap: var(--units-105); flex: 1 1 auto; min-width: 0; color: inherit; text-decoration: none; }
.cco-perks__link img { flex: none; width: 48px; height: 48px; object-fit: cover; border-radius: var(--radius-sm); }
.cco-perks__text { display: grid; min-width: 0; }
.cco-perks__text strong { font-weight: 600; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cco-perks__text span { font-size: 14px; color: var(--ink-muted); }
.cco-perks__add { flex: none; min-height: var(--target-min); padding-inline: var(--units-2); }
.cco-perks__add.fct-loading { opacity: .6; pointer-events: none; }
.fct-cart-drawer .cco-perks { margin: var(--units-2) var(--units-2) 0; }

/* ---------- cco-core: reviews ---------- */
.cco-stars { display: inline-flex; align-items: center; gap: 6px; font-size: 15px; line-height: 1; color: var(--ink); text-decoration: none; }
a.cco-stars:hover .cco-stars__count { text-decoration: underline; }
.cco-stars__row { display: inline-flex; letter-spacing: 1px; font-size: 16px; }
.cco-stars__s { color: var(--border-control); }
.cco-stars__s.is-full { color: var(--crust-600); }
.cco-stars__s.is-half { background: linear-gradient(90deg, var(--crust-600) 50%, var(--border-control) 50%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cco-stars__num { font-weight: 700; }
.cco-stars__count { color: var(--ink-muted); }
.cco-product-card .cco-stars { margin: -2px 0 2px; }
.cco-reviews { display: grid; gap: var(--units-2); margin-top: var(--units-5); padding-top: var(--units-4); border-top: 1px solid var(--border-subtle); }
.cco-reviews .cco-h2 { margin: 0; }

/* ---------- cco-core: customer accounts ---------- */
.cco-account-form { display: grid; gap: var(--units-105); max-width: 460px; margin: var(--units-3) 0; }
.cco-account-form p { margin: 0; display: grid; gap: 6px; }
.cco-account-form label { font-weight: 600; font-size: 15px; color: var(--ink); }
.cco-account-form input[type="text"], .cco-account-form input[type="email"], .cco-account-form input[type="password"], .cco-account-form .input, .cco-account-form .cco-input { width: 100%; min-height: var(--target-min); padding: 10px 14px; font: inherit; font-size: 17px; color: var(--ink); background: var(--surface-raised); border: 1px solid var(--border-control); border-radius: var(--radius-sm); }
.cco-account-form input:focus-visible { outline: 3px solid var(--action); outline-offset: 1px; }
.cco-account-form .login-remember label { display: inline-flex; align-items: center; gap: 8px; font-weight: 400; min-height: var(--target-min); }
.cco-account-form .login-submit input[type="submit"], .cco-account-form .button-primary { justify-self: start; min-height: var(--target-min); padding: 0 var(--units-3); font: inherit; font-weight: 600; color: var(--on-action); background: var(--action); border: 0; border-radius: var(--radius-sm); cursor: pointer; }
.cco-account-form .login-submit input[type="submit"]:hover { background: var(--action-hover); }
.cco-account-form__row { display: grid; gap: var(--units-105); }
@media (min-width: 480px) { .cco-account-form__row { grid-template-columns: 1fr 1fr; } }
.cco-account-form .cco-hint { font-size: 14px; font-weight: 400; color: var(--ink-muted); }
.cco-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.cco-form-error, .cco-form-ok { max-width: 460px; margin: var(--units-2) 0 0; padding: var(--units-1) var(--units-105); border-radius: var(--radius-sm); font-weight: 600; }
.cco-form-error { color: var(--error); border: 1px solid var(--error); }
.cco-form-ok { background: var(--success-bg); color: var(--ink); }
.cco-or { display: flex; align-items: center; gap: var(--units-105); max-width: 460px; margin: var(--units-3) 0 0; color: var(--ink-muted); font-size: 14px; }
.cco-or::before, .cco-or::after { content: ""; flex: 1; height: 1px; background: var(--border-subtle); }
.cco-account-links { display: grid; gap: var(--units-1); margin: var(--units-2) 0 0; padding: 0; list-style: none; }

/* ---------- cco-core: receipt, recipes ---------- */
.cco-receipt-bake { padding: var(--units-2); margin: var(--units-2) 0; background: var(--surface-alt); border-left: 8px solid var(--sage-700); border-radius: var(--radius-md); }
.cco-receipt-mail { margin: var(--units-2) 0; font-size: 15px; color: var(--ink-muted); }
.cco-recipe-card { display: grid; gap: var(--units-2); padding: var(--units-3); margin-top: var(--units-4); background: var(--surface-raised); border: 1px solid var(--border-subtle); border-radius: var(--radius-sm); }
.cco-recipe-card h2 { font-family: var(--font-serif); font-weight: 400; font-size: 28px; margin: 0; }
.cco-recipe-card h3 { font-family: var(--font-sans); font-size: 18px; font-weight: 700; margin: 0; }
.cco-recipe-card__meta { margin: 0; font-weight: 600; color: var(--ink-muted); }
.cco-recipe-card__print { margin: 0; }
.cco-recipe-card__ingredients, .cco-recipe-card__steps { margin: 0; padding-left: 1.25em; }
.cco-recipe-card__ingredients li { margin: 4px 0; }
.cco-recipe-card__steps li { margin: 10px 0; }
.cco-recipe-card__shop ul { list-style: none; padding: 0; margin: var(--units-1) 0 0; display: flex; flex-wrap: wrap; gap: var(--units-2); }
.cco-recipe-card__shop a { display: grid; gap: var(--units-05); width: 9rem; font-weight: 600; color: var(--ink); text-decoration: none; }
.cco-recipe-card__shop img { aspect-ratio: 4 / 3; width: 100%; object-fit: cover; border-radius: var(--radius-0); }
.cco-recipe-gate { padding: var(--units-3); margin-top: var(--units-4); background: var(--surface-sage); border-radius: var(--radius-lg); }
.cco-recipe-gate h3 { font-family: var(--font-serif); font-size: 22px; margin: 0 0 var(--units-1); }

/* ---------- FluentCart: buttons, fields, prices ---------- */
.fluent-cart-add-to-cart-button,
.fct-single-product-page [data-fluent-cart-direct-checkout-button],
[data-fluent-cart-checkout-page-checkout-button],
.fct-cart-drawer .checkout-button,
.fct-product-view-button {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--units-1);
  min-height: var(--target-min); padding: var(--units-105) var(--units-3);
  font: 600 16px/1.35 var(--font-sans); letter-spacing: 0.02em; text-decoration: none; cursor: pointer;
  border: 2px solid transparent; border-radius: var(--radius-sm) !important;
  background: var(--action) !important; color: var(--on-action) !important;
  transition: background-color 120ms ease;
}
.fluent-cart-add-to-cart-button:hover, [data-fluent-cart-checkout-page-checkout-button]:hover, .fct-cart-drawer .checkout-button:hover { background: var(--action-hover) !important; }
.fct-single-product-page [data-fluent-cart-direct-checkout-button] { background: transparent !important; color: var(--ink) !important; border-color: var(--ink); }
.fct-single-product-page [data-fluent-cart-direct-checkout-button]:hover { background: var(--ink) !important; color: var(--ink-inverse) !important; }
[data-fluent-cart-checkout-page-checkout-button] { width: 100%; }
.fct-input, .fct_checkout input[type="text"], .fct_checkout input[type="email"], .fct_checkout input[type="tel"], .fct_checkout select, .fct_checkout textarea {
  min-height: var(--target-min); font: 400 17px/1.35 var(--font-sans) !important; color: var(--ink) !important;
  background: var(--surface-raised) !important; border: 1px solid var(--border-control) !important; border-radius: var(--radius-sm) !important;
}
.fct_checkout label, .fct_input_wrapper label { font: 600 16px/1.35 var(--font-sans); color: var(--ink); }
.fct-single-product-page .fct-item-price, .fct-product-card-prices, .fct_summary .fct_summary_value { font-family: var(--font-serif); font-weight: 700; color: var(--ink); }
.fct-single-product-page h1, .fct-single-product-page .fct-product-title { font-family: var(--font-serif); font-weight: 400; color: var(--ink); }
.fct_checkout, .fct-single-product-page { font-family: var(--font-sans); color: var(--ink); }
.fct_checkout h3, .fct_checkout h4, .fct_checkout legend { font-family: var(--font-serif); font-weight: 400; color: var(--ink); }
.fct_checkout_shipping_methods label, .fct_checkout_payment_methods label { min-height: var(--target-min); }
/* The header's bag icon replaces FluentCart's floating cart button. */
.fct-cart-drawer-open-btn { display: none !important; }
.fct-cart-drawer { font-family: var(--font-sans); color: var(--ink); }
.toastify.warning { font-family: var(--font-sans) !important; border-left: 8px solid var(--error); border-radius: var(--radius-md) !important; }

/* ---------- Fluent Forms → FormField (implementation.md §5) ---------- */
.frm-fluent-form .ff-el-group { margin-bottom: var(--units-3) !important; }
.frm-fluent-form .ff-el-input--label { margin-bottom: var(--units-1) !important; }
/* Labels on top, controls full width (the design's single-column form). */
.frm-fluent-form .ff-el-input--content { margin-left: 0 !important; width: 100% !important; max-width: none !important; }
.frm-fluent-form .ff-el-help-message { margin-top: var(--units-05); font-style: normal !important; font-size: 13px; color: var(--ink-muted); }
/* Checkbox agreements (Fluent Forms .ff-el-tc / .ff_t_c) → the design's .cco-choice. */
.frm-fluent-form .ff-el-tc { display: flex !important; align-items: flex-start; gap: var(--units-105); cursor: pointer; }
.frm-fluent-form .ff-el-tc input[type="checkbox"] { width: 22px; height: 22px; margin: 2px var(--units-105) 0 0 !important; flex: none; accent-color: var(--action); }
.frm-fluent-form .ff_t_c { color: var(--ink) !important; font: 400 16px/1.5 var(--font-sans); }
.frm-fluent-form .ff-el-input--label label { font: 600 16px/1.35 var(--font-sans) !important; color: var(--ink) !important; }
.frm-fluent-form .ff-el-form-control {
  width: 100%; min-height: var(--target-min); padding: 10px var(--units-105) !important;
  font: 400 17px/1.35 var(--font-sans) !important; color: var(--ink) !important;
  background: var(--surface-raised) !important; border: 1px solid var(--border-control) !important; border-radius: var(--radius-sm) !important;
}
.frm-fluent-form .ff-el-help-message { font-size: 13px; color: var(--ink-muted); }
.frm-fluent-form .ff-el-is-error .ff-el-form-control { border: 2px solid var(--error) !important; }
.frm-fluent-form .ff-el-is-error .error { font: 700 15px/1.35 var(--font-sans); color: var(--error); }
.frm-fluent-form .ff-btn-submit {
  min-height: var(--target-min); padding: var(--units-105) var(--units-3) !important;
  font: 600 16px/1.35 var(--font-sans) !important; letter-spacing: 0.02em;
  background: var(--action) !important; color: var(--on-action) !important; border: 2px solid transparent !important; border-radius: var(--radius-sm) !important;
}
.frm-fluent-form .ff-btn-submit:hover { background: var(--action-hover) !important; }
.ff-message-success { padding: var(--units-2) !important; background: var(--success-bg) !important; border: 0 !important; border-left: 8px solid var(--success) !important; border-radius: var(--radius-md); color: var(--ink) !important; box-shadow: none !important; }
.cco-signup .frm-fluent-form { max-width: 30rem; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Logo (logo kit 2026-11-05) ----------
   Header: horizontal lockup; height set, width follows. Footer: stacked lockup. */
.cco-logo { display: inline-flex; align-items: center; line-height: 0; text-decoration: none; }
.cco-logo img { display: block; width: auto; max-width: 100%; border-radius: 0; }
.cco-header .cco-logo--horizontal img { height: 40px; }
@media (min-width: 1024px) { .cco-header .cco-logo--horizontal img { height: 52px; } }
.cco-footer .cco-logo--primary img { width: 200px; height: auto; }

/* FluentCart prints "-" as the variant line for single-variation loaves (cco-core CartPerks marks it). */
.fct-cart-item-variant.cco-empty-variant { display: none; }

/* FluentCart's custom selects (country/state at checkout): the text sat at the top of
   the 44px box (line-height 23px, no vertical padding). Centre it; the option list is
   absolutely positioned, so flex doesn't touch it. */
.fct_input_wrapper_select .fct-nice-select.fct-input-select { display: flex; align-items: center; }
.fct_input_wrapper_select .fct-nice-select.fct-input-select > .current { line-height: 1.3; }

/* Ready-now bar (cco-core Ordering\ReadyNow): the announcement bar in crust (terracotta) so it stands out from the usual bar, with
   the Buy it now link as a small pill so it reads as a button on a phone. */
.cco-announce--ready { background: var(--crust-600); color: var(--ink-inverse); font-weight: 600; }
.cco-announce--ready .cco-ready-now__buy {
	display: inline-block; margin-left: 6px; padding: 2px 12px; border-radius: 999px;
	background: var(--ink-inverse); color: var(--crust-600); text-decoration: none; white-space: nowrap;
}
.cco-announce--ready .cco-ready-now__buy:hover, .cco-announce--ready .cco-ready-now__buy:focus-visible { text-decoration: underline; }

/* Home page giveaway band (staging/fixtures/giveaway-promo.php): right under the hero so it's seen on the first scroll */
.cco-giveaway-band { background: var(--surface-sage); border-block: 1px solid var(--border-subtle); padding: var(--units-3) 0; }
.cco-giveaway-band__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--units-2) var(--units-4); }
.cco-giveaway-band__text { flex: 1 1 26rem; display: grid; gap: 4px; }
.cco-giveaway-band__text .cco-eyebrow { margin: 0; }
.cco-giveaway-band__title { margin: 0; color: var(--ink); }   /* size from .cco-h2, like the other section headings */
.cco-giveaway-band__lead { margin: 0; color: var(--ink); }
.cco-giveaway-band__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--units-1) var(--units-3); }
.cco-giveaway-band__actions .cco-btn--text { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 600px) {
  .cco-giveaway-band__actions { width: 100%; }
  .cco-giveaway-band__actions .cco-btn--primary { flex: 1 1 100%; justify-content: center; text-align: center; }
}
