/* Prisguiden */
.pg-hero { padding: clamp(48px, 7vw, 96px) 0 clamp(24px, 3vw, 40px); background: var(--bg); }
.pg-hero h1 { max-width: 18ch; }
.pg-hero h1 em { font-style: italic; color: var(--gold-ink); }
.pg-sec { padding: 0 0 clamp(64px, 8vw, 112px); }
.pg-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 32px; align-items: start; }
.pg-side { position: sticky; top: 96px; }
@media (max-width: 1000px) { .pg-layout { grid-template-columns: 1fr; } .pg-side { position: static; order: 2; } }

.pg-step { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); margin-bottom: 18px; scroll-margin-top: 92px; transition: opacity var(--t-med) var(--ease-out); box-shadow: var(--shadow); }
.pg-step.locked { opacity: .42; box-shadow: none; }
.pg-step.locked .pg-step-body { pointer-events: none; }
.pg-step-head { display: grid; grid-template-columns: 44px 1fr; gap: 16px; align-items: start; margin-bottom: 20px; }
.pg-step-head h2 { font-size: clamp(24px, 2.6vw, 30px); margin: 4px 0 4px; }
.pg-step-head p { margin: 0; color: var(--muted); }
.pg-n { width: 44px; height: 44px; border-radius: 50%; background: var(--dark); color: var(--gold); display: grid; place-items: center; font: 600 17px var(--sans); }
.pg-label { font-weight: 600; margin: 22px 0 10px; }
.pg-hint { color: var(--muted); font-size: 15px; margin: 8px 0 0; }
.pg-fine { color: var(--muted); font-size: 14.5px; margin: 10px 0 0; }

