/* Snarveiene (N-486): meny nederst på telefon og Privat/Bedrift. Lastes på alle butikksidene, etter grunn.css. */

.rh-bunnmeny { display: none; }
@media (max-width: 781px) {
	body.rh-har-bunnmeny { padding-bottom: calc(64px + env(safe-area-inset-bottom, 0px)); }
	.rh-bunnmeny { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; height: calc(64px + env(safe-area-inset-bottom, 0px)); padding-bottom: env(safe-area-inset-bottom, 0px); background: var(--surface); border-top: 1px solid var(--border); box-shadow: 0 -4px 14px rgba(19, 22, 72, .07); }
	.rh-bunnmeny__valg { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: var(--touch); font: inherit; font-size: 12px; font-weight: 700; color: var(--navy); text-decoration: none; background: none; border: 0; cursor: pointer; padding: 0; }
	.rh-v a.rh-bunnmeny__valg { color: var(--navy); text-decoration: none; }
	.rh-bunnmeny__valg:focus-visible { outline: 2px solid var(--focus); outline-offset: -4px; }
	.rh-bunnmeny__antall { position: absolute; top: 6px; left: calc(50% + 6px); min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r-pill); background: var(--oransje); color: var(--ink); font-size: 11px; line-height: 18px; text-align: center; box-sizing: border-box; }
}
.rh-bunnmeny__antall[hidden] { display: none; }

/* Privat/Bedrift: to små knapper. PC: først i den mørke stripa. Telefon: til høyre i den grå linja under toppen. */
.rh-prisvalg { display: inline-flex; flex: 0 0 auto; padding: 2px; border-radius: var(--r-pill); background: rgba(255, 255, 255, .14); }
.rh-prisvalg__valg { font: inherit; font-size: 13px; font-weight: 600; line-height: 1; padding: 6px 12px; min-height: 28px; border: 0; border-radius: var(--r-pill); background: transparent; color: var(--ink-inverse); cursor: pointer; }
.rh-prisvalg__valg[aria-pressed="true"] { background: var(--surface); color: var(--navy); }
.rh-prisvalg__valg:focus-visible { outline: 2px solid var(--oransje); outline-offset: 1px; }
.rh-info--mobil .rh-prisvalg { display: none; }
@media (max-width: 781px) {
	.rh-info--mobil { justify-content: space-between; gap: var(--s2); padding-inline: var(--s4); height: auto; min-height: 44px; }
	.rh-info--mobil .rh-prisvalg { display: inline-flex; background: var(--surface); border: 1px solid var(--border); }
	.rh-info--mobil .rh-prisvalg__valg { color: var(--navy); font-size: 12px; padding: 6px 12px; min-height: 34px; }
	.rh-info--mobil .rh-prisvalg__valg[aria-pressed="true"] { background: var(--navy); color: var(--ink-inverse); }
}
/* Bedrift: kjøpslinja nederst på varesiden har ingen egen mva-tekst, så den får «eks. mva» etter prisen */
.rh-pris-eks [data-rh-linje-pris]::after { content: " eks. mva"; font-size: 12px; font-weight: 500; }
@media (max-width: 781px) {
	.rh-info--mobil p { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 13px; }
}
