/* Poststugan – tema. Mobil först, egna typsnittsfiler, inga externa resurser. */
@font-face { font-family: "Red Hat Display"; font-style: normal; font-display: swap; font-weight: 300 900; src: url(../fonts/red-hat-display-latin-wght-normal.woff2) format("woff2-variations"), url(../fonts/red-hat-display-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Roboto"; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/roboto-latin-wght-normal.woff2) format("woff2-variations"), url(../fonts/roboto-latin-wght-normal.woff2) format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
	--ps-ink: #141617;
	--ps-ink-2: #2B2E30;
	--ps-yellow: #FFE500;
	--ps-yellow-2: #F2D900;
	--ps-muted: #5B6270;
	--ps-line: #E3E5EA;
	--ps-bg: #F5F5F2;
	--ps-pill: #F3F4F6;
	--ps-focus: #2F6FDB;
	--ps-dark: #141617;
	--ps-dark-2: #1C1F21;
	--ps-radius: 14px;
	--ps-shadow: 0 1px 2px rgba(20, 22, 23, .06), 0 14px 36px rgba(20, 22, 23, .10);
	--ps-head: "Red Hat Display", Arial, Helvetica, sans-serif;
	--ps-body: Roboto, Arial, Helvetica, sans-serif;
	--ps-max: 1200px;
	--ps-gutter: 20px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; font-family: var(--ps-body); font-size: 16px; line-height: 1.7; color: var(--ps-ink); background: #fff; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden; }
img, svg, video, iframe { max-width: 100%; }
img { height: auto; }
a { color: var(--ps-ink); text-underline-offset: 2px; }
a:hover { color: #000; }
:focus-visible { outline: 3px solid var(--ps-focus); outline-offset: 2px; }
h1, h2, h3, h4, h5, h6 { font-family: var(--ps-head); color: var(--ps-ink); font-weight: 700; margin: 0 0 .5em; letter-spacing: 0; }
h1 { font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1; }
h2 { font-size: clamp(1.5rem, 3vw, 1.875rem); line-height: 1.2; }
h3 { font-size: 1.25rem; line-height: 1.3; }
p { margin: 0 0 1em; }
b, strong { font-weight: 700; }

.ps-wrap { width: 100%; max-width: calc(var(--ps-max) + 2 * var(--ps-gutter)); margin: 0 auto; padding: 0 var(--ps-gutter); }
.ps-wrap--text { max-width: calc(820px + 2 * var(--ps-gutter)); }
.skip-link { position: absolute; left: 12px; top: -80px; z-index: 1000; background: var(--ps-ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

/* ---------- Sidhuvud ---------- */
.ps-header { position: relative; z-index: 100; background: #fff; box-shadow: 0 1px 0 rgba(20, 22, 23, .06), 0 6px 24px rgba(20, 22, 23, .06); }
.ps-header__in { max-width: calc(var(--ps-max) + 2 * var(--ps-gutter)); margin: 0 auto; padding: 20px var(--ps-gutter); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.ps-logo { display: block; line-height: 0; flex-shrink: 0; }
.ps-logo img { display: block; width: 124px; height: auto; }
.ps-nav--left { justify-self: end; }
.ps-nav--right { justify-self: start; }
.ps-menu { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; flex-wrap: nowrap; }
.ps-menu > li { position: relative; }
.ps-menu a { display: block; padding: 12px 22px; border-radius: 999px; font-family: var(--ps-head); font-weight: 700; font-size: 16px; line-height: 1.5; color: var(--ps-ink); text-decoration: none; white-space: nowrap; transition: background-color .15s; }
.ps-menu > li > a:hover, .ps-menu > .current-menu-item > a, .ps-menu > .current-menu-ancestor > a, .ps-menu > .current_page_item > a { background: var(--ps-pill); color: var(--ps-ink); }
.ps-menu a[href$="/bestall/"], .ps-menu > .current-menu-item > a[href$="/bestall/"] { background: var(--ps-yellow); }
.ps-menu a[href$="/bestall/"]:hover { background: var(--ps-yellow-2); }
.ps-menu > .menu-item-has-children > a { padding-right: 34px; }
.ps-menu > .menu-item-has-children > a::after { content: ""; position: absolute; right: 16px; top: 50%; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-70%) rotate(45deg); }
.ps-menu .sub-menu { position: absolute; left: 0; top: 100%; min-width: 250px; list-style: none; margin: 0; padding: 8px; background: #fff; border: 1px solid var(--ps-line); border-radius: 14px; box-shadow: var(--ps-shadow); opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .15s, transform .15s, visibility .15s; }
.ps-menu > li:hover > .sub-menu, .ps-menu > li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.ps-menu .sub-menu a { padding: 10px 14px; border-radius: 10px; font-size: 15.5px; background: none; }
.ps-menu .sub-menu a:hover, .ps-menu .sub-menu .current-menu-item > a { background: var(--ps-pill); }
.ps-menu .pslang-item { margin-left: 8px; }
.ps-menu .pslang-l, .ps-menu .pslang-l[href$="/bestall/"] { background: transparent; padding: 6px 5px; border-radius: 999px; font-size: 13px; }
.ps-menu .pslang-l.is-active, .ps-menu .pslang-l:hover, .ps-menu .pslang-l[href$="/bestall/"]:hover { background: rgba(0, 0, 0, .06); }
.ps-mobbar { display: none; }
.ps-drawer { display: none; }

@media (min-width: 1025px) and (max-width: 1200px) {
	.ps-header__in { gap: 14px; }
	.ps-menu a { padding: 10px 14px; font-size: 15px; }
	.ps-menu > .menu-item-has-children > a { padding-right: 28px; }
	.ps-menu > .menu-item-has-children > a::after { right: 12px; }
}

@media (max-width: 1024px) {
	.ps-header { position: sticky; top: 0; }
	.admin-bar .ps-header { top: 46px; }
	.ps-header__in { grid-template-columns: auto 1fr; padding: 10px var(--ps-gutter); gap: 12px; }
	.ps-nav { display: none; }
	.ps-logo--header img { width: 84px; }
	.ps-mobbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
	.ps-lang-mob .pslang-l { padding: 8px 9px; }
	.ps-toggle { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 0; border-radius: 12px; background: var(--ps-pill); color: var(--ps-ink); cursor: pointer; padding: 0; }
	.ps-toggle__bars, .ps-toggle__bars::before, .ps-toggle__bars::after { display: block; width: 22px; height: 2.5px; background: currentColor; border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
	.ps-toggle__bars::before, .ps-toggle__bars::after { content: ""; position: absolute; left: 0; }
	.ps-toggle__bars::before { top: -7px; } .ps-toggle__bars::after { top: 7px; }
	.ps-toggle[aria-expanded="true"] .ps-toggle__bars { background: transparent; }
	.ps-toggle[aria-expanded="true"] .ps-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
	.ps-toggle[aria-expanded="true"] .ps-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }
	.ps-drawer { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-top: 1px solid var(--ps-line); box-shadow: 0 24px 48px rgba(20, 22, 23, .16); max-height: calc(100vh - 104px); max-height: calc(100dvh - 104px); overflow-y: auto; overscroll-behavior: contain; padding: 8px var(--ps-gutter) 24px; }
	.ps-drawer.is-open { display: block; }
	html.ps-nav-open { overflow: hidden; }
	.ps-mmenu { list-style: none; margin: 0; padding: 0; }
	.ps-mmenu li { position: relative; border-bottom: 1px solid var(--ps-line); }
	.ps-mmenu a { display: flex; align-items: center; min-height: 54px; padding: 8px 56px 8px 4px; font-family: var(--ps-head); font-weight: 700; font-size: 18px; color: var(--ps-ink); text-decoration: none; }
	.ps-mmenu .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--ps-yellow); text-decoration-thickness: 3px; text-underline-offset: 6px; }
	.ps-mmenu a[href$="/bestall/"] { display: inline-flex; margin: 8px 0; min-height: 48px; padding: 0 24px; border-radius: 999px; background: var(--ps-yellow); }
	.ps-mmenu .sub-menu { display: none; list-style: none; margin: 0 0 8px; padding: 0 0 0 12px; border-left: 3px solid var(--ps-yellow); }
	.ps-mmenu .is-open > .sub-menu { display: block; }
	.ps-mmenu .sub-menu li { border: 0; }
	.ps-mmenu .sub-menu a { min-height: 46px; font-size: 16.5px; font-weight: 600; }
	.ps-subtoggle { position: absolute; right: 0; top: 3px; width: 48px; height: 48px; border: 0; border-radius: 10px; background: var(--ps-pill); cursor: pointer; }
	.ps-subtoggle::after { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--ps-ink); border-bottom: 2.5px solid var(--ps-ink); transform: translate(-50%, -70%) rotate(45deg); transition: transform .15s; }
	.ps-subtoggle[aria-expanded="true"]::after { transform: translate(-50%, -30%) rotate(-135deg); }
	.ps-mmenu .pslang-item { display: none !important; }
	.ps-drawer__tel { display: flex; align-items: center; gap: 10px; margin-top: 18px; min-height: 52px; padding: 0 18px; border-radius: 12px; background: var(--ps-ink); color: #fff; font-weight: 700; text-decoration: none; }
	.ps-drawer__tel:hover { color: var(--ps-yellow); }
}
@media (max-width: 782px) { .admin-bar .ps-header { top: 0; position: relative; } }
@media (max-width: 380px) { .ps-logo--header img { width: 72px; } .ps-lang-mob .pslang-l span { display: none; } }

/* ---------- Innehåll ---------- */
.ps-main { display: block; min-height: 40vh; }
.ps-main:focus { outline: none; }
.ps-pagehead { background: #FBFAF5; border-bottom: 1px solid var(--ps-line); padding: 40px 0 36px; margin-bottom: 40px; }
.ps-pagehead__title { margin: 0; }
.ps-content { padding-bottom: 72px; }
.ps-content > * + * { margin-top: 1em; }
.ps-content ul, .ps-content ol { padding-left: 1.3em; }
.ps-content table { width: 100%; border-collapse: collapse; }
.ps-content th, .ps-content td { border-bottom: 1px solid var(--ps-line); padding: 10px 8px; text-align: left; vertical-align: top; }
.ps-entry--sections > .pss-c:first-child { margin-top: 0 !important; }
.ps-postlist { list-style: none; padding: 0; }
.ps-postlist li { border-bottom: 1px solid var(--ps-line); padding: 18px 0; }

/* 404 */
.ps-404 { padding: 64px 0 80px; background: #FBFAF5; }
.ps-404__code { font-family: var(--ps-head); font-weight: 800; font-size: 88px; line-height: 1; margin: 0 0 8px; color: var(--ps-ink); }
.ps-404__code::after { content: ""; display: block; width: 64px; height: 6px; border-radius: 3px; background: var(--ps-yellow); margin-top: 14px; }
.ps-404__lead { font-size: 18px; color: var(--ps-muted); }
.ps-linkgrid { list-style: none; padding: 0; margin: 24px 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.ps-linkgrid a { display: block; padding: 16px 18px; border: 1px solid var(--ps-line); border-radius: 12px; background: #fff; font-weight: 700; text-decoration: none; color: var(--ps-ink); }
.ps-linkgrid a:hover { border-color: var(--ps-ink); }
.ps-search { display: flex; gap: 8px; margin-top: 24px; max-width: 560px; }
.ps-search input[type="search"] { flex: 1; min-width: 0; min-height: 50px; border: 1px solid #C5CAD3; border-radius: 12px; padding: 0 14px; font: inherit; background: #fff; }
.ps-search button { min-height: 50px; border-radius: 12px; border: 0; background: var(--ps-ink); color: #fff; font-weight: 700; padding: 0 20px; cursor: pointer; font: inherit; font-weight: 700; }
.ps-search button:hover { background: #000; color: var(--ps-yellow); }

/* ---------- Sidfot ---------- */
.ps-footer { color: #E6E7E8; }
.ps-map { background: #2E3133; line-height: 0; }
.ps-map > * { line-height: normal; }
.ps-map .pss-karta { margin: 0 !important; }
.ps-cards-wrap { position: relative; z-index: 2; margin-top: -170px; margin-bottom: -100px; padding: 0 var(--ps-gutter); }
.ps-cards { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; max-width: var(--ps-max); background: #fff; border-top: 4px solid var(--ps-yellow); box-shadow: var(--ps-shadow); color: var(--ps-ink); }
.ps-card { padding: 40px 48px 44px 60px; font-size: 15.5px; line-height: 1.75; }
.ps-card + .ps-card { box-shadow: -24px 0 24px -24px rgba(20, 22, 23, .12); }
.ps-card p { margin: 0 0 14px; }
.ps-card a { text-decoration: none; }
.ps-card a:hover { text-decoration: underline; }
.ps-card__ico { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 50%; background: #3A3D40; color: var(--ps-yellow); margin-bottom: 22px; }
.ps-card__h { font-size: 22px; margin: 0 0 14px; }
.ps-card .pss-oh__status { font-weight: 400; }
.ps-foot { background: var(--ps-dark); background: radial-gradient(1200px 600px at 20% 0, #1D2022 0, var(--ps-dark) 60%); padding-top: 160px; }
.ps-footer .ps-foot:only-child { padding-top: 56px; }
.ps-foot a { color: #fff; }
.ps-foot__top { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 32px; padding-bottom: 48px; border-bottom: 1px solid rgba(255, 255, 255, .07); }
.ps-foot__top .ps-logo img { width: 140px; }
.ps-foot__tag { margin: 0; text-align: center; font-family: var(--ps-head); font-weight: 700; font-size: clamp(1.5rem, 2.6vw, 1.95rem); line-height: 1.25; color: var(--ps-yellow); padding-top: 4px; }
.ps-reviews { padding: 40px 0 8px; color: var(--ps-ink); }
.ps-reviews:empty { display: none; }
.ps-foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding: 56px 50px 48px; }
.ps-foot__h { color: var(--ps-yellow); font-size: 22px; margin: 0 0 32px; }
.ps-foot__h::after { content: ""; display: block; width: 40px; height: 3px; background: #fff; margin-top: 10px; }
.ps-foot__about p { font-size: 15.5px; line-height: 1.75; color: #F9F9FB; max-width: 360px; }
.ps-foot__menu { list-style: none; margin: 0; padding: 0; }
.ps-foot__menu li { margin: 0 0 18px; line-height: 1.6; }
.ps-foot__menu a { font-weight: 700; font-size: 16px; text-decoration: none; }
.ps-foot__menu a:hover { color: var(--ps-yellow); text-decoration: underline; }
.ps-foot__bottom { padding: 24px var(--ps-gutter) 40px; text-align: center; font-size: 13px; color: #8A8F94; }
.ps-foot__bottom p { margin: 0; }

@media (max-width: 1024px) {
	.ps-card { padding: 32px 28px 34px; }
	.ps-foot__grid { grid-template-columns: 1fr 1fr; padding: 48px 0 40px; }
	.ps-foot__about { grid-column: 1 / -1; }
}
@media (max-width: 760px) {
	.ps-cards-wrap { margin-top: -90px; margin-bottom: -60px; }
	.ps-cards { grid-template-columns: 1fr; }
	.ps-card { padding: 28px 24px 26px; }
	.ps-card + .ps-card { box-shadow: none; border-top: 1px solid var(--ps-line); }
	.ps-card__ico { width: 52px; height: 52px; margin-bottom: 14px; }
	.ps-foot { padding-top: 112px; }
	.ps-foot__top { grid-template-columns: 1fr; justify-items: center; gap: 20px; padding-bottom: 36px; }
	.ps-foot__top .ps-logo img { width: 112px; }
	.ps-foot__grid { grid-template-columns: 1fr; gap: 8px; }
	.ps-foot__h { margin-bottom: 20px; }
	.ps-foot__grid > section { padding-bottom: 20px; }
}

/* ---------- WooCommerce (konto, varukorg, kassa) ---------- */
.ps-wc { padding-bottom: 72px; }
.ps-wc--shop { padding-top: 32px; }
.woocommerce .button, .woocommerce button.button, .woocommerce a.button, .woocommerce input.button, .woocommerce #respond input#submit { background: var(--ps-ink); color: #fff; border-radius: 999px; font-weight: 700; padding: 14px 26px; border: 0; line-height: 1.2; }
.woocommerce .button:hover, .woocommerce button.button:hover, .woocommerce a.button:hover { background: #000; color: var(--ps-yellow); }
.woocommerce .button.alt, .woocommerce button.button.alt, .woocommerce #place_order { background: var(--ps-yellow); color: var(--ps-ink); }
.woocommerce .button.alt:hover, .woocommerce #place_order:hover { background: var(--ps-yellow-2); color: var(--ps-ink); }
.woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .woocommerce-page form .form-row .select2-selection { border: 1px solid #C5CAD3; border-radius: 10px; min-height: 48px; padding: 10px 12px; font: inherit; background: #fff; }
.woocommerce-info, .woocommerce-message { border-top-color: var(--ps-ink); }
.woocommerce-info::before, .woocommerce-message::before { color: var(--ps-ink); }
.woocommerce-account .woocommerce-MyAccount-navigation ul { list-style: none; margin: 0 0 24px; padding: 0; border: 1px solid var(--ps-line); border-radius: 14px; overflow: hidden; }
.woocommerce-account .woocommerce-MyAccount-navigation li a { display: block; padding: 14px 18px; text-decoration: none; font-weight: 600; border-bottom: 1px solid var(--ps-line); }
.woocommerce-account .woocommerce-MyAccount-navigation li:last-child a { border-bottom: 0; }
.woocommerce-account .woocommerce-MyAccount-navigation li.is-active a { background: var(--ps-yellow); }
.woocommerce table.shop_table { border-radius: 14px; border-color: var(--ps-line); }
@media (max-width: 768px) {
	.woocommerce-account .woocommerce-MyAccount-navigation, .woocommerce-account .woocommerce-MyAccount-content { float: none; width: 100%; }
}
