/* SmartSpa – designsystem */
:root {
  --ink: #161616;
  --ink-2: #161616;
  --fjord: #4a3c33;
  --aqua: #4a3c33;
  --aqua-soft: #efe9e3;
  --sand: #f5f3ef;
  --paper: #f5f3ef;
  --white: #ffffff;
  --wood: #8a6a4f;
  --line: #e5e1da;
  --muted: #6b6660;
  --sale: #d0142c;
  --red: #161616;
  --copper: #4a3c33;
  --ok: #2f7d5b;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 30px rgba(0,0,0,.06);
  --shadow-lg: 0 20px 50px rgba(0,0,0,.16);
  --serif: "Outfit", "Helvetica Neue", Arial, sans-serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1320px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--sans); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px; border-radius: 6px; }

h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.1; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(56px, 8vw, 110px); }
.section--tight { padding-block: clamp(36px, 5vw, 64px); }
.section--sand { background: var(--sand); }
.section--ink { background: var(--ink); color: var(--paper); }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--fjord); margin-bottom: 14px; display: inline-block; }
.section--ink .eyebrow { color: var(--aqua); }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 60ch; }
.section--ink .lead { color: #b9c7cb; }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 16px 32px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.muted { color: var(--muted); }
.small { font-size: .88rem; }

/* Knappar */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 24px; border-radius: 999px; border: 1.5px solid transparent; font-weight: 700; font-size: .98rem; text-decoration: none; transition: transform .15s ease, background .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--fjord); }
.btn--aqua { background: var(--aqua); color: var(--ink); }
.btn--aqua:hover { background: #8fd3d6; }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: rgba(127,127,127,.1); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--block { width: 100%; }
.btn--sm { padding: 9px 16px; font-size: .88rem; }
.btn[disabled] { opacity: .45; pointer-events: none; }
.link { font-weight: 700; text-decoration: none; border-bottom: 1.5px solid currentColor; padding-bottom: 2px; }

/* Toppstripe + header */
.topbar { background: var(--ink); color: #d6e2e4; font-size: .82rem; }
.topbar .wrap { display: flex; justify-content: center; gap: 28px; padding-block: 8px; flex-wrap: wrap; }
.topbar span { display: inline-flex; gap: 8px; align-items: center; }
.topbar b { color: var(--aqua); font-weight: 700; }
@media (max-width: 720px) { .topbar span:nth-child(n+2) { display: none; } }
.topbar .tb-t { font-style: normal; }

.header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(250,248,244,.92); backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: var(--header-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-size: 1.55rem; font-weight: 600; letter-spacing: -.02em; }
.logo svg { width: 34px; height: 34px; }
.logo em { font-style: normal; color: var(--fjord); }
.nav { display: flex; gap: 4px; margin-left: 16px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; padding: 10px 14px; border-radius: 999px; }
.nav a:hover, .nav a[aria-current="page"] { background: var(--sand); }
.nav .nav-3d { background: var(--aqua-soft); color: var(--fjord); }
.header-actions { margin-left: auto; display: flex; gap: 6px; align-items: center; }
.icon-btn { width: 44px; height: 44px; border-radius: 999px; border: 0; background: transparent; display: inline-grid; place-items: center; position: relative; text-decoration: none; }
.icon-btn:hover { background: var(--sand); }
.icon-btn svg { width: 22px; height: 22px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 99px; background: var(--fjord); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.menu-btn { display: none; }
@media (max-width: 980px) {
  .nav { display: none; }
  .menu-btn { display: inline-grid; }
  .header-phone { display: none; }
}
.header-phone { font-weight: 700; text-decoration: none; font-size: .92rem; margin-right: 8px; }

/* Mobilmeny */
.drawer { position: fixed; inset: 0; z-index: 90; display: flex; }
.drawer__backdrop { position: absolute; inset: 0; background: rgba(14,27,33,.45); animation: fade .2s ease; }
.drawer__panel { position: relative; margin-left: auto; width: min(440px, 100%); height: 100%; background: var(--paper); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: slide .28s cubic-bezier(.2,.8,.2,1); padding-top: env(safe-area-inset-top, 0px); padding-bottom: env(safe-area-inset-bottom, 0px); }
.drawer--left .drawer__panel { margin-left: 0; margin-right: auto; animation-name: slideL; }
.drawer__head { display: flex; align-items: center; justify-content: space-between; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.drawer__body { flex: 1; overflow-y: auto; padding: 18px 22px; }
.drawer__foot { border-top: 1px solid var(--line); padding: 18px 22px; background: var(--white); }
@keyframes fade { from { opacity: 0; } }
@keyframes slide { from { transform: translateX(100%); } }
@keyframes slideL { from { transform: translateX(-100%); } }
.mnav a { display: flex; justify-content: space-between; padding: 16px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font-size: 1.15rem; font-weight: 600; }

/* Handlekorg */
.cart-line { display: grid; grid-template-columns: 76px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.cart-line img { width: 76px; height: 76px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.cart-line h4 { margin: 0 0 2px; font-size: .95rem; }
.cart-line .meta { font-size: .8rem; color: var(--muted); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 99px; margin-top: 8px; background: var(--white); }
.qty button { width: 30px; height: 30px; border: 0; background: none; font-size: 1.05rem; }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: .9rem; }
.cart-total { display: flex; justify-content: space-between; font-weight: 800; font-size: 1.15rem; margin-bottom: 6px; }
.cart-empty { text-align: center; padding: 50px 10px; color: var(--muted); }
.remove { border: 0; background: none; color: var(--muted); font-size: .8rem; text-decoration: underline; padding: 0; }

/* Søk */
.search-overlay { position: fixed; inset: 0; z-index: 95; background: rgba(14,27,33,.5); display: flex; justify-content: center; align-items: flex-start; padding: calc(env(safe-area-inset-top, 0px) + 8vh) 16px 16px; animation: fade .15s; }
.search-box { width: min(720px, 100%); background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.search-box input { width: 100%; border: 0; padding: 22px 24px; font-size: 1.2rem; background: transparent; outline: none; border-bottom: 1px solid var(--line); }
.search-results { max-height: 60vh; overflow-y: auto; padding: 8px; }
.search-hit { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 10px; border-radius: 12px; text-decoration: none; }
.search-hit:hover, .search-hit.active { background: var(--sand); }
.search-hit img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; background: var(--sand); }
.search-hit b { display: block; font-size: .95rem; }
.search-hit small { color: var(--muted); }

/* Hero */
.hero { position: relative; background: radial-gradient(120% 90% at 70% 30%, #24515c 0%, #10242b 55%, #0a171c 100%); color: var(--paper); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.02fr 1fr; gap: 20px; align-items: center; min-height: min(760px, calc(100svh - 110px)); padding-block: 48px; }
.hero h1 em { font-style: italic; color: var(--aqua); }
.hero .lead { color: #c3d3d6; font-size: 1.2rem; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
.hero-stage { position: relative; aspect-ratio: 1 / 1; width: 100%; max-height: 680px; }
.hero-stage canvas, .builder-band .stage canvas { cursor: grab; -webkit-mask-image: radial-gradient(ellipse 72% 68% at 50% 55%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 72% 68% at 50% 55%, #000 62%, transparent 100%); }
.hero .eyebrow { color: var(--aqua); }
.hero-stage .hint { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); font-size: .8rem; color: #a8bcc0; background: rgba(0,0,0,.25); padding: 6px 14px; border-radius: 99px; pointer-events: none; white-space: nowrap; }
.hero-facts { display: flex; gap: 28px; margin-top: 40px; flex-wrap: wrap; }
.hero-facts div b { display: block; font-family: var(--serif); font-size: 1.9rem; font-weight: 500; color: var(--white); }
.hero-facts div span { font-size: .85rem; color: #a8bcc0; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-stage { aspect-ratio: 4 / 3; order: -1; }
}

/* USP-rad */
.usps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.usp { display: flex; gap: 14px; align-items: flex-start; }
.usp svg { flex: none; width: 36px; height: 36px; color: var(--fjord); }
.usp b { display: block; }
.usp span { font-size: .9rem; color: var(--muted); }
@media (max-width: 900px) { .usps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .usps { grid-template-columns: 1fr; } }

/* Kategoriar */
.cats { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.cat { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--sand); text-decoration: none; aspect-ratio: 3 / 4; display: flex; align-items: flex-end; isolation: isolate; }
.cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s ease; }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,23,28,.78), rgba(10,23,28,0) 55%); }
.cat:hover img { transform: scale(1.05); }
.cat span { color: #fff; padding: 16px; font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.cat small { display: block; font-weight: 500; font-size: .8rem; opacity: .8; }
@media (max-width: 1000px) { .cats { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .cats { grid-template-columns: repeat(2, 1fr); } }

/* Produktkort */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr)); gap: 22px; }
.card { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); transition: box-shadow .25s, transform .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.card__img { position: relative; aspect-ratio: 1 / 1; background: #f1eee8; overflow: hidden; }
.card__img img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s, transform .6s; }
.card__img img + img { position: absolute; inset: 0; opacity: 0; }
.card:hover .card__img img + img { opacity: 1; }
.card__badges { position: absolute; top: 12px; left: 12px; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; z-index: 2; }
.badge { font-size: .72rem; font-weight: 800; letter-spacing: .02em; padding: 5px 10px; border-radius: 99px; background: var(--white); color: var(--ink); }
.badge--sale { background: var(--sale); color: #fff; }
.badge--pp { background: var(--aqua); color: var(--ink); }
.badge--dark { background: var(--ink); color: #fff; }
.card__body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card__brand { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.card__title { font-family: var(--serif); font-size: 1.3rem; font-weight: 500; margin: 0; line-height: 1.15; }
.card__title a { text-decoration: none; }
.card__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.card__specs { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .84rem; color: var(--muted); }
.card__specs span { display: inline-flex; align-items: center; gap: 5px; }
.card__specs svg { width: 15px; height: 15px; }
.card__foot { margin-top: auto; display: flex; align-items: end; justify-content: space-between; gap: 10px; padding-top: 6px; }
.price { font-weight: 800; font-size: 1.15rem; }
.price s { font-weight: 500; color: var(--muted); font-size: .88rem; margin-left: 6px; }
.price--sale { color: var(--sale); }
.card__cmp { position: relative; z-index: 2; font-size: .78rem; display: inline-flex; gap: 6px; align-items: center; color: var(--muted); cursor: pointer; user-select: none; }
.card__cmp input { accent-color: var(--fjord); width: 16px; height: 16px; }
.card--acc .card__img { aspect-ratio: 1 / 1; background: var(--white); }
.card--acc .card__img img { object-fit: contain; padding: 14px; }
.card--acc .card__title { font-family: var(--sans); font-size: 1rem; font-weight: 700; }
.add-quick { position: relative; z-index: 2; }

/* Finn-ditt-spa */
.finder { background: var(--white); border-radius: var(--radius-lg); padding: clamp(22px, 4vw, 44px); box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1.4fr; gap: 40px; }
.finder-q { margin-bottom: 22px; }
.finder-q > b { display: block; margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: var(--white); border-radius: 99px; padding: 8px 16px; font-weight: 600; font-size: .9rem; transition: all .15s; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.finder-result { border-left: 1px solid var(--line); padding-left: 40px; }
.finder-result .mini { display: grid; grid-template-columns: 84px 1fr auto; gap: 14px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.finder-result .mini img { width: 84px; height: 84px; border-radius: 12px; object-fit: cover; }
.finder-result .mini b { font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
@media (max-width: 860px) { .finder { grid-template-columns: 1fr; } .finder-result { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 24px; } }

/* Split / feature */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 80px); align-items: center; }
.split img { border-radius: var(--radius-lg); width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 10px; }
.checklist li { display: flex; gap: 12px; }
.checklist li::before { content: ""; flex: none; width: 22px; height: 22px; border-radius: 99px; background: var(--aqua) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230e1b21' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center / 13px no-repeat; margin-top: 2px; }

.builder-band { position: relative; border-radius: var(--radius-lg); overflow: hidden; background: linear-gradient(115deg, #10242b 0%, #1f4a55 100%); color: #fff; display: grid; grid-template-columns: 1fr 1fr; align-items: center; }
.builder-band .txt { padding: clamp(28px, 5vw, 64px); }
.builder-band .stage { height: 100%; min-height: 360px; position: relative; }
@media (max-width: 860px) { .builder-band { grid-template-columns: 1fr; } .builder-band .stage { min-height: 300px; } }
.steps-inline { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0 26px; }
.steps-inline span { font-size: .85rem; padding: 6px 12px; border-radius: 99px; background: rgba(255,255,255,.1); }

/* Merke-seksjon */
.brands { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.brand-card { position: relative; border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; display: flex; align-items: flex-end; color: #fff; text-decoration: none; isolation: isolate; }
.brand-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s; }
.brand-card:hover img { transform: scale(1.04); }
.brand-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(10,23,28,.85), rgba(10,23,28,.05) 60%); }
.brand-card div { padding: 32px; }
.brand-card h3 { font-size: 2rem; margin-bottom: 8px; }
@media (max-width: 760px) { .brands { grid-template-columns: 1fr; } .brand-card { min-height: 320px; } }

/* FAQ */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 40px 22px 0; font-weight: 700; font-size: 1.08rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font-size: 1.6rem; font-weight: 400; transition: transform .2s; }
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details > div { padding-bottom: 22px; color: var(--muted); max-width: 70ch; }

/* Footer */
.footer { background: var(--ink); color: #b8c6ca; padding-block: 64px 32px; font-size: .92rem; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: #fff; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 16px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .logo { color: #fff; margin-bottom: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 48px; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: .82rem; }
.pay { display: flex; gap: 8px; flex-wrap: wrap; }
.pay span { border: 1px solid rgba(255,255,255,.2); border-radius: 6px; padding: 3px 9px; font-size: .75rem; font-weight: 700; color: #dfe8ea; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

/* Side-hovud (undersider) */
.page-head { padding-block: clamp(36px, 6vw, 72px) clamp(20px, 3vw, 36px); }
.crumbs { font-size: .84rem; color: var(--muted); margin-bottom: 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }

/* Listeside */
.shop { display: grid; grid-template-columns: 270px 1fr; gap: 36px; align-items: start; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 26px; }
.filters h4 { margin: 0 0 10px; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.filters .chips .chip { padding: 7px 13px; font-size: .86rem; }
.check { display: flex; gap: 10px; align-items: center; padding: 5px 0; cursor: pointer; font-weight: 500; }
.check input { width: 18px; height: 18px; accent-color: var(--fjord); }
.check .n { margin-left: auto; color: var(--muted); font-size: .82rem; }
.range { width: 100%; accent-color: var(--fjord); }
.toolbar { display: flex; gap: 12px; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; }
.select { border: 1.5px solid var(--line); border-radius: 99px; padding: 9px 14px; background: var(--white); font-weight: 600; font-size: .9rem; }
.filter-toggle { display: none; }
@media (max-width: 960px) {
  .shop { grid-template-columns: 1fr; }
  .filters { position: static; display: none; background: var(--white); padding: 20px; border-radius: var(--radius); border: 1px solid var(--line); }
  .filters.open { display: grid; }
  .filter-toggle { display: inline-flex; }
}
.empty { padding: 60px 20px; text-align: center; color: var(--muted); background: var(--white); border-radius: var(--radius); border: 1px dashed var(--line); }

/* Samanlikning */
.cmp-bar { position: fixed; left: 50%; bottom: calc(16px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); z-index: 60; background: var(--ink); color: #fff; border-radius: 99px; padding: 8px 8px 8px 22px; display: flex; gap: 16px; align-items: center; box-shadow: var(--shadow-lg); font-weight: 600; max-width: calc(100% - 32px); }
.modal { position: fixed; inset: 0; z-index: 96; display: grid; place-items: center; padding: 16px; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(14,27,33,.55); }
.modal__box { position: relative; background: var(--paper); border-radius: var(--radius-lg); width: min(1000px, 100%); max-height: 88vh; overflow: auto; padding: 28px; box-shadow: var(--shadow-lg); }
.modal__close { position: absolute; top: 14px; right: 14px; }
.table-wrap { overflow-x: auto; }
.cmp-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.cmp-table th, .cmp-table td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .92rem; }
.cmp-table thead th { vertical-align: bottom; }
.cmp-table thead img { width: 120px; aspect-ratio: 1; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.cmp-table tbody th { color: var(--muted); font-weight: 600; width: 160px; }

/* Produktside */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.pdp > *, .shop > *, .split > *, .builder > * { min-width: 0; }
.gallery { position: sticky; top: calc(var(--header-h) + 16px); }
.gallery__tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.gallery__tabs button { border: 1.5px solid var(--line); background: var(--white); border-radius: 99px; padding: 8px 16px; font-weight: 700; font-size: .88rem; }
.gallery__tabs button[aria-selected="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery__main { position: relative; aspect-ratio: 1 / 1; border-radius: var(--radius-lg); overflow: hidden; background: #efebe4; }
.gallery__main > img { width: 100%; height: 100%; object-fit: cover; }
.gallery__3d { position: absolute; inset: 0; background: linear-gradient(180deg, #e9eef0 0%, #f6f3ee 100%); }
.gallery__thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; padding-bottom: 4px; }
.gallery__thumbs button { flex: none; width: 76px; height: 76px; border-radius: 10px; overflow: hidden; border: 2px solid transparent; padding: 0; background: var(--sand); }
.gallery__thumbs button[aria-current="true"] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 10px; }
.pdp-price { display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap; margin: 14px 0 6px; }
.pdp-price .now { font-size: 2rem; font-weight: 800; }
.pdp-price .was { color: var(--muted); text-decoration: line-through; }
.save { background: var(--sale); color: #fff; font-weight: 800; font-size: .8rem; padding: 4px 10px; border-radius: 99px; }
.keyspecs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 24px 0; }
.keyspec { background: var(--white); border: 1px solid var(--line); border-radius: 12px; padding: 12px; text-align: center; }
.keyspec svg { width: 22px; height: 22px; color: var(--fjord); margin: 0 auto 4px; }
.keyspec b { display: block; font-size: 1.05rem; }
.keyspec span { font-size: .75rem; color: var(--muted); }
@media (max-width: 480px) { .keyspecs { grid-template-columns: repeat(2, 1fr); } }
.opt { margin: 20px 0; }
.opt > b { display: block; margin-bottom: 10px; }
.opt .chips .chip { display: inline-flex; gap: 8px; align-items: center; }
.dot { width: 16px; height: 16px; border-radius: 99px; border: 1px solid rgba(0,0,0,.15); display: inline-block; }
.buy { display: flex; gap: 10px; margin: 22px 0 12px; flex-wrap: wrap; }
.buy .btn { flex: 1 1 200px; }
.assure { display: grid; gap: 10px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 20px; font-size: .92rem; }
.assure div { display: flex; gap: 12px; align-items: flex-start; }
.assure svg { flex: none; width: 20px; height: 20px; color: var(--ok); margin-top: 2px; }
.prose { max-width: 72ch; }
.prose p { color: #33434a; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td { text-align: left; padding: 12px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table th { width: 42%; font-weight: 600; color: var(--muted); padding-right: 16px; }
.tabs { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 26px; overflow-x: auto; }
.tabs button { border: 0; background: none; padding: 14px 18px; font-weight: 700; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
@media (max-width: 900px) { .pdp { grid-template-columns: 1fr; } .gallery { position: static; } }
.stock { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ok); }
.stock::before { content: ""; width: 8px; height: 8px; border-radius: 99px; background: currentColor; }

/* 3D-byggar */
.builder { display: grid; grid-template-columns: 1fr 440px; min-height: calc(100svh - var(--header-h)); }
.builder__stage { position: sticky; top: var(--header-h); height: calc(100svh - var(--header-h)); background: linear-gradient(180deg, #dfe8ea 0%, #f3efe8 70%); }
.builder__stage .viewer { position: absolute; inset: 0; }
.stage-ui { position: absolute; left: 20px; right: 20px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; pointer-events: none; flex-wrap: wrap; }
.stage-ui > * { pointer-events: auto; }
.stage-title { background: rgba(255,255,255,.88); backdrop-filter: blur(10px); border-radius: var(--radius); padding: 14px 18px; box-shadow: var(--shadow); }
.stage-title b { font-family: var(--serif); font-size: 1.4rem; font-weight: 500; display: block; }
.stage-title span { font-size: .85rem; color: var(--muted); }
.stage-tools { display: flex; gap: 8px; flex-wrap: wrap; }
.tool { background: rgba(255,255,255,.9); backdrop-filter: blur(10px); border: 0; border-radius: 99px; padding: 10px 16px; font-weight: 700; font-size: .85rem; box-shadow: var(--shadow); display: inline-flex; gap: 8px; align-items: center; }
.tool[aria-pressed="true"] { background: var(--ink); color: #fff; }
.tool svg { width: 18px; height: 18px; }
.led-dots { display: inline-flex; gap: 6px; background: rgba(255,255,255,.9); padding: 8px 10px; border-radius: 99px; box-shadow: var(--shadow); align-items: center; }
.led-dots button { width: 22px; height: 22px; border-radius: 99px; border: 2px solid #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.12); padding: 0; }
.led-dots button[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--ink); }
.builder__panel { background: var(--paper); border-left: 1px solid var(--line); display: flex; flex-direction: column; }
.bsteps { display: flex; gap: 2px; padding: 16px 16px 0; overflow-x: auto; position: sticky; top: var(--header-h); background: var(--paper); z-index: 3; border-bottom: 1px solid var(--line); }
.app .topbar { display: none; }
.bsteps { scrollbar-width: none; }
.bsteps::-webkit-scrollbar { display: none; }
.bsteps button { border: 0; background: none; padding: 10px 6px 14px; font-weight: 700; font-size: .85rem; color: var(--muted); border-bottom: 2px solid transparent; white-space: nowrap; }
.bsteps button[aria-selected="true"] { color: var(--ink); border-color: var(--ink); }
.bsteps button .n { display: inline-grid; place-items: center; width: 20px; height: 20px; border-radius: 99px; background: var(--sand); font-size: .72rem; margin-right: 6px; }
.bsteps button.done .n { background: var(--aqua); }
.bstep { padding: 24px 22px 40px; flex: 1; }
.bstep h2 { font-size: 1.8rem; margin-bottom: 6px; }
.model-list { display: grid; gap: 10px; margin-top: 16px; }
.model { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: center; padding: 10px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); text-align: left; width: 100%; }
.model:hover { border-color: #b9b0a2; }
.model[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.model img { width: 72px; height: 72px; object-fit: cover; border-radius: 10px; }
.model b { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.1rem; }
.model small { color: var(--muted); font-size: .8rem; }
.model .p { font-weight: 800; font-size: .95rem; text-align: right; }
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); gap: 10px; margin-top: 16px; }
.swatch { border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); padding: 10px; text-align: center; font-weight: 600; font-size: .85rem; }
.swatch i { display: block; height: 54px; border-radius: 10px; margin-bottom: 8px; border: 1px solid rgba(0,0,0,.08); }
.swatch[aria-pressed="true"] { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.swatch small { display: block; color: var(--muted); font-weight: 500; font-size: .74rem; }
.addon { display: grid; grid-template-columns: 60px 1fr auto; gap: 14px; align-items: center; padding: 12px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--white); margin-top: 10px; cursor: pointer; }
.addon img { width: 60px; height: 60px; object-fit: contain; border-radius: 8px; background: #fff; }
.addon b { display: block; font-size: .95rem; line-height: 1.3; }
.addon small { color: var(--muted); font-size: .8rem; }
.addon .p { font-weight: 800; font-size: .92rem; text-align: right; }
.addon input { display: none; }
.addon:has(input:checked) { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.addon .tick { width: 22px; height: 22px; border-radius: 6px; border: 1.5px solid var(--line); display: inline-grid; place-items: center; margin-left: auto; margin-top: 6px; }
.addon:has(input:checked) .tick { background: var(--ink); border-color: var(--ink); }
.addon:has(input:checked) .tick::after { content: ""; width: 10px; height: 6px; border: 2px solid #fff; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.bsum { position: sticky; bottom: 0; background: var(--white); border-top: 1px solid var(--line); padding: 16px 22px calc(16px + env(safe-area-inset-bottom, 0px)); z-index: 3; box-shadow: 0 -8px 24px rgba(14,27,33,.06); }
.bsum .row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.bsum .total { font-size: 1.6rem; font-weight: 800; }
.bsum .actions { display: flex; gap: 8px; margin-top: 12px; }
.bsum .actions .btn { flex: 1; }
.summary-list { list-style: none; padding: 0; margin: 16px 0; }
.summary-list li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.summary-list li span:last-child { font-weight: 700; white-space: nowrap; }
@media (max-width: 980px) {
  .builder { grid-template-columns: 1fr; }
  .builder__stage { position: sticky; top: var(--header-h); height: 46svh; z-index: 4; }
  .builder__panel { border-left: 0; }
  .bsteps { top: calc(var(--header-h) + 46svh); }
  .stage-ui { left: 10px; right: 10px; bottom: 10px; }
  .stage-title { padding: 8px 12px; }
  .stage-title b { font-size: 1.05rem; }
  .stage-title span { display: none; }
  .tool span { display: none; }
  .tool { padding: 10px; }
}

/* Skjema */
.form { display: grid; gap: 14px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 560px) { .form .row2 { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 6px; }
.field input, .field textarea, .field select { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; background: var(--white); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--fjord); }
.field textarea { min-height: 120px; resize: vertical; }
.notice { padding: 14px 16px; border-radius: 12px; background: var(--aqua-soft); color: var(--fjord); font-weight: 600; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: var(--ink); color: #fff; padding: 12px 18px 12px 20px; border-radius: 99px; z-index: 99; box-shadow: var(--shadow-lg); display: flex; gap: 14px; align-items: center; font-weight: 600; animation: toast .3s cubic-bezier(.2,.8,.2,1); width: max-content; max-width: calc(100% - 32px); }
.toast a { color: var(--aqua); }
@keyframes toast { from { transform: translate(-50%, 20px); opacity: 0; } }

/* Info-sider */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.info-card svg { width: 30px; height: 30px; color: var(--fjord); margin-bottom: 12px; }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 40px; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

.loading-3d { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); font-size: .9rem; pointer-events: none; }
.dims-label { position: absolute; top: 16px; left: 16px; background: rgba(255,255,255,.88); border-radius: 99px; padding: 6px 14px; font-size: .82rem; font-weight: 700; box-shadow: var(--shadow); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } html { scroll-behavior: auto; } }

/* ===== Butikkstil (etter SmartSpa sitt Shopify-tema) ===== */
h1, h2, h3 { font-family: var(--serif); font-weight: 700; letter-spacing: 0; line-height: 1.2; color: var(--ink-2); }
h1 { font-size: clamp(1.9rem, 3.6vw, 3rem); }
h2 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); }
.section--ink h1, .section--ink h2, .hero h1 { color: #fff; }
.eyebrow { display: none; }
.lead { font-size: 1.05rem; }
.btn { border-radius: 6px; border-width: 2px; font-family: var(--serif); font-weight: 600; letter-spacing: .02em; }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: #b81616; }
.btn--aqua { background: #fff; color: var(--ink-2); }
.btn--aqua:hover { background: #f0f0f0; }
.btn--ghost { border-color: var(--fjord); color: var(--fjord); }
.section--ink .btn--ghost, .hero .btn--ghost, .photo-hero .btn--ghost { border-color: #fff; color: #fff; }
.photo-hero .btn--ghost:hover { background: rgba(255,255,255,.15); }
.btn--blue { background: var(--fjord); color: #fff; }
.btn--blue:hover { background: #0b4371; }
.chip, .select, .gallery__tabs button, .tool, .swatch, .model, .addon { border-radius: 6px; }
.chip[aria-pressed="true"] { background: var(--fjord); border-color: var(--fjord); }
.badge { border-radius: 6px; }
.badge--sale { background: var(--red); }
.badge--pp { background: var(--aqua-soft); color: var(--fjord); }
.topbar { background: var(--fjord); color: #fff; }
.topbar b { color: #fff; }
.header { background: #fff; backdrop-filter: none; }
.logo img { height: 34px; width: auto; }
.nav a:hover, .nav a[aria-current="page"] { background: none; color: var(--fjord); text-decoration: underline; text-underline-offset: 6px; }
.card { border: 0; box-shadow: var(--shadow); text-align: center; }
.card:hover { transform: none; box-shadow: 2px 8px 18px rgba(0,0,0,.12); }
.card__title { font-family: var(--serif); font-size: 1.05rem; font-weight: 600; }
.card__specs, .card__foot { justify-content: center; }
.card__foot { flex-direction: column; align-items: center; }
.card__brand { letter-spacing: .06em; }
.price { font-family: var(--serif); font-weight: 600; }
.price--sale { color: var(--red); }
.section--sand { background: #f3f3f3; }
.section--ink { background: var(--ink-2); }
.footer { background: var(--ink-2); }
.footer .logo img { filter: brightness(0) invert(1); }
.faq summary { font-family: var(--serif); font-weight: 600; font-size: 1rem; }
.pdp-price .now { font-family: var(--serif); }
.stage-title b, .model b { font-family: var(--serif); font-weight: 600; }

/* Hero med foto */
.photo-hero { position: relative; min-height: min(640px, 78svh); display: grid; place-items: center; text-align: center; color: #fff; overflow: hidden; }
.photo-hero picture, .photo-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo-hero::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,.28); }
.photo-hero .txt { position: relative; z-index: 1; padding: 40px var(--gutter); max-width: 760px; }
.photo-hero h1 { color: #fff; font-size: clamp(2rem, 5vw, 3.4rem); margin-bottom: 12px; }
.photo-hero p { font-size: 1.1rem; margin-bottom: 26px; text-shadow: 0 1px 8px rgba(0,0,0,.3); }
.photo-hero .hero-ctas { justify-content: center; margin-top: 0; }

/* Trust-rad */
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 40px; padding-block: 22px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: .95rem; }
.trust span { display: inline-flex; align-items: center; gap: 10px; }
.trust img { height: 30px; width: auto; }

/* Kundebilete */
.delivered { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 20px; overflow-x: auto; padding-bottom: 10px; scroll-snap-type: x mandatory; }
.delivered figure { margin: 0; scroll-snap-align: start; }
.delivered img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.delivered figcaption { text-align: center; padding: 12px 8px 0; font-size: .95rem; }
.delivered figcaption small { display: block; color: var(--muted); margin-top: 2px; }

/* Rad med bilete og tekst */
.rows { display: grid; gap: 40px; }
.row-media { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 60px); align-items: center; }
.row-media:nth-child(even) .row-media__img { order: 2; }
.row-media__img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
@media (max-width: 800px) { .row-media { grid-template-columns: 1fr; } .row-media:nth-child(even) .row-media__img { order: 0; } }

.cat { aspect-ratio: 1 / 1; border-radius: 12px; }
.cat span { font-family: var(--serif); font-weight: 600; }
.pro-note { font-size: .88rem; color: var(--muted); margin-top: 6px; }
/* ===== Eigen SmartSpa-stil (furugrønn + kobber) ===== */
body { background: var(--paper); }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.01em; }
.btn { border-radius: 4px; font-weight: 600; letter-spacing: 0; }
.btn--primary { background: var(--ink-2); }
.btn--primary:hover { background: var(--fjord); }
.btn--blue { background: var(--copper); }
.btn--blue:hover { background: #976341; }
.chip, .select, .gallery__tabs button, .tool, .swatch, .model, .addon, .badge { border-radius: 4px; }
.chip[aria-pressed="true"], .gallery__tabs button[aria-selected="true"] { background: var(--ink-2); border-color: var(--ink-2); }
.topbar { background: var(--ink-2); }
.header { background: var(--paper); }
.card { border: 1px solid var(--line); box-shadow: none; text-align: left; border-radius: 6px; }
.card:hover { box-shadow: none; border-color: #bfb7aa; }
.card__specs, .card__foot { justify-content: flex-start; }
.card__foot { flex-direction: row; align-items: end; justify-content: space-between; }
.card__img { background: #fff; }
.price--sale, .pdp-price .now.price--sale { color: var(--sale); }
.badge--sale, .save { background: var(--sale); }
.badge--pp { background: var(--aqua-soft); color: var(--fjord); }
.section--sand { background: var(--sand); }
.section--ink, .footer { background: var(--ink-2); }
.cat, .delivered img, .row-media__img img, .gallery__main, .split img { border-radius: 6px; }
.trust { border-bottom: 1px solid var(--line); }
.link { color: var(--fjord); }
.keyspec, .assure, .finder, .info-card { border-radius: 6px; box-shadow: none; border: 1px solid var(--line); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--copper); }
.gallery__3d { background: linear-gradient(180deg, #e9ece8 0%, #f4f1eb 100%); }
/* ===== Marineblå stil ===== */
.btn--blue:hover { background: #233f61; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--fjord); }
.price { white-space: nowrap; }
.card__foot { flex-wrap: wrap; }
.save { background: var(--sale); }
.badge--sale { background: var(--sale); color: #fff; }
/* Klarna og SmartSpa-fakta på produktsida */
.klarna { display: flex; gap: 12px; align-items: center; margin-top: 14px; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; font-size: .9rem; }
.klarna-logo { background: #ffb3c7; color: #0b051d; font-weight: 800; padding: 4px 10px; border-radius: 6px; font-family: Arial, sans-serif; flex: none; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; }
.facts > div { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; display: grid; gap: 4px; align-content: start; }
.facts b { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.facts span { color: var(--muted); font-size: .92rem; }
.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.quotes blockquote { margin: 0; background: #fff; border-left: 3px solid var(--fjord); padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 1rem; }
.quotes cite { display: block; font-style: normal; color: var(--muted); font-size: .85rem; margin-top: 6px; }
@media (max-width: 860px) { .facts { grid-template-columns: 1fr 1fr; } .quotes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .facts { grid-template-columns: 1fr; } }

/* ===== Filterlinje (spabad) ===== */
.fbar { display: grid; gap: 14px; margin-bottom: 26px; }
.tabs-seg { display: inline-flex; gap: 4px; background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 4px; width: fit-content; max-width: 100%; overflow-x: auto; }
.tabs-seg button { border: 0; background: none; padding: 9px 16px; border-radius: 7px; font-weight: 600; font-size: .95rem; white-space: nowrap; color: var(--muted); }
.tabs-seg button span { font-weight: 500; font-size: .8rem; opacity: .7; margin-left: 4px; }
.tabs-seg button[aria-selected="true"] { background: var(--ink-2); color: #fff; }
.fbar__row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; }
.fbar__filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fbar__right { display: flex; gap: 12px; align-items: center; }
.dd { position: relative; }
.dd__btn, .toggle { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font-weight: 600; font-size: .9rem; }
.dd__btn:hover, .toggle:hover { border-color: #b9bcc2; }
.dd__btn.is-on, .toggle.is-on { background: var(--aqua-soft); border-color: var(--fjord); color: var(--fjord); }
.dd__menu { position: absolute; top: calc(100% + 6px); left: 0; z-index: 30; min-width: 220px; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 12px 30px rgba(0,0,0,.12); padding: 8px; display: grid; }
.dd__opt { display: flex; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 6px; cursor: pointer; font-size: .95rem; }
.dd__opt:hover { background: var(--paper); }
.dd__opt input { accent-color: var(--fjord); width: 16px; height: 16px; }
.dd__clear { border: 0; background: none; text-align: left; padding: 8px 10px; color: var(--fjord); font-weight: 600; font-size: .88rem; }
.fbar__active { display: flex; flex-wrap: wrap; gap: 8px; }
.fbar__active:empty { display: none; }
.pill { border: 0; background: var(--ink-2); color: #fff; border-radius: 999px; padding: 6px 12px; font-size: .85rem; font-weight: 600; }
.pill span { margin-left: 4px; opacity: .8; }
.pill--reset { background: none; color: var(--fjord); text-decoration: underline; }
.select { border-radius: 999px; }

/* Val av underlag under 3D */
.surface-pick { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.surface-pick .chip { padding: 7px 14px; font-size: .88rem; }

/* =========================================================
   2026-stil: nøytral stein/kvit, svart tekst og knappar,
   espresso som aksent. Seksjonane har same bakgrunn og går i eitt.
   ========================================================= */
body { background: var(--paper); color: var(--ink); }
.header { background: rgba(245,243,239,.9); backdrop-filter: saturate(1.2) blur(12px); border-bottom-color: transparent; box-shadow: 0 1px 0 rgba(0,0,0,.05); }
.topbar { background: var(--ink); color: #eae6e0; }
.section, .section--tight { background: transparent; }
.section--sand { background: transparent; }
.section + .section, .section--tight + .section { padding-top: clamp(24px, 4vw, 56px); }
.section--ink { background: var(--ink); }
.footer { background: var(--ink); margin-top: clamp(40px, 6vw, 80px); }
h1, h2, h3 { color: var(--ink); letter-spacing: -0.02em; }
h2 { font-weight: 600; }
.btn { border-radius: 999px; font-weight: 600; }
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #333; }
.btn--blue { background: var(--fjord); color: #fff; }
.btn--blue:hover { background: #33291f; }
.btn--ghost { border-color: var(--ink); color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.link { color: var(--ink); }
.chip, .select, .dd__btn, .toggle { border-radius: 999px; }
.chip[aria-pressed="true"], .dd__btn.is-on, .toggle.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.tabs-seg button[aria-selected="true"] { background: var(--ink); }
.finder, .info-card, .keyspec, .assure, .facts > div, .klarna, .quotes blockquote { background: #fff; border: 0; box-shadow: var(--shadow); border-radius: var(--radius-lg); }
.quotes blockquote { border-left: 0; }
.photo-hero { margin: 0 var(--gutter); border-radius: 22px; }
.photo-hero::after { background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.38)); }

/* ---------- Produktkort (som badstunorge.no) ---------- */
.grid { gap: 20px; }
.card { background: #fff; border: 0; border-radius: 14px; box-shadow: var(--shadow); text-align: center; overflow: hidden; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 2px 4px rgba(0,0,0,.05), 0 18px 40px rgba(0,0,0,.10); border: 0; }
.card__img { background: #fff; aspect-ratio: 1 / 1; padding: 14px 14px 0; }
.card__img img { object-fit: contain; border-radius: 10px; }
.card__save { position: absolute; left: 14px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .02em; padding: 5px 10px; border-radius: 999px; text-transform: uppercase; }
.card__body { padding: 16px 18px 20px; gap: 4px; align-items: center; }
.card__title { font-family: var(--serif); font-size: 1.08rem; font-weight: 600; }
.card__sub { font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.card__price { margin-top: 8px; font-size: .98rem; white-space: nowrap; }
.card__price b { font-family: var(--serif); font-weight: 600; font-size: 1.05rem; }
.card__price b.is-sale { color: var(--sale); }
.card__price s { color: var(--muted); font-size: .85rem; margin-left: 4px; }
.card__cmp { margin-top: 8px; justify-content: center; }
.card--acc .card__img img { padding: 6px; }
.card .add-quick { margin-top: 12px; }

/* ---------- Produktside (som badstunorge.no) ---------- */
.pdp { gap: clamp(28px, 5vw, 70px); }
.gallery__main { background: #fff; border-radius: 18px; box-shadow: var(--shadow); }
.gallery__main > img { object-fit: contain; padding: 18px; }
.gallery__thumbs button { background: #fff; border-radius: 10px; }
.gallery__thumbs img { object-fit: contain; }
.gallery__tabs button { border-radius: 999px; }
.gallery__tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); }
.tools3d { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 12px; }
.tools3d .chip { padding: 7px 14px; font-size: .86rem; }
.tools3d__sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
.pdp-brand { font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.pdp-info h1 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); font-weight: 600; margin-bottom: 8px; }
.pdp-price { margin: 6px 0 14px; align-items: center; }
.pdp-price .now { font-size: 1.7rem; font-family: var(--serif); font-weight: 600; color: var(--ink); }
.pdp-price .now.price--sale { color: var(--sale); }
.pdp-price .save { display: inline-flex; align-items: center; gap: 5px; background: var(--ink); color: #fff; font-size: .74rem; text-transform: uppercase; letter-spacing: .03em; padding: 5px 11px; }
.quick { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: .95rem; }
.quick b { font-weight: 700; }
.opt { margin: 18px 0; }
.opt__label { font-weight: 600; font-size: .9rem; margin-bottom: 10px; }
.swatch-row { display: flex; gap: 10px; flex-wrap: wrap; }
.vswatch { width: 64px; height: 64px; border-radius: 12px; border: 2px solid var(--line); background: #fff; padding: 3px; overflow: hidden; }
.vswatch img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.vswatch i { display: block; width: 100%; height: 100%; border-radius: 8px; }
.vswatch[aria-pressed="true"] { border-color: var(--ink); }
.extras { display: grid; gap: 8px; }
.extra { display: grid; grid-template-columns: 20px 44px 1fr auto; gap: 12px; align-items: center; background: #fff; border-radius: 12px; padding: 10px 14px; box-shadow: var(--shadow); cursor: pointer; font-size: .92rem; }
.extra input { width: 18px; height: 18px; accent-color: var(--ink); }
.extra img { width: 44px; height: 44px; object-fit: contain; }
.extra b { white-space: nowrap; font-size: .9rem; }
.btn--buy { padding: 17px 24px; font-size: 1rem; text-transform: uppercase; letter-spacing: .06em; margin-top: 6px; }
.pdp-desc { margin-top: 22px; color: #3a3632; font-size: .98rem; }
.acc { margin-top: 18px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; padding: 16px 30px 16px 0; font-weight: 700; position: relative; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); font-size: 1.4rem; font-weight: 400; }
.acc details[open] summary::after { content: "−"; }
.acc details > div { padding-bottom: 18px; font-size: .95rem; }
.specs h4 { margin: 14px 0 6px; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.specs ul { list-style: none; margin: 0; padding: 0; }
.specs li { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; border-bottom: 1px dashed var(--line); }
.specs li span:first-child { color: var(--muted); }
.specs li span:last-child { text-align: right; font-weight: 600; }
.strip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 1fr); gap: 16px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.strip img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 16px; background: #fff; scroll-snap-align: start; }

/* ---------- «Se den i 3D»-seksjon med mål (som badstunorge.no) ---------- */
.view3d { padding-block: clamp(30px, 5vw, 64px); }
.view3d h2 { margin-bottom: 6px; }
.seg { display: inline-flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; margin: 14px 0 16px; background: #fff; }
.seg button { border: 0; background: none; padding: 10px 18px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.seg button + button { border-left: 1px solid var(--line); }
.seg button[aria-selected="true"] { background: var(--ink); color: #fff; }
.view3d__stage { position: relative; height: clamp(360px, 60vw, 620px); background: linear-gradient(180deg, #f1f0ed 0%, #f6f4f0 100%); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.drag-hint { position: absolute; top: 14px; right: 16px; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); pointer-events: none; }
.dim-tag { background: #fff; border: 1px solid #d8d4cc; border-radius: 6px; padding: 3px 9px; font-size: .78rem; color: var(--ink); white-space: nowrap; box-shadow: 0 1px 3px rgba(0,0,0,.08); font-family: var(--sans); }
.dim-tag b { font-weight: 800; }
.dim-tag--strong { background: var(--ink); color: #fff; border-color: var(--ink); }
.docs { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.docs a { display: flex; gap: 12px; align-items: center; text-decoration: none; background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow); }
.docs a:hover { box-shadow: 0 2px 6px rgba(0,0,0,.08), 0 12px 28px rgba(0,0,0,.1); }
.docs__ico { flex: none; width: 38px; height: 44px; border-radius: 6px; background: var(--sale); color: #fff; font-size: .7rem; font-weight: 800; display: grid; place-items: center; }
.docs b { display: block; font-size: .95rem; }
.docs small { color: var(--muted); }

klarna-placement { display: block; margin-top: 12px; }

/* Mobil: hindra at filterlinja gjer sida breiare enn skjermen */
html, body { overflow-x: clip; }
.fbar { grid-template-columns: minmax(0, 1fr); }
.fbar > * { min-width: 0; }
@media (max-width: 560px) {
  .tabs-seg { width: 100%; }
  .tabs-seg { gap: 2px; }
  .tabs-seg button { flex: 1 0 auto; padding: 8px 6px; font-size: .82rem; }
  .tabs-seg button span { margin-left: 2px; font-size: .7rem; }
}

/* Mobil: 2 produktkort per rad */
@media (max-width: 600px) {
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .grid .card { border-radius: 12px; }
  .grid .card__body { padding: 10px 10px 14px; }
  .grid .card__title { font-size: .92rem; line-height: 1.2; }
  .grid .card__sub { font-size: .6rem; letter-spacing: .06em; }
  .grid .card__price { white-space: normal; font-size: .85rem; line-height: 1.3; margin-top: 6px; }
  .grid .card__price b { font-size: .95rem; }
  .grid .card__price s { display: block; margin-left: 0; font-size: .75rem; }
  .grid .card__save { left: 8px; bottom: 6px; font-size: .58rem; padding: 4px 7px; gap: 3px; }
  .grid .card__save svg { width: 9px; height: 9px; }
  .grid .card__cmp { font-size: .72rem; }
  .grid .card .btn { font-size: .72rem; padding: 9px 8px; white-space: normal; line-height: 1.2; }
}

/* Sammenlikning: namn + mobil utan sidelengs scrolling */
.cmp-name { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; }
@media (max-width: 640px) {
  .modal { padding: 10px; }
  .modal__box { padding: 20px 14px; max-height: 92vh; }
  .cmp-table, .cmp-table thead, .cmp-table tbody { display: block; min-width: 0; }
  .cmp-table tr { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); column-gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .cmp-table th, .cmp-table td { border: 0; padding: 0; font-size: .82rem; overflow-wrap: anywhere; }
  .cmp-table tbody th { grid-column: 1 / -1; width: auto; margin-bottom: 4px; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
  .cmp-table thead th:first-child, .cmp-table tbody tr:last-child th { display: none; }
  .cmp-table tbody tr:last-child { border-bottom: 0; }
  .cmp-table thead img { width: 100%; }
  .cmp-name { font-size: .9rem; line-height: 1.2; display: block; }
  .cmp-table .btn { width: 100%; padding-inline: 6px; }
  .cmp-bar { white-space: nowrap; font-size: .85rem; gap: 10px; padding-left: 16px; }
}

/* Logo i midten: meny til venstre, logo i midten, søk/handlekurv til høgre. Menyen ligg under logoen på PC. */
.header .wrap { display: grid; grid-template-columns: 1fr auto 1fr; grid-template-rows: 76px; column-gap: 12px; height: auto; }
.header .menu-btn { grid-column: 1; grid-row: 1; justify-self: start; }
.header .logo { grid-column: 2; grid-row: 1; justify-self: center; }
.header .header-actions { grid-column: 3; grid-row: 1; justify-self: end; margin-left: 0; }
@media (min-width: 981px) {
  :root { --header-h: 122px; }
  .header .wrap { grid-template-rows: 76px auto; }
  .header .nav { grid-column: 1 / -1; grid-row: 2; justify-content: center; margin: -6px 0 8px; }
}
