/* =========================================================================
   Polar Hosting – WHMCS-tema (child av Twenty-One)
   Fargene styres fra variablene under. Bytt --ph-primary for å endre profilfarge.
   ========================================================================= */

@font-face {
    font-family: "Plus Jakarta Sans";
    src: url("../fonts/PlusJakartaSans-Variable.woff2") format("woff2");
    font-weight: 200 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --ph-ink: #0b1626;
    --ph-navy: #0e2240;
    --ph-navy-2: #143259;
    --ph-primary: #1565d8;
    --ph-primary-dark: #0f4fae;
    --ph-primary-soft: #e8f0fd;
    --ph-aurora: #19c29a;
    --ph-aurora-soft: #e3f8f2;
    --ph-text: #1d2b3e;
    --ph-muted: #5d6b80;
    --ph-line: #e2e8f1;
    --ph-bg: #f4f7fb;
    --ph-white: #ffffff;
    --ph-radius: 14px;
    --ph-radius-sm: 10px;
    --ph-shadow: 0 1px 2px rgba(11, 22, 38, .05), 0 8px 24px rgba(11, 22, 38, .06);
    --ph-shadow-lg: 0 2px 4px rgba(11, 22, 38, .06), 0 20px 48px rgba(11, 22, 38, .12);
    --ph-font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

/* ---------- Grunnlag ---------- */
body,
.primary-bg-color {
    background-color: var(--ph-bg);
    color: var(--ph-text);
    font-family: var(--ph-font);
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4 {
    font-family: var(--ph-font);
    color: var(--ph-ink);
    letter-spacing: -0.015em;
}
a { color: var(--ph-primary); }
a:hover { color: var(--ph-primary-dark); }

.btn { border-radius: var(--ph-radius-sm); font-weight: 600; }
.btn-primary,
.btn-success {
    background-color: var(--ph-primary);
    border-color: var(--ph-primary);
    color: #fff;
}
.btn-primary:hover, .btn-primary:focus, .btn-primary:not(:disabled):not(.disabled):active,
.btn-success:hover, .btn-success:focus, .btn-success:not(:disabled):not(.disabled):active {
    background-color: var(--ph-primary-dark);
    border-color: var(--ph-primary-dark);
    color: #fff;
}
.btn-outline-primary { color: var(--ph-primary); border-color: var(--ph-primary); }
.btn-outline-primary:hover { background-color: var(--ph-primary); border-color: var(--ph-primary); }
.btn-default { border-radius: var(--ph-radius-sm); }
.form-control { border-radius: var(--ph-radius-sm); border-color: var(--ph-line); }
.form-control:focus { border-color: var(--ph-primary); box-shadow: 0 0 0 3px rgba(21, 101, 216, .15); }
.badge-info, .bg-primary { background-color: var(--ph-primary) !important; }
.text-primary { color: var(--ph-primary) !important; }
.page-item.active .page-link { background-color: var(--ph-primary); border-color: var(--ph-primary); }
.card { border-radius: var(--ph-radius); border-color: var(--ph-line); box-shadow: var(--ph-shadow); }
.card-header:first-child { border-radius: var(--ph-radius) var(--ph-radius) 0 0; }

/* Lasteoverlegget skal være skjult til WHMCS selv viser det */
#fullpage-overlay.w-hidden { display: none; }

/* ---------- Header ---------- */
header.header {
    background: var(--ph-white);
    border-bottom: 1px solid var(--ph-line);
    position: sticky;
    top: 0;
    z-index: 1030;
}
header.header .topbar { background-color: var(--ph-ink); font-size: .85rem; }
header.header .ph-navbar { padding: .75rem 0; }
header.header .ph-navbar > .container { flex-wrap: wrap; }
header.header .navbar .navbar-brand {
    display: flex;
    align-items: center;
    margin-right: 1.5rem;
    padding: 0;
    color: var(--ph-ink) !important;
}
header.header .logo-img { max-height: 42px; max-width: 220px; width: auto; }
header.header .ph-brand-text { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.02em; }

/* Menyen – holdes under 30 px høy, ellers flytter Twenty-One punkter inn i «Mer» */
header.header .navbar-nav a { color: var(--ph-text); font-weight: 600; font-size: 15px; }
header.header .ph-navbar #nav > li > a,
header.header .ph-navbar .ph-account-nav > li > a {
    display: block;
    padding: 4px 12px !important;
    line-height: 20px;
    border-radius: 999px;
    transition: background-color .15s, color .15s;
}
header.header .ph-navbar #nav > li > a:hover,
header.header .ph-navbar #nav > li.active > a,
header.header .ph-navbar .ph-account-nav > li > a:hover {
    background: var(--ph-primary-soft);
    color: var(--ph-primary);
    text-decoration: none;
}
header.header .ph-navbar .ph-account-nav > li > a {
    border: 1px solid var(--ph-line);
    margin-left: .35rem;
}
header.header .navbar-nav .ph-login-btn { color: #fff; padding: .55rem 1.1rem; font-size: .95rem; margin-left: .5rem; box-shadow: none; }
header.header .navbar-nav .ph-login-btn:hover { transform: none; color: #fff; }
header.header .toolbar { flex-direction: row; }
header.header .toolbar .nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 999px;
    border: 1px solid var(--ph-line);
    color: var(--ph-ink);
    background: var(--ph-white);
    margin-left: .5rem;
}
header.header .toolbar .nav-link:hover { color: var(--ph-primary); border-color: var(--ph-primary); }
header.header .toolbar .nav-link .badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    background: var(--ph-aurora) !important;
    color: #fff;
    opacity: 1;
    border-radius: 999px;
    font-size: 10px;
    padding: 3px 5px;
}
header.header .search { border-radius: 999px; border: 1px solid var(--ph-line); background: var(--ph-bg); overflow: hidden; }
header.header .search .form-control, header.header .search .btn { background: transparent; border: 0; }
header.header .dropdown-menu {
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius-sm);
    box-shadow: var(--ph-shadow-lg);
    padding: .4rem;
}
header.header .dropdown-item { border-radius: 8px; font-weight: 500; }
header.header .dropdown-menu li.dropdown-item { padding: 0; }
header.header .dropdown-menu a.dropdown-item { padding: .45rem .7rem !important; }
header.header .dropdown-item:hover,
header.header .dropdown-menu a.dropdown-item:hover { background: var(--ph-bg); color: var(--ph-primary); }
header.header .dropdown-item.active,
header.header .dropdown-item:active { background-color: var(--ph-primary-soft); color: var(--ph-primary); }

/* Brødsmuler (handlekurv, innlogging) */
.master-breadcrumb { background: transparent; border-bottom: 1px solid var(--ph-line); }
.master-breadcrumb .breadcrumb,
.ph-pagehead .breadcrumb { font-size: .85rem; background: transparent; padding: .75rem 0; margin: 0; }
.breadcrumb-item a { color: var(--ph-muted); }
.breadcrumb-item a:hover { color: var(--ph-primary); }
.breadcrumb-item.active { color: var(--ph-text); }

/* Sidetittel-felt på undersider */
.ph-pagehead {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--ph-ink) 0%, var(--ph-navy) 60%, var(--ph-navy-2) 100%);
    color: #fff;
    padding: 8px 0 40px;
}
.ph-pagehead::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(500px 200px at 90% 0%, rgba(25, 194, 154, .25), transparent 70%),
        radial-gradient(600px 240px at 70% 120%, rgba(21, 101, 216, .35), transparent 70%);
}
.ph-pagehead .container { position: relative; }
.ph-pagehead .breadcrumb-item a,
.ph-pagehead .breadcrumb-item + .breadcrumb-item::before { color: rgba(255, 255, 255, .6); }
.ph-pagehead .breadcrumb-item a:hover { color: #fff; }
.ph-pagehead .breadcrumb-item.active { color: rgba(255, 255, 255, .9); }
.ph-pagehead-title {
    color: #fff;
    font-size: clamp(1.7rem, 3.4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    margin: .6rem 0 0;
}
.ph-pagehead-lead { color: rgba(255, 255, 255, .75); margin: .5rem 0 0; font-size: 1.05rem; }
body:not(.ph-page-homepage) section#main-body { padding: 36px 0 64px; }

/* Forsiden: ingen luft over hero */
body.ph-page-homepage section#main-body { padding: 0; }

/* ---------- Felles byggesteiner ---------- */
.ph-eyebrow {
    display: inline-block;
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--ph-primary);
    margin-bottom: .6rem;
}
.ph-eyebrow--light { color: var(--ph-aurora); }

.ph-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .8rem 1.4rem;
    border-radius: var(--ph-radius-sm);
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    border: 2px solid transparent;
    transition: background-color .15s, border-color .15s, color .15s, transform .15s, box-shadow .15s;
    white-space: nowrap;
}
.ph-btn:hover { transform: translateY(-1px); text-decoration: none; }
.ph-btn--block { display: flex; width: 100%; }
.ph-btn--primary { background: var(--ph-primary); border-color: var(--ph-primary); color: #fff; box-shadow: 0 6px 16px rgba(21, 101, 216, .28); }
.ph-btn--primary:hover, .ph-btn--primary:focus { background: var(--ph-primary-dark); border-color: var(--ph-primary-dark); color: #fff; }
.ph-btn--outline { background: #fff; border-color: var(--ph-line); color: var(--ph-ink); }
.ph-btn--outline:hover, .ph-btn--outline:focus { border-color: var(--ph-primary); color: var(--ph-primary); }
.ph-btn--ghost { background: transparent; border-color: rgba(255, 255, 255, .25); color: #fff; }
.ph-btn--ghost:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.ph-btn--light { background: #fff; color: var(--ph-ink); }
.ph-btn--light:hover { color: var(--ph-primary); }
.ph-btn--ghost-light { border-color: rgba(255, 255, 255, .4); color: #fff; background: transparent; }
.ph-btn--ghost-light:hover { background: rgba(255, 255, 255, .1); color: #fff; }

.ph-section { padding: 88px 0; }
.ph-section--tint { background: var(--ph-white); border-top: 1px solid var(--ph-line); border-bottom: 1px solid var(--ph-line); }
.ph-section--tight { padding: 0 0 72px; }
.ph-section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.ph-section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.4rem); font-weight: 800; margin: 0 0 .75rem; }
.ph-section-head p { color: var(--ph-muted); font-size: 1.075rem; margin: 0; }
.ph-section-head--left { text-align: left; margin: 0; }

/* ---------- Hero ---------- */
.ph-hero-form { margin: 0; }
.ph-hero {
    position: relative;
    overflow: hidden;
    background: linear-gradient(160deg, var(--ph-ink) 0%, var(--ph-navy) 55%, var(--ph-navy-2) 100%);
    color: #fff;
    padding: 88px 0 96px;
}
.ph-hero-glow {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(600px 300px at 85% 10%, rgba(25, 194, 154, .28), transparent 70%),
        radial-gradient(700px 360px at 70% 90%, rgba(21, 101, 216, .35), transparent 70%),
        radial-gradient(400px 200px at 10% 0%, rgba(120, 170, 255, .15), transparent 70%);
}
.ph-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px);
    background-size: 22px 22px;
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 80%);
            mask-image: linear-gradient(to bottom, #000, transparent 80%);
}
.ph-hero .container { position: relative; z-index: 1; }
.ph-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .9fr);
    gap: 56px;
    align-items: center;
}
.ph-hero-title {
    color: #fff;
    font-size: clamp(2.1rem, 4.6vw, 3.4rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    margin: 0 0 1.1rem;
}
.ph-hero-lead {
    color: rgba(255, 255, 255, .78);
    font-size: 1.15rem;
    line-height: 1.6;
    max-width: 560px;
    margin: 0 0 2rem;
}

.ph-search {
    position: relative;
    display: flex;
    align-items: center;
    gap: .5rem;
    background: #fff;
    border-radius: var(--ph-radius);
    padding: .45rem .45rem .45rem 1rem;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .3);
    max-width: 620px;
}
.ph-search-icon { color: var(--ph-muted); font-size: 1.05rem; }
.ph-search-input {
    flex: 1 1 auto;
    min-width: 0;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--ph-ink);
    padding: .65rem .25rem;
}
.ph-search-input::placeholder { color: #9aa6b8; }
.ph-search-actions { display: flex; gap: .4rem; flex: 0 0 auto; }
.ph-search .ph-btn--ghost { border-color: var(--ph-line); color: var(--ph-ink); }
.ph-search .ph-btn--ghost:hover { border-color: var(--ph-primary); color: var(--ph-primary); background: #fff; }
.ph-search.advanced-input { display: block; padding: 1rem; color: var(--ph-ink); }
.ph-search.advanced-input .ph-search-actions { margin-top: .75rem; }

.ph-tlds {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    list-style: none;
    padding: 0;
    margin: 1.25rem 0 0;
}
.ph-tlds li {
    display: inline-flex;
    align-items: baseline;
    gap: .45rem;
    padding: .4rem .8rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .14);
    font-size: .9rem;
    color: rgba(255, 255, 255, .8);
}
.ph-tlds li strong { color: #fff; }
.ph-tlds .ph-tlds-all { background: transparent; border-color: transparent; }
.ph-tlds .ph-tlds-all a { color: var(--ph-aurora); font-weight: 600; }
.ph-usps {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    list-style: none;
    padding: 0;
    margin: 1.5rem 0 0;
    color: rgba(255, 255, 255, .85);
    font-size: .95rem;
    font-weight: 500;
}
.ph-usps i { color: var(--ph-aurora); margin-right: .35rem; }

/* Illustrasjon i hero */
.ph-hero-visual { position: relative; height: 380px; }
.ph-mock {
    position: absolute;
    background: rgba(255, 255, 255, .96);
    color: var(--ph-ink);
    border-radius: var(--ph-radius);
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}
.ph-mock--domain { top: 0; left: 0; right: 40px; padding: 18px 20px; }
.ph-mock-row { display: flex; align-items: center; gap: 12px; }
.ph-mock-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--ph-aurora); box-shadow: 0 0 0 5px var(--ph-aurora-soft); }
.ph-mock-domain { font-weight: 700; font-size: 1.1rem; flex: 1; }
.ph-mock-domain b { color: var(--ph-primary); }
.ph-mock-pill { background: var(--ph-aurora-soft); color: #0b8a6c; font-size: .78rem; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.ph-mock-bar { height: 4px; background: var(--ph-line); border-radius: 4px; margin-top: 14px; overflow: hidden; }
.ph-mock-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--ph-primary), var(--ph-aurora)); }
.ph-mock--panel { top: 108px; left: 40px; right: 0; padding: 20px; }
.ph-mock-head { display: flex; align-items: center; gap: 12px; }
.ph-mock-head > i { width: 40px; height: 40px; border-radius: 10px; background: var(--ph-primary-soft); color: var(--ph-primary); display: grid; place-items: center; }
.ph-mock-head div { flex: 1; line-height: 1.2; }
.ph-mock-head small { display: block; color: var(--ph-muted); font-size: .8rem; }
.ph-mock-status { width: 10px; height: 10px; border-radius: 50%; background: var(--ph-aurora); }
.ph-mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 18px 0; }
.ph-mock-stats div { background: var(--ph-bg); border-radius: 8px; padding: 8px 10px; }
.ph-mock-stats small { display: block; font-size: .72rem; color: var(--ph-muted); }
.ph-mock-stats b { font-size: .9rem; }
.ph-mock-stats i { color: var(--ph-aurora); font-size: .75rem; }
.ph-mock-graph { display: flex; align-items: flex-end; gap: 6px; height: 64px; }
.ph-mock-graph span { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, var(--ph-primary), rgba(21, 101, 216, .35)); }
.ph-mock--mail { bottom: 0; left: 0; padding: 12px 16px; display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: .92rem; }
.ph-mock--mail i { color: var(--ph-primary); }

