/* GENERATED by bin/build-assets.py from design/. Do not edit by hand. */
/* Interface tokens: theme preset first, built-in value as fallback. Override per site by setting the same
   custom properties on .wfc (the admin "Appearance" settings will do that). */
.wfc, body.wfc-page {
  --base: var(--wp--preset--color--base, #F1F1EF);
  --surface: var(--wp--preset--color--surface, #FBFBFA);
  --line: var(--wp--preset--color--line, #E0E0DD);
  --contrast: var(--wp--preset--color--contrast, #2C2C2A);
  --contrast-2: var(--wp--preset--color--contrast-2, #6C6C69);
  --sage-deep: var(--wp--preset--color--sage-deep, #55605A);
  --sage: var(--wp--preset--color--sage, #9CAC9F);
  --blush: var(--wp--preset--color--blush, #E2C9C3);
  --sand: var(--wp--preset--color--sand, #DBC9B4);
  --sky: var(--wp--preset--color--sky, #A4B7C1);
  --wall: #D3CBC1;
  --spacing-20: var(--wp--preset--spacing--20, 0.75rem);
  --spacing-30: var(--wp--preset--spacing--30, 1.25rem);
  --spacing-40: var(--wp--preset--spacing--40, 1.5rem);
  --spacing-50: var(--wp--preset--spacing--50, 2rem);
  --spacing-60: var(--wp--preset--spacing--60, 2.5rem);
  --tap-min: 44px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-pill: 999px;
  --shadow-soft: var(--wp--preset--shadow--soft, 0 1px 2px rgba(60,56,51,0.04), 0 8px 24px rgba(60,56,51,0.06));
  --shadow-lift: var(--wp--preset--shadow--lift, 0 2px 4px rgba(60,56,51,0.05), 0 16px 40px rgba(60,56,51,0.10));
  --font-display: var(--wp--preset--font-family--display, Fraunces, "Iowan Old Style", Palatino, Georgia, serif);
  --font-body: var(--wp--preset--font-family--body, Mulish, "Avenir Next", "Segoe UI", system-ui, sans-serif);
}
.h1 { font-family: var(--font-display); font-size: 30px; line-height: 1.15; font-weight: 400; letter-spacing: -0.01em; }
.h2 { font-family: var(--font-display); font-size: 24px; line-height: 1.15; font-weight: 400; letter-spacing: -0.01em; }
.h3 { font-family: var(--font-display); font-size: 20px; line-height: 1.15; font-weight: 400; letter-spacing: -0.01em; }
.body { font-family: var(--font-body); font-size: 16px; line-height: 1.6; font-weight: 400; }
.body-lg { font-family: var(--font-body); font-size: 17px; line-height: 1.6; font-weight: 400; }
.small { font-family: var(--font-body); font-size: 14px; line-height: 1.5; font-weight: 400; }
.label { font-family: var(--font-body); font-size: 14px; line-height: 1.3; font-weight: 600; letter-spacing: 0.06em; }
.price { font-family: var(--font-body); font-size: 20px; line-height: 1.2; font-weight: 700; }
/* WonderFlower Decor: configurator patterns. References tokens only. */
.wf { font-family: var(--font-body); color: var(--contrast); }
.wf *, .wf *::before, .wf *::after { box-sizing: border-box; }
.wf :focus-visible { outline: 2px solid var(--contrast); outline-offset: 2px; }

/* Button */
.wf-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: var(--tap-min);
  padding: 0.9rem 2rem; border: 0; border-radius: var(--radius-pill); background: var(--sage-deep); color: var(--surface);
  font: 600 14px/1.2 var(--font-body); letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; text-decoration: none; }
.wf-btn:hover { background: var(--contrast); }
.wf-btn--outline { background: transparent; color: var(--sage-deep); border: 1px solid var(--sage-deep); padding: 0.58rem 1.16rem; }
.wf-btn--outline:hover { background: var(--sage-deep); color: var(--surface); }
.wf-btn--block { width: 100%; }

/* OptionTile */
.wf-rail { display: flex; gap: var(--spacing-20); overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 8px; scrollbar-width: none; }
.wf-rail::-webkit-scrollbar { display: none; }
.wf-tile { flex: 0 0 104px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 10px 8px 12px; border: 1px solid var(--contrast-2); border-radius: var(--radius-md); background: var(--surface);
  font: 600 14px/1.3 var(--font-body); color: var(--contrast); cursor: pointer; text-align: center; }
.wf-tile__img { width: 72px; height: 72px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; }
.wf-tile[aria-pressed="true"] { border: 2px solid var(--sage-deep); padding: 9px 7px 11px; box-shadow: var(--shadow-soft); }
.wf-tile[aria-pressed="true"]::after { content: "✓"; font-size: 12px; color: var(--surface); background: var(--sage-deep);
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; margin-top: -4px; }

/* ColorSwatch */
.wf-swatches { display: flex; gap: var(--spacing-20); flex-wrap: wrap; }
.wf-swatch { width: var(--tap-min); height: var(--tap-min); border-radius: var(--radius-pill); border: 1px solid var(--contrast-2);
  padding: 0; cursor: pointer; position: relative; }
.wf-swatch[aria-checked="true"] { box-shadow: 0 0 0 3px var(--surface), 0 0 0 5px var(--sage-deep); }
.wf-swatch-label { font: 400 14px/1.5 var(--font-body); color: var(--contrast-2); margin-top: 8px; }
.wf-swatch-label b { color: var(--contrast); font-weight: 600; }

/* NameField */
.wf-field { display: flex; flex-direction: column; gap: 6px; }
.wf-field__label { font: 600 14px/1.3 var(--font-body); }
.wf-field__input { min-height: 48px; padding: 0 14px; border: 1px solid var(--contrast-2); border-radius: var(--radius-sm);
  background: var(--surface); font: 400 18px/1.2 var(--font-body); color: var(--contrast); letter-spacing: 0.08em; text-transform: uppercase; }
.wf-field__input:focus { outline: 2px solid var(--contrast); outline-offset: 2px; }
.wf-field__meta { display: flex; justify-content: space-between; font: 400 14px/1.5 var(--font-body); color: var(--contrast-2); }

/* CartBar */
.wf-cartbar { display: flex; align-items: center; gap: var(--spacing-20); padding: 12px var(--spacing-40) calc(12px + env(safe-area-inset-bottom));
  background: var(--surface); box-shadow: var(--shadow-lift); border-top: 1px solid var(--line); }
.wf-cartbar__price { flex: 1; display: flex; flex-direction: column; }
.wf-cartbar__price small { font: 400 13px/1.3 var(--font-body); color: var(--contrast-2); }
.wf-cartbar__price strong { font: 700 20px/1.2 var(--font-body); }

/* BlockNav: icon block switcher */
.wf-blocknav { display: flex; gap: 2px; justify-content: space-between; }
.wf-bn { position: relative; width: 40px; height: 40px; flex: 0 0 auto; display: grid; place-items: center;
  border: 1px solid var(--contrast-2); border-radius: var(--radius-pill); background: var(--surface); color: var(--contrast); cursor: pointer; padding: 0; }
.wf-bn svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wf-bn--added { border: 2px solid var(--sage-deep); }
.wf-bn--added::after { content: ""; position: absolute; top: -2px; right: -2px; width: 10px; height: 10px; border-radius: 50%;
  background: var(--sage-deep); box-shadow: 0 0 0 2px var(--base); }
.wf-bn[aria-current="step"] { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--surface); }
.wf-bn[aria-current="step"]::after { display: none; }
.wf-bn[aria-disabled="true"] { border-style: dashed; color: var(--contrast-2); }
.wf-bn-caption { display: flex; justify-content: space-between; margin-top: 6px; font: 400 13px/1.3 var(--font-body); color: var(--contrast-2); }
.wf-bn-caption b { color: var(--contrast); font-weight: 600; }

/* ChoiceChips: small choice control (size, variant, yes/no) */
.wf-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wf-chip { min-height: 40px; padding: 0 14px; border: 1px solid var(--contrast-2); border-radius: var(--radius-pill); background: var(--surface);
  font: 600 14px/1.2 var(--font-body); color: var(--contrast); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.wf-chip small { font-weight: 400; color: var(--contrast-2); font-size: 12px; }
.wf-chip[aria-checked="true"] { background: var(--sage-deep); border-color: var(--sage-deep); color: var(--surface); }
.wf-chip[aria-checked="true"] small { color: var(--surface); }
.wf-chip:disabled { border-style: dashed; color: var(--contrast-2); cursor: not-allowed; text-decoration: line-through; }

/* Counter: quantity */
.wf-counter { display: inline-flex; align-items: center; border: 1px solid var(--contrast-2); border-radius: var(--radius-pill); background: var(--surface); }
.wf-counter button { width: var(--tap-min); height: var(--tap-min); border: 0; background: none; font: 400 22px/1 var(--font-body); color: var(--contrast); cursor: pointer; border-radius: var(--radius-pill); }
.wf-counter button:disabled { color: var(--line); cursor: not-allowed; }
.wf-counter output { min-width: 28px; text-align: center; font: 700 16px/1 var(--font-body); }

/* Block panel rows */
.wf-row { margin: 0 0 18px; }
.wf-row__label { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; font: 600 14px/1.3 var(--font-body); }
.wf-row__label small { font-weight: 400; color: var(--contrast-2); }
.wf-note { font: 400 13px/1.45 var(--font-body); color: var(--contrast-2); margin: 6px 0 0; }
.wf-link { background: none; border: 0; padding: 0; font: 600 14px/1.3 var(--font-body); color: var(--sage-deep); text-decoration: underline; cursor: pointer; min-height: 32px; }
.wf-item { border: 1px solid var(--line); border-radius: var(--radius-md); background: var(--surface); padding: 12px; margin-bottom: 10px; }
.wf-swatches--sm .wf-swatch { width: 36px; height: 36px; }
.wf-swatch:disabled { opacity: .35; cursor: not-allowed; }
.wf-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Preview scene: the block being edited is highlighted, the rest are faded */
.wf-scene [data-b] { transition: opacity .35s ease; }
.wf-scene.focus [data-b]:not(.on) { opacity: .35; }
.wf-scene .ghost { animation: wf-ghost 1.6s ease-in-out infinite alternate; }
@keyframes wf-ghost { from { opacity: .45; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .wf-scene .ghost { animation: none; } .wf-scene [data-b] { transition: none; } }

/* Compact variant: smaller controls so the preview can be larger (configurator on mobile) */
.wf-compact .wf-bn { width: 36px; height: 36px; }
.wf-compact .wf-bn svg { width: 19px; height: 19px; }
.wf-compact .wf-bn--added::after { width: 8px; height: 8px; }
.wf-compact .wf-bn-caption { margin-top: 4px; font-size: 12px; }
.wf-compact .wf-row { margin-bottom: 12px; }
.wf-compact .wf-row__label { margin-bottom: 6px; font-size: 13px; }
.wf-compact .wf-chips { gap: 6px; }
.wf-compact .wf-chip { min-height: 32px; padding: 0 11px; font-size: 13px; }
.wf-compact .wf-chip small { font-size: 11px; }
.wf-compact .wf-swatches { gap: 8px; }
.wf-compact .wf-swatch { width: 34px; height: 34px; }
.wf-compact .wf-swatch[aria-checked="true"] { box-shadow: 0 0 0 2px var(--surface), 0 0 0 4px var(--sage-deep); }
.wf-compact .wf-swatch-label { font-size: 12px; margin-top: 5px; }
.wf-compact .wf-counter button { width: 36px; height: 36px; font-size: 19px; }
.wf-compact .wf-counter output { font-size: 15px; }
.wf-compact .wf-field__input { min-height: 40px; }
.wf-compact .wf-note { font-size: 12px; }
.wf-compact .wf-item { padding: 10px; margin-bottom: 8px; }
.wf-compact .wf-link { font-size: 13px; min-height: 28px; }
.wf-compact .wf-cartbar { padding-top: 8px; padding-bottom: calc(8px + env(safe-area-inset-bottom)); }
.wf-compact .wf-cartbar .wf-btn { min-height: 40px; padding: 0.6rem 1.2rem; font-size: 13px; }
.wf-compact .wf-cartbar__price strong { font-size: 18px; }


html:has(body.wfc-page), body.wfc-page { margin: 0; height: 100%; background: var(--base); }
.cfg { display: flex; flex-direction: column; height: 100%; overflow: hidden; background: var(--base); }
.cfg-head { flex: 0 0 auto; display: flex; justify-content: space-between; align-items: center; padding: 10px 20px; border-bottom: 1px solid var(--line); }
.cfg-brand { font: 400 17px/1 var(--font-display); }
.cfg-cart { font: 600 12px var(--font-body); color: var(--contrast-2); }
.cfg-main { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cfg-stage { flex: 0 0 auto; padding: 8px 12px 0; position: relative; }
.cfg-pv { height: 42vh; height: 42dvh; min-height: 220px; max-height: 330px; border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); background: var(--wall); }
/* Phone: the note sits ON the wall, top left, clear of the close button.
   Desktop pins it to the other corner, where the panel does not reach. */
.cfg-hint { display: block; position: absolute; top: 18px; left: 24px; right: 76px; margin: 0;
  text-align: left; font: 400 11px/1.35 var(--font-body); color: var(--contrast-2); pointer-events: none; }
.cfg-side { flex: 1; min-height: 0; display: flex; flex-direction: column; }
.cfg-nav { padding: 10px 16px 0; }
.cfg-panel { flex: 1; overflow: auto; padding: 10px 20px 6px; }
.cfg-bar { padding-left: 12px; padding-right: 12px; }
.cfg-bar #prev { min-width: 40px; }

/* Desktop: the canvas fills the screen, the block panel floats inside it, pinned
   to the left edge; the scene is framed in the free area to the right of it. */
@media (min-width: 960px) {
  .cfg-head { padding: 14px 32px; }
  .cfg-brand { font-size: 22px; }
  .cfg-cart { font-size: 14px; }
  .cfg-main { position: relative; display: block; padding: 20px 24px 24px; }
  .cfg-stage { position: absolute; inset: 20px 24px 24px; padding: 0; }
  .cfg-pv { height: 100%; max-height: none; min-height: 0; }
  /* TOP right, under the close button: the bottom right belongs to the cot and
     its measure line, and the bottom left is behind the block panel. */
  /* `left: auto` matters: the phone rule sets both left and right, and with both
     set the box anchors LEFT, which here is behind the block panel. */
  .cfg-hint { left: auto; right: 20px; top: 58px; max-width: 40ch; text-align: right;
    font: 400 13px/1.4 var(--font-body); }
  .cfg-side { position: absolute; z-index: 2; top: 44px; bottom: 48px; left: 48px; width: 400px;
    background: var(--surface); border-radius: var(--radius-md); box-shadow: var(--shadow-lift); overflow: hidden; }
  .cfg-nav { padding: 20px 24px 0; }
  .cfg-panel { padding: 18px 24px 10px; }
  .cfg-bar { padding: 14px 24px; box-shadow: none; }
  .wf-bn { cursor: pointer; }
  .wf-bn:not([aria-current="step"]):hover { background: var(--base); }
}
@media (min-width: 1400px) { .cfg-side { width: 440px; } }

body.wfc-page .wp-site-blocks > .cfg { margin-block-start: 0; height: calc(100vh - var(--wf-header-h, 72px)); height: calc(100dvh - var(--wf-header-h, 72px)); }
body.wfc-page .wp-site-blocks { padding: 0; }
/* Close (X): top right of the picture, always there as a plain way out. */
@media (max-width: 959px) { .cfg-stage { position: relative; } }
.cfg-close { position: absolute; z-index: 3; top: 16px; right: 20px; width: 36px; height: 36px; display: grid; place-items: center;
  border-radius: 50%; background: var(--surface, #fff); color: var(--contrast); box-shadow: var(--shadow-soft); }
.cfg-close svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.cfg-close:hover { background: var(--contrast); color: var(--surface, #fff); }
@media (min-width: 960px) { .cfg-close { top: 14px; right: 14px; } }

