/* Postias färger på komponenterna från Postbox Beställning (tjänstesidor, beställningssida, kassa). */
body.pss-body, body .pss, body .pss-c {
	--ink: #14213D; --muted: #5B6476; --line: #E3E7EE; --bg: #F6F8FB;
	--brand: #FDECEA; --sel: #EAF1FD; --ok: #007F73; --focus: #1868DC;
}
body .psb {
	--psb-ink: #14213D; --psb-muted: #5B6476; --psb-line: #E3E7EE; --psb-bg: #F6F8FB;
	--psb-sel: #1868DC; --psb-sel-bg: #EAF1FD; --psb-brand: #FDECEA;
	--psb-cta: #D0301F; --psb-cta-ink: #FFFFFF; --psb-focus: #1868DC;
}
body .psb-checkout, body .psb-kassa-head { --psb-ink: #14213D; --psb-sel-bg: #EAF1FD; --psb-brand: #E2372B; --psb-line: #E3E7EE; }

/* Accentfärg: rött i stället för gult */
body .pss-c .pss-eyebrow { background: #D0301F; color: #fff; }
body .pss-c:not(.pss-hero):not(.pss-band) h2::after { background: #E2372B; }
body .pss-quote > .pss-colw, body .pss-quote > .fusion-column-wrapper { border-top-color: #E2372B !important; }
body .pss-who > .pss-colw { border-top-color: #E2372B !important; }
body .pss-plan__badge { background: #D0301F; color: #fff; border-color: #D0301F; }
body .pss .pss-switch button.is-on { background: #14213D; color: #fff; }
body .pss-oh__dev { background: #FDECEA; }
body .pss-c.pss-hero, body .pss-c.pss-hero {
	background-color: #F6F8FB !important;
	background-image:
		radial-gradient(circle at 88% 14%, rgba(24,104,220,.16) 0, rgba(24,104,220,.05) 24%, rgba(24,104,220,0) 44%),
		radial-gradient(circle at 6% 108%, rgba(226,55,43,.12) 0, rgba(226,55,43,0) 32%),
		radial-gradient(#DCE3EE 1.1px, transparent 1.3px) !important;
	background-size: auto, auto, 22px 22px !important;
	border-bottom: 1px solid #E3E7EE;
}
@media (max-width: 760px) {
	body .pss-c.pss-hero, body .pss-c.pss-hero { background-image: radial-gradient(circle at 95% 6%, rgba(24,104,220,.16) 0, rgba(24,104,220,0) 45%), radial-gradient(#DCE3EE 1.1px, transparent 1.3px) !important; background-size: auto, 22px 22px !important; }
}
body .pss-c.pss-bg-cream { background: linear-gradient(180deg, #EEF3FB 0%, #FFFFFF 100%); }

/* Knappar i sektionerna */
body :is(.pss, body .pss-c) .pss-btn--dark { background: #D0301F; border-color: #D0301F; color: #fff; }
body :is(.pss, body .pss-c) .pss-btn--dark:hover { background: #B02516; border-color: #B02516; color: #fff; }
body :is(.pss, body .pss-c) .pss-btn--line:hover { background: #EAF1FD; }

/* Avslutsbandet: mörkblått med vit text */
body .pss-c.pss-band, body .pss-c.pss-bg-brand { background: #14213D; }
body .pss-c.pss-band :is(h2, body p, body .pss-text, body a:not(.pss-btn)) { color: #fff; }
body .pss-c.pss-band .pss-link { color: #fff; }
body .pss-c.pss-band .pss-btn--dark { background: #D0301F; border-color: #D0301F; color: #fff; }

/* Beställningssidan */
body .psb .psb-cta { background: #D0301F; color: #fff; }
body .psb .psb-cta:hover:not([disabled]) { background: #B02516; }
body .psb .psb-badge { background: #D0301F; color: #fff; }
body .psb .psb-mobilebar button { background: #D0301F; color: #fff; }
body .psb .psb-num { background: #14213D; }
body .psb-how__n { background: #FDECEA; color: #14213D; }

/* Öppettider: grön/röd punkt syns mot både ljus och mörk bakgrund */
body .pss-oh__status.is-open::before { background: #19B36B; }
body .pss-c .pss-eyebrow--plain { background: none; color: #5B6476; padding: 0; border-radius: 0; }

/* =====================================================================
   Postias egna komponenter (mallar-postia.php): adressetikett, vägval,
   siffror, jämförelse, rutor och tidslinje.
   ===================================================================== */
body .pst-kicker { margin: 0 0 6px !important; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #1868DC; }
body .pst-mini { font-size: 14px; color: #5B6476; margin: -8px 0 14px !important; }

/* Adressetiketten i toppen */
body .pss-quote:has(.pst-label) > .pss-colw { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
body .pst-label { position: relative; background: #fff; border-radius: 18px; padding: 30px 28px 24px; box-shadow: 0 2px 4px rgba(20,33,61,.05), 0 28px 60px rgba(20,33,61,.16); overflow: hidden; transform: rotate(-1.2deg); }
body .pst-label::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 10px; background: repeating-linear-gradient(-45deg, #E2372B 0 14px, #fff 14px 22px, #1868DC 22px 36px, #fff 36px 44px); }
body .pst-label__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 0 18px !important; font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #5B6476; }
body .pst-label__stamp { border: 2px solid #E2372B; color: #E2372B; border-radius: 6px; padding: 4px 8px; font-size: 12px; transform: rotate(6deg); }
body .pst-label__addr { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; font-size: 19px; line-height: 1.6; color: #14213D; margin: 0 0 18px !important; padding: 16px 0; border-top: 1px dashed #C9D2E0; border-bottom: 1px dashed #C9D2E0; }
body .pst-label__addr strong { font-size: 22px; color: #D0301F; }
body .pst-label__note { font-size: 14px; color: #5B6476; margin: 0 !important; }
@media (max-width: 760px) { body .pst-label { transform: none; } }

/* Två vägar in */
body .pst-paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
body .pst-path { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 24px 72px 24px 26px; border: 1px solid #E3E7EE; border-radius: 18px; background: #fff; color: #14213D; text-decoration: none; transition: border-color .15s, transform .15s, box-shadow .15s; }
body .pst-path:hover { border-color: #1868DC; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(20,33,61,.10); color: #14213D; }
body .pst-path__k { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #1868DC; }
body .pst-path strong { font-size: 22px; line-height: 1.25; }
body .pst-path__p { color: #5B6476; }
body .pst-path__go { position: absolute; right: 22px; top: 50%; width: 40px; height: 40px; margin-top: -20px; border-radius: 50%; background: #D0301F; color: #fff; display: grid; place-items: center; font-weight: 800; }
@media (max-width: 760px) { body .pst-paths { grid-template-columns: 1fr; } }

/* Siffror på mörk botten */
body .pss-c.pst-statsc { background: #14213D; }
body .pst-stats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }
body .pst-stats li { border-left: 3px solid #E2372B; padding-left: 16px; }
body .pst-stats strong { display: block; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.1; color: #fff; font-weight: 800; }
body .pst-stats span { display: block; color: #C9D3E6; font-size: 15px; margin-top: 4px; }

/* Jämförelse */
body .pst-compare-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid #E3E7EE; border-radius: 18px; background: #fff; }
body .pst-compare { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
body .pst-compare th, body .pst-compare td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid #EDF0F5; }
body .pst-compare thead th { background: #F6F8FB; font-size: 17px; color: #14213D; }
body .pst-compare thead th + th { border-left: 1px solid #EDF0F5; }
body .pst-compare tbody th { width: 26%; color: #5B6476; font-weight: 600; }
body .pst-compare tbody td + td { border-left: 1px solid #EDF0F5; }
body .pst-compare tbody tr:last-child td { font-weight: 700; color: #14213D; }
body .pst-compare small { font-weight: 500; color: #5B6476; }
body .pst-compare tfoot td { border-bottom: 0; }

/* Rutor med ikon */
body .pst-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
body .pst-tiles li > :is(a, div) { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 22px; border: 1px solid #E3E7EE; border-radius: 16px; background: #fff; color: #14213D; text-decoration: none; }
body .pst-tiles li > :is(a, div)::before { content: ""; width: 44px; height: 44px; border-radius: 12px; margin-bottom: 8px; background: #EAF1FD var(--ico) center / 22px no-repeat; }
body .pst-tiles li > a { transition: border-color .15s, transform .15s; }
body .pst-tiles li > a:hover { border-color: #1868DC; transform: translateY(-2px); }
body .pst-tiles li > a strong::after { content: " →"; color: #D0301F; }
body .pst-tiles strong { font-size: 18px; line-height: 1.3; }
body .pst-tiles span { color: #5B6476; font-size: 15px; }

/* Tidslinje */
body .pst-timeline { list-style: none; margin: 8px 0 0; padding: 0; counter-reset: pst; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 28px; }
body .pst-timeline li { position: relative; counter-increment: pst; padding-top: 58px; }
body .pst-timeline li::before { content: counter(pst); position: absolute; left: 0; top: 0; width: 42px; height: 42px; border-radius: 50%; background: #D0301F; color: #fff; font-weight: 800; display: grid; place-items: center; z-index: 1; }
body .pst-timeline li::after { content: ""; position: absolute; left: 50px; right: -20px; top: 20px; height: 2px; background: repeating-linear-gradient(90deg, #C9D2E0 0 8px, transparent 8px 14px); }
body .pst-timeline li:last-child::after { display: none; }
body .pst-timeline strong { display: block; font-size: 18px; margin-bottom: 4px; }
body .pst-timeline span { color: #5B6476; font-size: 15px; }
@media (max-width: 760px) { body .pst-timeline li::after { display: none; } }

/* Hitta hit */
body .pst-hitta h2 { margin-bottom: 12px !important; }
body .pst-contact { display: flex; flex-wrap: wrap; gap: 10px; }
body .pst-contact a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #E3E7EE; border-radius: 999px; font-weight: 700; color: #14213D; text-decoration: none; background: #fff; }
body .pst-contact a:hover { border-color: #1868DC; }
body .pss-c .pst-path, body .pss-c .pst-path *, body .pss-c .pst-tiles a, body .pss-c .pst-tiles a * { text-decoration: none !important; }
body .pss-c .pst-tiles a:hover strong { text-decoration: underline !important; text-underline-offset: 3px; }
@media (max-width: 760px) {
	body .pst-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 16px; }
	body .pst-compare-wrap { overflow: visible; border: 0; background: none; }
	body .pst-compare { min-width: 0; }
	body .pst-compare thead { display: none; }
	body .pst-compare, body .pst-compare tbody, body .pst-compare tfoot, body .pst-compare tr, body .pst-compare th, body .pst-compare td { display: block; width: 100%; }
	body .pst-compare tbody tr { background: #fff; border: 1px solid #E3E7EE; border-radius: 14px; margin-bottom: 10px; padding: 12px 14px; }
	body .pst-compare tbody th { width: 100%; padding: 0 0 6px; border: 0; color: #14213D; font-weight: 800; }
	body .pst-compare tbody td { display: grid; grid-template-columns: 76px 1fr; gap: 8px; padding: 4px 0; border: 0 !important; }
	body .pst-compare tbody td::before { content: attr(data-label); font-size: 13px; font-weight: 700; color: #1868DC; padding-top: 2px; }
	body .pst-compare tfoot td { padding: 6px 0; }
	body .pst-compare tfoot .pst-compare__empty { display: none; }
}
body .pst-aside { max-width: 760px; padding: 28px 30px; border: 1px solid #E3E7EE; border-left: 4px solid #1868DC; border-radius: 16px; background: #fff; }
body .pst-aside h2::after { display: none !important; }