/* ---------- Priskort ---------- */
.ph-toggle {
    display: inline-flex;
    margin-top: 1.75rem;
    padding: 4px;
    background: var(--ph-white);
    border: 1px solid var(--ph-line);
    border-radius: 999px;
    box-shadow: var(--ph-shadow);
}
.ph-toggle button {
    border: 0;
    background: transparent;
    padding: .55rem 1.2rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .95rem;
    color: var(--ph-muted);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}
.ph-toggle button.is-active { background: var(--ph-ink); color: #fff; }
.ph-toggle-save { background: var(--ph-aurora-soft); color: #0b8a6c; font-size: .72rem; padding: 2px 8px; border-radius: 999px; }
.ph-toggle button.is-active .ph-toggle-save { background: var(--ph-aurora); color: #fff; }

.ph-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    align-items: stretch;
}
.ph-plans--1 { max-width: 380px; margin: 0 auto; }
.ph-plans--2 { max-width: 780px; margin: 0 auto; }
.ph-plan {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--ph-white);
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius);
    padding: 32px 28px;
    box-shadow: var(--ph-shadow);
    transition: transform .2s, box-shadow .2s;
}
.ph-plan:hover { transform: translateY(-3px); box-shadow: var(--ph-shadow-lg); }
.ph-plan.is-popular { border: 2px solid var(--ph-primary); box-shadow: var(--ph-shadow-lg); }
.ph-plan-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--ph-primary);
    color: #fff;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.ph-plan-name { font-size: 1.25rem; font-weight: 800; margin: 0 0 1.1rem; }
