@font-face{font-family:Montserrat;src:url('../fonts/Montserrat.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:Montserrat;src:url('../fonts/Montserrat-ext.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:OpenSans;src:url('../fonts/OpenSans.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}
@font-face{font-family:OpenSans;src:url('../fonts/OpenSans-ext.woff2') format('woff2');font-weight:400 800;font-display:swap;unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}

/* Pieces of the second generation stay invisible in earlier previews. */
#extras .extra-hint,#extras .extra-group,#step-hint{display:none}

@font-face{font-family:Cormorant;src:url('../fonts/Cormorant.woff2') format('woff2');font-weight:300 700;font-display:swap}
#step-kicker,#next-hint,.menu-toggle{display:none}

/* ---------- Dielňa: list z kamenárskej dielne ---------- */
html.plus{
  --d-paper:var(--paper);
  --d-surface:color-mix(in srgb,var(--ink) 7%,var(--paper));
  --d-line:color-mix(in srgb,var(--ink) 14%,var(--paper));
  --d-field-line:color-mix(in srgb,var(--ink) 24%,var(--paper));
  --d-field:color-mix(in srgb,#fff 60%,var(--paper));
  --d-muted:color-mix(in srgb,var(--ink) 68%,var(--paper));
  --d-accent:var(--accent);
  --d-fill:var(--buttonFill,var(--accent));
  --d-fill-ink:var(--buttonInk,#fff);
  --d-head:var(--d-serif,Cormorant),Georgia,serif;
  --d-text:var(--pismoText,'OpenSans'),system-ui,sans-serif;
  --d-pad:48px;
}
html.plus body{background:var(--d-paper);color:var(--ink);font:400 15px/24px var(--d-text)}
html.plus *{transition:color .15s,background-color .15s,border-color .15s}
html.plus :is(button,a,summary,input,select,textarea):focus-visible,html.plus .cards label:has(:focus-visible){outline:2px solid var(--ink);outline-offset:2px;box-shadow:none}

/* Header across the page. */
html.plus .scene-header{position:relative;inset:auto;z-index:4;flex:none;display:flex;align-items:center;gap:32px;height:80px;padding:0 var(--d-pad);
  background:var(--d-paper);border-bottom:1px solid var(--d-line)}
html.plus .scene-header::before{content:none}
html.plus .scene-header :is(.studio,#review){display:none}
html.plus .brand img{height:46px;width:auto;max-width:220px;padding:0;background:transparent;border-radius:0;object-fit:contain}
html.plus.client-preview .brand img{height:46px;width:auto;max-width:220px;padding:0;background:var(--logoSurface,transparent)}
html.plus .site-menu{display:flex;align-items:center;gap:32px;margin-left:auto;white-space:nowrap}
html.plus .site-menu a{color:var(--ink);font:400 14px/20px var(--d-text);text-decoration:none}
@media(hover:hover){html.plus .site-menu a:hover{color:var(--d-accent)}}

/* Page: 3D on the left, the workshop sheet on the right. */
html.plus .layout,html.plus .layout.show-result{grid-template-columns:minmax(0,1fr) clamp(400px,34vw,540px);grid-template-rows:minmax(0,1fr);padding:0;gap:0;border:0;align-items:stretch}
html.plus .viewer,html.plus .show-result .viewer{height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;background:var(--d-surface)}
html.plus .layout>aside,html.plus .layout.show-result>aside{display:flex;flex-direction:column;min-height:0;max-height:none;margin:0;padding:0;overflow:hidden;
  border-left:1px solid var(--d-line);border-radius:0;background:var(--d-paper);box-shadow:none}
html.plus #sheet-content,html.plus .show-result #sheet-content{flex:1;min-height:0;height:auto;display:flex;flex-direction:column;gap:0;padding:0}
html.plus #step-scroll,html.plus .show-result #step-scroll{display:block;flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:36px var(--d-pad) 28px}

/* Steps: a row of words with numbers; the active one is underlined in the firm colour. */
html.plus aside>#step-track{flex:none;display:flex;justify-content:space-between;gap:8px;width:auto;margin:0 var(--d-pad);border-bottom:1px solid var(--d-line);counter-reset:phase}
html.plus #step-track::before,html.plus #step-track::after{content:none}
html.plus #step-track button{height:auto;min-height:0;display:block;padding:24px 0 14px;margin-bottom:-1px;border-bottom:2px solid transparent;
  color:var(--d-muted);font:400 14px/20px var(--d-text);letter-spacing:0;white-space:nowrap}
html.plus #step-track button::before{content:counter(phase) "\00a0";font:inherit;color:inherit;letter-spacing:0}
html.plus #step-track button[aria-current]{color:var(--d-accent);font-weight:600;border-bottom-color:var(--d-accent)}
@media(hover:hover){html.plus #step-track button:hover{color:var(--d-accent)}}

html.plus #step-kicker{display:block;margin:0 0 8px;color:var(--d-accent);font:600 11px/16px var(--d-text);letter-spacing:.14em;text-transform:uppercase}
html.plus #step-title,html.plus .layout:not(.show-result) h1,html.plus .show-result h1{margin:0;font:500 40px/44px var(--d-head);letter-spacing:0;color:var(--ink);max-width:none}
html.plus #step-hint{display:block;margin:10px 0 28px;color:var(--d-muted);font:400 15px/24px var(--d-text)}

/* Choice cards: photo, name, size. Selection is a thin rim in the firm colour. */
html.plus .cards,html.plus #samples{gap:16px}
html.plus #product{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:0}
html.plus #profile,html.plus #samples{grid-template-columns:repeat(3,minmax(0,1fr))}
html.plus #cover{grid-template-columns:repeat(2,minmax(0,1fr))}
html.plus :is(#product,#profile,#cover).cards label,html.plus #samples button{
  position:relative;display:flex;flex-direction:column;align-items:stretch;gap:0;min-height:0;padding:8px;
  border:1px solid transparent;border-radius:var(--d-r);background:transparent;box-shadow:none;text-align:left}
html.plus :is(#product,#profile,#cover).cards label::after,html.plus #samples button::after{content:none!important}
html.plus :is(#product,#profile,#cover).cards label:has(:checked),html.plus #samples button[aria-pressed=true]{border-color:var(--d-accent);box-shadow:none;background:transparent}
html.plus :is(#product,#profile,#cover) img,html.plus #samples button img{display:block;width:100%;height:auto;margin:0 0 10px;outline:0!important;border:0;
  border-radius:calc(var(--d-r) * .6);background:var(--d-surface);mix-blend-mode:normal;object-fit:cover}
html.plus #product img{aspect-ratio:1.02}
html.plus #profile img{aspect-ratio:1.1}
html.plus #cover img{aspect-ratio:1.56}
html.plus #samples button img{aspect-ratio:1.3}
html.plus :is(#product,#profile,#cover) label :is(span,small),html.plus #samples button span{margin:0;padding:0;background:none;border-radius:0;text-align:left;align-self:stretch}
html.plus :is(#product,#profile,#cover) label span,html.plus #samples button span{color:var(--ink);font:600 15px/20px var(--d-text)}
html.plus #product label small{color:var(--d-muted);font:400 13px/20px var(--d-text)}
html.plus :is(#product,#profile,#cover) label:has(:checked) span,html.plus #samples button[aria-pressed=true] span{color:var(--d-accent)}
@media(hover:hover){html.plus :is(#product,#profile,#cover) label:hover span,html.plus #samples button:hover span{color:var(--d-accent)}}
html.plus .measure{margin-top:20px;color:var(--d-muted);font:400 13px/20px var(--d-text)}

/* Segmented switch. */
html.plus :is(#shape-tools,#letter-tools){display:flex;gap:0;padding:0;margin:0 0 24px;border:1px solid var(--d-field-line);border-radius:var(--d-r);background:transparent;overflow:hidden}
html.plus:root :is(#shape-tools,#letter-tools) button{flex:1;min-height:40px;padding:0 18px;border:0;border-radius:0;background:transparent;box-shadow:none;
  color:var(--ink);font:600 13px/16px var(--d-text);letter-spacing:0;text-transform:none}
html.plus:root :is(#shape-tools,#letter-tools) button+button{border-left:1px solid var(--d-field-line)}
html.plus:root :is(#shape-tools,#letter-tools) button[aria-pressed=true]{background:var(--d-fill);color:var(--d-fill-ink)}

/* Fields. */
html.plus input:not([type=radio],[type=checkbox],[type=file]),html.plus textarea,html.plus select{min-height:44px;padding:10px 12px;border:1px solid var(--d-field-line);border-radius:var(--d-r);
  background:var(--d-field);color:var(--ink);font:400 15px/22px var(--d-text)}
html.plus :is(input:not([type=radio],[type=checkbox],[type=file]),textarea,select):focus{outline:2px solid var(--ink);outline-offset:0;border-color:var(--ink)}
html.plus .letter-part{gap:16px}
html.plus .letter-part label>span,html.plus #inquiry label>span,html.plus legend{color:var(--ink);font:600 13px/16px var(--d-text);margin-bottom:6px}
html.plus:root .example{display:inline;min-height:0;padding:0;border:0;color:var(--d-accent);font:600 13px/20px var(--d-text);text-decoration:underline;text-underline-offset:3px;background:none}
html.plus .fonts,html.plus .inks{gap:12px}
html.plus .fonts label,html.plus .inks label{padding:12px 10px;border:1px solid var(--d-line);border-radius:var(--d-r);background:transparent}
html.plus .fonts label:has(:checked),html.plus .inks label:has(:checked){border-color:var(--d-accent)}
html.plus .fonts label:has(:checked) span,html.plus .inks label:has(:checked) span{color:var(--d-accent);font-weight:600}
html.plus .fonts i{font-size:22px;color:var(--ink)}
html.plus .inks i{width:24px;height:24px;border:1px solid var(--d-line);border-radius:50%}

/* Accessories: a quiet checklist in three groups. */
html.plus #extras{display:block}
html.plus #extras .extra-group{display:block;margin:24px 0 4px;color:var(--d-muted);font:600 11px/16px var(--d-text);letter-spacing:.14em;text-transform:uppercase}
html.plus #extras .extra-group:first-child{margin-top:0}
html.plus #extras .extra-hint{display:none}
html.plus:root #extras label{display:flex;align-items:center;gap:14px;min-height:48px;padding:0;border:0;border-bottom:1px solid var(--d-line);border-radius:0;background:transparent;box-shadow:none;cursor:pointer}
html.plus #extras label>span{order:2;color:var(--ink);font:400 15px/20px var(--d-text)}
html.plus #extras input[type=checkbox]{order:1;appearance:none;-webkit-appearance:none;flex:none;width:20px;height:20px;margin:0;border:1px solid var(--ink);border-radius:calc(var(--d-r) * .4);background:transparent;cursor:pointer}
html.plus #extras input[type=checkbox]:checked{background:var(--d-accent);border-color:var(--d-accent);box-shadow:inset 0 0 0 3px var(--d-paper)}
html.plus #extras label:has(:checked)>span{color:var(--d-accent);font-weight:600}
html.plus #extras>div{margin-top:16px;padding:16px;border:1px solid var(--d-line);border-radius:var(--d-r)}

/* Footer of the sheet: back as a word, the next step named beside the button. */
html.plus .step-actions{flex:none;display:flex;flex-direction:row;align-items:center;gap:16px;padding:20px var(--d-pad) 24px;margin:0 var(--d-pad) 0;padding-inline:0;border-top:1px solid var(--d-line);background:transparent}
html.plus:root #back{min-height:48px;padding:0;margin:0;border:0;background:none;box-shadow:none;color:var(--ink);font:600 14px/20px var(--d-text);text-decoration:none}
@media(hover:hover){html.plus:root #back:hover{color:var(--d-accent)}}
html.plus #next-hint{display:block;margin-left:auto;color:var(--d-muted);font:400 14px/20px var(--d-text)}
html.plus:root :is(#next,#to-inquiry,#inquiry button[type=submit]){flex:none;display:inline-flex;align-items:center;justify-content:center;min-height:48px;min-width:0;padding:0 28px;margin:0;border:0;border-radius:var(--d-br);
  background:var(--d-fill);color:var(--d-fill-ink);box-shadow:none;font:600 14px/20px var(--d-text);letter-spacing:0;text-transform:none}
html.plus:root #next::after{content:none}
@media(hover:hover){html.plus:root :is(#next,#to-inquiry,#inquiry button[type=submit]):not(:disabled):hover{background:color-mix(in srgb,var(--d-fill) 86%,#000)}}
html.plus:root :is(#copy,#download){min-height:48px;padding:0 12px;white-space:nowrap;border:1px solid var(--ink);border-radius:var(--d-br);background:transparent;box-shadow:none;color:var(--ink);font:600 14px/20px var(--d-text);text-decoration:none;letter-spacing:0;text-transform:none}
@media(hover:hover){html.plus:root :is(#copy,#download):hover{color:var(--d-accent);border-color:var(--d-accent)}}

/* 3D controls: words on paper with a hairline. */
html.plus .camera{position:absolute;inset:0;z-index:2;display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:none;-webkit-backdrop-filter:none;backdrop-filter:none}
html.plus .camera .tools,html.plus .camera .zoom,html.plus #environments{position:absolute;display:flex;align-items:stretch;gap:0;padding:0;margin:0;pointer-events:auto;
  background:var(--d-paper);border:1px solid var(--d-line);border-radius:var(--d-r);box-shadow:none;overflow:hidden;-webkit-backdrop-filter:none;backdrop-filter:none}
html.plus .camera .tools{top:24px;left:24px}
html.plus .camera .zoom{bottom:24px;left:24px}
html.plus #environments{top:auto;bottom:24px;right:24px;left:auto;color:var(--ink)}
html.plus #environments::before{content:none;display:flex;align-items:center;padding:0 14px;border-right:1px solid var(--d-line);color:var(--d-muted);font:600 11px/16px var(--d-text);letter-spacing:.14em;text-transform:uppercase}
html.plus:root :is(.camera,#environments) button{display:flex;align-items:center;min-height:44px;padding:0 16px;margin:0;border:0;border-radius:0;background:transparent;box-shadow:inset 0 -2px 0 transparent;
  color:var(--ink);font:400 14px/16px var(--d-text);text-decoration:none;letter-spacing:0;text-transform:none;text-shadow:none}
html.plus:root :is(.camera,#environments) button[aria-pressed=true]{color:var(--d-accent);font-weight:600;background:transparent;box-shadow:inset 0 -2px 0 var(--d-accent);text-decoration:none}
@media(hover:hover){html.plus:root :is(.camera,#environments) button:hover{color:var(--d-accent)}}
html.plus:root .zoom button{width:44px;justify-content:center;padding:0;font-size:18px}
html.plus:root .zoom button+button{border-left:1px solid var(--d-line)}
html.plus .show-result :is(.camera,#environments){display:none}

/* Result: labelled rows with an edit link, actions below. */
html.plus #summary{margin:0;padding:0;border:0;background:none}
html.plus #summary div{display:grid;grid-template-columns:120px minmax(0,1fr) auto;align-items:baseline;gap:16px;padding:16px 0;border-top:1px solid var(--d-line)}
html.plus #summary div:last-child{border-bottom:1px solid var(--d-line)}
html.plus #summary dt{color:var(--d-muted);font:600 11px/16px var(--d-text);letter-spacing:.14em;text-transform:uppercase}
html.plus #summary dd{color:var(--ink);font:400 15px/22px var(--d-text);-webkit-line-clamp:3}
html.plus:root #summary button{min-height:0;padding:0;border:0;background:none;color:var(--d-accent);font:600 13px/20px var(--d-text);text-decoration:underline;text-underline-offset:3px}
html.plus .result-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}
html.plus:root #to-inquiry{grid-column:1/-1;width:100%}

/* Inquiry sheet. */
html.plus dialog{width:min(600px,100vw);padding:40px var(--d-pad);border:0;border-left:1px solid var(--d-line);border-radius:0;background:var(--d-paper);box-shadow:none}
html.plus dialog h2{margin:0 0 24px;font:500 32px/36px var(--d-head)}
html.plus:root #close-inquiry{float:right;min-height:0;padding:8px 0;border:0;background:none;color:var(--d-accent);font:600 13px/20px var(--d-text);text-decoration:underline;text-underline-offset:3px;text-transform:none;letter-spacing:0}
html.plus #simulation{margin:0 0 24px;color:var(--d-muted);font-size:13px}
html.plus #inquiry{gap:16px 24px}
html.plus #inquiry .consent input{width:20px;height:20px;border:1px solid var(--ink);border-radius:0}
html.plus #inquiry .consent input:checked{background:var(--d-accent);border-color:var(--d-accent);box-shadow:inset 0 0 0 3px var(--d-paper)}
html.plus:root #inquiry button[type=submit]{justify-self:start;width:auto}
html.plus #confirmation{border-top:1px solid var(--d-line);font:500 24px/30px var(--d-head)}

/* Loader. */
html.plus #loader progress{width:200px;height:2px}
html.plus #loader progress::-webkit-progress-value{background:var(--d-accent)}

@media(max-width:1200px){html.plus .site-menu{gap:20px}html.plus .site-menu a{font-size:13px}}
@media(max-width:1100px){html.plus{--d-pad:32px}html.plus .site-menu a:nth-child(n+5){display:none}}

/* ---------- Mobil ---------- */
@media(max-width:760px){
  html.plus{--d-pad:16px}
  html.plus body{display:flex;flex-direction:column}
  html.plus .scene-header{height:60px;padding:0 16px;gap:12px}
  html.plus .brand img,html.plus.client-preview .brand img{height:38px;max-width:150px}
  html.plus .menu-toggle{display:inline-flex;align-items:center;margin-left:auto;min-height:44px;padding:0 16px;border:1px solid var(--d-line);border-radius:var(--d-br);font:600 14px/20px var(--d-text);color:var(--ink)}
  html.plus .site-menu{display:none;position:absolute;top:60px;left:0;right:0;flex-direction:column;align-items:stretch;gap:0;padding:8px 16px 16px;background:var(--d-paper);border-bottom:1px solid var(--d-line)}
  html.plus .site-menu.open{display:flex}
  html.plus .site-menu a,html.plus .site-menu a:nth-child(n+5){display:block;padding:12px 0;border-bottom:1px solid var(--d-line);font-size:15px}
  html.plus .layout,html.plus .layout.show-result{grid-template-columns:1fr;grid-template-rows:minmax(0,40fr) minmax(0,60fr)}
  html.plus .layout>aside,html.plus .layout.show-result>aside{border-left:0;border-top:1px solid var(--d-line);margin-top:0}
  html.plus aside>#step-track{display:grid;grid-template-columns:repeat(6,1fr);gap:6px;order:2;margin:0 16px;padding:0;border:0}
  html.plus:root aside>#step-track button{height:22px;min-height:0;padding:0;font-size:0;border:0}
  html.plus #step-track button::before{content:"";display:block;height:3px;margin-top:10px;background:var(--d-line)}
  html.plus #step-track button[data-done]::before,html.plus #step-track button[aria-current]::before{background:var(--d-accent)}
  html.plus #sheet-content{order:3}
  html.plus aside{display:flex;flex-direction:column}
  html.plus aside::before{content:"";order:1}
  html.plus #step-scroll,html.plus .show-result #step-scroll{padding:12px 16px 16px}
  html.plus #step-kicker{margin-bottom:4px}
  html.plus #step-title,html.plus .layout:not(.show-result) h1,html.plus .show-result h1{font-size:28px;line-height:32px}
  html.plus #step-hint{margin:6px 0 16px;font-size:14px;line-height:20px}
  html.plus #product,html.plus #cover{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.plus #profile,html.plus #samples{grid-template-columns:repeat(3,minmax(0,1fr))}
  html.plus .cards,html.plus #samples{gap:10px}
  html.plus :is(#product,#profile,#cover).cards label,html.plus #samples button{padding:5px}
  html.plus :is(#profile,#samples) :is(label,button) span{font-size:13px;line-height:18px}
  html.plus .step-actions{margin:0;padding:12px 16px max(12px,env(safe-area-inset-bottom));gap:12px}
  html.plus #next-hint{display:none}
  html.plus:root #back{min-height:48px;padding:0 20px;border:1px solid var(--ink);border-radius:var(--d-br)}
  html.plus:root body .step-actions #next{flex:1}
  html.plus .camera .tools{top:auto;bottom:0;left:0;right:0;border-width:1px 0 0;border-radius:0}
  html.plus:root .camera .tools button{flex:1;justify-content:center;padding:0 6px;font-size:13px}
  html.plus .camera .zoom{bottom:auto;top:12px;left:auto;right:12px}
  html.plus #environments{bottom:auto;top:12px;left:12px;right:auto}
  html.plus #environments::before{content:none}
  html.plus:root #environments button{padding:0 10px;font-size:13px}
  html.plus #summary div{grid-template-columns:1fr auto;gap:4px 12px;padding:12px 0}
  html.plus #summary dt{grid-column:1/-1}
  html.plus .result-actions{margin-top:16px}
  html.plus dialog{padding:24px 16px}
}

/* Refinements: softer selected state, steps that always fit, larger cards, light chips. */
html.plus .layout,html.plus .layout.show-result{grid-template-columns:minmax(0,1fr) clamp(420px,37vw,600px)}
html.plus :is(#product,#profile,#cover).cards label:has(:checked),html.plus #samples button[aria-pressed=true]{
  border-color:var(--d-accent);background:color-mix(in srgb,var(--d-accent) 7%,var(--d-paper));box-shadow:inset 0 -3px 0 var(--d-accent)}
html.plus :is(#product,#profile,#cover).cards label,html.plus #samples button{padding:6px 6px 10px}
html.plus .cards,html.plus #samples{gap:12px}
html.plus aside>#step-track{display:grid;grid-template-columns:repeat(6,auto);justify-content:space-between;gap:4px}
html.plus #step-track button{font-size:clamp(12px,.95vw,14px)}
@media(max-width:1350px){html.plus #step-track button::before{content:none}}
html.plus .camera .tools,html.plus .camera .zoom,html.plus #environments{border-color:var(--d-line);box-shadow:0 2px 12px rgb(0 0 0 / .10)}
html.plus:root #environments button[aria-pressed=true]{background:var(--d-fill);color:var(--d-fill-ink);box-shadow:none}
@media(max-width:760px){
  html.plus .layout,html.plus .layout.show-result{grid-template-columns:1fr}
  html.plus aside>#step-track{display:grid;grid-template-columns:repeat(6,1fr);gap:6px}
}

@media(max-width:760px){
  /* On phones the sheet takes the height its step needs and the 3D view yields. */
  html.plus .layout,html.plus .layout.show-result{grid-template-rows:minmax(24dvh,1fr) auto}
  html.plus .layout>aside,html.plus .layout.show-result>aside{max-height:76dvh}
}


/* ---------- Jednotný štýl pre všetky firmy ---------- */
/* Header floats over the scene on a blurred strip; the panel keeps the full height. */
@media(min-width:761px){
  html.plus .scene-header{position:absolute;inset:0 0 auto;height:72px;padding:0 32px;background:transparent;border:0}
  html.plus .scene-header::before{content:"";position:absolute;inset:-8px 0 -6px;pointer-events:none;
    -webkit-backdrop-filter:blur(22px) saturate(.91);backdrop-filter:blur(22px) saturate(.91);
    background:color-mix(in srgb,var(--d-paper) 67%,transparent);
    -webkit-mask-image:linear-gradient(#000 40%,transparent 100%);mask-image:linear-gradient(#000 40%,transparent 100%)}
  html.plus .scene-header>:is(.brand,.site-menu){position:relative}
  html.plus .site-menu a{color:var(--ink);text-shadow:none}
  html.plus .camera .tools{top:86px}
}
html.plus #shape-tools{display:none!important}

/* Cards spread by count: data-cols is set by the script. */
html.plus :is(#product,#profile,#samples,#cover){grid-template-columns:repeat(var(--c,3),minmax(0,1fr))!important}
html.plus [data-cols="1"]{--c:1}html.plus [data-cols="2"]{--c:2}html.plus [data-cols="3"]{--c:3}html.plus [data-cols="4"]{--c:4}
html.plus :is(#product,#profile,#cover) img,html.plus #samples button img{aspect-ratio:1.15!important}
html.plus [data-cols="1"] img{aspect-ratio:2!important}
html.plus [data-cols="2"] img{aspect-ratio:1.45!important}
html.plus [data-cols="4"] img{aspect-ratio:1!important}
html.plus [data-cols="4"] :is(label,button) span{font-size:13px!important;line-height:18px!important}
html.plus [data-cols="4"] label small{font-size:12px}

/* Lettering fits without scrolling. */
html.plus .letter-part{gap:12px 16px}
html.plus .letter-part label>span{margin-bottom:4px}
html.plus .letter-part .placement{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:12px}
html.plus:root .example{display:inline-block;margin-top:4px;line-height:20px;padding:2px 0}

/* Accessories: two quiet columns per group on desktop. */
@media(min-width:761px){
  html.plus #extras{display:grid;grid-template-columns:1fr 1fr;column-gap:28px}
  html.plus #extras :is(.extra-group,div){grid-column:1/-1}
  html.plus:root #extras label{min-height:44px}
}

/* Result: one calm column, compact rows, actions together. */
html.plus .show-result #step-hint{display:none}
html.plus .show-result #step-title{margin-bottom:18px}
html.plus #summary div{grid-template-columns:104px minmax(0,1fr) auto;padding:11px 0}
html.plus #summary dd{-webkit-line-clamp:2}
html.plus .result-actions{margin-top:20px}
@media(min-width:761px){html.plus .site-menu{flex:0 1 auto;min-width:0;margin-left:auto;justify-content:flex-start;overflow:hidden;gap:24px}html.plus .site-menu a[hidden]{display:none}}
html.plus:not(.client-preview) .brand img{width:42px;height:42px;padding:8px;background:var(--accent);border-radius:var(--d-r)}

/* The custom renders share the same framing and baseline as the catalogue cards. */
html.plus #profile{grid-auto-rows:1fr}
html.plus #profile.cards label{justify-content:flex-start}
html.plus #profile.cards label img{aspect-ratio:1.15!important;object-fit:cover;flex:none}

/* Link back to the firm's website, in place of its menu. */
html.plus .site-link{margin-left:auto;padding:8px 14px;border:1px solid color-mix(in srgb,var(--ink) 22%,transparent);border-radius:var(--d-br);
  color:var(--ink);font:500 13px/1 var(--d-text);text-decoration:none;background:color-mix(in srgb,var(--d-paper) 70%,transparent)}
@media(hover:hover){html.plus .site-link:hover{border-color:var(--d-accent);color:var(--d-accent)}}
@media(max-width:760px){html.plus .site-link{padding:8px 10px;font-size:12px}}

/* Type step: two large cards per row, wide pictures of the whole grave. */
html.plus #product[data-cols] img{aspect-ratio:2.1!important}

/* "Mám záujem": the header's one call to action, filled like the primary button. */
html.plus .site-link.interest{border:0;background:var(--d-fill);color:var(--d-fill-ink);font-weight:600;cursor:pointer;min-height:40px}
@media(hover:hover){html.plus .site-link.interest:hover{background:color-mix(in srgb,var(--d-fill) 86%,#000);color:var(--d-fill-ink)}}
html.plus .site-link.interest:focus-visible{outline:2px solid var(--d-accent);outline-offset:3px}

/* Loading screen: the firm's mark rises in, a line made for them, a thin gold line that fills and shimmers;
   it fades away once the scene is ready. */
html.plus #loader{gap:18px;background:radial-gradient(ellipse at 50% 42%,var(--d-paper,var(--paper)) 0,color-mix(in srgb,var(--d-paper,var(--paper)) 88%,var(--d-accent,#8a6d3b)) 120%);
  transition:opacity .55s ease,visibility .55s}
html.plus #loader.leaving{opacity:0;visibility:hidden}
html.plus #loader #load-logo{width:auto;height:clamp(56px,9vw,84px);max-width:min(300px,70vw);padding:0;background:transparent;
  animation:load-rise .9s cubic-bezier(.2,.7,.2,1) both}
html.plus #loader .load-kicker{margin:10px 0 0;font:600 12px/1.4 var(--d-text,sans-serif);letter-spacing:.18em;text-transform:uppercase;color:var(--d-accent,var(--accent));
  text-align:center;animation:load-rise .9s .25s cubic-bezier(.2,.7,.2,1) both}
html.plus #loader #private-intro{margin:0;max-width:26em;padding:0 24px;text-align:center;font:400 italic 17px/1.5 var(--d-serif,serif);color:var(--d-muted,var(--ink));
  animation:load-rise .9s .45s cubic-bezier(.2,.7,.2,1) both}
html.plus #loader progress{margin-top:14px;width:180px;height:2px;position:relative;overflow:hidden;animation:load-rise .9s .6s both}
@keyframes load-rise{from{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){html.plus #loader *{animation:none!important}html.plus #loader{transition:none}}

/* The summary shows every value in full: materials and profiles must not end in an ellipsis. */
html.plus #summary dd{display:block;-webkit-line-clamp:unset;overflow:visible;white-space:normal;overflow-wrap:break-word}

/* ---------- Phones: a 3D configurator layout ----------
   The stone fills the upper half; the choices run below in one row of large cards to swipe through,
   and the step buttons stay at the thumb. The summary keeps its own scrolling sheet. */
@media(max-width:760px){
  html.plus .layout:not(.show-result){grid-template-rows:minmax(230px,46dvh) minmax(0,1fr)}
  html.plus .layout:not(.show-result)>aside{max-height:none;min-height:0}
  html.plus .layout:not(.show-result) #sheet-content{display:flex;flex-direction:column;min-height:0;flex:1}
  html.plus .layout:not(.show-result) #step-scroll{flex:1;min-height:0;overflow-y:auto;padding:10px 16px 8px}
  html.plus .layout:not(.show-result) #step-kicker{font-size:11px;margin-bottom:2px}
  html.plus .layout:not(.show-result) #step-title{font-size:22px;line-height:26px}
  html.plus .layout:not(.show-result) #step-hint{margin:2px 0 10px;font-size:13px;line-height:18px}
  /* One swipeable row of cards with a peek of the next one. */
  html.plus:root .layout:not(.show-result) :is(#product,#profile,#cover,#samples){
    display:grid;grid-template-columns:none!important;grid-auto-flow:column;grid-auto-columns:minmax(128px,38%);
    gap:10px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scroll-padding-inline:16px;
    margin:0 -16px;padding:2px 16px 8px;scrollbar-width:none;touch-action:pan-x pan-y}
  html.plus:root .layout:not(.show-result) :is(#product,#profile,#cover,#samples)::-webkit-scrollbar{display:none}
  html.plus:root .layout:not(.show-result) :is(#product,#profile,#cover).cards label,
  html.plus:root .layout:not(.show-result) #samples button{scroll-snap-align:start;padding:5px 5px 8px}
  html.plus:root .layout:not(.show-result) :is(#product,#profile,#cover) img,
  html.plus:root .layout:not(.show-result) #samples button img{aspect-ratio:1.45!important;margin-bottom:6px}
  html.plus:root .layout:not(.show-result) :is(#product,#profile,#cover) label span,
  html.plus:root .layout:not(.show-result) #samples button span{font-size:13px;line-height:17px}
  html.plus .step-actions{padding:10px 16px max(10px,env(safe-area-inset-bottom));border-top:1px solid var(--d-line);background:var(--d-paper)}
  /* Camera controls: a compact pill at the foot of the view, light and zoom tucked in the top corners. */
  html.plus .camera .tools{left:50%;right:auto;bottom:10px;transform:translateX(-50%);border:1px solid var(--d-line);border-radius:999px;overflow:hidden;
    background:color-mix(in srgb,var(--d-paper) 88%,transparent)}
  html.plus:root .camera .tools button{flex:none;min-height:36px;padding:0 11px;font-size:12px}
  html.plus:root #environments button{min-height:34px;padding:0 9px;font-size:12px}
  html.plus:root .camera .zoom button{min-height:34px;min-width:34px}
  html.plus #accent-field{margin-top:12px;padding-top:12px}
  html.plus #accent{flex-wrap:nowrap;overflow-x:auto;margin:0 -16px;padding:0 16px 6px;scrollbar-width:none}
  html.plus #accent button{flex:none}
}
@media(max-width:760px){
  /* Tighter head of the sheet so every card shows its name and size above the buttons. */
  html.plus:root .layout:not(.show-result) aside>#step-track button{height:12px}
  html.plus .layout:not(.show-result) #step-track button::before{margin-top:6px}
  html.plus .layout:not(.show-result) #step-scroll{padding-top:6px}
  html.plus .layout:not(.show-result) #step-hint{margin-bottom:8px}
  html.plus .step-actions{padding-top:8px;padding-bottom:max(8px,env(safe-area-inset-bottom))}
  html.plus:root .step-actions :is(#next,#back){min-height:44px}
}
html.plus body:has(#loader.leaving) :is(header,main){visibility:visible}

/* ---------- Choice cards: a white card per option, the chosen one unmistakable ----------
   Soft shadow on the paper background, a lift on hover, and for the selection a 2 px border in the
   firm's colour, a faint tint and a round check badge in the corner. */
html.plus:root :is(#product,#profile,#cover).cards label,html.plus:root #samples button{
  background:#fff;border:1px solid color-mix(in srgb,var(--ink) 9%,transparent);border-radius:max(var(--d-r),8px);
  box-shadow:0 1px 2px rgb(0 0 0 / .05),0 4px 14px rgb(0 0 0 / .06);
  transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease,background-color .18s ease}
@media(hover:hover){
  html.plus:root :is(#product,#profile,#cover).cards label:hover,html.plus:root #samples button:hover{
    transform:translateY(-2px);box-shadow:0 2px 4px rgb(0 0 0 / .06),0 10px 24px rgb(0 0 0 / .10)}
}
html.plus:root :is(#product,#profile,#cover).cards label:has(:checked),html.plus:root #samples button[aria-pressed=true]{
  border:2px solid var(--d-accent);background:color-mix(in srgb,var(--d-accent) 7%,#fff);
  box-shadow:0 0 0 3px color-mix(in srgb,var(--d-accent) 16%,transparent),0 8px 22px rgb(0 0 0 / .10)}
html.plus:root :is(#product,#profile,#cover) img,html.plus:root #samples button img{border-radius:max(calc(var(--d-r) - 2px),6px)}
html.plus:root :is(#product,#profile,#cover) label span,html.plus:root #samples button span{font-weight:600}
html.plus:root :is(#product,#profile,#cover) label small{color:var(--d-muted);font-weight:400}
html.plus:root :is(#product,#profile,#cover) label:has(:focus-visible),html.plus:root #samples button:focus-visible{outline:2px solid var(--d-accent);outline-offset:3px}
@media(prefers-reduced-motion:reduce){html.plus:root :is(#product,#profile,#cover).cards label,html.plus:root #samples button{transition:none}}