/* job cards */
.pg-jobs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.pg-job { position: relative; display: flex; flex-direction: column; border: 2px solid var(--line); border-radius: var(--r); overflow: hidden; cursor: pointer; background: var(--bg); transition: border-color var(--t-fast), transform var(--t-med) var(--ease-out), box-shadow var(--t-med); }
@media (hover: hover) { .pg-job:hover { transform: translateY(-3px); box-shadow: var(--shadow); } }
.pg-job-img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg3); }
.pg-job-img img { width: 100%; height: 100%; object-fit: cover; }
.pg-job-t { padding: 12px 14px 14px; display: grid; gap: 2px; }
.pg-job-t b { font-size: 16.5px; line-height: 1.3; }
.pg-job-t small { color: var(--muted); font-size: 14px; line-height: 1.4; }
.pg-job:has(input:checked) { border-color: var(--gold-deep); box-shadow: 0 0 0 4px rgba(239, 189, 100, .35); }
.pg-job:has(input:checked)::after { content: '✓'; position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--dark); display: grid; place-items: center; font-weight: 700; }
.pg-job:has(input:focus-visible), .pg-opt:has(input:focus-visible), .pg-k:has(input:focus-visible) { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
@media (max-width: 760px) { .pg-jobs { grid-template-columns: repeat(2, 1fr); } .pg-job-t small { display: none; } }

/* surface options */
.pg-opts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pg-opt { display: grid; grid-template-columns: 76px 1fr; gap: 14px; align-items: center; border: 2px solid var(--line); border-radius: var(--r); padding: 12px; cursor: pointer; background: var(--bg); transition: border-color var(--t-fast), background var(--t-fast); min-height: 76px; }
.pg-opt:hover { border-color: #cdbf9f; }
.pg-ikon svg { width: 76px; height: 55px; display: block; }
.pg-opt-t b { display: block; font-size: 16px; line-height: 1.3; }
.pg-opt-t small { display: block; color: var(--muted); font-size: 14px; line-height: 1.4; margin-top: 2px; }
.pg-opt:has(input:checked) { border-color: var(--gold-deep); background: #FFF8EA; }
@media (max-width: 640px) { .pg-opts { grid-template-columns: 1fr; } }
.pg-delar { border: 0; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pg-delar legend { font-weight: 600; margin-bottom: 10px; padding: 0; }
.pg-check { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 16px 0 12px; border: 1px solid var(--line); border-radius: 999px; cursor: pointer; background: var(--bg); }
.pg-check input { width: 20px; height: 20px; accent-color: var(--dark); margin: 0; }
.pg-check:has(input:checked) { border-color: var(--dark); background: var(--bg2); }

/* size + customer type */
.pg-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-chips .chip b { font-weight: 600; }
.pg-chips .chip span { color: var(--muted); }
.pg-chips .chip[aria-pressed="true"] span { color: var(--on-dark-muted); }
.pg-numrow { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 12px; }
.pg-num { width: 160px; min-height: 50px; border: 2px solid var(--line); border-radius: 12px; padding: 0 14px; font: 600 18px var(--sans); color: var(--ink); background: var(--bg); }
.pg-num:focus { border-color: var(--gold-deep); outline: none; box-shadow: 0 0 0 4px rgba(239, 189, 100, .3); }
.pg-unit { font-weight: 600; color: var(--muted); }
.pg-kund { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pg-k { border: 2px solid var(--line); border-radius: var(--r); padding: 14px 16px; cursor: pointer; display: grid; gap: 2px; background: var(--bg); min-height: 72px; }
.pg-k small { color: var(--muted); font-size: 14px; }
.pg-k:has(input:checked) { border-color: var(--gold-deep); background: #FFF8EA; }
@media (max-width: 640px) { .pg-kund { grid-template-columns: 1fr; } }

/* result */
.pg-result { background: var(--dark); color: var(--on-dark); border-radius: var(--r); padding: clamp(20px, 3vw, 28px); }
.pg-result .pg-label { color: var(--on-dark); }
.pg-eyebrow { font: 600 13px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--gold); margin: 0 0 8px; }
.pg-price { font: 500 clamp(32px, 4.4vw, 48px)/1.1 var(--serif); margin: 0; color: #fff; }
.pg-price-txt { font-size: clamp(26px, 3.4vw, 36px); }
.pg-after { margin: 10px 0 0; color: var(--on-dark-muted); }
.pg-after b { color: var(--gold); }
.pg-result .pg-fine { color: var(--on-dark-muted); }
.pg-why { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.pg-why li { padding: 12px 14px; border-radius: 10px; background: var(--dark2); color: var(--on-dark-muted); font-size: 15.5px; }
.pg-why b { color: var(--on-dark); }
.pg-rot { margin-top: 14px; border-radius: var(--r); border: 2px solid var(--line); padding: clamp(18px, 3vw, 24px); background: var(--bg); }
.pg-rot-ja { border-color: #b9d3c1; background: #F3F8F4; }
.pg-rot-nej { background: var(--bg2); }
.pg-rot-head p { margin: 10px 0 0; }
.pg-rot-badge { display: inline-flex; align-items: center; min-height: 32px; padding: 0 14px; border-radius: 999px; font: 600 14px var(--sans); background: var(--bg3); color: var(--ink); }
.pg-rot-ja .pg-rot-badge { background: var(--ok); color: #fff; }
.pg-rot-calc { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #b9d3c1; }
.pg-rot-calc label { font-weight: 600; display: block; }
.pg-rot-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.pg-rot-nums div { background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.pg-rot-nums small { display: block; color: var(--muted); font-size: 13.5px; }
.pg-rot-nums b { font: 500 26px/1.2 var(--serif); }
.pg-minus { color: var(--ok); }
@media (max-width: 420px) { .pg-rot-nums { grid-template-columns: 1fr; } }

/* form */
.pg-drop { display: grid; justify-items: center; text-align: center; gap: 6px; padding: 26px 18px; border: 2px dashed #cdbf9f; border-radius: var(--r); background: var(--bg2); cursor: pointer; transition: border-color var(--t-fast), background var(--t-fast); }
.pg-drop:hover, .pg-drop.over { border-color: var(--gold-deep); background: #FFF8EA; }
.pg-drop small { color: var(--muted); }
.pg-drop-ic { width: 52px; height: 52px; border-radius: 50%; background: var(--gold); color: var(--dark); display: grid; place-items: center; }
.pg-drop-ic svg { width: 24px; height: 24px; }
#pg-files:focus-visible + .pg-thumbs, .pg-drop:focus-within { outline: 3px solid var(--gold-deep); outline-offset: 3px; }
.pg-thumbs { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-top: 10px; }
.pg-thumbs:empty { display: none; }
.pg-thumbs figure { position: relative; margin: 0; aspect-ratio: 1; border-radius: 10px; overflow: hidden; background: var(--bg3); }
.pg-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pg-thumbs button { position: absolute; top: 4px; right: 4px; width: 32px; height: 32px; border-radius: 50%; border: 0; background: rgba(20, 26, 22, .8); color: #fff; font: 600 18px var(--sans); cursor: pointer; }
@media (max-width: 560px) { .pg-thumbs { grid-template-columns: repeat(3, 1fr); } }
.pg-grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
@media (max-width: 640px) { .pg-grid2 { grid-template-columns: 1fr; } }
.pg-field { display: grid; gap: 6px; margin-top: 14px; }
.pg-field label { font-weight: 600; font-size: 15.5px; }
.pg-field input, .pg-field textarea { width: 100%; min-height: 50px; border: 2px solid var(--line); border-radius: 12px; padding: 12px 14px; font: 400 16px/1.4 var(--sans); color: var(--ink); background: var(--bg); }
.pg-field textarea { resize: vertical; }
.pg-field input:focus, .pg-field textarea:focus { border-color: var(--gold-deep); outline: none; box-shadow: 0 0 0 4px rgba(239, 189, 100, .3); }
.pg-field input[aria-invalid="true"] { border-color: var(--bad); }
.pg-err { color: var(--bad); font-size: 14px; min-height: 0; }
.pg-err:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pg-send { width: 100%; margin-top: 18px; min-height: 56px; font-size: 17px; }
.pg-formerr p { color: var(--bad); font-weight: 600; margin: 16px 0 8px; }
.pg-alt { display: flex; flex-wrap: wrap; gap: 8px; }

/* done */
.pg-done { background: var(--bg); border: 2px solid #b9d3c1; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: var(--shadow); scroll-margin-top: 92px; }
.pg-done:focus { outline: none; }
.pg-done-ic { width: 56px; height: 56px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; margin-bottom: 16px; }
.pg-done-ic svg { width: 28px; height: 28px; }
.pg-done a { color: var(--gold-ink); font-weight: 600; }

/* summary */
.pg-sum { background: var(--dark); color: var(--on-dark); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-lg); }
.pg-sum-t { font: 500 22px/1.2 var(--serif); margin: 0 0 14px; }
.pg-sum dl { margin: 0; display: grid; gap: 0; }
.pg-sum dl div { display: grid; grid-template-columns: 90px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, .08); font-size: 15px; }
.pg-sum dt { color: var(--on-dark-muted); }
.pg-sum dd { margin: 0; color: rgba(255, 255, 255, .45); }
.pg-sum div.on dd { color: var(--on-dark); font-weight: 500; }
.pg-sum-price { margin: 14px 0 0; display: grid; }
.pg-sum-price small { color: var(--on-dark-muted); }
.pg-sum-price b { font: 500 24px var(--serif); color: var(--gold); }
.pg-sum-go { width: 100%; margin-top: 16px; }
.pg-sum.sent .pg-sum-go { display: none; }
@media (max-width: 1000px) { .pg-sum-go { display: none; } }

/* ROT facts section */
.rot-info { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.rot-facts { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.rot-facts li { background: var(--bg); border: 1px solid var(--line); border-radius: var(--r); padding: 20px; }
.rot-facts b { display: block; font: 500 30px/1.1 var(--serif); color: var(--gold-ink); margin-bottom: 8px; }
.rot-facts span { color: var(--muted); font-size: 15.5px; }
.rot-src { font-size: 15px; color: var(--muted); }
@media (max-width: 860px) { .rot-info { grid-template-columns: 1fr; } }
@media (max-width: 460px) { .rot-facts { grid-template-columns: 1fr; } }
.pg-job-t b { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: anywhere; }
@media (max-width: 1000px) { .pg-side { display: none; } }
