.free-grid{max-width:760px;margin-inline:auto}#gestaltung>.section-heading{max-width:760px;margin-inline:auto}fieldset{border:0;border-top:1px solid var(--line);padding:24px 0;margin:0 0 8px;min-width:0}legend{font-family:Georgia,serif;font-size:24px;padding:0 12px 0 0}.choices{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px}.choices label{display:flex;align-items:center;gap:8px;padding:12px;border:1px solid var(--line);border-radius:6px;background:white;cursor:pointer;min-height:48px}.choices input[type=radio]{display:inline-block;width:20px;min-height:20px;margin:0;accent-color:var(--accent)}textarea{display:block;font:inherit;width:100%;border:1px solid #bdb2a3;border-radius:5px;padding:12px;margin-top:8px;resize:vertical;background:white;color:var(--ink)}textarea:focus{outline:3px solid #c38e60;outline-offset:3px}#photo{white-space:normal;font-size:16px}#quoteFields label{margin-top:16px}.quote-list{display:grid;gap:8px;max-height:390px;overflow-y:auto;padding:4px}.quote-list button{background:white;color:var(--ink);border-color:var(--line);text-align:left;font-weight:400;padding:12px 16px;overflow-wrap:anywhere}.quote-list button[aria-pressed=true]{border:2px solid var(--accent);background:var(--surface)}.chosen{padding:12px;background:var(--surface);border-left:3px solid var(--accent);white-space:pre-wrap}.chosen:empty{display:none}.free-preview{margin:16px 0 24px;background:var(--surface);padding:24px;border-radius:10px;min-width:0}.free-preview img{display:block;width:100%;max-height:650px;object-fit:contain}.free-preview .preview-wrap{min-height:220px;display:grid;place-items:center}#send,#makePreview{width:100%;margin:16px 0}#spelling .spelling-word{border-top:1px solid var(--line);padding:10px 0}#spelling button{background:white;color:var(--accent);padding:8px 12px;margin:4px;min-height:44px;overflow-wrap:anywhere}#spelling p{margin:4px 0}.free-choice{margin-top:10px!important;background:transparent;color:var(--accent)}.free-choice:hover{background:var(--surface)}@media(max-width:800px){.free-preview{padding:16px}.free-preview img{max-height:360px}.choices{flex-direction:column}.choices label{font-size:16px}.product-card{grid-template-columns:1fr}.free-grid legend{font-size:23px}} 

.preview-disclaimer{font-size:16px;line-height:1.6;margin:20px 0 0}#freeForm input:disabled,#freeForm textarea:disabled{cursor:wait}

.size-choice{margin:0 0 24px;padding:18px;background:#f7f2e9;border-radius:12px}.size-choice select{width:100%;max-width:100%;font-size:16px}.size-choice p{margin-bottom:0;line-height:1.5}

.product-price-overview{margin:0 0 22px}.product-prices{margin:0}.product-prices>div{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;border-top:1px solid var(--line)}.product-prices dt{min-width:0;line-height:1.4;font-size:15px}.product-prices dt strong,.product-prices dt span{display:block}.product-prices dt span{font-size:14px;color:var(--muted);margin-top:2px}.product-prices dd{margin:0;color:var(--accent);font-size:21px;font-weight:700;white-space:nowrap}.product-card .product-size-note{font-size:13px;line-height:1.4;margin:8px 0 0;color:var(--muted)}

/* Keep the waiting controls beside the preview button, too. */
.free-preview:has(#preview[hidden]):has(#previewCancel[hidden]){display:none}
.free-preview:has(#preview[hidden]) :is(.preview-wrap,.preview-disclaimer){display:none}
#previewCancel{margin:0}
/* Three choices share one uploaded photo and fit a narrow phone screen. */
.photo-variants{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.6rem;margin:1rem 0}
.photo-variant{display:flex;flex-direction:column;align-items:stretch;gap:.25rem;min-width:0;padding:.45rem;border:2px solid #b8a797;border-radius:.7rem;background:#fff;color:#241a15;text-align:left;cursor:pointer}
.photo-variant img{width:100%;aspect-ratio:1;object-fit:contain;background:#f5f1ec;border-radius:.35rem}
.photo-variant strong{font-size:.88rem;line-height:1.2}
.photo-variant span{font-size:.76rem;line-height:1.25}
.photo-variant[aria-pressed="true"]{border-color:#704b32;background:#f4e5d4;box-shadow:0 0 0 2px #704b3255}
.photo-variant:focus-visible{outline:3px solid #173d74;outline-offset:2px}
.photo-variant:disabled{opacity:.45;cursor:not-allowed}
@media(max-width:560px){.photo-variants{grid-template-columns:1fr}.photo-variant{display:grid;grid-template-columns:86px 1fr;align-items:center}.photo-variant img{grid-row:span 2}}
