/* FONDLORE personalisation block: neutral styles that inherit the theme's typography. */
.fl-personalise { margin: 24px 0; clear: both; }
.fl-variant-info { margin: 0 0 18px; font-size: 0.92em; line-height: 1.6; }
.fl-variant-info p { margin: 0 0 2px; }
.fl-field { margin: 0 0 16px; }
.fl-field label { display: block; margin: 0 0 6px; font-weight: 500; }
.fl-field .fl-req { color: #8c6642; }
.fl-field input[type="text"], .fl-field input[type="date"], .fl-field select, .fl-field textarea { width: 100%; max-width: 100%; box-sizing: border-box; }
.fl-help { margin: 6px 0 0; font-size: 0.85em; opacity: 0.8; }
.fl-photo-list { list-style: none; margin: 0 0 8px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 8px; }
.fl-photo { position: relative; aspect-ratio: 3 / 4; background: #f2ede6; display: flex; align-items: center; justify-content: center; font-size: 0.75em; overflow: hidden; }
.fl-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fl-photo-remove { position: absolute; top: 3px; right: 3px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: rgba(40, 40, 40, 0.75); color: #fff; line-height: 24px; cursor: pointer; }
.fl-preview { margin: 22px 0 14px; }
.fl-preview-frame { position: relative; background: #f4ede4; padding: 14px; text-align: center; min-height: 160px; display: flex; align-items: center; justify-content: center; }
.fl-preview-frame img { max-width: 100%; height: auto; box-shadow: 0 6px 22px rgba(43, 39, 36, 0.18); }
.fl-preview-status { font-size: 0.9em; opacity: 0.75; }
.fl-loading .fl-preview-frame img { opacity: 0.55; transition: opacity 0.2s; }
.fl-messages { list-style: none; margin: 10px 0 0; padding: 0; font-size: 0.9em; }
.fl-messages li { padding: 8px 10px; margin: 0 0 6px; }
.fl-messages .fl-error { background: #fbeceb; color: #8a2c22; }
.fl-messages .fl-warning { background: #fbf4e6; color: #6d4d14; }
.fl-approve { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 18px; font-size: 0.92em; line-height: 1.5; cursor: pointer; }
.fl-approve input { margin-top: 4px; flex: none; }
.fl-photo-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.fl-upload-button { display: inline-block; cursor: pointer; margin: 0 10px 0 0; }
.fl-photo-input:focus + .fl-upload-button { outline: 2px solid #8c6642; outline-offset: 2px; }
.fl-upload-note { font-size: 0.8em; opacity: 0.7; }

/* One headline price: the separate variation price is shown in the headline instead. */
.fl-has-stage .woocommerce-variation-price, .product:has(.fl-personalise) .woocommerce-variation-price { display: none !important; }

/* Desktop stage: the live preview replaces the empty gallery and stays visible while scrolling. */
.fl-stage { position: relative; z-index: 2; margin: 0 0 24px; will-change: transform; }
.fl-stage .fl-preview { margin: 0; }
.fl-stage .fl-preview-frame { min-height: 520px; padding: 28px; }
.fl-stage .fl-preview-frame img { max-height: calc(100vh - 230px); width: auto; }
.fl-has-stage .woocommerce-product-gallery { opacity: 1 !important; }
.fl-has-stage .woocommerce-product-gallery > :not(.fl-stage) { display: none !important; }
.fl-preview-frame { position: relative; }
.fl-sample-badge { display: none; position: absolute; top: 12px; left: 50%; transform: translateX(-50%); background: rgba(43, 39, 36, 0.82); color: #fff; font-size: 0.78em; letter-spacing: 0.02em; padding: 5px 12px; border-radius: 14px; white-space: nowrap; z-index: 1; }
.fl-is-sample .fl-sample-badge { display: inline-block; }
.fl-field[data-field="style"], .fl-field[data-field="lettering"] { display: inline-block; width: calc(50% - 6px); vertical-align: top; }
.fl-field[data-field="style"] { margin-right: 8px; }
@media (max-width: 991px) {
	.fl-preview-frame img { max-height: 70vh; width: auto; }
}

/* Themes may force img{display:block}; keep hidden images hidden. */
.fl-preview-frame img[hidden] { display: none !important; }
.fl-preview-frame img { max-width: 100%; }

/* Three numbered steps. */
.fl-step-one { margin: 8px 0 20px; }
.fl-heading.fl-step-title { display: flex; align-items: center; gap: 10px; font-size: 1.15em; margin: 26px 0 14px; }
.fl-step-one .fl-step-title { margin-top: 4px; }
.fl-step-no { flex: none; width: 28px; height: 28px; border-radius: 50%; background: #2b2724; color: #fff; font-size: 0.8em; line-height: 28px; text-align: center; }
.fl-step-one .fl-variant-info { margin: 12px 0 0; opacity: 0.85; }

/* The theme dropdowns stay in the page (WooCommerce reads them) but customers use the buttons. */
.product:has(.fl-step-one) table.variations, .fl-step-one ~ table.variations { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
.fl-hidden-select, .fl-field-select .sod_select { display: none !important; }

/* Option buttons. */
.fl-choice-group { margin: 0 0 16px; }
.fl-choice-label { margin: 0 0 8px; font-weight: 500; }
.fl-choices { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 8px; }
.fl-choice { position: relative; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 2px; min-height: 52px; margin: 0; padding: 9px 12px; border: 1px solid #ddd5ca; border-radius: 6px; background: #fff; color: #2b2724; font: inherit; font-size: 0.92em; line-height: 1.25; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; transition: border-color 0.15s, box-shadow 0.15s; }
.fl-choice:hover { border-color: #b39a7f; background: #fff; color: #2b2724; }
.fl-choice.is-on { border-color: #2b2724; box-shadow: inset 0 0 0 1px #2b2724; }
.fl-choice:focus-visible { outline: 2px solid #8c6642; outline-offset: 2px; }
.fl-choice-name { font-weight: 500; }
.fl-choice-sub { font-size: 0.82em; opacity: 0.7; }
.fl-choice-delta { font-size: 0.82em; color: #8c6642; }
.fl-choice.fl-finish { padding-left: 46px; }
.fl-sw { position: absolute; left: 11px; top: 50%; width: 26px; height: 32px; margin-top: -16px; box-sizing: border-box; border: 4px solid #e8e2d8; background: #fbfaf7; }
.fl-sw i { position: absolute; inset: 0; background: #efe7da; }
.fl-has-mount .fl-sw i { inset: 4px; }
.fl-sw-black .fl-sw { border-color: #222; }
.fl-sw-white .fl-sw { border-color: #f4f2ee; box-shadow: 0 0 0 1px #d8d2c8; }
.fl-sw-oak .fl-sw { border-color: #b98d5f; }
.fl-sw-none .fl-sw { border: 1px solid #d8d2c8; }

/* Design style and lettering buttons. */
.fl-choices-style .fl-choice, .fl-choices-lettering .fl-choice { flex-direction: row; align-items: center; gap: 10px; }
.fl-style-sw { flex: none; position: relative; width: 26px; height: 32px; box-sizing: border-box; border: 1px solid; }
.fl-style-sw i { position: absolute; left: 5px; right: 5px; top: 13px; height: 3px; }
.fl-letter-sample { flex: none; width: 30px; font-size: 1.35em; line-height: 1; text-align: center; }
.fl-letter-script { font-family: "Snell Roundhand", "Apple Chancery", "Brush Script MT", cursive; font-style: italic; }
.fl-letter-serif { font-family: Georgia, "Times New Roman", serif; }
.fl-letter-modern { font-family: inherit; font-size: 1em; letter-spacing: 0.12em; text-transform: uppercase; }
.fl-field[data-field="style"], .fl-field[data-field="lettering"] { display: block; width: auto; margin-right: 0; }

/* The preview, framed as chosen. */
.fl-art { display: inline-block; max-width: 100%; line-height: 0; box-shadow: 0 10px 28px rgba(43, 39, 36, 0.22); }
.fl-art.fl-frame-none { box-shadow: 0 6px 22px rgba(43, 39, 36, 0.18); }
.fl-frame-black { padding: 14px; background: #1f1f1f; }
.fl-frame-white { padding: 14px; background: #f7f6f2; box-shadow: 0 10px 28px rgba(43, 39, 36, 0.22), inset 0 0 0 1px #e2ded6; }
.fl-frame-oak { padding: 14px; background: linear-gradient(135deg, #c9a273, #a77d51 55%, #be9566); }
.fl-art .fl-mount { line-height: 0; }
.fl-mounted .fl-mount { padding: 11%; background: #fbfaf7; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.06); }
.fl-art .fl-design-img { box-shadow: none; }
.fl-mounted .fl-design-img { box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.08); }
.fl-preview-caption { margin: 10px 0 0; font-size: 0.88em; text-align: center; opacity: 0.75; }
.fl-preview-caption:empty { display: none; }

/* Step 3. */
.fl-check { display: none; }
.fl-check img { width: 120px; height: auto; box-shadow: 0 4px 14px rgba(43, 39, 36, 0.18); }
.fl-notice { margin: 0 0 14px; padding: 10px 12px; border-radius: 6px; background: #f4ede4; font-size: 0.92em; line-height: 1.45; }
.fl-notice:empty { display: none; }
.fl-notice.is-error { background: #fbeceb; color: #8a2c22; }
.fl-notice.is-ready { background: #edf3ea; color: #2f5130; }
.fl-invalid input, .fl-invalid textarea, .fl-invalid .fl-upload-button { border-color: #b8463a !important; box-shadow: 0 0 0 1px #b8463a; }

@media (max-width: 991px) {
	.fl-check { display: block; margin: 0 0 12px; }
	.fl-stage .fl-preview-frame { padding: 18px; }
	.fl-stage .fl-preview-frame img { max-height: 62vh; width: auto; }
	.fl-frame-black, .fl-frame-white, .fl-frame-oak { padding: 9px; }
	.fl-choices { grid-template-columns: repeat(2, 1fr); }
}

/* The loading note floats over the picture instead of pushing it aside. */
.fl-preview-frame .fl-preview-status { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); padding: 4px 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.9); white-space: nowrap; z-index: 1; }

/* Step 2: our design or your own. */
.fl-own-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.fl-own-file:focus + .fl-upload-button { outline: 2px solid #8c6642; outline-offset: 2px; }
.fl-mode { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0 0 18px; }
.fl-mode-btn { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; margin: 0; padding: 12px 14px; border: 1px solid #ddd5ca; border-radius: 6px; background: #fff; color: #2b2724; font: inherit; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
.fl-mode-btn:hover { border-color: #b39a7f; background: #fff; color: #2b2724; }
.fl-mode-btn.is-on { border-color: #2b2724; box-shadow: inset 0 0 0 1px #2b2724; }
.fl-mode-btn strong { font-weight: 600; font-size: 0.95em; }
.fl-mode-btn span { font-size: 0.8em; opacity: 0.7; line-height: 1.35; }
.fl-own { margin: 0 0 16px; padding: 16px; border: 1px dashed #cdbfae; border-radius: 6px; background: #fbf8f3; }
.fl-own p { margin: 0 0 12px; font-size: 0.92em; line-height: 1.5; }
.fl-own .button { margin: 0 8px 8px 0; }
.fl-own .fl-btn-light { background: #fff !important; color: #2b2724 !important; border: 1px solid #2b2724 !important; }
.fl-own.fl-invalid { border-color: #b8463a; }
.fl-own[hidden], .fl-template-fields[hidden], .fl-own-empty[hidden], .fl-own-done[hidden] { display: none !important; }

/* Design editor (full screen). */
html.fle-open, html.fle-open body { overflow: hidden !important; }
.fle-modal { position: fixed; inset: 0; z-index: 100000; display: flex; flex-direction: column; background: #f4ede4; color: #2b2724; font-size: 15px; }
.fle-top { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: #fff; border-bottom: 1px solid #e3ddd4; }
.fle-size { font-size: 0.85em; opacity: 0.7; flex: 1; }
.fle-x { width: 36px; height: 36px; padding: 0; border: 0; background: none; font-size: 26px; line-height: 1; color: #2b2724; cursor: pointer; }
.fle-body { flex: 1; display: flex; min-height: 0; }
.fle-stage { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; padding: 8px; }
.fle-stage .canvas-container { box-shadow: 0 8px 26px rgba(43, 39, 36, 0.2); }
.fle-panel { width: 320px; flex: none; overflow-y: auto; padding: 16px; background: #fff; border-left: 1px solid #e3ddd4; }
.fle-panel [hidden] { display: none !important; }
.fle-label { margin: 16px 0 8px; font-size: 0.85em; font-weight: 600; }
.fle-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; margin: 0 6px 6px 0; padding: 8px 14px; border: 1px solid #cfc6ba; border-radius: 6px; background: #fff; color: #2b2724; font: inherit; font-size: 0.9em; text-transform: none; letter-spacing: 0; cursor: pointer; }
.fle-btn:hover { border-color: #2b2724; background: #fff; color: #2b2724; }
.fle-btn.fle-primary { background: #2b2724; border-color: #2b2724; color: #fff; }
.fle-btn.fle-primary:hover { background: #000; color: #fff; }
.fle-btn.fle-danger { color: #8a2c22; }
.fle-btn.is-on { border-color: #2b2724; box-shadow: inset 0 0 0 1px #2b2724; }
.fle-btn[disabled] { opacity: 0.6; cursor: wait; }
.fle-add .fle-btn { width: 100%; margin: 0 0 8px; }
.fle-file { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.fle-elements { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fle-el { height: 58px; margin: 0; padding: 10px; border: 1px solid #e3ddd4; border-radius: 6px; background: #fbf8f3; cursor: pointer; }
.fle-el:hover { border-color: #8c6642; background: #fbf8f3; }
.fle-el svg { width: 100%; height: 100%; fill: #94704b; }
.fle-el-border { display: block; width: 70%; height: 100%; margin: 0 auto; border: 2px solid #94704b; }
.fle-papers, .fle-inks { display: flex; flex-wrap: wrap; gap: 8px; }
.fle-sw { width: 34px; height: 34px; margin: 0; padding: 0; border: 1px solid #cfc6ba; border-radius: 50%; cursor: pointer; }
.fle-sw:hover { box-shadow: 0 0 0 2px #8c6642; }
.fle-text { width: 100%; box-sizing: border-box; margin: 0 0 8px; font-size: 16px; }
.fle-fonts .fle-btn { font-size: 1.05em; }
.fle-quality { margin: 12px 0; padding: 8px 10px; border-radius: 6px; background: #edf3ea; font-size: 0.85em; }
.fle-quality.is-bad { background: #fbeceb; color: #8a2c22; }
.fle-actions { margin: 14px 0 6px; }
.fle-done-obj { width: 100%; }
.fle-foot { display: flex; align-items: center; gap: 8px; padding: 10px 16px; background: #fff; border-top: 1px solid #e3ddd4; }
.fle-msg { flex: 1; font-size: 0.88em; }
.fle-msg.is-bad { color: #8a2c22; }
.fle-foot .fle-btn { margin: 0; }
@media (max-width: 767px) {
	.fle-body { flex-direction: column; }
	.fle-stage { flex: none; height: 52vh; }
	.fle-panel { width: auto; flex: 1; border-left: 0; border-top: 1px solid #e3ddd4; }
	.fle-add .fle-btn { width: auto; margin: 0 6px 8px 0; }
	.fle-elements { grid-template-columns: repeat(6, 1fr); }
	.fle-el { height: 46px; padding: 6px; }
}

/* Link from our design into the editor. */
.fl-edit-all { margin: 0 0 16px; }
.fl-link { padding: 0; border: 0; background: none !important; color: #8c6642 !important; font: inherit; font-size: 0.9em; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* Editor library. */
.fle-icon { width: 36px; height: 36px; padding: 0; border: 1px solid #e3ddd4; border-radius: 6px; background: #fff; color: #2b2724; font-size: 20px; line-height: 1; cursor: pointer; }
.fle-tabs { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 12px; }
.fle-tab { flex: 1 1 30%; min-height: 38px; padding: 6px 8px; border: 1px solid #e3ddd4; border-radius: 6px; background: #fbf8f3; color: #2b2724; font: inherit; font-size: 0.85em; text-transform: none; letter-spacing: 0; cursor: pointer; }
.fle-tab.is-on { background: #2b2724; border-color: #2b2724; color: #fff; }
.fle-hint { margin: 0 0 10px; font-size: 0.85em; color: #6e6259; line-height: 1.45; }
.fle-wide { width: 100%; margin: 0 0 8px; }
.fle-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.fle-grid .fle-el span { font-size: 0.8em; color: #2b2724; }
.fle-el-border.is-double { outline: 1px solid #94704b; outline-offset: -6px; }
.fle-swatches { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 8px; }
.fle-row { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 6px; }
.fle-row .fle-btn { margin: 0; }
.fle-range { width: 100%; margin: 0 0 10px; }
@media (max-width: 767px) {
	.fle-grid { grid-template-columns: repeat(4, 1fr); }
	.fle-tab { flex: 1 1 28%; }
}
@media (max-width: 767px) {
	.fle-size { display: none; }
	.fle-top strong { flex: 1; }
}

/* Mosaic fill choices and photo list. */
.fle-fill { flex-direction: column; align-items: flex-start; text-align: left; min-height: 0; padding: 9px 12px; }
.fle-fill strong { font-weight: 600; font-size: 0.95em; }
.fle-fill small { font-size: 0.8em; opacity: 0.75; line-height: 1.35; margin-top: 2px; }
.fle-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 10px; }
.fle-photo-item { position: relative; border: 1px solid #e3ddd4; border-radius: 6px; overflow: hidden; background: #fbf8f3; }
.fle-photo-item img { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; }
.fle-mini { position: absolute; bottom: 4px; min-width: 26px; height: 24px; padding: 0 6px; border: 0; border-radius: 12px; background: rgba(43, 39, 36, 0.82); color: #fff; font-size: 11px; line-height: 24px; cursor: pointer; }
.fle-photo-crop { left: 4px; }
.fle-photo-first { right: 34px; }
.fle-photo-del { right: 4px; }
.fle-badge { position: absolute; top: 4px; left: 4px; padding: 1px 7px; border-radius: 10px; background: #94704b; color: #fff; font-size: 10px; }

/* Crop screen. */
.fle-cropper { position: absolute; inset: 0; z-index: 5; display: flex; flex-direction: column; background: rgba(28, 25, 22, 0.94); color: #fff; }
.fle-crop-title { margin: 0; padding: 14px 16px; font-size: 0.95em; text-align: center; }
.fle-crop-stage { position: relative; flex: 1; margin: 0 auto; display: flex; align-items: center; justify-content: center; width: 100%; touch-action: none; cursor: move; overflow: hidden; }
.fle-crop-stage img { display: block; max-width: none; user-select: none; -webkit-user-drag: none; pointer-events: none; }
.fle-crop-box { position: absolute; border: 2px solid #fff; box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.58); pointer-events: none; }
.fle-crop-tools { display: flex; align-items: center; gap: 12px; padding: 10px 24px; }
.fle-crop-tools .fle-range { margin: 0; flex: 1; }
.fle-crop-foot { display: flex; justify-content: flex-end; gap: 8px; padding: 10px 16px 16px; }
.fle-crop-frame { position: relative; flex: none; }

/* Real lettering in the lettering choices (the same fonts the print uses). */
@font-face { font-family: "FL Script"; src: url("fonts/great-vibes-regular.ttf") format("truetype"); font-display: swap; }
@font-face { font-family: "FL Serif"; src: url("fonts/cormorant-garamond-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "FL Sans"; src: url("fonts/montserrat-500.ttf") format("truetype"); font-weight: 500; font-display: swap; }
.fl-letter-script { font-family: "FL Script", cursive; font-style: normal; font-size: 1.6em; }
.fl-letter-serif { font-family: "FL Serif", Georgia, serif; font-size: 1.35em; }
.fl-letter-modern { font-family: "FL Sans", sans-serif; }

/* Layout choices as small pictures. */
.fl-choices-layout { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.fl-choices-layout .fl-choice { align-items: center; text-align: center; padding: 8px; }
.fl-layout-thumb { display: block; width: 100%; aspect-ratio: 1 / 1.414; margin: 0 0 6px; background: #f4ede4; border-radius: 3px; overflow: hidden; }
.fl-layout-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: none !important; }
.fl-layout-thumb img[hidden] { display: none !important; }

/* Photo effect choices show the effect. */
.fl-choices-effect .fl-choice { flex-direction: row; align-items: center; gap: 10px; }
.fl-effect-sw { flex: none; position: relative; width: 38px; height: 38px; border-radius: 4px; overflow: hidden; background: #000; }
.fl-effect-sw img { display: block; width: 100%; height: 100%; object-fit: cover; box-shadow: none !important; }
.fl-fx-mono img { filter: grayscale(1) contrast(1.1); }
.fl-fx-warm img { filter: sepia(0.55) saturate(0.9) brightness(1.03); }
.fl-fx-glow img { filter: blur(1.2px) brightness(1.35) saturate(1.15); }
.fl-fx-glow::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle, rgba(0,0,0,0) 35%, rgba(0,0,0,0.75) 100%); }

/* Editor: every choice is a picture with a name. */
.fle-card { display: flex; flex-direction: column; align-items: stretch; gap: 4px; margin: 0; padding: 6px; border: 1px solid #e3ddd4; border-radius: 6px; background: #fff; color: #2b2724; font: inherit; text-transform: none; letter-spacing: 0; cursor: pointer; }
.fle-card:hover { border-color: #8c6642; background: #fff; color: #2b2724; }
.fle-card.is-on { border-color: #2b2724; box-shadow: inset 0 0 0 1px #2b2724; }
.fle-card-img { display: block; position: relative; aspect-ratio: 1 / 1.414; background: #f4ede4; border-radius: 3px; overflow: hidden; }
.fle-card-img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.fle-card-img img[hidden] { display: none; }
.fle-card-icon { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; padding: 8px; background: #fbf8f3; }
.fle-card-icon svg { width: 100%; height: 100%; }
.fle-card-blank { background: #fbf8f3; box-shadow: inset 0 0 0 1px #e3ddd4; }
.fle-card-name { font-size: 0.78em; line-height: 1.25; text-align: center; }
.fle-designs { grid-template-columns: repeat(2, 1fr); }
.fle-effects { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.fle-fx { aspect-ratio: 1; background: #000; }
.fle-fill { flex-direction: row; align-items: center; gap: 10px; }
.fle-fill-icon { flex: none; width: 56px; height: 52px; }
.fle-fill-icon svg { width: 100%; height: 100%; }
.fle-fill-text { display: flex; flex-direction: column; text-align: left; }
@media (max-width: 767px) {
	.fle-designs { grid-template-columns: repeat(3, 1fr); }
}

/* Editor right-click menu. */
.fle-menu { position: absolute; z-index: 10; min-width: 290px; max-width: 320px; padding: 6px; background: #fff; border: 1px solid #e3ddd4; border-radius: 10px; box-shadow: 0 12px 32px rgba(43, 39, 36, 0.22); font-size: 14px; }
.fle-menu hr { margin: 5px 4px; border: 0; border-top: 1px solid #eee7de; }
.fle-menu-item { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 8px 10px; border: 0; border-radius: 6px; background: none; color: #2b2724; font: inherit; text-align: left; text-transform: none; letter-spacing: 0; cursor: pointer; }
.fle-menu-item:hover, .fle-menu-item:focus-visible { background: #f4ede4; color: #2b2724; }
.fle-menu-item kbd { font: inherit; font-size: 12px; color: #8a8077; background: none; box-shadow: none; padding: 0; }
.fle-menu-item.is-danger { color: #8a2c22; }
.fle-menu-item.is-off { opacity: 0.4; pointer-events: none; }
.fle-menu-row { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; padding: 4px 6px; }
.fle-menu-label { flex: 0 0 52px; font-size: 12px; color: #8a8077; }
.fle-menu-icon { width: 31px; height: 31px; margin: 0; padding: 0; border: 1px solid #eee7de; border-radius: 6px; background: #fff; color: #2b2724; font-size: 15px; line-height: 1; cursor: pointer; }
.fle-menu-icon:hover { border-color: #8c6642; background: #fbf8f3; color: #2b2724; }
.fle-menu-fx { display: block; position: relative; width: 100%; height: 100%; border-radius: 5px; overflow: hidden; background: #000; }
.fle-menu-fx img { display: block; width: 100%; height: 100%; object-fit: cover; }
