@font-face { font-family: Manrope; src: url('zaluzie/media/manrope.woff2') format('woff2'); font-style: normal; font-weight: 200 800; font-display: swap; }
:root { font-family: Manrope, Arial, sans-serif; }
.window-main { padding-bottom: clamp(32px, 5vw, 80px); }
.window-main .maker { font-size: .93rem; letter-spacing: .025em; }
.window-maker-logo { display: block; width: 106px; height: 56px; margin-left: -8px; object-fit: cover; object-position: center; }
.window-main .lead { max-width: 34ch; }
.mast .project-button { text-decoration: none; white-space: nowrap; }
.window-workspace { display: grid; grid-template-columns: minmax(0, 1.77fr) minmax(320px, 1fr); gap: clamp(16px, 2vw, 34px); align-items: start; }
.window-view, .window-panel { min-width: 0; }
.window-photo { position: relative; overflow: hidden; border-radius: 14px; margin: 0; background: #dedcd0; }
.window-photo img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.window-photo figcaption { position: absolute; bottom: 12px; left: 12px; max-width: calc(100% - 24px); padding: 5px 9px; background: rgba(255,255,255,.94); color: #37453e; font-size: .8rem; line-height: 1.4; border-radius: 5px; }
.window-view summary, .window-panel summary { min-height: 44px; align-content: center; font-weight: 680; }
.window-specs { margin-top: 12px; border-block: 1px solid var(--line); }
.window-specs dl { margin: 0 0 8px; }
.window-specs dl div { display: grid; grid-template-columns: minmax(95px, .82fr) minmax(125px, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.window-specs dt { color: var(--muted); }
.window-specs dd { margin: 0; font-weight: 620; }
.window-specs a, #spolocny-projekt { display: inline-flex; min-height: 44px; align-items: center; text-underline-offset: .2em; }
.window-panel { border: 1px solid var(--line); background: var(--surface); border-radius: 14px; padding: clamp(16px, 2.2vw, 32px); }
.window-panel h2 { font-size: clamp(1.45rem, 2.0vw, 2.15rem); letter-spacing: -.045em; line-height: 1.16; }
.window-intro { color: var(--muted); line-height: 1.55; margin: 10px 0 20px; }
.window-panel label, .window-measure legend { font-weight: 650; font-size: .96rem; }
.window-panel label:not(.window-check), .window-panel select { display: block; }
.window-panel input:not([type=checkbox], [type=radio]), .window-panel select, .window-panel textarea {
  display: block; font: inherit; width: 100%; min-width: 0; min-height: 46px; margin: 5px 0 0;
  padding: 8px 12px; color: var(--ink); border: 1px solid #a8b4a7; border-radius: 7px; background-color: #fff;
}
.window-panel select { appearance: none; padding-right: 32px; background-image: linear-gradient(45deg, transparent 50%, #4f6154 50%), linear-gradient(135deg, #4f6154 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; }
.window-panel textarea { resize: vertical; }
.window-panel :is(input, textarea, select):focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.window-count { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 13px 0 16px; }
.window-count #pocet { max-width: 6em; margin: 0; }
.window-measure { margin: 0; padding: 0; border: 0; min-width: 0; }
.window-measure legend { padding: 0; }
.window-measure small { font-size: .85rem; color: var(--muted); font-weight: 500; }
.window-axes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 8px 0 4px; }
.window-panel .window-axes label { font-size: .88rem; color: var(--muted); font-weight: 580; }
.window-check { display: flex; align-items: center; gap: 10px; min-height: 48px; cursor: pointer; }
.window-check input { width: 20px; height: 20px; margin: 0; accent-color: #526b0b; flex-shrink: 0; }
.window-shade-choice { border-top: 1px solid var(--line); }
.window-shades { min-width: 0; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.window-shades legend { padding-inline: 4px; font-weight: 650; }
.window-shades #tienene { max-width: 7em; }
.window-shades small, .window-shades p { display: block; margin: 6px 0; font-size: .9rem; color: var(--muted); }
.window-shades input[type=radio] { margin: 0; }
.window-panel [hidden] { display: none; }
.window-extras { border-top: 1px solid var(--line); }
.window-extras label { margin: 7px 0 0; }
.window-extras textarea { margin-bottom: 10px; }
.window-primary, .window-secondary {
  width: 100%; min-height: 48px; margin-top: 8px; padding: 11px 16px; border-radius: 7px; text-align: center;
  font-weight: 730; line-height: 1.35;
}
.window-primary { background: var(--lime); color: #182308; }
.window-secondary { border: 1px solid #b4c0b3; }
#rucny-prenos { margin-top: 17px; }
#chyba-prenosu { margin-bottom: 9px; }
#stav-projektu:not(:empty) { margin-top: 9px; }
@media(max-width: 800px) {
  .window-workspace { grid-template-columns: minmax(0, 1fr); }
  .window-panel :is(input:not([type=checkbox], [type=radio]), select, textarea) { font-size: 1rem; }
  .window-photo img { aspect-ratio: 1.85; }
  .window-main .page-intro { display: block; }
  .window-main .lead { display: block; max-width: 48ch; margin-top: 12px; }
  .mast .project-button { min-height: 44px; align-items: center; }
}
@media(max-width: 450px) {
  .window-main .page-intro h1 { font-size: clamp(2.25rem, 10vw, 2.7rem); }
  .window-photo figcaption { font-size: .76rem; }
  .window-main .page-intro { padding-top: 20px; }
  .mast-inner { gap: 12px; }
}
