html{scroll-behavior:smooth}
#privalumai,#rinktis-namus,.stm-zemelapis .stm-title{scroll-margin-top:130px}
.stm-zemelapis{max-width:100%}
.stm-zemelapis.stm-be-lenteles{margin-top:72px;margin-bottom:72px}
.stm-zemelapis .stm-title{margin:0 0 28px}
.stm-legend{display:flex;gap:18px;flex-wrap:wrap;font-size:14px;margin:0 0 10px}
.stm-legend i{display:inline-block;width:14px;height:14px;margin-right:6px;vertical-align:-2px}
.stm-legend i.stm-s-laisvas,.stm-badge.stm-s-laisvas{background:#2e9e4f}
.stm-legend i.stm-s-rezervuotas,.stm-badge.stm-s-rezervuotas{background:#f0a500}
.stm-legend i.stm-s-parduotas,.stm-badge.stm-s-parduotas{background:#c62828}
.stm-stage{position:relative;line-height:0;background:linear-gradient(180deg,var(--theme-palette-color-6,#e3d5c5) 0%,var(--theme-palette-color-2,#59614b) 100%)}
.stm-stage img{display:block;width:100%;height:auto}
.stm-stage svg{position:absolute;top:0;left:0;width:100%;height:100%}
.stm-stage polygon{stroke-width:3;stroke-linejoin:round;fill-opacity:.45;cursor:pointer;transition:fill-opacity .15s}
.stm-stage a:hover polygon,.stm-stage a:focus polygon,.stm-stage a.is-active polygon,.stm-stage a.is-hl polygon{fill-opacity:.75;stroke:#fff}
.stm-stage a{outline:none}
.stm-stage a:focus-visible polygon{stroke:#ffd400;stroke-width:5}
.stm-stage .stm-s-laisvas polygon{fill:#2e9e4f;stroke:#1f7a3a}
.stm-stage .stm-s-rezervuotas polygon{fill:#f0a500;stroke:#c98a00}
.stm-stage .stm-s-parduotas polygon{fill:#c62828;stroke:#9c1c1c}
.stm-stage text{font:700 22px/1 system-ui,Arial,sans-serif;fill:#fff;paint-order:stroke;stroke:#000;stroke-width:4px;pointer-events:none;text-anchor:middle;dominant-baseline:middle}
.stm-tip{position:fixed;z-index:2147483644;background:#fff;color:#1b1b1b;box-shadow:0 4px 18px rgba(0,0,0,.25);padding:12px 14px;font-size:14px;line-height:1.4;min-width:210px;max-width:300px;display:none}
.stm-tip strong{font-size:16px}
.stm-tip table{border-collapse:collapse;margin:6px 0 0;width:auto;border:0}
.stm-tip td{padding:2px 10px 2px 0;border:0}
.stm-tip .stm-more{display:none;margin-top:10px;padding:8px 14px;background:#1b1b1b;color:#fff;text-decoration:none}
.stm-tip .stm-x{display:none;position:absolute;top:0;right:0;width:44px;height:44px;padding:0;border:0;background:none;font-size:26px;line-height:44px;cursor:pointer;color:#1b1b1b}
.stm-tip.is-touch{left:8px!important;right:8px;bottom:8px;top:auto!important;max-width:none}
.stm-tip.is-touch .stm-more{display:inline-block}
.stm-tip.is-touch .stm-x{display:block}
.stm-note{font-size:13px;color:inherit;opacity:.85;margin-top:14px;line-height:1.4}
.stm-badge{display:inline-block;color:#fff;padding:4px 12px;font-weight:600;margin:0 0 12px}
.stm-list-wrap{margin-top:36px;scroll-margin-top:140px!important}
.stm-more-wrap{margin:28px 0 0;text-align:center}
.stm-more-wrap .stm-btn{flex:none;min-width:260px}
.stm-list{width:100%;border-collapse:collapse;border:0;margin:0;font-size:15px}
.stm-list th,.stm-list td{padding:11px 14px;border:0;border-bottom:1px solid rgba(255,255,255,.25);text-align:left;white-space:nowrap}
.stm-list thead th{font-size:13px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;opacity:1;white-space:normal;vertical-align:bottom}
.stm-list thead th{position:sticky;top:var(--stm-sticky-top,0px);z-index:3;background:#59614b;border-bottom:0;box-shadow:inset 0 -1px 0 rgba(255,255,255,.35)}
.stm-list tbody tr{cursor:pointer;transition:background .12s}
.stm-list tbody tr:hover,.stm-list tbody tr:focus-within{background:rgba(255,255,255,.1)}
.stm-list tbody th{font-weight:600}
.stm-list tbody th a{color:inherit;text-decoration:underline;text-underline-offset:3px}
.stm-list .stm-badge{margin:0;padding:2px 10px;font-size:13px}
.stm-list .stm-sh{display:none}
.stm-zoom{display:none;justify-content:flex-end;gap:8px;margin:0 0 8px}
.stm-zoom button{width:44px;height:44px;min-height:0;padding:0;border:1px solid var(--theme-palette-color-6,#e3d5c5);border-radius:0;background:var(--theme-palette-color-6,#e3d5c5);color:var(--theme-palette-color-1,#2d3126);font-size:26px;line-height:1;cursor:pointer}
.stm-zoom button:disabled{opacity:.4;cursor:default}
.stm-hint{display:none;font-size:13px;opacity:.85;margin:0 0 8px}
.stm-back{margin:0 0 18px;font-size:15px}
.stm-back a{display:inline-block;padding:10px 0}
.stm-cols{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:48px;align-items:start}
.stm-main{display:block;line-height:0;background:#fff;cursor:zoom-in}
.stm-main picture{display:block}
.stm-main img{display:block;width:100%;height:auto;max-height:80vh;object-fit:contain}
html.stm-lb-open{overflow:hidden}
.stm-lb{position:fixed;inset:0;z-index:2147483645;background:rgba(0,0,0,.9);display:flex}
.stm-lb-in{flex:1;overflow:auto;display:flex;padding:56px 16px 16px;-webkit-overflow-scrolling:touch}
.stm-lb-in img{display:block;margin:auto;max-width:100%;max-height:100%;width:auto;height:auto;background:#fff;cursor:zoom-in}
.stm-lb.is-zoom .stm-lb-in img{max-width:none;max-height:none;cursor:zoom-out}
.stm-lb-x{position:fixed;top:8px;right:8px;width:48px;height:48px;padding:0;border:0;border-radius:50%;background:#fff;color:#111;font-size:30px;line-height:48px;text-align:center;cursor:pointer;min-height:0}
.stm-lb-x:hover,.stm-lb-x:focus{background:#faf8f4;outline:2px solid #fff;outline-offset:2px}
.stm-thumbs{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:10px;margin-top:10px}
.stm-thumb{position:relative;padding:0;border:2px solid transparent;background:none;cursor:pointer;line-height:0;min-height:0}
.stm-thumb.is-on{border-color:#faf8f4}
.stm-thumb img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover}
.stm-thumb span{position:absolute;left:0;right:0;bottom:0;padding:4px 6px;background:rgba(0,0,0,.6);color:#fff;font-size:11px;line-height:1.3;text-align:left}
.stm-acc{margin:28px 0 0;border-top:1px solid rgba(255,255,255,.3);border-bottom:1px solid rgba(255,255,255,.3)}
.stm-acc summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:6px 0;font-weight:500;font-size:15px;cursor:pointer;list-style:none}
.stm-acc summary::-webkit-details-marker{display:none}
.stm-acc summary::after{content:'+';font-size:24px;font-weight:300;line-height:1}
.stm-acc[open] summary::after{content:'–'}
.stm-acc summary:focus-visible{outline:2px solid currentColor;outline-offset:2px}
.stm-leg{width:100%;border-collapse:collapse;border:0;margin:0 0 12px;font-size:14px}
.stm-leg caption{caption-side:top;text-align:left;font-weight:600;font-size:15px;padding:0 0 8px}
.stm-leg th,.stm-leg td{padding:7px 10px 7px 0;border:0;border-bottom:1px solid rgba(255,255,255,.22);text-align:left;font-weight:400}
.stm-leg thead th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;font-weight:600;opacity:.85}
.stm-leg td:first-child,.stm-leg thead th:first-child{width:44px;opacity:.8}
.stm-leg td:last-child,.stm-leg th:last-child{text-align:right;padding-right:0;white-space:nowrap}
.stm-leg .stm-leg-sum th,.stm-leg .stm-leg-sum td{font-weight:600;border-bottom:2px solid rgba(255,255,255,.4)}
.stm-leg .stm-leg-extra th{font-weight:400;opacity:.9}
.stm-dl{margin:14px 0 0;font-size:15px}
.stm-dl a{display:inline-block;padding:10px 0;color:inherit;text-decoration:underline;text-underline-offset:3px}
.stm-to-leg{display:none}
.stm-leg{scroll-margin-top:120px}
.stm-dl a::before{content:'↓ ';text-decoration:none;display:inline-block;margin-right:4px}
.stm-price{font-size:30px;font-weight:600;line-height:1.2;margin:0 0 16px}
.stm-spec{margin:0 0 28px;border-top:1px solid rgba(255,255,255,.25)}
.stm-spec div{display:flex;justify-content:space-between;gap:20px;padding:12px 0;border-bottom:1px solid rgba(255,255,255,.25)}
.stm-spec dt{font-weight:400;opacity:.8;margin:0}
.stm-spec dd{margin:0;font-weight:600;text-align:right}
.stm-cta{display:flex;flex-wrap:wrap;gap:12px;margin:0}
.stm-btn{display:inline-flex;align-items:center;justify-content:center;min-height:var(--theme-button-min-height,52px);padding:12px 26px;background:var(--theme-palette-color-6,#e3d5c5);color:var(--theme-palette-color-1,#2d3126);border:1px solid var(--theme-palette-color-6,#e3d5c5);border-radius:0;font-size:15px;font-weight:500;letter-spacing:normal;text-transform:uppercase;text-decoration:none;text-align:center;flex:1 1 200px;transition:background .15s,color .15s}
.stm-btn:hover,.stm-btn:focus{background:var(--theme-palette-color-6,#e3d5c5);color:var(--theme-palette-color-2,#59614b)}
.stm-btn-2{background:transparent;color:var(--theme-palette-color-6,#e3d5c5)}
.stm-btn-2:hover,.stm-btn-2:focus{background:var(--theme-palette-color-6,#e3d5c5);color:var(--theme-palette-color-1,#2d3126)}
body.stm-namai-page #main{padding-top:100px}
body.stm-namai-page .hero-section{margin-bottom:24px}
body.single-namas .hero-section .entry-meta{display:none}
@media(max-width:700px){
.stm-hint{display:block}
.stm-scroll{overflow:auto;max-height:70vh;-webkit-overflow-scrolling:touch}
.stm-zoom:not([hidden]){display:flex}
.stm-zemelapis.stm-be-lenteles{margin-top:40px;margin-bottom:88px}
.stm-list-wrap{scroll-margin-top:104px!important}
.stm-main img{max-height:none}
.stm-scroll .stm-stage{width:608px;touch-action:pan-x pan-y}
.stm-list{font-size:13px;table-layout:fixed}
.stm-list th,.stm-list td{padding:10px 5px;white-space:normal}
.stm-list thead th{font-size:12px;letter-spacing:0;text-transform:none;line-height:1.3}
.stm-list th,.stm-list td{word-break:normal;overflow-wrap:normal;hyphens:none}
.stm-list th:nth-child(1){width:11%}.stm-list th:nth-child(2){width:16%}.stm-list th:nth-child(3){width:12%}.stm-list th:nth-child(4){width:16%}.stm-list th:nth-child(5){width:17%}.stm-list th:nth-child(6){width:28%}
.stm-list th,.stm-list td{padding-left:3px;padding-right:3px}
.stm-list{font-size:12px}
.stm-list .stm-l{display:none}.stm-list .stm-sh{display:inline}
.stm-list .stm-badge{font-size:11px;padding:2px 6px}
.stm-stage text{font-size:var(--stm-fs,40px)}
.stm-more-wrap .stm-btn{display:flex;min-width:0}
}
@media(max-width:900px){.stm-cols{grid-template-columns:1fr;gap:28px}.stm-to-leg{display:block;margin-top:0}}