.ph-price { display: flex; align-items: baseline; gap: .25rem; }
.ph-price-amount { font-size: 2.6rem; font-weight: 800; color: var(--ph-ink); letter-spacing: -0.03em; line-height: 1; }
.ph-price-period { color: var(--ph-muted); font-weight: 600; }
.ph-price-note { color: var(--ph-muted); font-size: .85rem; margin: .5rem 0 1.4rem; min-height: 1.3em; }
.ph-plan-features {
    list-style: none;
    padding: 1.4rem 0 0;
    margin: 1.4rem 0 0;
    border-top: 1px solid var(--ph-line);
    display: grid;
    gap: .7rem;
    font-size: .95rem;
}
.ph-plan-features li { display: flex; gap: .6rem; align-items: baseline; }
.ph-plan-features i { color: var(--ph-aurora); font-size: .85rem; flex: 0 0 auto; }
.ph-plans-foot { text-align: center; margin: 2.25rem 0 0; color: var(--ph-muted); font-size: .92rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.ph-plans-foot a { font-weight: 700; }

/* ---------- Kategorier ---------- */
.ph-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.ph-cat {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    background: var(--ph-bg);
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius);
    color: var(--ph-text);
    transition: border-color .15s, background-color .15s, transform .15s;
}
.ph-cat:hover { text-decoration: none; border-color: var(--ph-primary); background: #fff; transform: translateY(-2px); color: var(--ph-text); }
.ph-cat-icon { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; background: var(--ph-primary-soft); color: var(--ph-primary); display: grid; place-items: center; font-size: 1.15rem; }
.ph-cat-body { flex: 1; min-width: 0; line-height: 1.3; }
.ph-cat-body strong { display: block; color: var(--ph-ink); }
.ph-cat-body small { color: var(--ph-muted); font-size: .85rem; }
.ph-cat-arrow { color: #a7b2c3; font-size: .8rem; transition: transform .15s, color .15s; }
.ph-cat:hover .ph-cat-arrow { color: var(--ph-primary); transform: translateX(3px); }

/* ---------- Fordeler ---------- */
.ph-features { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.ph-feature {
    background: var(--ph-white);
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius);
    padding: 28px;
}
.ph-feature-icon { width: 48px; height: 48px; border-radius: 12px; background: var(--ph-ink); color: var(--ph-aurora); display: grid; place-items: center; font-size: 1.2rem; margin-bottom: 1.1rem; }
.ph-feature h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .4rem; }
.ph-feature p { color: var(--ph-muted); margin: 0; font-size: .95rem; line-height: 1.6; }

/* ---------- Steg ---------- */
.ph-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; counter-reset: none; }
.ph-step { position: relative; padding: 0 8px; text-align: center; }
.ph-step-num {
    width: 52px; height: 52px; margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--ph-primary);
    color: #fff;
    display: grid; place-items: center;
    font-weight: 800; font-size: 1.2rem;
    box-shadow: 0 0 0 8px var(--ph-primary-soft);
}
.ph-step h3 { font-size: 1.1rem; font-weight: 700; margin: 0 0 .4rem; }
.ph-step p { color: var(--ph-muted); margin: 0 auto; max-width: 280px; font-size: .95rem; }
.ph-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 26px; left: calc(50% + 44px); right: calc(-50% + 44px);
    border-top: 2px dashed var(--ph-line);
}

/* ---------- FAQ ---------- */
.ph-faq-wrap { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: start; }
.ph-faq { display: grid; gap: 12px; }
.ph-faq-item { background: var(--ph-white); border: 1px solid var(--ph-line); border-radius: var(--ph-radius-sm); padding: 0 22px; }
.ph-faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 0;
    font-weight: 700;
    color: var(--ph-ink);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}
.ph-faq-item summary::-webkit-details-marker { display: none; }
.ph-faq-item summary i { color: var(--ph-primary); font-size: .85rem; transition: transform .2s; }
.ph-faq-item[open] summary i { transform: rotate(45deg); }
.ph-faq-item p { color: var(--ph-muted); margin: 0 0 18px; line-height: 1.65; }

/* ---------- Hurtiglenker ---------- */
.ph-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.ph-quick a {
    display: flex; align-items: center; gap: 12px;
    padding: 18px 20px;
    background: var(--ph-white);
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius);
    color: var(--ph-ink);
    font-weight: 700;
}
.ph-quick a:hover { border-color: var(--ph-primary); color: var(--ph-primary); text-decoration: none; }
.ph-quick i { color: var(--ph-primary); font-size: 1.2rem; width: 24px; text-align: center; }

