/* naricitas */
/*
 * Naricitas theme (STOREFRONT-DESIGN.md 6.2, UX-SPEC-1 section 3, owner decisions of 2026-11-17). Colours are the
 * owners' Drive palette "Paleta Rosa Terracota" (Blanco Flor #FEFBFA, Algodon #F5DADA, Amapola #452828, Terracota
 * Rosa #C97B6E, Durazno #E8A0A0, Caramel #D4A574, Salvia #8FA89A); scripts/contrast-check.mjs decides every pair.
 * Every token below the first block is optional: base.css reads it as var(--token, <older token>), so a theme that
 * omits it (Cadourel) renders as before. Fonts are declared by the foundation build from store.json.
 *
 * Terracota Rosa as a button fill: white on it is 3.12:1 and Amapola 4.12:1, both under 4.5:1 for normal text, so
 * the button text is a deepened amapola (#3A1F1F, 4.69:1). The hover fill is lighter so that text keeps 5.49:1.
 * Salvia #8FA89A is a band background only (amapola text on it 5.19:1), never text or icons on light grounds
 * (2.48:1); icons there use the deeper sage #5E7869. Caramel is a small-label fill under amapola text. Arena and
 * Lavanda are unused.
 */
:root {
  --c-bg: #fefbfa;
  --c-surface: #f5dada;
  --c-ink: #452828;
  --c-muted: #6a4b4b;
  --c-primary: #c97b6e;
  --c-on-primary: #3a1f1f;
  --c-accent: #b05a52;
  --c-focus: #452828;
  --c-border: #7d5e5e;

  --c-primary-hover: #d4897c;  /* #3a1f1f on it 5.49:1 */
  --c-link: #452828;           /* links stay ink with a terracotta underline: terracotta text fails on both light grounds */
  --c-sage: #5e7869;           /* icons on --c-bg (4.67:1); the Salvia band colour is --c-salvia */
  --c-salvia: #8fa89a;         /* band background only, with --c-ink text (5.19:1) */
  --c-caramel: #d4a574;        /* small label fill with --c-ink text (5.94:1) */
  --c-hairline: #ebcfcf;       /* decorative dividers; not a control boundary */

  --c-hero-bg: #452828;        /* the dark Amapola hero card and the dark half of the About block */
  --c-hero-ink: #fefbfa;       /* 12.85:1 */
  --c-hero-soft: #f5dada;      /* secondary text on the dark card (10.03:1) */
  --c-hero-em: #e8a0a0;        /* emphasis word ("happy") and the eyebrow on dark (6.28:1) */
  --c-hero-eyebrow: #d4a574;   /* caramel label on dark (5.94:1) */
  --c-hero-btn-bg: #e8a0a0;    /* buttons on the dark card */
  --c-hero-btn-ink: #452828;   /* 6.28:1 on --c-hero-btn-bg */
  --c-hero-btn-hover: #f5dada; /* #452828 on it 10.03:1 */
  --c-hero-focus: #fefbfa;     /* the ink focus ring would vanish on the dark card */
  --c-panel-art: #e8a0a0;      /* Durazno panel behind the large logo mark in the About block */

  --c-footer-bg: #452828;
  --c-footer-ink: #fefbfa;     /* 12.85:1 */
  --c-footer-muted: #d9bcbc;   /* 7.48:1 */
  --c-footer-border: #6e4f4f;  /* decorative */
  --c-footer-focus: #fefbfa;   /* the ink focus ring would vanish on the dark footer */
  --c-footer-accent: #e8a0a0;  /* Durazno: footer headings, utility-bar icon and switcher marks (6.28:1) */

  --c-pastel-1: #f5dada;       /* category tiles: Algodon, Durazno, Salvia bands, each with --c-ink text (10.03, 6.28, 5.19) */
  --c-pastel-2: #e8a0a0;
  --c-pastel-3: #8fa89a;

  --logo-h: 56px;
  --logo-h-sm: 48px;
  --logo-footer-h: 88px;
  --logo-footer-h-sm: 72px;

  --radius-card: 14px;
  --radius-control: 10px;
  --radius-pill: 999px;

  --font-head: 'Nunito', 'Nunito Fallback', system-ui, sans-serif;
  --font-body: 'Nunito', 'Nunito Fallback', system-ui, sans-serif;

  --shadow-card: 0 1px 3px rgb(69 40 40 / 0.14);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
}

:root{--logo-max:150px}
@font-face{font-family:"Nunito";src:url(/_astro/nunito-var.latin-ro.CCqnbbCW.woff2) format("woff2");font-weight:400 800;font-style:normal;font-display:swap}
@font-face{font-family:"Nunito Fallback";src:local("Arial"),local("Helvetica Neue"),local("Liberation Sans");size-adjust:101.8%;ascent-override:99.4%;descent-override:34.7%;line-gap-override:0%}
/*
 * Rules of the status pages that the middleware renders itself (src/lib/status-page.ts): 404 for a prefix that is
 * not live, 503 "opening soon", 503 "back in a minute", 500. They are served inside /theme.css, next to the store's
 * tokens, because those pages carry no other stylesheet. Only theme tokens are used.
 */
.status-body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; background: var(--c-bg); color: var(--c-ink); font-family: var(--font-body); line-height: 1.5; }
.status-header { padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--c-border); }
.status-brand { font-family: var(--font-head); font-weight: 700; font-size: 1.5rem; }
.status-main { flex: 1; max-width: 40rem; width: 100%; margin: 0 auto; padding: var(--space-7) var(--space-4); }
.status-main h1 { font-family: var(--font-head); font-size: 2rem; line-height: 1.2; margin: 0 0 var(--space-3); }
.status-links { list-style: none; padding: 0; margin: var(--space-5) 0 0; display: flex; flex-wrap: wrap; gap: var(--space-3); }
.status-links a { display: inline-block; min-height: 44px; padding: var(--space-3) var(--space-4); border: 1px solid var(--c-border); border-radius: var(--radius-pill); color: var(--c-ink); text-decoration: none; }
.status-links a:focus-visible { outline: 3px solid var(--c-focus); outline-offset: 2px; }
.status-footer { padding: var(--space-5) var(--space-4); background: var(--c-surface); color: var(--c-ink); font-size: 0.875rem; text-align: center; }
.status-footer p { margin: 0 0 var(--space-2); }
