/* Site-specific design for pressis. Colours live in theme.css; this file is layout and the few signature details.
   Direction: keep the Pressis blue and Poppins, light and calm, one memorable detail: the perforated receipt edge
   (a till receipt's tear line) under the header and above the footer. */

/* Page */
body.bg-nordic-canvas { background: var(--pr-surface-subtle); color: var(--pr-text-body); }
h1, h2, h3 { color: var(--pr-text-heading); font-weight: 600; letter-spacing: -0.015em; }
:focus-visible { outline: 2px solid var(--pr-primary); outline-offset: 2px; }

/* Header: white bar, original grey logo, perforated bottom edge */
header.navbar { box-shadow: none !important; border-bottom: 0 !important; overflow: visible; }
header.navbar::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 8px; pointer-events: none;
    background: radial-gradient(circle at 50% 100%, transparent 4.5px, var(--pr-header-bg) 5px) 0 0 / 14px 8px repeat-x;
    filter: drop-shadow(0 2px 1px rgba(13, 43, 69, .06));
}
.site-logo img { height: 34px; width: auto; display: block; }
@media (max-width: 575px) { .site-logo img { height: 26px; } }
.nordic-nav-item { font-weight: 500 !important; }
.nordic-nav-item.active { color: var(--pr-primary) !important; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%2317212b' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.header-search-container .form-control { background: var(--pr-surface-subtle) !important; border: 1px solid var(--pr-border-light) !important; }
.btn-fjord-action, .btn-primary { border-radius: 10px !important; font-weight: 600; }
@media (min-width: 1200px) {
    .nordic-nav-item, .btn-fjord-action { white-space: nowrap; }
    .nordic-nav-item { font-size: .93rem; padding-left: .4rem !important; padding-right: .4rem !important; }
    .header-search-container { flex: 0 1 220px !important; min-width: 130px; margin-left: .5rem !important; margin-right: .5rem !important; }
}
/* 1200-1365 px: Pressis has the most menu items; a little tighter so the whole header fits */
@media (min-width: 1200px) and (max-width: 1365.98px) {
    header.navbar { padding-left: 1rem !important; padding-right: 1rem !important; }
    .nordic-nav-item { font-size: .88rem; padding-left: .3rem !important; padding-right: .3rem !important; }
    .header-search-container { flex-basis: 170px !important; min-width: 110px; }
}

/* Footer: deep Pressis blue, the receipt edge facing up */
footer.bg-fjord-dark { position: relative; background: var(--pr-footer-bg) !important; border-top: 0 !important; margin-top: 3rem !important; }
footer.bg-fjord-dark::before {
    content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; pointer-events: none;
    background: radial-gradient(circle at 50% 0, transparent 4.5px, var(--pr-footer-bg) 5px) 0 0 / 14px 8px repeat-x;
}

/* Shop: quiet white cards, a blue frame on hover instead of lifting */
.card.border-nordic-card { border: 1px solid var(--pr-border-light) !important; border-radius: 14px !important; box-shadow: none !important; transform: none !important; transition: border-color .15s; }
.card.border-nordic-card:hover, .card.border-nordic-card:focus-within { border-color: var(--pr-primary) !important; }
.product-grid-heading { font-weight: 600 !important; }
.bg-white.rounded-3.border.shadow-sm { border-color: var(--pr-border-light) !important; border-radius: 16px !important; box-shadow: none !important; }
nav[aria-label="breadcrumb"] ol, .breadcrumb { background: transparent !important; border: 0 !important; padding-left: 0 !important; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* ===== Content pages as on www.pressis.com ===== */
/* Page content is shown as on the old site: no card around it */
.nordic-page-section { padding: clamp(12px, 3vw, 40px) !important; border: 0 !important; box-shadow: none !important; background: var(--pr-surface) !important; border-radius: 16px !important; }
/* The old site's Bootstrap floated columns outside .row (testimonial boxes in the carousel) */
.cms-rendered-content .carousel-item::after { content: ""; display: block; clear: both; }
@media (min-width: 576px) { .cms-rendered-content .carousel-item > .cntbox { float: left; } }

/* from www.pressis.com c2_3a5199_custom.css */
@media(min-width: 1281px) {
.cms-rendered-content .col-sm-4.col-12.cntbox {border: 1px solid #d6dae4;
    border-radius: 10px;
    min-height: 620px;
    max-width: 32.33333%;
    padding: 1%;
    margin: 0.5%;
    height: 620px;}
.cms-rendered-content h1 {font-size: 1.875rem !important;
        color: #ffffff;
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h2 {font-size: 1.563rem !important;
        color: #0063a5;
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h3 {font-size: 1.25rem !important;
        color: #0063a5;
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h4 {font-size: 1.125rem !important;
        
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h5 {font-size: 1rem !important;
        color: #0063a5;
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h6 {font-size: .875rem !important;
        color: #0063a5;
        font-weight: 700;
        line-height: 3rem !important}
}
@media screen and (min-width: 1281px) {
.cms-rendered-content .txt1001 {margin-left: 10%}
.cms-rendered-content .carousel-indicators button {height: 4px;
        border: 0 !important;
        padding: 0}
.cms-rendered-content .shopbtn, .cms-rendered-content .posbtn {max-width: 300px;
        margin-left: auto;
        margin-right: auto}
.cms-rendered-content .cnt2_btn {max-width: 300px;
        margin-left: auto;
        margin-right: auto;
        height: 60px;
        padding: 1.5% !important;}
}
@media screen and (max-width: 1280px) {
.cms-rendered-content .container iframe {width:100% !important;}
.cms-rendered-content .col-sm-4.col-12.cntbox {margin-bottom:5%;}
.cms-rendered-content .cnt2_btn {max-width:100%;
        margin-left: auto;
        margin-right: auto;
        height: 60px;
        padding: 2% !important}
.cms-rendered-content .col1cnt {width: 100% !important;
        float: left}
.cms-rendered-content .col1cnt1 {max-width: 200px}
.cms-rendered-content .col1cnt2 svg {padding-right: 25%}
.cms-rendered-content h1 {font-size: 1.875rem !important;
        color: #0063a5;
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h2 {font-size: 1.563rem !important;
        color: #0063a5;
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h3 {font-size: 1.25rem !important;
        color: #0063a5;
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h4 {font-size: 1.125rem !important;
      
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h5 {font-size: 1rem !important;
        color: #0063a5;
        font-weight: 700;
        line-height: 3rem !important}
.cms-rendered-content h6 {font-size: .875rem !important;
        color: #0063a5;
        font-weight: 700;
        line-height: 3rem !important}
}
@media screen and (max-width: 480px) {
.cms-rendered-content .hm_img {height:200px !important;
      
        background-position-y: top !important}
.cms-rendered-content .hm_img span {font-size: 1rem !important;
        padding: 0 !important}
.cms-rendered-content .hm_img div {padding: 0 !important;
        padding-left: 5% !important;
        padding-top: 8% !important}
.cms-rendered-content .kntfrm>.col-sm-12>.col-sm-9 {width: 100% !important}
.cms-rendered-content #btn_sndmail {width: 100% !important}
}
@media (min-width: 575px) and (max-width:1280px) {
.cms-rendered-content .col-sm-4.col-12.cntbox {border: 1px solid #d6dae4;
    border-radius: 10px;
    max-width: 32.33333%;
    padding: 3%;
    margin: 0.5%; min-height:100% !important;}
}
@media (min-width: 575px) and (max-width:1100px) {
.cms-rendered-content .col-sm-4.col-12.cntbox > img {max-width:100px !important;}
}
@media (min-width:1281px) {
.cms-rendered-content #verifone_header {padding:130px 0;}
}
@media (max-width:1280px) {
.cms-rendered-content #verifone_header {padding:0;}
}
.cms-rendered-content #forhandsbestillfrm {width:100%; height: 650px; overflow-x: hidden; overflow-y: scroll;display:block;}
/* from www.pressis.com c2_3a5199_colors.css */
.cms-rendered-content .cnt_1 {background-color: #fff;
    padding: 2%}
.cms-rendered-content .carousel-control-prev, .cms-rendered-content .carousel-control-next {background-color: transparent !important;
    border: 0 !important}
.cms-rendered-content .carousel-control-prev-icon, .cms-rendered-content .carousel-control-next-icon {color: #333 !important}
.cms-rendered-content .carousel-indicators button {background-color: #f1f1f1 !important}
.cms-rendered-content .shopbtn:hover, .cms-rendered-content .posbtn:hover {background-color: #0063a5 !important}
.cms-rendered-content .col-sm-4.col-12.cntbox {border: 1px solid #d6dae4;
    border-radius: 10px;}

/* ===== Polish on top of the old content ===== */
/* Footer: the old content paints its own #222 box; let the Pressis-blue footer show, logos on white chips */
footer.bg-fjord-dark [style*="background-color:#222222"], footer.bg-fjord-dark [style*="background-color: #222222"] { background-color: transparent !important; }
footer.bg-fjord-dark .logos img { height: 54px !important; width: auto; object-fit: contain; }
footer.bg-fjord-dark .logos img[src$=".jpg"] { background: #fff; border-radius: 8px; padding: 6px 10px; } /* white-background logos on a chip; transparent PNGs as they are */
/* Testimonials: equal-height row instead of fixed 620px boxes that cut the text */
@media (min-width: 576px) {
    .cms-rendered-content .carousel-item.active, .cms-rendered-content .carousel-item-next, .cms-rendered-content .carousel-item-prev { display: flex !important; gap: 16px; align-items: stretch; }
    .cms-rendered-content .carousel-item > .cntbox { float: none; flex: 1 1 0; max-width: none !important; margin: 0 !important; }
}
.cms-rendered-content .col-sm-4.col-12.cntbox { height: auto !important; min-height: 0 !important; padding: 24px !important; border-color: var(--pr-border-light) !important; border-radius: 14px !important; background: var(--pr-surface); }
.cms-rendered-content .cntbox, .cms-rendered-content .cntbox b { font-weight: 400; }
.cms-rendered-content .cntbox b:first-of-type { font-weight: 600; }
.cms-rendered-content .cntbox strong { font-weight: 400; }

/* Integration pages (Tripletex, PowerOffice, Finago ...): "Slik deles dataen" rows as calm cards, text at full width */
.cms-rendered-content .col1cnt, .cms-rendered-content .col1cnt1 { float: none !important; width: auto !important; max-width: none !important; }
.cms-rendered-content .row:has(.col1cnt) {
    background: var(--pr-surface); border: 1px solid var(--pr-border-light); border-radius: 14px;
    margin: 0 auto 12px !important; padding: 20px 24px !important; align-items: center !important; max-width: 960px;
}
.cms-rendered-content .row:has(.col1cnt) > [class*="col-"] { padding-top: 0 !important; padding-bottom: 0 !important; }
.cms-rendered-content .row:has(.col1cnt) h3 { margin: 0 0 .25rem; line-height: 1.4 !important; }
.cms-rendered-content .row:has(.col1cnt) p { margin-bottom: 0; }
.cms-rendered-content .row:has(.col1cnt) > .col-lg-3 { text-align: center; }
.cms-rendered-content .row:has(.col1cnt) > .col-lg-3 br, .cms-rendered-content .row:has(.col1cnt) > .col-lg-3 p { display: none; }
.cms-rendered-content .row:has(.col1cnt) .col2 { display: none; }

/* ===== Landing page: kasse og synkronisering (/nettside/kasse-og-synkronisering, content from Upsert_Content_Page.sql) ===== */
.cms-rendered-content :is(.lp-hero, .lp-block, .lp-cta) :is(h1, h2, h3) { line-height: 1.2 !important; letter-spacing: -0.015em; margin: 0 0 .6rem; }
.cms-rendered-content .lp-hero h1 { color: var(--pr-text-heading) !important; font-size: clamp(2rem, 4.4vw, 3.25rem) !important; font-weight: 700 !important; max-width: 14ch; }
.cms-rendered-content :is(.lp-block, .lp-cta) h2 { font-size: clamp(1.4rem, 2.6vw, 2rem) !important; font-weight: 700 !important; }
.lp-hero, .lp-block, .lp-cta { max-width: 1120px; margin-left: auto; margin-right: auto; }
.lp-block { padding: clamp(40px, 6vw, 72px) 0 0; }
.lp-block > p, .lp-lead { max-width: 60ch; color: var(--pr-text-body); }

/* Hero: the claim on the left, a real day-end receipt on the right (the page's one bold element) */
.lp-hero { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(24px, 5vw, 64px); align-items: center;
           background: var(--pr-primary-soft); border-radius: 20px; padding: clamp(28px, 5vw, 64px); }
.lp-lead { font-size: 1.125rem; line-height: 1.6; margin: 0 0 1.5rem; }
.lp-note { font-size: .9rem; color: var(--pr-text-muted); margin: 1rem 0 0; }
.lp-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.cms-rendered-content .lp-btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 22px; border-radius: 10px; font-weight: 600;
          text-decoration: none !important; background: var(--pr-primary); color: var(--pr-on-primary) !important; border: 2px solid var(--pr-primary); }
.cms-rendered-content .lp-btn:hover { background: var(--pr-link-hover); border-color: var(--pr-link-hover); }
.cms-rendered-content .lp-btn-ghost { background: transparent; color: var(--pr-primary) !important; }
.cms-rendered-content .lp-btn-ghost:hover { background: var(--pr-surface); color: var(--pr-primary) !important; }
.cms-rendered-content .lp-btn:focus-visible { outline: 3px solid var(--pr-primary); outline-offset: 3px; }

.lp-receipt { position: relative; margin: 12px 0; background: var(--pr-surface); padding: 26px 26px 22px; max-width: 340px; justify-self: center; width: 100%;
              filter: drop-shadow(0 14px 24px rgba(13, 43, 69, .14)); font-variant-numeric: tabular-nums; transform: rotate(1.5deg); }
.lp-receipt::before, .lp-receipt::after { content: ""; position: absolute; left: 0; right: 0; height: 10px; }
.lp-receipt::before { top: -10px; background: radial-gradient(circle at 50% 0, transparent 5px, var(--pr-surface) 5.5px) 0 0 / 16px 10px repeat-x; }
.lp-receipt::after { bottom: -10px; background: radial-gradient(circle at 50% 100%, transparent 5px, var(--pr-surface) 5.5px) 0 0 / 16px 10px repeat-x; }
.lp-receipt-head { display: flex; flex-wrap: wrap; gap: 4px 12px; justify-content: space-between; align-items: baseline; padding-bottom: 12px; border-bottom: 1px dashed var(--pr-border); margin-bottom: 10px; }
.lp-receipt-head strong { font-size: 1.05rem; }
.lp-receipt-head span { font-size: .8rem; color: var(--pr-text-muted); }
.lp-receipt-lines { margin: 0; }
.lp-receipt-lines div { display: flex; justify-content: space-between; padding: 5px 0; }
.lp-receipt-lines dt { font-weight: 400; }
.lp-receipt-lines dd { margin: 0; }
.lp-receipt-lines .lp-total { border-top: 1px dashed var(--pr-border); margin-top: 6px; padding-top: 10px; font-weight: 600; }
.lp-receipt-lines .lp-total dt { font-weight: 600; }
.lp-receipt-status { display: flex; align-items: center; gap: 8px; margin: 14px 0 6px; padding: 8px 12px; border-radius: 8px;
                     background: #e8f6ee; color: #146c3c; font-weight: 600; }
.lp-receipt-sync { list-style: none; padding: 0; margin: 0; font-size: .85rem; color: var(--pr-text-muted); }
.lp-receipt-sync li { padding: 2px 0 2px 18px; position: relative; }
.lp-receipt-sync li::before { content: ""; position: absolute; left: 2px; top: .7em; width: 8px; height: 8px; border-radius: 50%; background: var(--pr-success); }

/* Accounting systems */
.lp-logos { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.lp-logos a { display: flex; align-items: center; justify-content: center; height: 88px; padding: 14px; border: 1px solid var(--pr-border-light);
              border-radius: 12px; background: var(--pr-surface); transition: border-color .15s; }
.lp-logos a:hover, .lp-logos a:focus-visible { border-color: var(--pr-primary); }
.lp-logos img { max-width: 100%; max-height: 48px; width: auto; height: auto; object-fit: contain; }

/* What is kept in sync: a two-column list, each item marked with the two-way arrow */
.lp-sync-grid { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }
.lp-sync-grid li { position: relative; padding: 16px 0 16px 44px; border-bottom: 1px solid var(--pr-border-light); }
.lp-sync-grid li::before { content: ""; position: absolute; left: 0; top: 18px; width: 28px; height: 28px; border-radius: 8px; background-color: var(--pr-primary-soft);
    background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230063a5%22 stroke-width=%222%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M4 8h14l-3-3M20 16H6l3 3%22/%3E%3C/svg%3E");
    background-size: 18px; background-repeat: no-repeat; background-position: center; }
.lp-sync-grid strong { display: block; font-weight: 600; color: var(--pr-text-heading); }
.lp-sync-grid span { color: var(--pr-text-body); }

/* The till */
.lp-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 64px); align-items: center; }
.lp-split img { width: 100%; max-width: 480px; height: auto; justify-self: center; }
.lp-checks { list-style: none; padding: 0; margin: 1rem 0; }
.lp-checks li { position: relative; padding: 6px 0 6px 30px; }
.lp-checks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 20px; height: 20px;
    background: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 24 24%22 fill=%22none%22 stroke=%22%230063a5%22 stroke-width=%222.4%22 stroke-linecap=%22round%22 stroke-linejoin=%22round%22%3E%3Cpath d=%22M5 12.5l4.5 4.5L19 7.5%22/%3E%3C/svg%3E") center / contain no-repeat; }

/* Getting started: a real sequence, so numbered */
.lp-steps { list-style: none; counter-reset: step; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-steps li { counter-increment: step; padding: 22px; border: 1px solid var(--pr-border-light); border-radius: 14px; }
.lp-steps li::before { content: counter(step); display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 50%;
                       background: var(--pr-primary); color: var(--pr-on-primary); font-weight: 600; margin-bottom: 10px; }
.lp-steps strong { display: block; font-weight: 600; margin-bottom: 4px; color: var(--pr-text-heading); }

/* Closing call to action on the deep Pressis blue */
.lp-cta { margin-top: clamp(40px, 6vw, 72px); padding: clamp(28px, 5vw, 56px); border-radius: 20px; background: var(--pr-footer-bg); color: #fff; text-align: center; }
.cms-rendered-content .lp-cta h2 { color: #fff !important; }
.lp-cta p { color: var(--pr-footer-text); margin: 0 auto 1.25rem; max-width: 52ch; }
.lp-cta .lp-actions { justify-content: center; }
.cms-rendered-content .lp-btn-light { background: #fff; border-color: #fff; color: var(--pr-footer-bg) !important; }
.cms-rendered-content .lp-btn-light:hover { background: var(--pr-primary-soft); border-color: var(--pr-primary-soft); }
.cms-rendered-content .lp-btn-ghost-light { background: transparent; border-color: rgba(255,255,255,.6); color: #fff !important; }
.cms-rendered-content .lp-btn-ghost-light:hover { border-color: #fff; background: rgba(255,255,255,.08); }

@media (max-width: 991px) {
    .lp-hero, .lp-split { grid-template-columns: 1fr; }
    .lp-logos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .lp-sync-grid { grid-template-columns: 1fr; }
    .lp-steps { grid-template-columns: 1fr; }
    .lp-receipt { transform: none; }
}
@media (max-width: 480px) { .lp-logos { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Contact page (same landing design): three ways to reach us, links in the receipt */
.lp-receipt-lines dd a { color: var(--pr-text-heading); text-decoration: none; }
.lp-receipt-lines dd a:hover { color: var(--pr-primary); text-decoration: underline; }
.lp-contact-cards { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-contact-cards li { display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--pr-border-light); border-radius: 14px; }
.cms-rendered-content .lp-contact-cards h3 { font-size: 1.15rem !important; color: var(--pr-text-heading) !important; font-weight: 600 !important; }
.lp-contact-cards p { color: var(--pr-text-body); flex: 1; }
.lp-contact-cards a { font-weight: 600; font-size: 1.05rem; color: var(--pr-primary); text-decoration: none; }
.lp-contact-cards a:hover { text-decoration: underline; }
@media (max-width: 991px) { .lp-contact-cards { grid-template-columns: 1fr; } }
.lp-contact-cards.lp-two { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
@media (max-width: 991px) { .lp-contact-cards.lp-two { grid-template-columns: 1fr; } }
.lp-note a { color: var(--pr-primary); }

/* Landing design on the other content pages: hero picture, partner logo in the hero, customer quotes, two-column checks */
.lp-hero > img { width: 100%; max-width: 520px; height: auto; justify-self: center; }
.lp-hero-logo { display: block; width: auto; height: auto; max-width: 160px; max-height: 56px; margin: 0 0 1rem; }
.lp-quotes { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.lp-quotes li { display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--pr-border-light); border-radius: 14px; background: var(--pr-surface); }
.cms-rendered-content .lp-quotes blockquote { margin: 0 0 1rem; padding: 0; border: 0; font-size: .95rem; line-height: 1.6; color: var(--pr-text-body); font-style: normal; }
.lp-quotes p { margin: 0; font-weight: 600; color: var(--pr-text-heading); }
.lp-checks-cols { columns: 2; column-gap: 40px; }
.lp-checks-cols li { break-inside: avoid; }
@media (max-width: 991px) { .lp-quotes { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .lp-checks-cols { columns: 1; } }

/* Contact form (POST /kontakt, ContactEndpoints.cs): two columns, visible labels, the result shown via #kontakt-sendt / #kontakt-feil */
.lp-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; max-width: 760px; margin-top: 1.25rem; }
.lp-field { display: flex; flex-direction: column; gap: 6px; }
.lp-field-wide { grid-column: 1 / -1; }
.lp-field label { font-weight: 600; color: var(--pr-text-heading); }
.lp-field label span { font-weight: 400; color: var(--pr-text-muted); }
.lp-field :is(input, select, textarea) { font: inherit; min-height: 48px; padding: 10px 14px; border: 1px solid var(--pr-border); border-radius: 10px; background: var(--pr-surface); color: var(--pr-text); }
.lp-field textarea { min-height: 140px; resize: vertical; }
.lp-field :is(input, select, textarea):focus-visible { outline: 2px solid var(--pr-primary); outline-offset: 1px; border-color: var(--pr-primary); }
.lp-form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.lp-form-foot .lp-btn { cursor: pointer; }
.lp-form-note { margin: 0; font-size: .9rem; color: var(--pr-text-muted); }
.lp-form-note a { color: var(--pr-primary); }
.lp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lp-form-msg { display: none; max-width: 760px; padding: 12px 16px; border-radius: 10px; font-weight: 600; }
.lp-form-msg:target { display: block; }
.lp-form-ok { background: #e8f6ee; color: #146c3c; }
.lp-form-err { background: #fdecec; color: #a12020; }
@media (max-width: 767px) { .lp-form { grid-template-columns: 1fr; } }
/* Anchor jumps (#kontaktskjema, #kontakt-sendt, #fjernhjelp) land below the sticky header */
.cms-rendered-content [id] { scroll-margin-top: 110px; }
/* Photos (not product cut-outs) in split sections: rounded, a little wider */
.lp-split img.lp-photo { max-width: 560px; border-radius: 16px; box-shadow: 0 12px 32px rgba(13, 43, 69, .14); }
/* Full-width photo band between sections (stock photos: StockSnap, CC0) */
.lp-band { margin: 2.5rem 0; }
.lp-band img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; border-radius: 18px; }
@media (max-width: 767px) { .lp-band img { aspect-ratio: 4 / 3; border-radius: 14px; } }
/* Product cut-out shown at its own size (small source image, never upscaled) */
.lp-split img.lp-device { width: auto; max-width: 100%; height: auto; }
.lp-split .lp-video { width: 100%; max-width: 480px; max-height: 450px; justify-self: center; border-radius: 16px; background: #fff; } /* video in a split section (MobilePOS) */
.cms-rendered-content .lp-band { max-width: 1120px; margin: 2.5rem auto 0; padding: 0; }
/* Front page hero: the PressisPOS till with the receipt card in front of it, as if just printed */
.lp-hero-visual { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); justify-items: end; width: 100%; min-width: 0; padding-bottom: 72px; }
.lp-hero-device { width: 100%; max-width: 319px; height: auto; margin-right: 8%; } /* source is 319 px wide: never upscaled */
.lp-hero-visual .lp-receipt { position: absolute; left: -12px; bottom: 0; margin: 0; max-width: 230px; padding: 16px 16px 14px; font-size: .8rem; }
@media (max-width: 991px) {
    .lp-hero-visual { justify-items: center; padding-bottom: 0; }
    .lp-hero-device { width: 80%; max-width: 280px; margin-right: 0; }
    .lp-hero-visual .lp-receipt { position: relative; left: auto; bottom: auto; margin-top: -40px; max-width: 320px; font-size: inherit; }
}

/* Phones: one frame instead of two, calmer type, full-width buttons of the same size */
.lp-receipt-status svg { flex-shrink: 0; }
@media (max-width: 575px) {
    .nordic-page-section { padding: 8px !important; }
    .lp-hero { padding: 24px 18px; border-radius: 16px; gap: 24px; }
    .cms-rendered-content .lp-hero h1 { font-size: 1.9rem !important; max-width: none; }
    .lp-lead { font-size: 1rem; }
    .lp-actions { flex-direction: column; }
    .cms-rendered-content .lp-actions .lp-btn { width: 100%; justify-content: center; text-align: center; }
    .lp-receipt { padding: 20px 18px 16px; }
    .lp-receipt-status { font-size: .9rem; }
    .lp-block { padding-left: 10px; padding-right: 10px; }
    .lp-cta { padding: 28px 18px; border-radius: 16px; }
}