/* ---------- CTA ---------- */
.ph-cta { padding: 0 0 88px; }
.ph-cta-inner {
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    padding: 48px 56px;
    border-radius: 20px;
    background:
        radial-gradient(500px 220px at 90% 0%, rgba(25, 194, 154, .35), transparent 70%),
        linear-gradient(135deg, var(--ph-navy) 0%, var(--ph-primary) 120%);
    color: #fff;
}
.ph-cta h2 { color: #fff; font-weight: 800; margin: 0 0 .35rem; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.ph-cta p { margin: 0; color: rgba(255, 255, 255, .8); }
.ph-cta-actions { display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.ph-footer { background: var(--ph-ink); color: rgba(255, 255, 255, .7); padding: 64px 0 24px; font-size: .95rem; }
.ph-footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.ph-footer .ph-footer-logo { color: #fff; font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; display: inline-block; margin-bottom: .75rem; }
.ph-footer .ph-footer-logo:hover { color: #fff; text-decoration: none; }
/* Logoen vises hvit på mørk bakgrunn. Fjern filter-linjen hvis logoen allerede er lys. */
.ph-footer .ph-footer-logo img { max-height: 40px; max-width: 200px; filter: brightness(0) invert(1); }
.ph-footer-brand p { max-width: 340px; line-height: 1.6; }
.ph-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin: .4rem 0 1rem; }
.ph-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.ph-footer a { color: rgba(255, 255, 255, .75); }
.ph-footer a:hover { color: #fff; }
.ph-footer-contact i { color: var(--ph-aurora); width: 18px; }
footer.footer {
    background: var(--ph-ink);
    border-top: 1px solid rgba(255, 255, 255, .08);
    padding: 20px 0 28px;
    color: rgba(255, 255, 255, .55);
}
footer.footer .nav-link { color: rgba(255, 255, 255, .7); }
footer.footer .nav-link:hover { color: #fff; }
footer.footer .btn { background: rgba(255, 255, 255, .06); border-radius: 999px; }
footer.footer .mb-7 { margin-bottom: 0 !important; }
footer.footer .copyright { margin: 12px 0 0; }

/* =========================================================================
   Butikk / handlekurv (standard_cart)
   ========================================================================= */
body #order-standard_cart { font-family: var(--ph-font); }
body #order-standard_cart .header-lined { margin-bottom: 28px; }
body #order-standard_cart .header-lined h1 { font-weight: 800; letter-spacing: -0.02em; }
body #order-standard_cart .header-lined p { color: var(--ph-muted); font-size: 1.05rem; }

/* Produktliste som rutenett med priskort */
body #order-standard_cart .products {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 22px;
    margin-bottom: 24px;
}
body #order-standard_cart .products > .row { display: contents; }
body #order-standard_cart .products > .row > [class*="col-"] { max-width: none; width: auto; padding: 0; flex: none; }
body #order-standard_cart .products .product {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    background: var(--ph-white);
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius);
    box-shadow: var(--ph-shadow);
    overflow: hidden;
    transition: transform .2s, box-shadow .2s, border-color .2s;
}
body #order-standard_cart .products .product:hover { transform: translateY(-3px); box-shadow: var(--ph-shadow-lg); border-color: #cfdaea; }
body #order-standard_cart .products .product header {
    background: transparent;
    margin: 0;
    padding: 26px 24px 0;
    border: 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--ph-ink);
}
body #order-standard_cart .products .product header .qty {
    position: static;
    display: inline-block;
    margin-left: .5rem;
    font-size: .75rem;
    font-weight: 600;
    color: #0b8a6c;
    background: var(--ph-aurora-soft);
    padding: 3px 8px;
    border-radius: 999px;
    font-style: normal;
}
/* Pris øverst, egenskaper under – som en vanlig nettbutikk */
body #order-standard_cart .products .product footer { order: 2; float: none; width: auto; margin: 0; padding: 14px 24px 22px; text-align: left; font-size: .85rem; color: var(--ph-muted); }
body #order-standard_cart .products .product div.product-desc { order: 3; float: none; width: auto; padding: 18px 24px 26px; margin: 0 24px; border-top: 1px solid var(--ph-line); padding-left: 0; padding-right: 0; font-size: .95rem; }
body #order-standard_cart .products .product div.product-pricing { margin: 0 0 16px; }
body #order-standard_cart .products .product div.product-pricing span.price {
    display: inline-block;
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--ph-ink);
    line-height: 1.1;
}
body #order-standard_cart .products .product .btn-order-now {
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    gap: .5rem;
    padding: .8rem 1rem;
    font-size: 1rem;
    font-weight: 700;
    border-radius: var(--ph-radius-sm);
    background: var(--ph-primary);
    border-color: var(--ph-primary);
    box-shadow: 0 6px 16px rgba(21, 101, 216, .25);
}
body #order-standard_cart .products .product .btn-order-now:hover { background: var(--ph-primary-dark); border-color: var(--ph-primary-dark); }
body #order-standard_cart .products .product div.product-desc p { color: var(--ph-muted); }
body #order-standard_cart .products .product div.product-desc ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
body #order-standard_cart .products .product div.product-desc li { position: relative; padding-left: 1.5rem; }
body #order-standard_cart .products .product div.product-desc li::before {
    content: "\f00c";
    font-family: "Font Awesome 5 Pro", "Font Awesome 5 Free", "Font Awesome 6 Pro", "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: .1em;
    font-size: .8rem;
    color: var(--ph-aurora);
}
body #order-standard_cart .products .product div.product-desc span.feature-value { font-weight: 700; color: var(--ph-ink); }

/* Sidepanel med kategorier */
body #order-standard_cart .cart-sidebar .card,
body #order-standard_cart .sidebar .card { border-radius: var(--ph-radius); overflow: hidden; }
body #order-standard_cart .sidebar .list-group-item { border-color: var(--ph-line); font-weight: 600; }
body #order-standard_cart .sidebar .list-group-item.active,
body #order-standard_cart .sidebar .list-group-item.active:hover {
    background: var(--ph-primary-soft);
    color: var(--ph-primary);
    border-color: var(--ph-line);
    border-left: 3px solid var(--ph-primary);
}

/* Konfigurer produkt, domener, kurv og kasse */
body #order-standard_cart .sub-heading { border-top-color: var(--ph-line); }
body #order-standard_cart .sub-heading span,
body #order-standard_cart .sub-heading .primary-bg-color {
    background: var(--ph-bg) !important;
    color: var(--ph-ink);
    font-weight: 700;
    letter-spacing: .02em;
}
body #order-standard_cart .order-summary {
    background: var(--ph-ink);
    border-radius: var(--ph-radius);
    overflow: hidden;
    box-shadow: var(--ph-shadow-lg);
}
body #order-standard_cart .order-summary h2 { color: #fff; font-weight: 800; }
body #order-standard_cart .summary-container { background: var(--ph-white); border-radius: 0 0 var(--ph-radius) var(--ph-radius); }
body #order-standard_cart .order-summary .total-due-today .amt,
body #order-standard_cart .order-summary .total-due-today .amt * { color: var(--ph-ink); font-weight: 800; }
body #order-standard_cart .btn-checkout,
body #order-standard_cart #btnCompleteOrder,
body #order-standard_cart #btnCompleteProductConfig {
    background: var(--ph-aurora);
    border-color: var(--ph-aurora);
    color: #fff;
    font-weight: 700;
    border-radius: var(--ph-radius-sm);
    padding: .85rem 1.2rem;
    box-shadow: 0 6px 16px rgba(25, 194, 154, .3);
}
body #order-standard_cart .btn-checkout:hover,
body #order-standard_cart #btnCompleteOrder:hover,
body #order-standard_cart #btnCompleteProductConfig:hover { background: #12a682; border-color: #12a682; color: #fff; }
body #order-standard_cart .view-cart-items-header {
    background: var(--ph-ink);
    border-radius: var(--ph-radius) var(--ph-radius) 0 0;
}
body #order-standard_cart .view-cart-items { border-color: var(--ph-line); border-radius: 0 0 var(--ph-radius) var(--ph-radius); overflow: hidden; }
body #order-standard_cart .view-cart-items .item { border-color: var(--ph-line); }
body #order-standard_cart .product-info,
body #order-standard_cart .field-container,
body #order-standard_cart .domain-checker-container {
    border-radius: var(--ph-radius);
}
body #order-standard_cart .product-info { background: var(--ph-white); border: 1px solid var(--ph-line); }
body #order-standard_cart .domain-checker-container {
    background: linear-gradient(160deg, var(--ph-ink) 0%, var(--ph-navy) 60%, var(--ph-navy-2) 100%);
}
body #order-standard_cart .domain-checker-bg { background-image: none; }
body #order-standard_cart .domain-checker-container .btn-primary { background: var(--ph-primary); border-color: var(--ph-primary); }
body #order-standard_cart .domain-price .price { font-weight: 800; color: var(--ph-ink); }
body #order-standard_cart .panel-addon,
body #order-standard_cart .card-addon { border-radius: var(--ph-radius); border-color: var(--ph-line); }
body #order-standard_cart .panel-addon-selected,
body #order-standard_cart .card-addon-selected { border-color: var(--ph-primary); }
body #order-standard_cart .panel-addon .panel-add,
body #order-standard_cart .card-addon .card-add { background: var(--ph-primary-soft); color: var(--ph-primary); }
body #order-standard_cart .panel-addon-selected .panel-add,
body #order-standard_cart .card-addon-selected .card-add { background: var(--ph-primary); color: #fff; }

/* =========================================================================
   Polar Cart – produktsiden i butikken
   ========================================================================= */
