/* MobilPartners gemensamma butiks- och tjänstemallar. */
:root {
  --mpf-ink: #172c40;
  --mpf-brand: #174d60;
  --mpf-teal: #0a6269;
  --mpf-muted: #455c6b;
  --mpf-line: #d9e2e8;
  --mpf-wash: #f3f6f8;
  --mpf-radius: 22px;
  --mpf-width: 1240px;
}
body:is(.mp-home3,.mp-redesign,.wp-theme-mobilpartner-live) {
  background-color: var(--mpf-wash);
  font-family: "MP Jakarta", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--mpf-ink);
}
body main :is(h1,h2,h3) {
  text-wrap: pretty;
  overflow-wrap: break-word;
}
html body main :is(h1,h2):not(.screen-reader-text) {
  letter-spacing: -.042em;
}
html body main :is(h1,h2,h3) + p { margin-block-start: .65em; }
html body :is(main,header,footer) :is(a,button,input,select,summary):focus-visible {
  outline: 3px solid #087b91 !important;
  outline-offset: 3px;
}
html body .mpf-brand {
  display:inline-flex; align-items:center; flex:none; gap:7px; white-space:nowrap;
  color:#172b3c !important; font:750 clamp(18px,2vw,23px)/1 system-ui,sans-serif;
  letter-spacing:-.075em; text-decoration:none !important;
}
.mpf-monogram {
  border-radius:9px; display:grid; grid-auto-flow:column; align-items:center;
  justify-content:center; width:1.57em; height:1.57em; color:#fff;
  background:#152f34; font-size:.92em; letter-spacing:-.09em;
}
.mpf-monogram span,.mpf-dot {color:#188991}
html body #header.mp-apple-header,html body #header.mp-apple-header .mp-nav-bar {
  background:#f6f8fa !important; border-bottom:0 !important; box-shadow:none !important;
}
html body.mp-home3 .home3-page-title h1 {font-size:clamp(1.12rem,1.75vw,1.7rem) !important;line-height:1.2}
html body .mpf-paths {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:clamp(10px,1.5vw,20px);
  margin:clamp(18px,3.5vw,48px) auto; padding-block:0;
}
html body .mpf-paths a {
  display:grid; align-content:start; position:relative; gap:8px; padding:clamp(18px,2vw,30px);
  min-width:0; border:1px solid var(--mpf-line); border-radius:var(--mpf-radius);
  background:white; color:var(--mpf-ink); text-decoration:none;
}
html body .mpf-paths strong {font-size:clamp(1rem,1.35vw,1.3rem);letter-spacing:-.035em;line-height:1.22;padding-right:16px}
html body .mpf-paths span {font-size:.95rem;line-height:1.5;color:var(--mpf-muted)}
html body .mpf-paths i {position:absolute;right:14px;top:16px;font:600 1.1rem/1 system-ui;color:var(--mpf-teal)}
html body .mpf-paths a:hover,html body .mpf-match:hover {border-color:#88afb4;background:#f8fcfc}
html body #main .mpf-hero {
  display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,.85fr);align-items:stretch;
  overflow:hidden;background:#e9f1f2;border-radius:var(--mpf-radius);margin:0 auto clamp(24px,3vw,44px);
}
html body #main .mpf-hero-copy {
  padding:clamp(22px,4vw,64px);display:flex; flex-direction:column; justify-content:center; align-items:flex-start;
}
html body #main .mpf-hero h1,html body #main .mp-complete-page-heading h1 {
  color:var(--mpf-ink); font-size:clamp(2rem,4.3vw,4rem) !important; line-height:1.05 !important;
  margin:0 0 .28em !important;letter-spacing:-.052em !important;
}
html body #main :is(.mpf-hero-copy,.mp-complete-page-heading) p {max-width:66ch}
html body #main .mpf-hero .mp-complete-eyebrow {display:none}
html body #main .mpf-hero .mp-complete-intro {font-size:clamp(1rem,1.5vw,1.18rem);line-height:1.55;margin:0!important;color:var(--mpf-muted)}
html body #main .mpf-hero-img {width:100%;height:clamp(200px,22vw,315px);align-self:center;display:block;object-fit:contain;padding:14px}
html body #main .mpf-hero-img.mpf-photo {align-self:stretch;height:100%;max-height:360px;min-height:200px;object-fit:cover;object-position:center 36%;padding:0}
html body #main .mp-complete-page-heading:not(.mp-results-header) {
  padding:clamp(20px,3.6vw,52px) !important;
  border-radius:var(--mpf-radius); background:#e9f1f2 !important;margin-block-end:clamp(14px,2vw,30px);
}
html body #main :is(.mp-complete-card,.mp-complete-panel,.mp-bb-card,.mp-package-group,.mp3-card,.category-card,.review-card,.guide,.launch-product,.bd-store-guide-section,.mp-article-body) {
  border-radius:var(--mpf-radius) !important;
}
html body #main :is(.mp-complete-card,.mp-complete-panel,.mp-bb-card,.mp3-card,.launch-product,.mp-package-group) {
  border:1px solid var(--mpf-line) !important; background-color:white !important; box-shadow:none !important;
}
html body #main #mp-package-comparison {
  margin-inline:auto !important;max-width:100% !important;width:100% !important;
  border-radius:var(--mpf-radius);background:#edf2f5;
}
html body #main .mp-package-offer {color:var(--mpf-brand)}
html body #main :is(a,button):is(.mp-complete-primary,.mp3-primary,.single_add_to_cart_button) {
  border-radius:999px !important; background-color:var(--mpf-brand) !important;color:white !important;
}
html body #main :is(a,button):is(.mp-complete-primary,.mp3-primary,.single_add_to_cart_button):hover {background-color:#103e4e !important}
html body #main :is(.mp-bulldog-card,.mp-bb-card) :is(.mp-result-image img,.mp-bb-image img) {object-fit:contain}
html body #main .mp-complete-description {max-width:var(--mpf-width);margin-inline:auto}
html body #main .mp-complete-description p {line-height:1.65}
html body #main .mpf-match-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(235px,100%),1fr));gap:18px}
html body #main .mpf-match {background:white;border:1px solid var(--mpf-line);border-radius:var(--mpf-radius);overflow:hidden;text-align:center}
html body #main .mpf-match a {display:block;padding:16px;color:var(--mpf-ink);text-decoration:none}
html body #main .mpf-match img {width:100%;height:clamp(150px,18vw,245px);object-fit:contain}
html body #main .mpf-match h3 {font-size:1.12rem;margin:.85em 0 .3em}
html body .mpf-archive-nav {
  display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px;
  width:min(calc(100% - 32px),var(--mpf-width));margin:auto;padding:22px 0;
}
.mpf-archive-nav nav {display:flex;flex-wrap:wrap;gap:10px 22px}
.mpf-archive-nav nav a {text-decoration:none;font:600 .92rem/1.5 system-ui,sans-serif;color:var(--mpf-brand)}
.mpf-archive-nav a:hover {text-decoration:underline}
.mpf-archive-footer {margin-block-start:40px;border-top:1px solid var(--mpf-line)}
body:is(.woocommerce-shop,.tax-product_cat,.tax-product_tag,.tax-product_brand) #page {width:100%;max-width:none;background:var(--mpf-wash);margin:0;border:0}
body:is(.woocommerce-shop,.tax-product_cat,.tax-product_tag,.tax-product_brand) #primary {
  float:none;width:min(calc(100% - 32px),var(--mpf-width));margin:20px auto 0;
}
html body.woocommerce.archive #main ul.products {display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(10px,2vw,24px);padding:0;margin:20px 0}
html body.woocommerce.archive #main ul.products::before,html body.woocommerce.archive #main ul.products::after {display:none}
html body.woocommerce.archive #main ul.products li.product {
  display:flex;flex-direction:column;align-items:center;float:none;width:100%;margin:0;
  border:1px solid var(--mpf-line);border-radius:var(--mpf-radius);background:white;padding:clamp(12px,2vw,22px);
  text-align:center;box-sizing:border-box;
}
html body.woocommerce.archive #main ul.products li.product img {width:100%;aspect-ratio:1/1;object-fit:contain}
html body.woocommerce.archive #main ul.products li.product a {color:var(--mpf-ink);text-decoration:none}
html body.woocommerce.archive #main ul.products li.product .button {margin-top:auto;background:var(--mpf-brand);border-radius:999px;color:#fff;font-size:.9rem}
html body.woocommerce.archive #main ul.products li.product .price {margin:.5em 0 1em;color:var(--mpf-teal);font-weight:700}
html body.woocommerce.archive #main .page-title {font:700 clamp(2.1rem,4.7vw,4rem)/1.08 system-ui,sans-serif;letter-spacing:-.055em}
@media (max-width:800px) {
  html body .mpf-paths {grid-template-columns:repeat(2,minmax(0,1fr))}
  html body.woocommerce.archive #main ul.products {grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media (max-width:620px) {
  html body #main .mpf-hero {grid-template-columns:minmax(0,1fr)}
  html body #main .mpf-hero-img,html body #main .mpf-hero-img.mpf-photo {height:145px;min-height:0;object-position:center 40%}
  html body .mpf-paths a {padding:16px}
  html body .mpf-paths strong {padding-right:8px}
  html body .mpf-paths i {right:8px;top:10px;font-size:.85rem}
  html body .mpf-paths span {font-size:.88rem}
}
html body #main .mpf-guide-nav {
  display:flex;flex-wrap:wrap;gap:6px 12px;align-items:center;
  width:min(100%,var(--mpf-width));margin:0 auto 16px;
  color:var(--mpf-muted);font-size:.88rem;
}
html body #main .mpf-guide-nav a {color:var(--mpf-brand);text-decoration:underline;text-underline-offset:3px}
html body #main .mpf-native {max-width:var(--mpf-width);margin:auto}
html body #main .mpf-detail {
  display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);gap:clamp(18px,4vw,64px);
  align-items:start;border-radius:var(--mpf-radius);background:white;padding:clamp(18px,3vw,46px)
}
html body #main .mpf-detail h1 {font-size:clamp(2rem,3.7vw,3.5rem);line-height:1.08;margin:0 0 .5em}
html body #main .mpf-detail .mp-complete-primary {display:inline-flex;padding:.8em 1.5em;color:#fff;text-decoration:none;font-weight:650}
html body #main .mpf-price {font-size:1.4rem;color:var(--mpf-brand);font-weight:700}
html body #main .mpf-price small {font-size:.83rem;font-weight:500}
.mpf-gallery {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.mpf-gallery a:first-child {grid-column:1/-1}
.mpf-gallery img {display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;border-radius:12px}
.mpf-native .mp-complete-description,.mpf-native .mpf-matches {padding:clamp(18px,3vw,44px);background:white;border-radius:var(--mpf-radius);margin:24px 0}
@media(max-width:650px) {html body #main .mpf-detail {grid-template-columns:1fr}.mpf-gallery a:first-child img{max-height:285px}}
html body #main .mpf-editorial-image {width:min(100%,var(--mpf-width));margin:0 auto clamp(20px,3vw,38px);overflow:hidden;border-radius:var(--mpf-radius);background:#e8eff2}
html body #main .mpf-editorial-image img {display:block;width:100%;height:clamp(172px,24vw,340px);object-fit:contain}
html body #main .mpf-editorial-photo img {object-fit:cover;object-position:50% 38%}
html body #main:has(> .mpf-editorial-image) h1 {text-align:center;text-wrap:balance;margin-inline:auto}
