/* HS2 – tjenesteside (skjerm 45/46 + T/D). Mobil først; 768/1200 legger faktaboks/kontakt i sidekolonne. */

/* ---------- Tjenestehode ---------- */
.produkt-head { background: #fff; }
.produkt-head .inner { display: flex; flex-direction: column; gap: 16px; padding-top: 22px; padding-bottom: 18px; }
.produkt-head .title-block { display: flex; flex-direction: column; gap: 10px; }
.produkt-head .hs2-h1 { font-size: 29px; }
.produkt-head .hs2-h1 .prefix { font-weight: 500; color: var(--hs-muted); }
.produkt-head .chips { align-items: center; }
.produkt-head .chips .rating-row:hover { text-decoration: none; }
.produkt-head .provider { display: flex; align-items: center; gap: 12px; color: inherit; }
.produkt-head .provider:hover { text-decoration: none; }
.produkt-head .provider:hover .name { text-decoration: underline; }
.produkt-head .provider .logo-box { width: 92px; height: 46px; }
.produkt-head .provider .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.produkt-head .provider .eyebrow { font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--hs-muted); }
.produkt-head .provider .name { font-size: 15px; font-weight: 700; color: var(--hs-navy); line-height: 1.3; }
.produkt-head .provider .addr { font-size: 12px; color: var(--hs-muted); line-height: 1.4; }
.produkt-head .provider .chev { color: var(--hs-border-strong); }
@media (min-width: 768px) {
  .produkt-head { background: var(--hs-soft); }
  .produkt-head .inner { gap: 18px; padding-top: 30px; padding-bottom: 24px; }
  .produkt-head .hs2-h1 { font-size: 36px; }
  .produkt-head .provider { max-width: 640px; padding: 16px 18px; border-radius: 14px; background: #fff; border: 1px solid var(--hs-border); }
  /* 45T/45D: tittelblokk + tilbyder til venstre, bestillingskort i egen kolonne til høyre. */
  .produkt-head .inner.has-booking { display: grid; grid-template-columns: minmax(0, 1fr) 300px; column-gap: 32px; align-items: start; }
  .produkt-head .inner.has-booking .title-block { grid-column: 1; grid-row: 1; }
  .produkt-head .inner.has-booking .provider { grid-column: 1; grid-row: 2; max-width: none; }
  .produkt-head .inner.has-booking .facts-box { grid-column: 2; grid-row: 1 / span 2; }
}
@media (min-width: 1200px) {
  .produkt-head .inner { padding-top: 40px; padding-bottom: 32px; }
  .produkt-head .hs2-h1 { font-size: 48px; }
  .produkt-head .inner.has-booking { grid-template-columns: minmax(0, 1fr) 400px; column-gap: 40px; }
}

/* Fanerad på tjenestesiden står uten skillelinje (avviker fra 45T/45D i designfilen). */
.produkt-head + .tabs { border-bottom: 0; }

/* ---------- Grid: mobil = én kolonne i designets rekkefølge, 768+ = to kolonner ---------- */
.produkt-body { display: flex; flex-direction: column; }
.produkt-body > .col-main, .produkt-body > .col-side { display: contents; }
.produkt-body .section { order: 50; }
.produkt-body .ref-note { order: 1; }
.produkt-body .contact { order: 2; }
.produkt-body .location { order: 3; }
.produkt-body .illustration { order: 4; }
.produkt-body .about { order: 5; }
.produkt-body .ingress { order: 6; }
.produkt-body .services { order: 7; }
.produkt-body .reviews { order: 8; }
.produkt-body .providers { order: 9; }
.produkt-body .see-also { order: 10; }
.produkt-body .updated { order: 11; }
.produkt-body .next-links { order: 12; }
@media (min-width: 768px) {
  .produkt-body { display: grid; grid-template-columns: minmax(0, 1fr) 280px; column-gap: 24px; align-items: start; padding-top: 26px; padding-bottom: 8px; }
  .produkt-body > .col-main { display: flex; flex-direction: column; gap: 26px; grid-column: 1; min-width: 0; }
  .produkt-body > .col-side { display: flex; flex-direction: column; gap: 16px; grid-column: 2; }
  .produkt-body > .col-main > *, .produkt-body > .col-side > * { order: 0; }
  .produkt-body .section { padding: 0; }
  .produkt-body .section-soft { border: 1px solid var(--hs-border); border-radius: 16px; padding: 24px 20px; }
}
@media (min-width: 1200px) {
  .produkt-body { grid-template-columns: minmax(0, 1fr) 360px; column-gap: 40px; padding-top: 40px; padding-bottom: 16px; }
  .produkt-body > .col-main { gap: 32px; }
  .produkt-body > .col-side { gap: 20px; }
}

/* ---------- Faktaboks + bestilling ---------- */
.facts-box { padding: 0 0 16px; }
.facts-box .card-soft { display: flex; flex-direction: column; gap: 14px; padding: 20px var(--hs-gutter); border-radius: 0; border-left: 0; border-right: 0; }
.facts-box .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.facts-box .fact { display: flex; align-items: center; gap: 10px; padding: 12px 13px; border-radius: 12px; background: #fff; border: 1px solid var(--hs-border); min-width: 0; }
.facts-box .fact .ic { color: var(--hs-navy); flex: none; }
.facts-box .fact > div { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.facts-box .fact .label { font-size: 11px; font-weight: 600; color: var(--hs-muted); line-height: 1.2; }
.facts-box .fact .value { font-size: 13px; font-weight: 700; color: var(--hs-navy); line-height: 1.3; overflow: hidden; text-overflow: ellipsis; }
.facts-box .btn-book { width: 100%; }
.facts-box .note { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--hs-muted); line-height: 1.4; }
.ref-note { padding: 0 var(--hs-gutter) 12px; }
@media (min-width: 768px) {
  .facts-box { padding: 0; }
  .facts-box .card-soft { padding: 20px; border-radius: 16px; border: 1px solid var(--hs-border); }
  .facts-box .facts { grid-template-columns: 1fr; }
  .ref-note { padding: 0; }
}
@media (min-width: 768px) {
  .produkt-head .facts-box .card-soft { gap: 16px; }
  .produkt-head .facts-box .fact { border: 0; border-top: 1px solid var(--hs-border); border-radius: 0; padding: 11px 0; background: none; }
  .produkt-head .facts-box .fact:first-child { border-top: 0; padding-top: 0; }
  .produkt-head .facts-box .fact .ic { color: var(--hs-blue); }
  .produkt-head .facts-box .fact > div { flex: 1; flex-direction: row; align-items: center; justify-content: space-between; gap: 10px; }
  .produkt-head .facts-box .fact .label { font-size: 13px; font-weight: 400; }
  .produkt-head .facts-box .fact .value { font-size: 13px; text-align: right; }
}
@media (min-width: 1200px) {
  .facts-box .btn-book { min-height: 51px; }
  .produkt-head .facts-box .card-soft { padding: 24px; }
  .produkt-head .facts-box .fact { padding: 12px 0; }
  .produkt-head .facts-box .fact .label, .produkt-head .facts-box .fact .value { font-size: 14px; }
}

/* ---------- Kontaktsnarveier (samme «Vis nummer»-mønster som klinikkprofilen) ---------- */
.produkt-body .contact { padding: 0 var(--hs-gutter) 16px; }
.quick-links { display: flex; gap: 8px; }
.quick-links a { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 12px 8px; border-radius: 12px; background: #fff; border: 1px solid var(--hs-border); color: var(--hs-navy); font-size: 12px; font-weight: 700; text-align: center; }
.quick-links a:hover { text-decoration: none; background: var(--hs-soft); }
.quick-links .ic { color: var(--hs-blue); }
.quick-links .sub, .quick-links .nr, .quick-links .action { font-size: 10px; font-weight: 500; color: var(--hs-muted); line-height: 1.3; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.phone-reveal .nr { font-weight: 600; }
.phone-reveal.short .nr { font-weight: 500; opacity: .85; }
.phone-reveal:not(.short) .action { display: none; }
.phone-reveal:not(.short) .nr { color: var(--hs-navy); font-size: 12px; }
@media (min-width: 768px) { .produkt-body .contact { padding: 0; } .quick-links a { gap: 5px; padding: 14px 8px; font-size: 13px; } .quick-links .sub, .quick-links .nr, .quick-links .action { font-size: 11px; } }
@media (min-width: 1200px) { .quick-links a { font-size: 12px; } }

.illustration { display: flex; flex-direction: column; gap: 8px; padding: 0 var(--hs-gutter) 20px; }
.illustration .img img { display: block; width: 100%; height: 210px; object-fit: cover; border-radius: 14px; }
.illustration .caption { display: none; font-size: 12px; color: var(--hs-muted); }
@media (min-width: 768px) {
  .illustration { padding: 0; }
  .illustration .img img { height: 230px; }
  .illustration .caption { display: block; }
}
@media (min-width: 1200px) { .illustration .img img { height: 300px; } }

/* ---------- Om tjenesten / ingress ---------- */
.about .text { display: flex; flex-direction: column; gap: 8px; font-size: 15px; line-height: 1.6; }
.about .text .note { font-size: 13px; color: var(--hs-muted); }
.ingress .hs2-meta { margin-top: 8px; }

/* ---------- Andre tjenester ---------- */
.services .section-head { margin-bottom: 12px; }
.services .notice { margin-bottom: 12px; }
.service-row { display: flex; align-items: center; gap: 12px; padding: 14px; }
.service-row .info { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.service-row .name { font-size: 14px; font-weight: 600; color: var(--hs-navy); line-height: 1.35; }
.service-row .name:hover { text-decoration: underline; }
.service-row .cat { font-size: 12px; color: var(--hs-muted); line-height: 1.4; }
.service-row .extra { font-size: 12px; color: var(--hs-text); line-height: 1.4; }
.service-row .meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.service-row .btn-sm { flex: none; }
.service-row .chev { color: var(--hs-border-strong); display: inline-flex; }
.services .btn-more { margin-top: 12px; }
@media (min-width: 1200px) { .service-row { padding: 16px 18px; } .service-row .name { font-size: 15px; } }

/* ---------- Lokasjon ---------- */
.location .card { overflow: hidden; }
.location .map { position: relative; height: 150px; background: linear-gradient(140deg, #E3EDF1, #CFE2EA) center / cover no-repeat; }
.location .map .ctl { position: absolute; display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; border-radius: 8px; background: #fff; color: var(--hs-navy); box-shadow: 0 1px 3px rgba(0,36,56,.2); }
.location .map .btn-fullscreen { top: 8px; right: 8px; }
.location .map .btn-pluss { bottom: 48px; right: 8px; }
.location .map .btn-minus { bottom: 8px; right: 8px; }
.location .addr { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px; }
.location .addr .street { font-size: 14px; font-weight: 600; color: var(--hs-navy); line-height: 1.3; }
.location .addr .zip { font-size: 12px; color: var(--hs-muted); line-height: 1.4; }
.location .addr .btn-soft { flex: none; }
.location .directions { display: flex; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--hs-border); font-size: 13px; line-height: 1.45; }
.location .directions .ic { color: var(--hs-navy); flex: none; margin-top: 2px; }
.location .directions .label { display: block; font-size: 12px; font-weight: 600; color: var(--hs-muted); }
.location .more { margin-top: 12px; }
@media (min-width: 768px) { .location .map { height: 220px; } }
@media (min-width: 1200px) { .location .map { height: 340px; } }

/* ---------- Flere tilbydere ---------- */
.provider-row { display: flex; align-items: center; gap: 12px; padding: 14px; color: inherit; }
.provider-row:hover { text-decoration: none; background: var(--hs-soft); }
.provider-row .logo-box { width: 84px; height: 42px; }
.provider-row .info { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.provider-row .name { font-size: 14px; font-weight: 700; color: var(--hs-navy); line-height: 1.3; }
.provider-row .addr { font-size: 12px; color: var(--hs-muted); line-height: 1.4; }
.provider-row .chev { color: var(--hs-border-strong); }
.providers .btn-more, .see-also .btn-more { margin-top: 12px; }
.see-also .list-row .grow { display: flex; flex-direction: column; gap: 2px; }

/* ---------- Oppdatert ---------- */
.updated { display: inline-flex; align-items: center; gap: 6px; padding: 0 var(--hs-gutter) 22px; font-size: 12px; font-weight: 500; color: var(--hs-muted); }
@media (min-width: 768px) { .updated { padding: 0; } }

/* ---------- Vurderinger (kopiert mønster fra klinikk.css) ---------- */
.review { display: flex; flex-direction: column; gap: 11px; padding: 15px; }
.review .top { display: flex; align-items: center; gap: 11px; }
.review .top .info { display: flex; flex-direction: column; gap: 4px; }
.review .text { font-size: 15px; line-height: 1.55; color: var(--hs-text); }
.reviews .btn-more { margin-top: 10px; }
.review-summary { display: flex; align-items: center; gap: 14px; padding: 14px; }
.review-summary .big { font-size: 32px; font-weight: 700; color: var(--hs-navy); line-height: 1; }
.review-summary .bars { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.review-summary .bar { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--hs-muted); }
.review-summary .bar i { flex: 1; height: 6px; border-radius: 999px; background: var(--hs-border); overflow: hidden; }
.review-summary .bar i b { display: block; height: 100%; background: var(--hs-star); }
.reviews-page .filter-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 14px 0; }
.reviews-page .summary { font-size: 13px; color: var(--hs-muted); margin-bottom: 10px; }
.empty-reviews { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 26px 20px; text-align: center; border-radius: 14px; background: var(--hs-soft); margin-bottom: 14px; }
.empty-reviews .ring { display: inline-flex; width: 60px; height: 60px; align-items: center; justify-content: center; border-radius: 999px; background: #fff; color: var(--hs-navy); }
.empty-reviews .title { font-size: 21px; font-weight: 700; color: var(--hs-navy); }
.empty-reviews p { font-size: 14px; color: var(--hs-muted); line-height: 1.5; max-width: 420px; }

.hs2-rating { margin-bottom: 14px; }
.rating-widget { display: flex; flex-direction: column; gap: 8px; padding: 14px; }
.rating-widget h3 { font-size: 14px; font-weight: 700; color: var(--hs-navy); }
.rating-widget br { display: none; }
.rating-widget .bar { display: flex; gap: 4px; }
.rating-widget .star { width: 30px; height: 30px; cursor: pointer; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23C3D2D8'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E") center / 26px no-repeat; }
.rating-widget .star.hovered, .rating-widget .star.selected { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23F0A500'%3E%3Cpath d='M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01z'/%3E%3C/svg%3E"); }
.rating-form { padding: 14px; border-top: 1px solid var(--hs-border); }
.rating-form.hidden { display: none; }
.rating-form .schema { display: flex; flex-direction: column; gap: 6px; }
.rating-form .label { font-size: 13px; font-weight: 600; color: var(--hs-navy); margin-top: 8px; }
.rating-form .label i { font-style: italic; }
.rating-form select, .rating-form textarea, .rating-form input[type=text] { width: 100%; padding: 11px 13px; border: 1px solid var(--hs-border-strong); border-radius: 10px; font: inherit; font-size: 15px; background: #fff; }
.rating-form textarea { min-height: 110px; resize: vertical; }
.rating-form .mark { font-size: 12px; color: var(--hs-muted); }
.rating-form .error { font-size: 12px; font-weight: 600; color: var(--hs-danger); }
.rating-form .error.hidden { display: none; }
.rating-form .confirm .table { display: flex; align-items: center; gap: 10px; margin-top: 8px; font-size: 13px; }
.rating-form .confirm .col1 { display: inline-flex; flex: none; width: 20px; height: 20px; border: 1px solid var(--hs-border-strong); border-radius: 5px; background: #fff; }
.rating-form .confirm .col1.checked { background: var(--hs-navy) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat; border-color: var(--hs-navy); }
.rating-form .buttons { display: flex; align-items: center; gap: 14px; margin-top: 12px; }
.rating-form .buttons.hidden { display: none; }
.rating-form .buttons .send { display: inline-flex; align-items: center; justify-content: center; min-height: 43px; padding: 12px 20px; border-radius: 11px; background: var(--hs-navy); color: #fff; font-weight: 600; font-size: 14px; }
.rating-form .buttons .cancel { font-size: 14px; font-weight: 600; color: var(--hs-blue); }
.rating-form .spinner { display: flex; justify-content: center; padding: 8px; }
.rating-form .spinner.hidden { display: none; }
.rating-form .success { display: flex; flex-direction: column; gap: 4px; padding: 14px; border-radius: 11px; background: var(--hs-wait-now-bg); color: var(--hs-success); }
.rating-form .success.hidden { display: none; }
.reviews-disabled-card { display: flex; gap: 12px; padding: 14px; }
.reviews-disabled-card .rd-icon { font-size: 24px; line-height: 1.2; }
.reviews-disabled-card h3 { font-size: 14px; font-weight: 700; color: var(--hs-navy); margin-bottom: 4px; }
.reviews-disabled-card p { font-size: 13px; color: var(--hs-muted); line-height: 1.5; }

/* ---------- «I mellomtiden»-lenkekort (46) ---------- */
.link-card { display: flex; align-items: center; gap: 11px; padding: 14px; border: 1px solid var(--hs-border); border-radius: 12px; background: #fff; color: inherit; }
.link-card:hover { text-decoration: none; background: var(--hs-soft); }
.link-card .ico { display: inline-flex; flex: none; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 9px; background: var(--hs-soft); color: var(--hs-navy); }
.link-card .text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.link-card .t { font-size: 14px; font-weight: 600; color: var(--hs-navy); line-height: 1.3; }
.link-card .s { font-size: 12px; color: var(--hs-muted); line-height: 1.4; }
.link-card .chev { color: var(--hs-border-strong); }