body #order-standard_cart.ph-store { padding-bottom: 16px; }
.ph-store-head { text-align: center; max-width: 680px; margin: 8px auto 28px; }
.ph-store-head h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); font-weight: 800; letter-spacing: -0.025em; margin: 0 0 .5rem; }
.ph-store-head p { color: var(--ph-muted); font-size: 1.1rem; margin: 0; }
.ph-store-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 auto 40px;
}
.ph-store-tab {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem 1.1rem;
    border-radius: 999px;
    border: 1px solid var(--ph-line);
    background: var(--ph-white);
    color: var(--ph-text);
    font-weight: 600;
    font-size: .95rem;
    transition: border-color .15s, color .15s, background-color .15s;
}
.ph-store-tab:hover { border-color: var(--ph-primary); color: var(--ph-primary); text-decoration: none; }
.ph-store-tab.is-active { background: var(--ph-ink); border-color: var(--ph-ink); color: #fff; }
.ph-store-tab--action { background: transparent; border-style: dashed; color: var(--ph-muted); }
.ph-store-tab i { font-size: .85em; }
.ph-store-currency { max-width: 120px; margin: -24px auto 32px; }
body #order-standard_cart .ph-plans { margin-bottom: 8px; }
.ph-plan-tagline { color: var(--ph-muted); font-size: .95rem; margin: -.6rem 0 1.1rem; }
.ph-price-label { display: block; color: var(--ph-muted); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .25rem; }
.ph-plan-price { margin-bottom: 1.25rem; }
.ph-plan .ph-price-amount { font-size: 2.3rem; }
.ph-plan-stock { color: #0b8a6c; font-size: .82rem; font-weight: 600; margin: .75rem 0 0; }
.ph-plan-stock i { font-size: .5rem; vertical-align: middle; margin-right: .3rem; }
.ph-plan-features strong { color: var(--ph-ink); }
.ph-plan-desc { border-top: 1px solid var(--ph-line); margin-top: 1.4rem; padding-top: 1.2rem; color: var(--ph-muted); font-size: .95rem; }
.ph-plan-desc ul { padding-left: 1.1rem; margin: 0; }
.ph-btn--disabled { background: var(--ph-bg); border-color: var(--ph-line); color: var(--ph-muted); cursor: not-allowed; }
body #order-standard_cart .ph-plan .btn-order-now { box-shadow: none; }
body #order-standard_cart .ph-plan.is-popular .btn-order-now { box-shadow: 0 6px 16px rgba(21, 101, 216, .28); }
.ph-store-included {
    margin: 48px auto 0;
    max-width: 900px;
    background: var(--ph-white);
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius);
    padding: 28px 32px;
}
.ph-store-included h2 { font-size: 1.15rem; font-weight: 800; margin: 0 0 1rem; text-align: center; }
.ph-store-included ul { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: .6rem 1.5rem; }
.ph-store-included li { display: flex; gap: .55rem; align-items: baseline; }
.ph-store-included i { color: var(--ph-aurora); }
.ph-store-trust {
    list-style: none;
    padding: 0;
    margin: 40px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .75rem 2rem;
    color: var(--ph-muted);
    font-weight: 600;
    font-size: .92rem;
}
.ph-store-trust i { color: var(--ph-primary); margin-right: .4rem; }

/* =========================================================================
   Premium Comparison (reserve hvis det ordreskjemaet fortsatt er valgt)
   ========================================================================= */
body #order-premium_comparison { color: var(--ph-text); font-family: var(--ph-font); }
body #order-premium_comparison h3 { font-weight: 800 !important; color: var(--ph-ink); letter-spacing: -0.02em; }
body #order-premium_comparison .price-table-container ul li { background: none; padding: 30px 10px 10px; vertical-align: top; }
body #order-premium_comparison .price-table-container .price-table {
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius);
    box-shadow: var(--ph-shadow);
    overflow: hidden;
}
body #order-premium_comparison .price-table-container .price-table .top-head {
    background: var(--ph-white);
    filter: none;
    border-radius: 0;
    border-bottom: 1px solid var(--ph-line);
}
body #order-premium_comparison .price-table-container .price-table .top-head .top-area,
body #order-premium_comparison .price-table-container .price-table .top-head .price-area { border: 0; text-shadow: none; }
body #order-premium_comparison .price-table-container .price-table .top-head .top-area h4 { color: var(--ph-ink); font-weight: 800; }
body #order-premium_comparison .price-table-container .price-table .top-head .top-area p { color: var(--ph-muted); }
body #order-premium_comparison .price-table-container .price-table .top-head .price-area { color: var(--ph-muted); }
body #order-premium_comparison .price-table-container .price-table .top-head .price-area .price span { color: var(--ph-ink); font-weight: 800; font-size: 2.2rem; }
body #order-premium_comparison .price-table-container .price-table .popular-plan { background: var(--ph-primary); color: #fff; border: 0; font-weight: 700; letter-spacing: .05em; }
body #order-premium_comparison .price-table-container .order-button,
body #order-premium_comparison .price-table-container .order-button:hover {
    background: var(--ph-primary);
    filter: none;
    border-radius: var(--ph-radius-sm);
    text-shadow: none;
    box-shadow: 0 6px 16px rgba(21, 101, 216, .25);
    font-weight: 700;
}
body #order-premium_comparison .price-table-container .order-button:hover { background: var(--ph-primary-dark); }
body #order-premium_comparison .price-table-container .price-table ul li { border-bottom-color: var(--ph-line); color: var(--ph-text); padding: 13px 0; }
body #order-premium_comparison .includes-features .head-area { background: none; }
body #order-premium_comparison .main-container.price-01 .includes-features .head-area span { background: transparent; font-weight: 700; color: var(--ph-ink); }
body #order-premium_comparison .includes-features ul.list-features li { background: none; padding-left: 0; }
body #order-premium_comparison .includes-features ul.list-features li::before { content: "✓"; color: var(--ph-aurora); font-weight: 800; margin-right: .5rem; }

/* =========================================================================
   Kundeområdet og vanlige sider
   ========================================================================= */
/* Sidepanel */
.sidebar .card { box-shadow: none; overflow: hidden; }
.sidebar .card .card-header { background: var(--ph-white); border-bottom-color: var(--ph-line); }
.sidebar .card .card-header .card-title { font-weight: 700; font-size: 1rem; color: var(--ph-ink); }
.sidebar .list-group-item { border-color: var(--ph-line); color: var(--ph-text); font-weight: 500; }
.sidebar .list-group-item:hover { background: var(--ph-bg); color: var(--ph-primary); }
.sidebar .list-group-item.active,
.sidebar .list-group-item.active:hover,
.sidebar .list-group-item.active:focus {
    background: var(--ph-primary-soft);
    color: var(--ph-primary);
    border-color: var(--ph-line);
    box-shadow: inset 3px 0 0 var(--ph-primary);
    font-weight: 700;
}
.sidebar .list-group-item .badge { background: var(--ph-bg); color: var(--ph-muted); border-radius: 999px; }

/* Kort og overskrifter i kort */
.card-header { background: var(--ph-white); border-bottom-color: var(--ph-line); }
.card-title { font-weight: 700; color: var(--ph-ink); }
.card-footer { background: var(--ph-bg); border-top-color: var(--ph-line); }

/* Nøkkeltall på kundeforsiden */
.tiles .row { gap: 0; }
.tiles .tile {
    background: var(--ph-white);
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius);
    margin: 0 6px 12px;
    padding: 22px 22px 26px;
    box-shadow: var(--ph-shadow);
    transition: transform .15s, border-color .15s;
}
.tiles .tile:hover { transform: translateY(-2px); border-color: var(--ph-primary); background: var(--ph-white); }
.tiles .tile i { color: var(--ph-primary); opacity: .25; }
.tiles .tile .stat { font-weight: 800; color: var(--ph-ink); letter-spacing: -0.02em; }
.tiles .tile .title { color: var(--ph-muted); font-weight: 600; text-transform: none; }
.tiles .tile .highlight { height: 3px; border-radius: 0 0 var(--ph-radius) var(--ph-radius); }
.tiles .bg-color-blue { background: var(--ph-primary) !important; }
.tiles .bg-color-green { background: var(--ph-aurora) !important; }

