/* Poststugan Beställning */
.psb {
	--psb-ink: #141414;
	--psb-muted: #5B6270;
	--psb-line: #E3E5EA;
	--psb-bg: #F5F5F2;
	--psb-card: #FFFFFF;
	--psb-sel: #141414;
	--psb-sel-bg: #FFF8C4;
	--psb-brand: #FFE500;
	--psb-cta: #141414;
	--psb-cta-ink: #FFFFFF;
	--psb-focus: #2F6FDB;
	--psb-radius: 14px;
	color: var(--psb-ink);
	font-size: 15px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.psb *, .psb *::before, .psb *::after { box-sizing: border-box; }
.psb h1, .psb h2 { color: var(--psb-ink); margin: 0; letter-spacing: normal; text-transform: none; }
.psb small { font-size: 14px; color: var(--psb-muted); display: block; }
.psb a { color: var(--psb-ink); text-decoration: underline; }
.psb button {
	font: inherit; color: inherit; background: none; border: 0; margin: 0; padding: 0;
	text-transform: none; letter-spacing: normal; box-shadow: none; line-height: inherit;
	cursor: pointer; text-align: left; min-height: 0; width: auto; height: auto;
}
.psb button:focus-visible, .psb input:focus-visible, .psb summary:focus-visible, .psb a:focus-visible {
	outline: 3px solid var(--psb-focus); outline-offset: 2px;
}

.psb-wrap { background: var(--psb-bg); padding: 32px 0 48px; border-radius: 0; }
.psb-intro { max-width: 1180px; margin: 0 auto 24px; padding: 0 20px; }
.psb-intro h1 { font-size: 34px; line-height: 1.2; font-weight: 800; }
.psb-intro p { margin: 6px 0 0; color: var(--psb-muted); font-size: 16px; }

.psb-layout { max-width: 1180px; margin: 0 auto; padding: 0 20px; display: flex; flex-wrap: wrap; gap: 24px; align-items: flex-start; }
.psb-main { flex: 999 1 560px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.psb-aside { flex: 1 1 340px; min-width: 0; position: sticky; top: 24px; }

.psb-card { background: var(--psb-card); border: 1px solid var(--psb-line); border-radius: var(--psb-radius); padding: 24px; display: flex; flex-direction: column; gap: 16px; }
.psb-card__head { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.psb-card__head h2, .psb-h2, .psb-sumhead h2 { font-size: 19px; font-weight: 700; line-height: 1.3; }
.psb-num { width: 28px; height: 28px; border-radius: 50%; background: var(--psb-ink); color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.psb-muted { color: var(--psb-muted); font-size: 14px; }

.psb-grid { display: grid; gap: 12px; }
.psb-grid--2 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.psb-grid--3 { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.psb-grid--4 { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
.psb-grid--1 { grid-template-columns: 1fr; }
.psb-stack { display: flex; flex-direction: column; gap: 10px; }

.psb .psb-opt {
	display: flex; gap: 12px; align-items: flex-start; width: 100%;
	border: 2px solid var(--psb-line); background: #fff; border-radius: 12px;
	padding: 16px 18px; min-height: 56px; transition: border-color .12s, background-color .12s;
}
.psb .psb-opt:hover { border-color: #B9BEC8; }
.psb .psb-opt.is-on { border-color: var(--psb-sel); background: var(--psb-sel-bg); }
.psb-opt__body { display: flex; flex-direction: column; gap: 2px; flex: 1 1 auto; min-width: 0; }
.psb-opt__body strong { font-size: 16px; }
.psb-opt__price { font-weight: 700; white-space: nowrap; text-align: right; margin-left: auto; }
.psb-opt__price small { display: inline; font-weight: 400; }
.psb .psb-opt--tall { flex-direction: column; gap: 8px; padding: 20px; }
.psb-opt__top { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.psb-opt__title { font-size: 18px; }
.psb-opt__from { font-weight: 600; font-size: 14px; }
.psb-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--psb-brand); color: var(--psb-ink); display: inline-flex; align-items: center; justify-content: center; }
.psb .psb-opt--period { flex-direction: column; gap: 2px; position: relative; padding: 18px; }
.psb-big { font-size: 24px; font-weight: 800; line-height: 1.2; }
.psb-badge { position: absolute; top: -11px; right: 12px; background: var(--psb-brand); color: var(--psb-ink); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: 999px; border: 1px solid var(--psb-ink); }
.psb-save { margin-top: 6px; align-self: flex-start; background: #E3F4EC; color: #0B5D3B; font-size: 13px; font-weight: 700; padding: 2px 10px; border-radius: 999px; }

.psb-radio { width: 20px; height: 20px; border-radius: 50%; border: 2px solid #8C93A0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.psb-radio.is-on { border-color: var(--psb-sel); }
.psb-radio.is-on span { width: 10px; height: 10px; border-radius: 50%; background: var(--psb-sel); }
.psb-check { width: 22px; height: 22px; border-radius: 6px; border: 2px solid #8C93A0; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; color: #fff; }
.psb-check.is-on { background: var(--psb-sel); border-color: var(--psb-sel); }

.psb-sub { border-top: 1px solid var(--psb-line); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.psb-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.psb .psb-pill { border: 2px solid var(--psb-line); border-radius: 999px; padding: 10px 18px; min-height: 44px; font-weight: 600; background: #fff; }
.psb .psb-pill.is-on { border-color: var(--psb-sel); background: var(--psb-sel-bg); }
.psb-field { display: flex; flex-direction: column; gap: 6px; max-width: 320px; }
.psb-field label { font-weight: 600; font-size: 14px; }
.psb-field input { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid #C5CAD3; border-radius: 10px; min-height: 44px; width: 100%; background: #fff; color: var(--psb-ink); }
.psb-ok { color: #0B5D3B !important; font-weight: 600; }
.psb-note { margin: 0; color: var(--psb-muted); font-size: 14px; }

.psb-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.psb-row > span { display: flex; flex-direction: column; }
.psb-stepper { display: inline-flex; align-items: center; gap: 4px; border: 1px solid var(--psb-line); border-radius: 12px; padding: 4px; }
.psb .psb-stepper button { width: 44px; height: 44px; border-radius: 8px; background: var(--psb-bg); font-size: 22px; font-weight: 700; text-align: center; display: inline-flex; align-items: center; justify-content: center; }
.psb-stepper span { min-width: 36px; text-align: center; font-weight: 800; font-size: 18px; }

.psb-how { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; }
.psb-how li { display: flex; flex-direction: column; gap: 4px; margin: 0; }
.psb-how__n { width: 32px; height: 32px; border-radius: 50%; background: var(--psb-brand); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 4px; }
.psb-info { margin: 0; background: var(--psb-bg); border-radius: 10px; padding: 12px 14px; font-size: 14px; }

.psb-faq { border-top: 1px solid var(--psb-line); }
.psb-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; min-height: 44px; font-weight: 600; }
.psb-faq summary::-webkit-details-marker { display: none; }
.psb-faq p { margin: 0 0 14px; color: #3D4350; font-size: 14px; }
.psb-chev { flex-shrink: 0; transition: transform .15s; }
.psb-faq[open] .psb-chev { transform: rotate(180deg); }

.psb-card--summary { gap: 14px; }
.psb-sumhead { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; }
.psb-sumhead small { font-size: 13px; }
.psb-vat { display: inline-flex; border: 1px solid var(--psb-line); border-radius: 999px; padding: 2px; gap: 2px; }
.psb .psb-vat button { font-size: 13px; font-weight: 600; padding: 6px 10px; border-radius: 999px; min-height: 32px; color: var(--psb-muted); white-space: nowrap; }
.psb .psb-vat button.is-on { background: var(--psb-ink); color: #fff; }
.psb-label { font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--psb-muted); }
.psb-group { display: flex; flex-direction: column; gap: 10px; }
.psb-group--sep { border-top: 1px solid var(--psb-line); padding-top: 14px; }
.psb-line { display: flex; justify-content: space-between; gap: 12px; }
.psb-line > span:first-child { display: flex; flex-direction: column; min-width: 0; }
.psb-line small { font-size: 13px; }
.psb-line > span:last-child { font-weight: 600; white-space: nowrap; }
.psb-total { border-top: 2px solid var(--psb-ink); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.psb-total > div { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.psb-total > span { font-weight: 600; font-size: 14px; }
.psb-terms { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; cursor: pointer; }
.psb-terms input { width: 20px; height: 20px; margin: 2px 0 0; flex-shrink: 0; accent-color: var(--psb-ink); }
.psb-error { background: #FDECEA; color: #8A1C12; border-radius: 10px; padding: 10px 14px; font-size: 14px; }
.psb .psb-cta {
	width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
	background: var(--psb-cta); color: var(--psb-cta-ink); font-size: 17px; font-weight: 700;
	padding: 16px; min-height: 52px; border-radius: 12px; text-align: center;
}
.psb .psb-cta:hover:not([disabled]) { background: #000; }
.psb .psb-cta[disabled] { opacity: .45; cursor: not-allowed; }
.psb-center { text-align: center; margin-top: -6px; }

.psb-mobilebar { display: none; }

@media (max-width: 900px) {
	.psb-aside { position: static; }
	.psb-wrap { padding-bottom: 96px; }
	.psb-mobilebar {
		display: flex; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 9990;
		background: var(--psb-ink); color: #fff; border-radius: 14px; padding: 12px 16px;
		align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 6px 24px rgba(0,0,0,.25);
	}
	.psb-mobilebar > span { display: flex; flex-direction: column; line-height: 1.3; }
	.psb-mobilebar small { color: #C8CCD4; font-size: 13px; }
	.psb-mobilebar strong { font-size: 20px; font-weight: 800; }
	.psb .psb-mobilebar button { background: var(--psb-brand); color: var(--psb-ink); font-weight: 700; padding: 12px 16px; border-radius: 10px; min-height: 44px; }
	.psb-intro h1 { font-size: 28px; }
	.psb-card { padding: 18px; }
}

.psb .psb-each { color: var(--psb-ink); font-weight: 600; margin-top: 4px; }
.psb .psb-incl { color: var(--psb-ink); font-weight: 600; }
.psb-vatsum { display: flex; justify-content: space-between; gap: 12px; font-size: 14px; color: var(--psb-muted); }
.psb-vatsum--tot { color: var(--psb-ink); font-weight: 700; font-size: 15px; }
.psb-foretag { display: flex; flex-direction: column; gap: 6px; }
.psb-line--tot { border-top: 1px solid var(--psb-line); padding-top: 6px; margin-top: 2px; }
.psb-cotabs { display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--psb-line); padding-top: 14px; }
.psb-tabs { display: flex; flex-wrap: wrap; gap: 6px; border-bottom: 2px solid var(--psb-line); }
.psb .psb-tab { display: inline-flex; align-items: center; gap: 6px; padding: 10px 14px; min-height: 44px; font-weight: 600; border-radius: 10px 10px 0 0; margin-bottom: -2px; border-bottom: 2px solid transparent; color: var(--psb-muted); }
.psb .psb-tab.is-on { color: var(--psb-ink); border-bottom-color: var(--psb-ink); background: var(--psb-sel-bg); }
.psb-tab__ok { display: none; width: 18px; height: 18px; border-radius: 50%; background: #0B5D3B; color: #fff; align-items: center; justify-content: center; }
.psb-tab__ok svg { width: 11px; height: 11px; }
.psb-tab.is-done .psb-tab__ok { display: inline-flex; }
.psb-tabpanel { display: flex; flex-direction: column; gap: 12px; }
.psb-field--wide { max-width: 420px; }
.psb-field input[aria-invalid="true"] { border-color: #B42318; box-shadow: 0 0 0 1px #B42318; }
.psb .psb-note--ink { color: var(--psb-ink); margin-bottom: 4px; }

/* Smala skärmar: priset på egen rad under texten så att rubriken inte trycks ihop */
@media (max-width: 600px) {
	.psb .psb-opt { flex-wrap: wrap; row-gap: 6px; }
	.psb .psb-opt > .psb-opt__body { flex: 1 1 calc(100% - 32px); }
	.psb .psb-opt > .psb-opt__price { flex: 1 0 100%; margin-left: 32px; text-align: left; white-space: normal; }
}
.psb-terms + .psb-terms { margin-top: 10px; }