/* Tabeller (tjenester, domener, fakturaer, saker) */
.table-container { background: var(--ph-white); border: 1px solid var(--ph-line); border-radius: var(--ph-radius); padding: 8px 16px 16px; box-shadow: var(--ph-shadow); }
table.table-list { border-collapse: separate; border-spacing: 0; }
table.table-list thead th {
    background: var(--ph-white) !important;
    color: var(--ph-muted);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    border-bottom: 1px solid var(--ph-line) !important;
}
table.table-list tbody td { border-top: 1px solid var(--ph-line); vertical-align: middle; }
table.table-list tbody tr:hover td { background: var(--ph-bg); }
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select { border-radius: 999px; border: 1px solid var(--ph-line); }
.dataTables_wrapper .dataTables_paginate .paginate_button.current,
.page-item.active .page-link { background: var(--ph-primary) !important; border-color: var(--ph-primary) !important; color: #fff !important; }

/* Statusmerker */
.label, .badge { border-radius: 999px; font-weight: 700; letter-spacing: .02em; }
.label.status, span.status { padding: .3em .75em; }
.status-active, .status-paid, .status-open, .status-completed { background: var(--ph-aurora-soft) !important; color: #0b8a6c !important; }
.status-unpaid, .status-overdue, .status-suspended { background: #fdecec !important; color: #c0392b !important; }
.status-pending, .status-customer-reply, .status-answered { background: #fff6e5 !important; color: #b26a00 !important; }

/* Varsler */
.alert { border-radius: var(--ph-radius-sm); border: 1px solid transparent; }
.alert-info { background: var(--ph-primary-soft); border-color: #cfe0fb; color: #0f3f86; }
.alert-success { background: var(--ph-aurora-soft); border-color: #bfeee0; color: #0b6b54; }
.alert-warning { background: #fff6e5; border-color: #ffe3ad; color: #7a4a00; }
.alert-danger { background: #fdecec; border-color: #f6c9c5; color: #8f2318; }

/* Skjema */
.form-control, .custom-select { min-height: 44px; }
.input-group-text { background: var(--ph-bg); border-color: var(--ph-line); color: var(--ph-muted); border-radius: var(--ph-radius-sm); }
.input-group-merge .form-control { border-left: 0; }
label, .form-control-label { font-weight: 600; color: var(--ph-ink); }
.btn-default { background: var(--ph-white); border-color: var(--ph-line); color: var(--ph-text); }
.btn-default:hover { border-color: var(--ph-primary); color: var(--ph-primary); background: var(--ph-white); }
.btn-lg { padding: .75rem 1.5rem; }

/* Innlogging, registrering, glemt passord */
body.ph-page-login section#main-body,
body.ph-page-password-reset-container section#main-body,
body.ph-page-two-factor-challenge section#main-body {
    background:
        radial-gradient(700px 300px at 50% 0%, rgba(21, 101, 216, .10), transparent 70%),
        var(--ph-bg);
    padding: 56px 0 80px;
}
.login-form .card,
.ph-page-password-reset-container .card,
.ph-page-two-factor-challenge .card {
    border-radius: 18px;
    box-shadow: var(--ph-shadow-lg);
    border: 1px solid var(--ph-line);
}
.login-form .h3, .login-form h6.h3 { font-weight: 800; letter-spacing: -0.02em; }
.login-form .card-footer { background: var(--ph-bg); border-radius: 0 0 18px 18px; }
.login-form #login,
.login-form .btn-primary { padding: .7rem 1.6rem; }
.ph-page-clientregister .card { box-shadow: none; }
.ph-page-clientregister .card-title { font-size: 1.05rem; }

/* Kunnskapsbase og nyheter */
.kb-search .form-control { border-radius: 999px 0 0 999px; min-height: 52px; padding-left: 1.25rem; }
.kb-search .btn { border-radius: 0 999px 999px 0; padding: 0 1.5rem; }
.kb-category, .kb-article-item { transition: background-color .15s; }
.kb-article-item:hover { background: var(--ph-bg); }
.announcements .announcement,
.ph-page-announcements .card { border-radius: var(--ph-radius); }

/* Supportsaker */
.ph-page-viewticket .ticket-reply { border-radius: var(--ph-radius); border: 1px solid var(--ph-line); overflow: hidden; }
.ph-page-viewticket .ticket-reply.staff { border-left: 3px solid var(--ph-primary); }

/* Faktura-/handlingsknapper i produktdetaljer */
.ph-page-clientareaproductdetails .product-details .product-icon { border-radius: var(--ph-radius); background: var(--ph-primary-soft); color: var(--ph-primary); }

/* ---------- Responsivt ---------- */
@media (max-width: 1199.98px) {
    header.header .ph-navbar .navbar-collapse { flex-basis: 100%; }
    header.header .ph-navbar #nav > li > a,
    header.header .ph-navbar .ph-account-nav > li > a {
        padding: 10px 12px !important;
        border-radius: 8px;
        border: 0;
        margin: 0;
    }
    header.header .ph-navbar .ph-account-nav { border-top: 1px solid var(--ph-line); margin-top: .5rem; padding-top: .5rem; }
}
@media (min-width: 1200px) {
    header.header .ph-navbar .navbar-collapse { align-items: center; }
}
@media (max-width: 991.98px) {
    .ph-hero { padding: 64px 0 72px; }
    .ph-hero-grid { grid-template-columns: 1fr; }
    .ph-hero-visual { display: none; }
    .ph-features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ph-faq-wrap { grid-template-columns: 1fr; gap: 32px; }
    .ph-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ph-footer-grid { grid-template-columns: 1fr 1fr; }
    .ph-footer-brand { grid-column: 1 / -1; }
    .ph-cta-inner { flex-direction: column; align-items: flex-start; padding: 40px 32px; }
}
@media (max-width: 767.98px) {
    .ph-pagehead { padding-bottom: 28px; }
    body:not(.ph-page-homepage) section#main-body { padding: 24px 0 48px; }
    .ph-store-tabs { justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; margin-bottom: 28px; padding-bottom: 4px; -webkit-overflow-scrolling: touch; }
    .ph-store-tab { white-space: nowrap; }
    .ph-store-included { padding: 22px; }
    .tiles .tile { margin: 0 4px 8px; padding: 16px; }
    .ph-section { padding: 64px 0; }
    .ph-section-head { margin-bottom: 36px; }
    .ph-steps { grid-template-columns: 1fr; gap: 32px; }
    .ph-step:not(:last-child)::after { display: none; }
    .ph-plan { padding: 28px 22px; }
}
@media (max-width: 575.98px) {
    .ph-search { flex-wrap: wrap; padding: .5rem; }
    .ph-search-icon { display: none; }
    .ph-search-input { flex-basis: 100%; padding: .7rem .6rem; }
    .ph-search-actions { width: 100%; }
    .ph-search-actions .ph-btn { flex: 1; }
    .ph-features { grid-template-columns: 1fr; }
    .ph-quick { grid-template-columns: 1fr; }
    .ph-footer-grid { grid-template-columns: 1fr; gap: 28px; }
    .ph-cta-inner { padding: 32px 22px; }
    .ph-cta-actions, .ph-cta-actions .ph-btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .ph-btn, .ph-plan, .ph-cat, .ph-cat-arrow, .ph-faq-item summary i,
    body #order-standard_cart .products .product { transition: none; }
    .ph-btn:hover, .ph-plan:hover, .ph-cat:hover,
    body #order-standard_cart .products .product:hover { transform: none; }
}

/* =========================================================================
   Kjøpsprosess: fremdriftslinje og kasse (lagt til 2026-10-27)
   ========================================================================= */
@media (min-width: 1200px) {
    header.header .ph-navbar > .container { flex-wrap: nowrap; }
    header.header .ph-navbar .navbar-collapse { min-width: 0; }
    header.header .ph-navbar #nav > li > a { padding-left: 10px !important; padding-right: 10px !important; }
}
.ph-steps-bar { background: var(--ph-white); border-bottom: 1px solid var(--ph-line); }
.ph-steps-bar ol { list-style: none; display: flex; gap: 8px; margin: 0 auto; padding: 18px 0; max-width: 760px; counter-reset: phstep; }
.ph-steps-bar li { flex: 1; display: flex; align-items: center; gap: 10px; color: var(--ph-muted); font-weight: 600; font-size: .92rem; white-space: nowrap; }
.ph-steps-bar li::before { counter-increment: phstep; content: counter(phstep); flex: 0 0 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--ph-bg); border: 1px solid var(--ph-line); font-weight: 800; font-size: .85rem; }
.ph-steps-bar li:not(:last-child)::after { content: ""; flex: 1; height: 2px; background: var(--ph-line); border-radius: 2px; margin-left: 4px; }
.ph-steps-bar li.is-done { color: var(--ph-text); }
.ph-steps-bar li.is-done::before { content: "✓"; background: var(--ph-aurora); border-color: var(--ph-aurora); color: #fff; }
.ph-steps-bar li.is-done::after { background: var(--ph-aurora); }
.ph-steps-bar li.is-current { color: var(--ph-ink); }
.ph-steps-bar li.is-current::before { background: var(--ph-primary); border-color: var(--ph-primary); color: #fff; box-shadow: 0 0 0 4px var(--ph-primary-soft); }
body #order-standard_cart .sub-heading { height: auto; border-top: 0; text-align: left; margin: 36px 0 16px; }
body #order-standard_cart .sub-heading span,
body #order-standard_cart .sub-heading .primary-bg-color { position: static; display: block; padding: 0 0 10px; top: auto; background: transparent !important; color: var(--ph-ink); font-size: 1.1rem; font-weight: 800; letter-spacing: -0.01em; border-bottom: 1px solid var(--ph-line); }
body #order-standard_cart .field,
body #order-standard_cart .form-control { border: 1px solid var(--ph-line); border-radius: var(--ph-radius-sm); color: var(--ph-text); min-height: 46px; transition: border-color .15s, box-shadow .15s; }
body #order-standard_cart .field:focus,
body #order-standard_cart .form-control:focus { border-color: var(--ph-primary); box-shadow: 0 0 0 3px rgba(21, 101, 216, .15); }
body #order-standard_cart .prepend-icon .field { padding-left: 42px; }
body #order-standard_cart .prepend-icon .field-icon { height: 46px; line-height: 46px; width: 44px; }
body #order-standard_cart .field-icon i { color: #9aa6b8; }
body #order-standard_cart .prepend-icon:focus-within .field-icon i { color: var(--ph-primary); }
body #order-standard_cart .field::placeholder { color: #9aa6b8; }
body #order-standard_cart .form-group { margin-bottom: 14px; }
body #order-standard_cart:has(#frmCheckout) .cart-sidebar,
body #order-standard_cart:has(#frmCheckout) .sidebar-collapsed { display: none; }
body #order-standard_cart:has(#frmCheckout) .cart-body { float: none; width: 100%; max-width: 900px; margin: 0 auto; }
body #order-standard_cart:has(#frmCheckout) .header-lined { text-align: center; margin: 8px 0 20px; }
body #order-standard_cart:has(#frmCheckout) .header-lined h1 { font-size: clamp(1.9rem, 3.4vw, 2.5rem); }
body #order-standard_cart .already-registered { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; background: var(--ph-primary-soft); border: 1px solid #cfe0fb; border-radius: var(--ph-radius); padding: 14px 18px; margin-bottom: 20px; }
body #order-standard_cart .already-registered p { margin: 0; color: #0f3f86; font-weight: 500; }
body #order-standard_cart .already-registered .float-right { order: 2; float: none !important; }
body #order-standard_cart .already-registered .btn { background: var(--ph-white); border: 1px solid var(--ph-primary); color: var(--ph-primary); border-radius: 999px; font-weight: 700; padding: .45rem 1.1rem; }
body #order-standard_cart .already-registered .btn:hover { background: var(--ph-primary); color: #fff; }
body #order-standard_cart #frmCheckout { background: var(--ph-white); border: 1px solid var(--ph-line); border-radius: 18px; box-shadow: var(--ph-shadow); padding: 8px 36px 36px; }
body #order-standard_cart .account-select-container { border: 0; gap: 10px; }
body #order-standard_cart .account-select-container div.account { border: 1px solid var(--ph-line) !important; border-radius: var(--ph-radius-sm); background: var(--ph-bg); padding: 14px 16px; margin-bottom: 8px; }
body #order-standard_cart .account-select-container div.account.active { background: var(--ph-primary-soft); border-color: var(--ph-primary) !important; }
body #order-standard_cart #paymentGatewaysContainer { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; text-align: left; }
body #order-standard_cart #paymentGatewaysContainer .text-center { grid-column: 1 / -1; text-align: left !important; }
body #order-standard_cart #paymentGatewaysContainer label { display: flex; align-items: center; gap: 10px; margin: 0; padding: 14px 16px; border: 1px solid var(--ph-line); border-radius: var(--ph-radius-sm); background: var(--ph-white); font-weight: 700; color: var(--ph-ink); cursor: pointer; transition: border-color .15s, background-color .15s, box-shadow .15s; }
body #order-standard_cart #paymentGatewaysContainer label:hover { border-color: var(--ph-primary); }
body #order-standard_cart #paymentGatewaysContainer label:has(input:checked),
body #order-standard_cart #paymentGatewaysContainer label:has(.checked) { border-color: var(--ph-primary); background: var(--ph-primary-soft); box-shadow: 0 0 0 3px rgba(21, 101, 216, .12); }
body #order-standard_cart .cc-input-container { background: var(--ph-bg); border: 1px solid var(--ph-line); border-radius: var(--ph-radius); padding: 20px; margin-top: 14px; }
body #order-standard_cart .apply-credit-container { background: var(--ph-aurora-soft); border: 1px solid #bfeee0; border-radius: var(--ph-radius-sm); padding: 14px 18px; }
body #order-standard_cart #totalDueToday,
body #order-standard_cart .total-due-today { font-weight: 800; color: var(--ph-ink); }
body #order-standard_cart .marketing-email-optin { background: var(--ph-bg); border: 1px solid var(--ph-line); border-radius: var(--ph-radius); padding: 18px 20px; margin: 20px 0; }
body #order-standard_cart .marketing-email-optin h4 { font-size: 1rem; font-weight: 700; }
body #order-standard_cart #frmCheckout > .text-center { margin-top: 24px; }
body #order-standard_cart #btnCompleteOrder { width: 100%; max-width: 420px; padding: 1rem 1.5rem; font-size: 1.1rem; font-weight: 800; border-radius: 12px; }
@media (max-width: 767.98px) {
    .ph-steps-bar ol { padding: 14px 0; gap: 4px; }
    .ph-steps-bar li { font-size: 0; gap: 4px; }
    .ph-steps-bar li.is-current { font-size: .85rem; }
    body #order-standard_cart #frmCheckout { padding: 4px 18px 24px; border-radius: 14px; }
}

/* =========================================================================
   Kundeområdet: velkomst, nøkkeltall, paneler og tjenester (lagt til 2026-10-27)
   ========================================================================= */
.ph-dash-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; }
.ph-dash-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ph-dash-actions .ph-btn { padding: .65rem 1.1rem; font-size: .95rem; }
.ph-dash-actions .ph-btn i { font-size: .85em; }
.ph-dash-alert { display: flex; align-items: center; gap: 16px; background: #fff6e5; border: 1px solid #ffe3ad; border-radius: var(--ph-radius); padding: 16px 20px; margin-bottom: 20px; }
.ph-dash-alert-icon { width: 44px; height: 44px; flex: 0 0 44px; border-radius: 12px; background: #ffe7b8; color: #b26a00; display: grid; place-items: center; font-size: 1.1rem; }
.ph-dash-alert-text { flex: 1; display: flex; flex-direction: column; line-height: 1.35; }
.ph-dash-alert-text strong { color: #7a4a00; }
.ph-dash-alert-text span { color: #8f6420; font-size: .92rem; }
.ph-dash-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 24px; }
.ph-dash-stat { position: relative; display: flex; flex-direction: column; gap: 2px; padding: 20px; background: var(--ph-white); border: 1px solid var(--ph-line); border-radius: var(--ph-radius); box-shadow: var(--ph-shadow); color: var(--ph-text); transition: transform .15s, border-color .15s, box-shadow .15s; }
.ph-dash-stat:hover { text-decoration: none; transform: translateY(-2px); border-color: var(--ph-primary); box-shadow: var(--ph-shadow-lg); color: var(--ph-text); }
.ph-dash-stat-icon { width: 40px; height: 40px; border-radius: 11px; background: var(--ph-primary-soft); color: var(--ph-primary); display: grid; place-items: center; margin-bottom: 10px; }
.ph-dash-stat-num { font-size: 2rem; font-weight: 800; color: var(--ph-ink); letter-spacing: -0.03em; line-height: 1.1; }
.ph-dash-stat-label { color: var(--ph-muted); font-weight: 600; font-size: .9rem; }
.ph-dash-stat.is-warning { border-color: #ffd58a; }
.ph-dash-stat.is-warning .ph-dash-stat-icon { background: #fff1d6; color: #b26a00; }
.ph-dash-panels .card.ph-panel { border-top: 1px solid var(--ph-line); margin-bottom: 18px; overflow: hidden; }
.ph-dash-panels .ph-panel .card-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 18px; }
.ph-dash-panels .ph-panel .card-title { font-size: 1rem; font-weight: 800; display: flex; align-items: center; gap: .4rem; }
.ph-dash-panels .ph-panel .card-title i { color: var(--ph-primary); }
.ph-dash-panels .ph-panel .card-title .badge { background: var(--ph-primary-soft); color: var(--ph-primary); }
.ph-dash-panels .ph-panel-btn { border-radius: 999px; font-weight: 700; font-size: .8rem; padding: .3rem .8rem; white-space: nowrap; }
.ph-dash-panels .ph-panel .list-group-item { border-left: 0; border-right: 0; border-color: var(--ph-line); padding: 12px 18px; color: var(--ph-text); }
.ph-dash-panels .ph-panel .list-group-item:first-child { border-top: 0; }
.ph-dash-panels .ph-panel a.list-group-item:hover { background: var(--ph-bg); color: var(--ph-primary); }
.ph-dash-panels .ph-panel .list-group-item .label,
.ph-dash-panels .ph-panel .list-group-item .badge { float: right; }
.ph-dash-panels .ph-panel .card-body { color: var(--ph-muted); }
.ph-dash-panels .ph-panel .card-footer { background: var(--ph-white); }
.ph-dash-panels .ph-panel.card-accent-gold .card-title i,
.ph-dash-panels .ph-panel.card-accent-red .card-title i { color: #c47a00; }
.ph-dash-panels .ph-panel.card-accent-green .card-title i,
.ph-dash-panels .ph-panel.card-accent-emerald .card-title i { color: var(--ph-aurora); }
div.product-details { background: var(--ph-white); border: 1px solid var(--ph-line); border-radius: var(--ph-radius); box-shadow: var(--ph-shadow); overflow: hidden; }
div.product-details div.product-icon { background: linear-gradient(160deg, var(--ph-ink), var(--ph-navy-2)); color: #fff; border-radius: 0; padding: 28px 20px; }
div.product-details div.product-icon h3, div.product-details div.product-icon h4 { color: #fff; }
div.product-details div.product-icon .fa-stack .fa-circle { color: rgba(255, 255, 255, .12); }
div.product-details div.product-icon .fa-stack .fa-inverse { color: var(--ph-aurora); }
.product-status { border-radius: 999px; font-weight: 700; display: inline-block; padding: .3rem 1rem; }
.product-status-active { background: var(--ph-aurora-soft); color: #0b8a6c; }
.product-status-pending { background: #fff6e5; color: #b26a00; }
.product-status-suspended { background: #fdecec; color: #c0392b; }
.product-actions-wrapper .btn { border-radius: var(--ph-radius-sm); font-weight: 700; }
.nav-tabs { border-bottom-color: var(--ph-line); }
.nav-tabs .nav-link { border: 0; border-bottom: 2px solid transparent; color: var(--ph-muted); font-weight: 700; }
.nav-tabs .nav-link:hover { color: var(--ph-primary); border-bottom-color: var(--ph-line); }
.nav-tabs .nav-link.active, .nav-tabs .nav-item.show .nav-link { color: var(--ph-primary); border-bottom-color: var(--ph-primary); background: transparent; }
.table-container { overflow-x: auto; }
table.table-list tbody tr { cursor: pointer; }
table.table-list tbody td { padding-top: 14px; padding-bottom: 14px; }
table.table-list tbody td strong, table.table-list tbody td a { color: var(--ph-ink); font-weight: 700; }
.dataTables_wrapper .dataTables_info { color: var(--ph-muted); font-size: .85rem; }
.status-terminated, .status-cancelled, .status-closed, .status-expired { background: var(--ph-bg) !important; color: var(--ph-muted) !important; }
@media (max-width: 991.98px) {
    .ph-dash-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    section#main-body .row > .primary-content { order: -1; margin-bottom: 8px; }
}
@media (max-width: 1199.98px) {
    header.header .ph-navbar > .container { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 575.98px) {
    .ph-dash-actions, .ph-dash-actions .ph-btn { width: 100%; }
    .ph-dash-alert { flex-wrap: wrap; }
    .ph-dash-alert .ph-btn { width: 100%; }
    .ph-dash-stat { padding: 16px; }
    .ph-dash-stat-num { font-size: 1.6rem; }
}


/* Designgjennomgang 2026-10-27: menyen uten linjeskift, større trykkflater */
header.header .ph-navbar #nav > li > a,
header.header .ph-navbar .ph-account-nav > li > a { white-space: nowrap; }
.ph-plans-foot a { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: 0 .75rem; }

/* =========================================================================
   Bryter: priser eks./inkl. mva (lagt til 2026-10-27)
   ========================================================================= */
.ph-vat-toggle {
    display: inline-flex;
    margin-top: 1rem;
    padding: 3px;
    background: var(--ph-white);
    border: 1px solid var(--ph-line);
    border-radius: 999px;
    box-shadow: var(--ph-shadow);
}
.ph-vat-toggle button {
    border: 0;
    background: transparent;
    min-height: 36px;
    padding: .35rem 1rem;
    border-radius: 999px;
    font-weight: 700;
    font-size: .88rem;
    color: var(--ph-muted);
    cursor: pointer;
}
.ph-vat-toggle button.is-active { background: var(--ph-ink); color: #fff; }
.ph-vat-toggle button:focus-visible { outline: 2px solid var(--ph-primary); outline-offset: 2px; }
.ph-store-head .ph-vat-toggle { margin-top: 1.1rem; }
.ph-tlds .ph-tlds-vat { color: rgba(255, 255, 255, .6); font-size: .8rem; }

/* =========================================================================
   Pakkekort: like rader, fotnote og mobil-trykkflater (lagt til 2026-10-27)
   ========================================================================= */
.ph-plan-features li.is-off { color: var(--ph-muted); }
.ph-plan-features li.is-off i { color: var(--ph-line); }
.ph-plans-foot { align-items: center; }
.ph-plans-footnote { text-align: center; color: var(--ph-muted); font-size: .85rem; max-width: 640px; margin: 1rem auto 0; }
@media (max-width: 767.98px) {
    .ph-vat-toggle button { min-height: 44px; padding: .5rem 1.1rem; }
    .ph-tlds li { min-height: 44px; align-items: center; }
}

/* =========================================================================
   Bestillingsflyten: uten sidemeny, uten engelsk mersalg, store domenevalg
   (lagt til 2026-10-27)
   ========================================================================= */
body.ph-in-cart #order-standard_cart .cart-sidebar,
body.ph-in-cart #order-standard_cart .sidebar-collapsed { display: none !important; }
body.ph-in-cart #order-standard_cart .cart-body { flex: 0 0 100%; max-width: 100%; width: 100%; float: none; }
body.ph-in-cart #order-standard_cart .mc-promos,
body.ph-in-cart #order-standard_cart .secondary-cart-body div:has(> .mc-promos) { display: none !important; }

/* Pakken kunden bestiller, vist under overskriften i domenesteget */
.ph-cart-product {
    display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: .4rem .6rem;
    margin: .75rem 0 0; padding: .55rem 1rem;
    background: var(--ph-primary-soft); color: var(--ph-ink);
    border-radius: 999px; font-size: 1rem;
}
.ph-cart-product-label { color: var(--ph-muted); font-weight: 600; }
.ph-cart-product-price { color: var(--ph-primary); font-weight: 700; }

/* Domenevalgene som store kort */
body.ph-in-cart .domain-selection-options { display: grid; gap: 12px; background: transparent; padding: 0; }
body.ph-in-cart .domain-selection-options .option {
    background: var(--ph-white) !important;
    border: 1px solid var(--ph-line);
    border-radius: var(--ph-radius);
    padding: 18px 20px;
    margin: 0;
    box-shadow: var(--ph-shadow);
    transition: border-color .15s, box-shadow .15s;
}
body.ph-in-cart .domain-selection-options .option:hover { border-color: var(--ph-primary); }
body.ph-in-cart .domain-selection-options .option:has(.checked),
body.ph-in-cart .domain-selection-options .option:has(input:checked) { border: 2px solid var(--ph-primary); padding: 17px 19px; }
body.ph-in-cart #order-standard_cart .domain-selection-options .option > label {
    display: flex; align-items: center; gap: .75rem;
    width: 100%; min-height: 44px; margin: 0;
    font-size: 1.05rem; font-weight: 700; color: var(--ph-ink); cursor: pointer;
}
body.ph-in-cart .domain-selection-options .domain-input-group { margin-top: 14px; }
