/* Parfymorama – butikk (v3)
   Roligere og mer eksklusivt uttrykk med tydelig slektskap til profilen:
   logoen, lilla→rosa merkefarge brukt i små doser (tynne linjer, fremdrift, fokus),
   kremfarge fra dagens nettside, Alumni Sans (logofonten) i lette vekter og buemotiv rundt produktene. */

@font-face { font-family: 'Alumni Sans'; src: url('/assets/fonts/alumni-sans-latin-wght-normal.woff2') format('woff2'); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Alumni Sans'; src: url('/assets/fonts/alumni-sans-latin-wght-italic.woff2') format('woff2'); font-weight: 100 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('/assets/fonts/mulish-latin-wght-normal.woff2') format('woff2'); font-weight: 200 1000; font-style: normal; font-display: swap; }
@font-face { font-family: 'Mulish'; src: url('/assets/fonts/mulish-latin-wght-italic.woff2') format('woff2'); font-weight: 200 1000; font-style: italic; font-display: swap; }

:root {
  --bg: #ffffff;
  --soft: #f8f6f3;
  --soft-2: #f1eee9;
  --cream: #fff3e4;
  --ink: #252531;
  --ink-2: #545668;
  --muted: #8a8c9c;
  --line: #ebe8e4;
  --purple: #7d03f8;
  --pink: #ee2760;
  --peri: #8ba7d0;
  --grad: linear-gradient(90deg, #7d03f8 0%, #a510c1 50%, #ee2760 100%);
  --tint: linear-gradient(160deg, #f3ecfd 0%, #fbf1f4 55%, #fff3e4 100%);
  --ok: #2e7d57;
  --warn: #a8660b;
  --bad: #c62a4a;
  --vipps: #ff5b24;
  --display: 'Alumni Sans', 'Bebas Neue', 'Arial Narrow', sans-serif;
  --sans: 'Mulish', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --arch: 999px 999px 14px 14px;
  --ease: cubic-bezier(.22, .7, .15, 1);
  --shadow: 0 1px 2px rgba(37, 37, 49, .05), 0 18px 40px -24px rgba(37, 37, 49, .28);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 4px; }
a:hover { color: var(--ink); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--purple); outline-offset: 3px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { font-family: var(--display); font-weight: 500; line-height: .98; margin: 0; letter-spacing: .01em; text-transform: uppercase; }
h1 em, h2 em, h3 em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow { font-size: .7rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.eyebrow::before { content: ''; display: inline-block; width: 18px; height: 2px; margin-right: 10px; vertical-align: .3em; background: var(--grad); }
.eyebrow.plain::before { display: none; }

/* ---------- Toppstripe ---------- */
.topline { height: 3px; background: var(--grad); }
.topbar { background: var(--soft); color: var(--ink-2); font-size: .74rem; font-weight: 700; letter-spacing: .06em; border-bottom: 1px solid var(--line); }
.topbar-inner { position: relative; display: flex; justify-content: center; align-items: center; height: 34px; }
.ticker { position: relative; height: 34px; width: min(560px, 100%); }
.ticker span { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; transition: opacity .8s var(--ease); white-space: nowrap; }
.ticker span.on { opacity: 1; }
.topbar .side-link { position: absolute; right: var(--gutter); top: 0; height: 34px; display: flex; align-items: center; gap: 6px; text-decoration: none; }
@media (max-width: 760px) { .topbar .side-link { display: none; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 10px 30px -26px rgba(37, 37, 49, .6); }
.header-inner { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; height: 80px; gap: 20px; transition: height .35s var(--ease); }
.site-header.scrolled .header-inner { height: 64px; }
.logo { grid-column: 2; display: block; width: clamp(140px, 13vw, 176px); transition: width .35s var(--ease), opacity .3s; }
.site-header.scrolled .logo { width: clamp(120px, 11vw, 148px); }
.logo:hover { opacity: .85; }
.nav-main { grid-column: 1; grid-row: 1; justify-self: start; display: flex; gap: clamp(14px, 2vw, 30px); font-size: .86rem; font-weight: 700; letter-spacing: .04em; }
.nav-item { position: relative; }
.nav-item > a { display: inline-flex; align-items: center; gap: 5px; padding: 28px 0; text-decoration: none; color: var(--ink-2); position: relative; }
.site-header.scrolled .nav-item > a { padding: 21px 0; }
.nav-item > a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 20px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.site-header.scrolled .nav-item > a::after { bottom: 14px; }
.nav-item > a:hover, .nav-item > a[aria-current='page'] { color: var(--ink); }
.nav-item > a:hover::after, .nav-item > a[aria-current='page']::after { transform: scaleX(1); }
.nav-item .chev { width: 9px; height: 9px; opacity: .5; }
.dropdown {
  position: absolute; top: 100%; left: -20px; transform: translateY(6px); min-width: 460px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 22px 24px;
  display: grid; grid-template-columns: 1fr 1.5fr; gap: 20px; opacity: 0; visibility: hidden; transition: opacity .25s, transform .3s var(--ease), visibility 0s .3s;
}
.nav-item:hover .dropdown, .nav-item:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .3s var(--ease); }
.dropdown h4 { margin: 0 0 10px; font: 800 .66rem/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.dropdown ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-weight: 600; letter-spacing: 0; }
.dropdown ul.cols { grid-template-columns: 1fr 1fr; column-gap: 16px; }
.dropdown a { text-decoration: none; color: var(--ink-2); }
.dropdown a:hover { color: var(--purple); }
.header-right { grid-column: 3; grid-row: 1; display: flex; justify-content: flex-end; align-items: center; gap: clamp(10px, 2vw, 30px); min-width: 0; }
.nav-side { display: flex; gap: clamp(14px, 2vw, 30px); font-size: .86rem; font-weight: 700; letter-spacing: .04em; }
.nav-mobile { display: none; }
.header-tools { display: flex; justify-content: flex-end; align-items: center; gap: 2px; }
/* Smal desktop: litt tettere meny så logoen alltid står midt i */
@media (min-width: 961px) and (max-width: 1140px) {
  .nav-main, .nav-side { gap: 16px; font-size: .8rem; letter-spacing: .02em; }
  .header-right { gap: 12px; }
}
.icon-btn { position: relative; display: inline-grid; place-items: center; width: 42px; height: 42px; border: 0; background: none; border-radius: 50%; cursor: pointer; color: var(--ink); }
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .64rem; font-weight: 800; display: grid; place-items: center; transition: transform .4s var(--ease), background .3s; }
.cart-count.bump { transform: scale(1.35); background: var(--purple); }
.menu-toggle, .menu-backdrop, .nav-close { display: none; }
@media (max-width: 960px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; }
  .header-inner { height: 64px; }
  .menu-toggle { display: inline-grid; grid-column: 1; grid-row: 1; justify-self: start; }
  .nav-main {
    position: fixed; top: 0; left: 0; bottom: 0; width: min(340px, 86vw); z-index: 70; flex-direction: column; gap: 0;
    background: #fff; padding: 76px 26px 26px; transform: translateX(-102%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; box-shadow: var(--shadow); overflow-y: auto;
  }
  .nav-main::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
  .nav-item > a { padding: 14px 0 !important; font-family: var(--display); font-size: 2rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); width: 100%; border-bottom: 1px solid var(--line); }
  .nav-item > a::after, .nav-item .chev, .dropdown { display: none; }
  body.menu-open .nav-main { transform: none; visibility: visible; transition: transform .45s var(--ease); }
  .nav-close { display: inline-grid; position: absolute; top: 14px; right: 14px; }
  .nav-side { display: none; }
  .nav-mobile { display: block; }
  .menu-backdrop { display: block; position: fixed; inset: 0; background: rgba(37, 37, 49, .3); z-index: 45; opacity: 0; pointer-events: none; transition: opacity .3s; }
  body.menu-open .menu-backdrop { opacity: 1; pointer-events: auto; }
}
[hidden] { display: none !important; }
.search-panel { border-top: 1px solid var(--line); display: none; background: #fff; }
.search-panel.open { display: block; animation: fadeIn .3s var(--ease); }
.search-panel form { display: flex; gap: 14px; padding-top: 20px; padding-bottom: 20px; align-items: center; }
.search-panel input::-webkit-search-cancel-button { -webkit-appearance: none; appearance: none; }
.search-panel input { flex: 1; min-width: 0; border: 0; border-bottom: 1px solid var(--ink); background: transparent; font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: .02em; text-transform: uppercase; padding: 4px 0; outline: none; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Knapper og lenker ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; position: relative;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); padding: 15px 28px; border-radius: 999px; cursor: pointer;
  font-weight: 800; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none;
  transition: background .3s var(--ease), color .3s, border-color .3s, transform .3s var(--ease);
}
.btn:hover { background: #fff; color: var(--ink); }
.btn:active { transform: scale(.98); }
.btn[disabled] { opacity: .4; cursor: not-allowed; }
.btn[disabled]:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 10px 16px; font-size: .68rem; }
.btn-block { width: 100%; }
.btn .arrow { transition: transform .3s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.link-arrow { position: relative; display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; padding-bottom: 4px; }
.link-arrow::after { content: '→'; transition: transform .3s var(--ease); }
.link-arrow::before { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--ink); transform-origin: left; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: translateX(4px); }
.link-arrow:hover::before { background: var(--grad); height: 2px; }

/* ---------- Hero: spotlight ---------- */
.spot { position: relative; overflow: hidden; padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.spot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); align-items: center; min-height: min(78vh, 720px); }
.spot-copy { position: relative; z-index: 2; }
.spot-title { font-size: clamp(3.6rem, 8.6vw, 8.4rem); font-weight: 500; line-height: .9; margin: 22px 0 26px; }
.spot-title .ln { display: block; overflow: hidden; padding-bottom: .04em; }
.spot-title .ln > span { display: inline-block; animation: lineUp 1.1s var(--ease) both; }
.spot-title .ln:nth-child(2) > span { animation-delay: .12s; }
.spot-title .ln:nth-child(3) > span { animation-delay: .24s; }
@keyframes lineUp { from { transform: translateY(105%); } to { transform: none; } }
.spot-lead { max-width: 40ch; color: var(--ink-2); font-size: 1.06rem; margin: 0 0 30px; animation: rise .9s var(--ease) both .4s; }
.spot-cta { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; animation: rise .9s var(--ease) both .5s; }
.spot-facts { list-style: none; padding: 26px 0 0; margin: 38px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 34px; animation: rise .9s var(--ease) both .6s; }
.spot-facts b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.9rem; line-height: 1; letter-spacing: .02em; }
.spot-facts span { font-size: .78rem; color: var(--muted); }
/* Prosenttegnet i Alumni Sans ligner en ø – vises i Mulish i stedet */
.spot-facts b .pct { font-family: var(--sans); font-weight: 600; font-size: .74em; color: inherit; margin-left: .12em; letter-spacing: 0; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.spot-stage { position: relative; height: clamp(440px, 64vh, 640px); animation: rise 1.1s var(--ease) both .15s; }
.spot-arch { position: absolute; left: 12%; right: 8%; top: 0; bottom: 38px; border-radius: var(--arch); background: var(--tint); overflow: hidden; }
.spot-arch::after { content: ''; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(125, 3, 248, .06); }
.spot-ring { position: absolute; left: 50%; top: 58%; width: 72%; aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); border: 1px solid rgba(37, 37, 49, .07); }
.spot-ring.r2 { width: 96%; border-style: dashed; animation: spin 90s linear infinite; }
@keyframes spin { to { transform: translate(-50%, -50%) rotate(360deg); } }
.spot-slides { position: absolute; left: 12%; right: 8%; top: 6%; bottom: 60px; }
/* Overgangen ligger på selve bildet (translate/scale) slik at mix-blend-mode aldri isoleres midt i en overgang. */
.spot-slide { position: absolute; inset: 0; display: grid; place-items: end center; pointer-events: none; text-decoration: none; }
.spot-slide.is-active { pointer-events: auto; }
.spot-slide img, .spot-slide svg { width: auto; height: 100%; max-width: 100%; object-fit: contain; mix-blend-mode: multiply; opacity: 0; translate: 0 30px; scale: .96; transition: opacity .9s var(--ease), translate 1.1s var(--ease), scale 1.1s var(--ease); animation: float 7s ease-in-out infinite; }
.spot-slide.is-active img, .spot-slide.is-active svg { opacity: 1; translate: none; scale: none; }
.spot-slide.is-leaving img, .spot-slide.is-leaving svg { opacity: 0; translate: 0 -24px; scale: 1.02; }
.spot-slide svg { mix-blend-mode: normal; }
@keyframes float { 50% { transform: translateY(-12px); } }
.spot-card {
  position: absolute; left: 0; bottom: 70px; width: min(300px, 62%); background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px 20px 16px; box-shadow: var(--shadow); z-index: 3;
}
.spot-info { display: none; }
.spot-info.is-active { display: block; }
.spot-info > * { animation: rise .7s var(--ease) both; }
.spot-info > :nth-child(2) { animation-delay: .06s; }
.spot-info > :nth-child(3) { animation-delay: .12s; }
.spot-info > :nth-child(4) { animation-delay: .18s; }
.spot-info .b { font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.spot-info h3 { font-size: 1.9rem; margin: 2px 0 8px; }
.spot-info .notes { font-size: .82rem; color: var(--ink-2); line-height: 1.5; margin: 0 0 10px; }
.spot-info .notes i { font-style: normal; color: var(--muted); }
.spot-info .row2 { display: flex; justify-content: space-between; align-items: center; gap: 10px; font-weight: 800; font-size: .9rem; }
.spot-info .row2 a { font-size: .7rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.spot-progress { position: absolute; left: 12%; right: 8%; bottom: 8px; display: flex; gap: 8px; z-index: 3; }
.spot-progress button { flex: 1; height: 20px; border: 0; padding: 9px 0; background: none; cursor: pointer; }
.spot-progress button i { display: block; height: 2px; background: var(--line); position: relative; overflow: hidden; border-radius: 2px; }
.spot-progress button i::after { content: ''; position: absolute; inset: 0; background: var(--grad); transform: scaleX(0); transform-origin: left; }
.spot-progress button.done i::after { transform: scaleX(1); }
.spot-progress button.is-active i::after { animation: progress var(--dur, 6s) linear forwards; }
.spot-stage:hover .spot-progress button.is-active i::after { animation-play-state: paused; }
@keyframes progress { to { transform: scaleX(1); } }
@media (max-width: 900px) {
  .spot-grid { grid-template-columns: 1fr; min-height: 0; }
  .spot-stage { height: 480px; }
  .spot-arch, .spot-slides, .spot-progress { left: 6%; right: 6%; }
  .spot-card { left: 0; bottom: 60px; width: min(260px, 70%); padding: 14px 16px; }
  .spot-info h3 { font-size: 1.5rem; }
  .spot-facts { gap: 20px; }
  .spot-facts b { font-size: 1.5rem; }
}
@media (max-width: 600px) {
  .spot-stage { height: 520px; margin-top: 8px; }
  .spot-arch { bottom: 150px; }
  .spot-slides { top: 7%; bottom: 168px; }
  .spot-card { left: 9%; right: 9%; width: auto; bottom: 34px; }
  .spot-progress { bottom: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .spot-title .ln > span, .spot-lead, .spot-cta, .spot-facts, .spot-stage, .spot-info > * { animation: none; }
  .spot-slide img, .spot-slide svg, .spot-ring.r2 { animation: none; }
  .spot-progress button.is-active i::after { animation: none; transform: scaleX(1); }
}

/* ---------- Seksjoner ---------- */
.section { padding: clamp(56px, 8vw, 110px) 0; }
.section.soft { background: var(--soft); }
.section.soft .card-media { background: #fff; }
.section.soft .card:hover .card-media { background: #fdfbff; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: clamp(26px, 3.4vw, 44px); }
.section-head h2 { font-size: clamp(2.8rem, 5.4vw, 4.6rem); }
.section-head .eyebrow { display: block; margin-bottom: 14px; }
.section-head p { max-width: 42ch; color: var(--ink-2); margin: 12px 0 0; }

/* Handle etter */
.cat-list { border-top: 1px solid var(--ink); }
.cat { position: relative; display: grid; grid-template-columns: 1fr auto auto 40px; align-items: center; gap: 24px; padding: 20px 4px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); overflow: hidden; }
.cat-name { font-family: var(--display); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; font-size: clamp(3.2rem, 8vw, 7rem); line-height: .9; transition: transform .6s var(--ease), letter-spacing .6s var(--ease); }
.cat-meta { font-size: .78rem; font-weight: 700; color: var(--muted); letter-spacing: .06em; }
.cat-imgs { display: flex; height: clamp(70px, 9vw, 110px); }
.cat-imgs > * { height: 100%; width: auto; aspect-ratio: 4 / 5; object-fit: contain; mix-blend-mode: multiply; margin-left: -14px; opacity: 0; transform: translateY(16px); transition: opacity .5s var(--ease), transform .6s var(--ease); }
.cat-imgs > :nth-child(2) { transition-delay: .06s; }
.cat-imgs > :nth-child(3) { transition-delay: .12s; }
.cat-go { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; transition: all .4s var(--ease); }
.cat::before { content: ''; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.cat:hover .cat-name { transform: translateX(12px); }
.cat:hover .cat-imgs > * { opacity: 1; transform: none; }
.cat:hover .cat-go { background: var(--ink); color: #fff; border-color: var(--ink); }
.cat:hover::before { transform: scaleX(1); }
@media (hover: none) { .cat-imgs > * { opacity: 1; transform: none; } }
@media (max-width: 700px) { .cat { grid-template-columns: 1fr auto; } .cat-imgs, .cat-go { display: none; } }

/* ---------- Produktkort ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(clamp(150px, 21vw, 250px), 1fr)); gap: clamp(28px, 3.6vw, 48px) clamp(14px, 2vw, 28px); }
.card { position: relative; display: flex; flex-direction: column; }
.card-top { position: relative; }
.card-media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--soft); border-radius: var(--arch); transition: background .5s var(--ease); }
.card:hover .card-media { background: var(--soft-2); }
.card-media img { width: 100%; height: 100%; object-fit: contain; padding: 12% 10% 6%; mix-blend-mode: multiply; transition: transform .9s var(--ease); }
.card:hover .card-media img { transform: translateY(-8px) scale(1.03); }
.card-media .ph, .gallery-frame .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 20px; text-align: center; }
.card-media .ph i, .gallery-frame .ph i { font-style: normal; font-family: var(--display); font-weight: 400; font-size: clamp(1.6rem, 2.6vw, 2.4rem); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.card-flag { position: absolute; top: 11%; left: 50%; transform: translateX(-50%); z-index: 2; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--ink); font-size: .6rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; box-shadow: 0 0 0 1px var(--line); white-space: nowrap; }
.card-flag::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--grad); margin-right: 6px; vertical-align: .08em; }
.card-flag.soldout::before { background: var(--muted); }
.card-body { padding: 16px 2px 0; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; flex: 1; }
.card-brand { margin: 0; font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.card-name { margin: 0; font-family: var(--display); font-size: 1.6rem; font-weight: 500; line-height: 1.02; }
.card-name a { text-decoration: none; }
.card-name a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.card-foot { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; }
.card-price { font-weight: 700; font-size: .9rem; }
.card-price small { font-weight: 500; color: var(--muted); font-size: .9rem; }
.sizes { display: flex; gap: 4px; font-size: .62rem; font-weight: 800; }
.sizes span { padding: 1px 6px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.sizes span.out { color: #c9cad3; text-decoration: line-through; }
.card-quick { position: absolute; left: 50%; bottom: 14px; z-index: 3; transform: translate(-50%, 10px); opacity: 0; transition: opacity .35s, transform .4s var(--ease); }
.card:hover .card-quick, .card-quick:focus-within { opacity: 1; transform: translate(-50%, 0); }
.card-quick .btn { white-space: nowrap; box-shadow: var(--shadow); }
@media (hover: none) { .card-quick { display: none; } }

/* Horisontal rad */
.scroller { position: relative; }
.scroller-track { display: grid; grid-auto-flow: column; grid-auto-columns: clamp(200px, 22%, 290px); gap: clamp(16px, 2vw, 28px); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; scrollbar-width: none; }
.scroller-track::-webkit-scrollbar { display: none; }
.scroller-track > * { scroll-snap-align: start; }
.scroller-nav { display: flex; gap: 8px; }
.scroller-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 1rem; transition: all .3s var(--ease); }
.scroller-nav button:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
@media (max-width: 640px) { .scroller-track { grid-auto-columns: 70%; } .scroller-nav { display: none; } }

/* Slik fungerer det */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 4vw, 64px); }
.step { position: relative; }
.step .num { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(4.4rem, 8vw, 7rem); line-height: .8; color: transparent; -webkit-text-stroke: 1.2px var(--ink); margin-bottom: 18px; }
.step h3 { font-size: 1.9rem; margin-bottom: 8px; }
.step p { margin: 0; color: var(--ink-2); max-width: 34ch; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

/* Duftnoter og merker */
.note-cloud { display: flex; flex-wrap: wrap; gap: 10px; }
.note-chip { padding: 9px 18px; border: 1px solid var(--line); border-radius: 999px; background: #fff; text-decoration: none; font-weight: 600; font-size: .92rem; transition: all .3s var(--ease); }
.note-chip:hover { border-color: var(--ink); background: var(--ink); color: #fff; }
.note-chip small { color: var(--muted); margin-left: 6px; font-weight: 700; }
.note-chip:hover small { color: #c9cad3; }
.brand-row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 26px; }
.brand-row a { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3.4vw, 2.8rem); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; line-height: 1.05; color: var(--ink-2); transition: color .3s; }
.brand-row a:hover { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.brand-row a sup { font-family: var(--sans); font-size: .7rem; font-weight: 700; color: var(--muted); margin-left: 3px; -webkit-text-fill-color: var(--muted); }

/* ---------- Artikler ---------- */
.article-track { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: 24px; }
.article { display: grid; grid-template-rows: auto 1fr; text-decoration: none; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.article:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.article .img { aspect-ratio: 16 / 9; background: var(--tint); position: relative; overflow: hidden; }
.article .img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.article:hover .img img { transform: scale(1.04); }
.article .img .ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--purple); opacity: .5; }
.article .txt { padding: 24px 26px 26px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.article h3 { font-size: 2.1rem; }
.article .txt p { margin: 0; color: var(--ink-2); font-size: .94rem; }
.article-nav { display: none; }

/* ---------- Fordeler ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature { display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; color: var(--ink-2); font-size: .9rem; line-height: 1.5; padding: 20px 0; border-top: 1px solid var(--line); }
.feature svg { width: 36px; height: 36px; color: var(--peri); }
.feature b { display: block; color: var(--ink); font-weight: 800; }
.feature a { color: inherit; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .features { grid-template-columns: 1fr; } }

/* ---------- Listeside ---------- */
.page-head { padding: clamp(34px, 5vw, 70px) 0 clamp(22px, 3vw, 34px); }
.page-head h1 { font-size: clamp(3.8rem, 10vw, 8.4rem); line-height: .88; }
.page-head p { max-width: 56ch; margin: 18px 0 0; color: var(--ink-2); }
.page-head.center { text-align: center; }
.page-head.center p { margin-left: auto; margin-right: auto; }
.crumbs { font-size: .68rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 .6em; opacity: .5; }
.toolbar { position: sticky; top: 64px; z-index: 30; background: rgba(255, 255, 255, .97); border-block: 1px solid var(--line); padding: 12px 0; margin-bottom: 36px; display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.toolbar input[type='search'] { flex: 1 1 200px; min-width: 0; border: 1px solid var(--line); border-radius: 999px; background: var(--soft); padding: 9px 18px; font-size: .9rem; outline: none; }
.toolbar input[type='search']:focus { border-color: var(--ink); background: #fff; }
.toolbar select { border: 1px solid var(--line); background: #fff; padding: 8px 14px; border-radius: 999px; font-size: .84rem; font-weight: 700; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; cursor: pointer; font-size: .82rem; font-weight: 700; white-space: nowrap; text-decoration: none; color: var(--ink-2); transition: all .25s; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip[aria-pressed='true'], .chip.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.result-count { font-size: .74rem; font-weight: 800; letter-spacing: .06em; color: var(--muted); margin-left: auto; }
.empty { padding: 60px 0; text-align: center; color: var(--muted); font-size: 1.05rem; }
@media (max-width: 700px) { .toolbar .chips { order: 3; width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 2px; } }

/* ---------- Produktside ---------- */
.product { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 6vw, 96px); padding: clamp(12px, 2vw, 24px) 0 clamp(50px, 7vw, 100px); }
.gallery { position: sticky; top: 96px; align-self: start; }
.gallery-frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--tint); border-radius: var(--arch); }
.gallery-frame img { position: relative; width: 100%; height: 100%; object-fit: contain; padding: 14% 10% 6%; mix-blend-mode: multiply; animation: rise 1s var(--ease) both; }
.vial-stage { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity .6s var(--ease); cursor: grab; touch-action: pan-y; }
.vial-stage.grabbing { cursor: grabbing; }
.vial-stage canvas { display: block; width: 100%; height: 100%; }
.gallery-photo { transition: opacity .5s var(--ease), transform .6s var(--ease); }
.gallery[data-view="vial"] .vial-stage.ready { opacity: 1; pointer-events: auto; }
.gallery[data-view="vial"] .gallery-photo { opacity: 0; transform: scale(.96); animation: none; }
.vial-hint { position: absolute; left: 50%; bottom: 16px; transform: translateX(-50%); font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); opacity: 0; transition: opacity .5s; pointer-events: none; }
.gallery[data-view="vial"] .vial-stage.ready + .vial-hint { opacity: .8; }
.vial-stage.flat { cursor: default; }
.gallery .vial-stage.flat + .vial-hint { display: none; }
.gallery-switch { display: flex; justify-content: center; gap: 6px; margin-top: 14px; }
.gallery-switch[hidden] { display: none; }
.gallery-switch button { border: 1px solid var(--line); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 8px 16px; font: 700 .72rem/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
.gallery-switch button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.gallery-switch button:not([aria-pressed="true"]):hover { border-color: var(--ink); color: var(--ink); }
.gallery-caption { font-size: .78rem; color: var(--muted); margin-top: 10px; text-align: center; }
.p-brand { font-size: .72rem; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; text-decoration: none; color: var(--muted); }
.p-title { font-size: clamp(3.4rem, 6.4vw, 6rem); margin: 10px 0 10px; line-height: .9; }
.p-sub { color: var(--muted); margin: 0 0 20px; font-weight: 600; }
.p-lead { font-size: 1.08rem; color: var(--ink-2); margin: 0 0 30px; max-width: 48ch; }
.size-picker { border: 0; padding: 0; margin: 0 0 18px; }
.size-picker legend { margin-bottom: 12px; }
.size-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.size-opt { position: relative; }
.size-opt input { position: absolute; opacity: 0; inset: 0; }
.size-opt label { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 16px 10px 14px; cursor: pointer; border: 1px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .25s, box-shadow .25s; text-align: center; }
.size-opt label:hover { border-color: var(--ink-2); }
.size-opt label b { font-family: var(--display); font-weight: 500; font-size: 2.2rem; line-height: 1; }
.size-opt label b small { font-family: var(--sans); font-size: .7rem; font-weight: 800; margin-left: 2px; }
.size-opt label span { font-weight: 700; font-size: .92rem; }
.size-opt label i { font-style: normal; font-size: .64rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--ok); }
.size-opt input:checked + label { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.size-opt input:checked + label::after { content: ''; position: absolute; left: 22%; right: 22%; bottom: -1px; height: 2px; background: var(--grad); border-radius: 2px; }
.size-opt input:focus-visible + label { outline: 2px solid var(--purple); outline-offset: 2px; }
.size-opt input:disabled + label { cursor: not-allowed; opacity: .45; background: var(--soft); }
.size-opt input:disabled + label i { color: var(--muted); }
.size-opt label i.low { color: var(--warn); }
.buy-row { display: grid; grid-template-columns: auto 1fr; gap: 10px; margin-bottom: 22px; }
.qty { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.qty button { width: 42px; border: 0; background: none; cursor: pointer; font-size: 1.05rem; font-weight: 700; }
.qty button:hover { background: var(--soft); }
.qty input { width: 38px; text-align: center; border: 0; background: none; font-weight: 800; -moz-appearance: textfield; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; }
.trust { list-style: none; padding: 18px 0 0; margin: 0 0 34px; border-top: 1px solid var(--line); display: grid; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.trust li { display: flex; gap: 12px; align-items: center; }
.trust svg { width: 22px; height: 22px; color: var(--peri); flex: none; }
.pyramid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin: 0 0 30px; border-top: 1px solid var(--ink); }
.pyramid-row { padding: 16px 14px 18px 0; border-right: 1px solid var(--line); }
.pyramid-row:last-child { border-right: 0; }
.pyramid-row + .pyramid-row { padding-left: 16px; }
.pyramid-row dt { font-family: var(--display); font-weight: 500; font-size: 1.5rem; text-transform: uppercase; line-height: 1; margin-bottom: 2px; }
.pyramid-row dt small { display: block; font-family: var(--sans); color: var(--muted); font-size: .68rem; font-weight: 700; text-transform: none; margin-top: 4px; }
.pyramid-row dd { margin: 12px 0 0; display: flex; flex-direction: column; gap: 3px; }
.note { font-size: .92rem; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.note:hover { color: var(--purple); }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); margin: 0 0 30px; }
.facts div { padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dt { font-size: .64rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.facts dd { margin: 3px 0 0; font-weight: 600; }
.season-marks { display: flex; gap: 6px; flex-wrap: wrap; }
.season-marks span { font-size: .74rem; font-weight: 800; letter-spacing: .06em; padding: 6px 13px; border-radius: 999px; border: 1px solid var(--line); color: #c3c4cd; }
.season-marks span.on { color: var(--ink); border-color: var(--ink); }
.prose { max-width: 66ch; font-size: 1.02rem; color: var(--ink-2); }
.prose h2, .prose h3 { font-size: 2.4rem; margin: 1.4em 0 .4em; color: var(--ink); }
.prose h4 { font-size: 1.7rem; margin: 1.3em 0 .4em; font-family: var(--display); font-weight: 500; text-transform: uppercase; color: var(--ink); }
.prose p, .prose ul, .prose ol { margin: 0 0 1em; }
.prose strong { color: var(--ink); }
.prose blockquote { margin: 1.2em 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--purple); font-size: 1.15rem; font-style: italic; }
.prose table { border-collapse: collapse; width: 100%; margin: 0 0 1em; }
.prose td, .prose th { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px 10px 0; }
.prose img { border-radius: 14px; margin: 1em 0; }
.page-cover { max-width: 960px; margin: 0 auto 40px; border-radius: 18px; overflow: hidden; aspect-ratio: 21 / 9; }
.page-cover img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } .gallery { position: static; } }
@media (max-width: 520px) { .pyramid { grid-template-columns: 1fr; } .pyramid-row { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0 !important; } }
.mobile-buy { display: none; }
@media (max-width: 900px) {
  .mobile-buy { position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: flex; gap: 10px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); transform: translateY(110%); transition: transform .35s var(--ease); }
  .mobile-buy.show { transform: none; }
  .mobile-buy .info { flex: 1; min-width: 0; font-size: .85rem; line-height: 1.25; }
  .mobile-buy .info b { display: block; font-family: var(--display); font-weight: 500; font-size: 1.4rem; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* ---------- Handlekurv ---------- */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(37, 37, 49, .32); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 80; }
.drawer { position: fixed; top: 0; right: 0; bottom: 0; width: min(440px, 100%); z-index: 81; background: #fff; transform: translateX(100%); display: flex; flex-direction: column; visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.drawer::before { content: ''; height: 3px; background: var(--grad); flex: none; }
body.drawer-open .drawer { transform: none; visibility: visible; box-shadow: -24px 0 60px -30px rgba(0, 0, 0, .35); transition: transform .45s var(--ease); }
body.drawer-open .drawer-backdrop { opacity: 1; pointer-events: auto; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 18px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 2.2rem; }
.drawer-body { flex: 1; overflow-y: auto; padding: 4px 22px; }
.drawer-foot { border-top: 1px solid var(--line); padding: 18px 22px calc(18px + env(safe-area-inset-bottom)); display: grid; gap: 14px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 16px 0; border-bottom: 1px solid var(--line); align-items: start; }
.line img, .line .ph { width: 64px; height: 80px; object-fit: contain; background: var(--soft); border-radius: 999px 999px 8px 8px; padding: 6px 4px 2px; mix-blend-mode: multiply; }
.line h4 { margin: 0; font-family: var(--display); font-size: 1.35rem; font-weight: 500; text-transform: uppercase; line-height: 1; }
.line h4 a { text-decoration: none; }
.line .brand { font-size: .62rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.line .size { font-size: .82rem; color: var(--muted); }
.line .qty { margin-top: 8px; transform: scale(.86); transform-origin: left; }
.line .qty button { width: 32px; }
.line .qty input { width: 30px; }
.line .right { text-align: right; display: grid; gap: 8px; justify-items: end; font-weight: 800; }
.line .remove { background: none; border: 0; color: var(--muted); cursor: pointer; font-size: .76rem; font-weight: 600; text-decoration: underline; }
.line .warn { color: var(--bad); font-size: .78rem; font-weight: 700; }
.free-ship { font-size: .88rem; color: var(--ink-2); }
.free-ship .bar { height: 3px; background: var(--line); margin-top: 10px; position: relative; overflow: hidden; border-radius: 999px; }
.free-ship .bar i { position: absolute; inset: 0 auto 0 0; background: var(--grad); border-radius: 999px; transition: width .6s var(--ease); }
.row { display: flex; justify-content: space-between; gap: 12px; }
.row.total { font-weight: 800; font-size: 1.1rem; }
.cart-empty { text-align: center; padding: 70px 10px; }
.cart-empty p { font-family: var(--display); font-weight: 500; font-size: 2.2rem; text-transform: uppercase; margin: 0 0 18px; }

/* ---------- Kasse ---------- */
.checkout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 5vw, 72px); padding: clamp(10px, 2vw, 24px) 0 90px; }
.checkout h2 { font-size: 2.4rem; margin: 0 0 16px; }
.fieldset { border: 0; padding: 0; margin: 0 0 38px; }
.fieldset legend { font-family: var(--display); font-weight: 500; font-size: 2.4rem; text-transform: uppercase; margin-bottom: 16px; padding: 0; }
.fieldset legend span { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1px solid var(--ink); font-family: var(--sans); font-size: .76rem; font-weight: 800; vertical-align: middle; margin-right: 12px; }
.fields { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.field { grid-column: span 6; display: grid; gap: 6px; }
.field.half { grid-column: span 3; }
.field.third { grid-column: span 2; }
.field.twothirds { grid-column: span 4; }
.field label { font-size: .8rem; font-weight: 700; }
.field input, .field textarea, .field select { border: 1px solid #dcdad6; background: #fff; padding: 13px 16px; border-radius: 10px; outline: none; width: 100%; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(125, 3, 248, .1); }
.field .err { color: var(--bad); font-size: .8rem; font-weight: 600; }
.field.invalid input { border-color: var(--bad); }
@media (max-width: 600px) { .field.half, .field.third, .field.twothirds { grid-column: span 6; } }
.ship-opt { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; margin-bottom: 8px; transition: border-color .2s; }
.ship-opt:has(input:checked) { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.ship-opt input { accent-color: var(--ink); width: 18px; height: 18px; }
.ship-opt span { flex: 1; }
.ship-opt b { font-weight: 800; }
.pay-buttons { display: grid; gap: 10px; }
.btn-vipps { background: var(--vipps); border-color: var(--vipps); font-size: .95rem; padding: 17px 22px; text-transform: none; letter-spacing: .01em; }
.btn-vipps:hover { background: #e8491a; border-color: #e8491a; color: #fff; }
.btn-card { font-size: .95rem; padding: 17px 22px; text-transform: none; letter-spacing: .01em; }
.pay-note { font-size: .8rem; color: var(--muted); margin: 8px 0 0; }
.summary { position: sticky; top: 96px; align-self: start; background: var(--soft); border-radius: 18px; padding: 24px; }
.summary .line { grid-template-columns: 52px 1fr auto; }
.summary .line img, .summary .line .ph { width: 52px; height: 64px; background: #fff; mix-blend-mode: normal; }
.summary .rows { display: grid; gap: 8px; padding-top: 16px; }
.coupon { display: flex; gap: 8px; margin: 16px 0 4px; }
.coupon input { flex: 1; min-width: 0; border: 1px solid #dcdad6; padding: 10px 14px; border-radius: 999px; background: #fff; text-transform: uppercase; font-weight: 700; }
.coupon button { border: 1px solid var(--ink); background: #fff; padding: 0 18px; border-radius: 999px; cursor: pointer; font-weight: 800; }
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; margin: 0 0 18px; }
.consent input { margin-top: 3px; accent-color: var(--ink); width: 18px; height: 18px; }
.alert { border: 1px solid #efc3cd; background: #fdf1f4; color: #7d1733; padding: 12px 16px; margin: 0 0 16px; font-size: .92rem; border-radius: 12px; }
.alert.ok { border-color: #b8dcc9; background: #eef8f2; color: #1d5c3e; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

/* ---------- Ordre ---------- */
.receipt { max-width: 680px; margin: 0 auto; padding: clamp(36px, 6vw, 90px) 0 100px; text-align: center; }
.receipt h1 { font-size: clamp(3.4rem, 9vw, 6.4rem); margin-bottom: 16px; }
.receipt > p { margin-left: auto; margin-right: auto; color: var(--ink-2); }
.receipt .status-pill { display: inline-flex; align-items: center; gap: 8px; font-size: .66rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); margin-bottom: 20px; }
.receipt .status-pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--muted); }
.receipt .status-pill.paid::before, .receipt .status-pill.shipped::before { background: var(--grad); }
.receipt .status-pill.failed::before, .receipt .status-pill.expired::before, .receipt .status-pill.cancelled::before { background: var(--bad); }
.receipt-box { text-align: left; background: var(--soft); border-radius: 18px; padding: 24px; margin-top: 30px; }
.check-mark { display: block; width: 74px; height: 74px; margin: 0 auto 18px; }
.check-mark circle { stroke: url(#okgrad); stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 1s var(--ease) forwards; }
.check-mark path { stroke: var(--ink); stroke-dasharray: 60; stroke-dashoffset: 60; animation: draw .6s var(--ease) forwards .6s; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.spinner { width: 26px; height: 26px; border: 2px solid var(--line); border-top-color: var(--ink); border-radius: 50%; animation: spin2 .9s linear infinite; display: inline-block; vertical-align: middle; margin-right: 12px; }
@keyframes spin2 { to { transform: rotate(360deg); } }

/* ---------- Footer ---------- */
.site-footer { background: var(--cream); margin-top: 0; padding: clamp(50px, 7vw, 90px) 0 28px; font-size: .9rem; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.4fr; gap: 36px; padding-bottom: 44px; }
.footer-top h3 { font-family: var(--sans); font-size: .66rem; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin: 0 0 16px; }
.footer-top ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer-top a { text-decoration: none; color: var(--ink-2); }
.footer-top a:hover { color: var(--ink); text-decoration: underline; }
.footer-logo { width: 180px; margin-bottom: 16px; }
.footer-top p { color: var(--ink-2); margin: 0 0 12px; }
.newsletter { display: flex; border: 1px solid #e6d8c4; border-radius: 999px; overflow: hidden; background: #fff; padding: 4px; }
.newsletter input { flex: 1; min-width: 0; border: 0; padding: 10px 14px; outline: none; background: transparent; }
.newsletter button { border: 0; background: var(--ink); color: #fff; padding: 0 20px; border-radius: 999px; font-weight: 800; font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; cursor: pointer; }
.newsletter button:hover { background: var(--purple); }
.newsletter-msg { font-size: .82rem; margin-top: 8px; min-height: 1em; font-weight: 700; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; padding-top: 22px; border-top: 1px solid #efdfc9; font-size: .78rem; color: var(--ink-2); }
.footer-legal a { color: var(--ink-2); }
.pay-marks { display: flex; gap: 6px; flex-wrap: wrap; }
.pay-marks span { border: 1px solid #e6d8c4; background: #fff; border-radius: 6px; padding: 3px 9px; font-size: .66rem; font-weight: 800; letter-spacing: .04em; }
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-top > div:first-child, .footer-top > div:last-child { grid-column: span 2; } }

/* ---------- Toast ---------- */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 200%); opacity: 0; pointer-events: none; z-index: 95; background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 999px; font-size: .88rem; font-weight: 600; transition: transform .45s var(--ease), opacity .3s; max-width: calc(100% - 32px); box-shadow: var(--shadow); }
.toast.show { transform: translate(-50%, 0); opacity: 1; }

/* Avsløring ved scrolling */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- 3D-prøveflasker (stillbilder fra /assets/js/vial.js) ---------- */
.vial-snap { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; animation: vialIn .7s var(--ease) both; }
@keyframes vialIn { from { opacity: 0; transform: translateY(12px); } }
.orig-tag { display: none; }

/* Produktkort: flasken i buen, originalflasken som et lite bilde i hjørnet */
.card-vial { position: absolute; inset: 0; z-index: 1; }
.card-orig { position: absolute; inset: 0; display: block; }
.card-media.vial-ready .ph { display: none; }
.card-media.vial-ready .card-orig {
  inset: auto 8% 6% auto; width: 26%; z-index: 2; background: #fff; border-radius: 12px; overflow: hidden;
  box-shadow: 0 0 0 1px var(--line), 0 10px 22px -12px rgba(37, 37, 49, .45); transform-origin: 100% 100%;
}
.card-media.vial-ready .card-orig img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; padding: 0; object-fit: contain; mix-blend-mode: normal; transform: none !important; scale: 1.24 !important; }

/* Forsiden: flasken i spotlight med originalen ved siden av */
.spot-vial { position: absolute; inset: 0; opacity: 0; translate: 0 30px; scale: .96; transition: opacity .9s var(--ease), translate 1.1s var(--ease), scale 1.1s var(--ease); }
.spot-vial .vial-snap { animation: float 7s ease-in-out infinite; }
.spot-slide.is-active .spot-vial { opacity: 1; translate: none; scale: none; }
.spot-slide.is-leaving .spot-vial { opacity: 0; translate: 0 -24px; scale: 1.02; }
/* opacity 0 også før flasken er klar, så det lille bildet aldri blinker frem på skjulte lysbilder */
.spot-orig { display: contents; opacity: 0; }
.spot-slide.vial-ready .spot-orig { display: block; position: absolute; right: 2%; bottom: 10%; width: 24%; background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -14px rgba(37, 37, 49, .45); opacity: 0; scale: .9; transform-origin: 100% 100%; transition: opacity .3s var(--ease), scale .3s var(--ease); }
.spot-slide.vial-ready.is-active .spot-orig { opacity: 1; scale: none; transition: opacity .7s var(--ease) .5s, scale .7s var(--ease) .5s; }
.spot-slide.vial-ready .spot-orig img { width: 100%; height: auto; aspect-ratio: 4 / 5; padding: 0; object-fit: contain; mix-blend-mode: normal; opacity: 1; translate: none; scale: 1.24; animation: none; }
.spot-slide.vial-ready > svg { display: none; }

/* Kategorier og handlekurv */
.cat-vial { position: relative; display: block; }
.cat-vial > img, .cat-vial > svg { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; }
.cat-vial.vial-ready > img, .cat-vial.vial-ready > svg { visibility: hidden; }
.line-vis { position: relative; width: 64px; height: 80px; border-radius: 999px 999px 8px 8px; background: var(--soft); overflow: hidden; flex: none; }
.line-vis > img, .line-vis > .ph { width: 100%; height: 100%; }
.line-vis.vial-ready > img, .line-vis.vial-ready > .ph { visibility: hidden; }
.summary .line-vis { width: 52px; height: 64px; background: #fff; }

/* Produktsiden: lite bilde av originalflasken i hjørnet av buen */
.gallery-orig {
  position: absolute; right: 5%; bottom: 5%; z-index: 3; width: 23%; min-width: 86px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: #fff; box-shadow: 0 0 0 1px var(--line), 0 14px 30px -14px rgba(37, 37, 49, .45); transition: transform .3s var(--ease), box-shadow .3s;
}
.gallery-orig:hover { transform: translateY(-3px); box-shadow: 0 0 0 1px var(--ink), 0 18px 34px -14px rgba(37, 37, 49, .5); }
.gallery-orig[hidden] { display: none; }
.gallery-orig img { display: block; width: 100%; aspect-ratio: 4 / 5; object-fit: contain; padding: 0; scale: 1.24; animation: none; mix-blend-mode: normal; transition: opacity .3s; }
.gallery-orig small { display: block; padding: 0 4px 8px; z-index: 1; font: 800 .56rem/1.2 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.gallery-orig [data-when="photo"] { display: none; }
.card-orig small, .spot-orig small { display: none; } /* eldre bufrede sider */
.gallery[data-view="photo"] .gallery-orig img { opacity: .2; }
.gallery[data-view="photo"] .gallery-orig [data-when="photo"] { display: block; position: absolute; inset: 0; display: grid; place-items: center; padding: 8px; text-align: center; }
.gallery-frame .gallery-photo { position: absolute; inset: 0; }
.gallery[data-view="photo"] .vial-hint { opacity: 0 !important; }
@media (prefers-reduced-motion: reduce) { .vial-snap, .spot-vial .vial-snap { animation: none; } }

.gallery[data-view="vial"] .gallery-frame > .ph { opacity: 0; transition: opacity .4s; }

/* ---------- Vedlikeholdsmodus ---------- */
.maint-body { min-height: 100vh; display: flex; flex-direction: column; background: #fff; }
.maint { position: relative; flex: 1; width: min(100% - 2 * var(--gutter), 1080px); margin: 0 auto; padding: clamp(40px, 8vh, 90px) 0 50px; text-align: center; isolation: isolate; }
.maint-arch { position: absolute; z-index: -1; left: 50%; top: clamp(10px, 4vh, 40px); width: min(620px, 92vw); aspect-ratio: 1 / 1.05; translate: -50% 0; }
.maint-arch span { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(#000 55%, transparent); mask-image: linear-gradient(#000 55%, transparent); border-radius: 999px 999px 24px 24px; background: var(--tint); opacity: .8; }
.maint-arch span + span { inset: 7% 7% 0; background: none; border: 1px solid rgba(125, 3, 248, .12); }
.maint-logo { width: clamp(170px, 22vw, 230px); margin: 0 auto clamp(28px, 5vh, 50px); }
.maint h1 { font-size: clamp(3.4rem, 9vw, 7rem); line-height: .9; margin: 12px 0 18px; }
.maint-msg { max-width: 560px; margin: 0 auto; font-size: 1.08rem; color: var(--ink-2); }
.maint-when { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; padding: 8px 16px; border-radius: 999px; background: #fff; box-shadow: 0 0 0 1px var(--line); font-size: .9rem; }
.maint-when svg { width: 16px; height: 16px; color: var(--purple); }
.maint-shelf { margin-top: clamp(44px, 8vh, 80px); }
.maint-shelf h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: 22px; }
.maint-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(10px, 1.6vw, 20px); }
.maint-item { margin: 0; }
.maint-media { pointer-events: none; }
.maint-item figcaption { margin-top: 10px; font-size: .86rem; font-weight: 700; line-height: 1.3; }
.maint-item figcaption span { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 3px; }
.maint-news { max-width: 460px; margin: clamp(44px, 7vh, 70px) auto 0; }
.maint-news p { margin: 0 0 12px; font-weight: 700; }
.maint-contact { margin-top: 26px; font-size: .9rem; color: var(--muted); }
.maint-foot { padding: 22px var(--gutter); text-align: center; font-size: .78rem; color: var(--muted); border-top: 1px solid var(--line); }
.maint-preview { position: sticky; top: 0; z-index: 90; padding: 9px var(--gutter); background: var(--ink); color: #fff; font-size: .82rem; font-weight: 700; text-align: center; }
.maint-preview a { color: #fff; }
@media (max-width: 900px) { .maint-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 480px) { .maint-grid { grid-template-columns: repeat(2, 1fr); } .maint-grid > :nth-child(n+5) { display: none; } }

/* ---------- Sillage: duftaura og råvaretegninger i bakgrunnen ---------- */
@property --s1 { syntax: '<color>'; inherits: true; initial-value: #a45bff; }
@property --s2 { syntax: '<color>'; inherits: true; initial-value: #ff6f98; }
.scent-sprite { position: absolute; }
.scent { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; transition: --s1 1.8s var(--ease), --s2 1.8s var(--ease); contain: paint; }
.scent-aura { position: absolute; border-radius: 50%; will-change: transform; }
.scent-aura.a1 { background: radial-gradient(closest-side, color-mix(in srgb, var(--s1) 55%, transparent), transparent); }
.scent-aura.a2 { background: radial-gradient(closest-side, color-mix(in srgb, var(--s2) 45%, transparent), transparent); }
.scent-aura.a3 { background: radial-gradient(closest-side, color-mix(in srgb, var(--s1) 30%, color-mix(in srgb, var(--s2) 40%, transparent)), transparent); }
.scent-notes { position: absolute; inset: 0; transition: opacity 1.2s var(--ease); }
.scent-notes.is-leaving { opacity: 0; }
.sn {
  position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); margin: calc(var(--s) / -2) 0 0 calc(var(--s) / -2);
  color: color-mix(in srgb, var(--s1) 58%, #3b2a55); opacity: .55; rotate: var(--r);
  translate: calc(var(--px, 0) * (8px + var(--k) * 4px)) calc(var(--py, 0) * (8px + var(--k) * 4px));
  transition: translate 1.2s var(--ease);
  animation: snIn 1.4s var(--ease) both calc(var(--k) * .12s), snFloat calc(9s + var(--k) * 1.3s) ease-in-out infinite var(--d);
}
.sn:nth-child(even) { color: color-mix(in srgb, var(--s2) 62%, #3b2a55); }
@keyframes snIn { from { opacity: 0; scale: .6; } }
@keyframes snFloat { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-14px) rotate(8deg); } }
@keyframes auraA { to { transform: translate(-6%, 8%) scale(1.12); } }
@keyframes auraB { to { transform: translate(8%, -6%) scale(.92); } }
@keyframes auraC { to { transform: translate(-10%, -8%) scale(1.2); } }
.scent-aura.a1 { animation: auraA 19s ease-in-out infinite alternate; }
.scent-aura.a2 { animation: auraB 23s ease-in-out infinite alternate; }
.scent-aura.a3 { animation: auraC 17s ease-in-out infinite alternate; }

/* Hero: auraen bak buen og under teksten, tegningene rundt buen */
.spot-grid { position: relative; z-index: 1; }
.scent-hero .a1 { width: min(62vw, 900px); aspect-ratio: 1; right: -8%; top: -24%; }
.scent-hero .a2 { width: min(48vw, 680px); aspect-ratio: 1; left: -14%; bottom: -40%; opacity: .75; }
.scent-hero .a3 { width: min(30vw, 420px); aspect-ratio: 1; right: 26%; bottom: -12%; }
.spot-ring { z-index: 0; }

/* Produktsiden: auraen i buen bak flasken */
.scent-frame { border-radius: inherit; }
.scent-frame .a1 { width: 110%; aspect-ratio: 1; left: -30%; top: -30%; }
.scent-frame .a2 { width: 100%; aspect-ratio: 1; right: -40%; bottom: -30%; }
.scent-frame .a3 { width: 60%; aspect-ratio: 1; left: 20%; top: 36%; }
.scent-frame .sn { opacity: .34; }
.gallery[data-view="photo"] .scent-frame .sn { opacity: .18; }

/* Kategori- og merkesider: en rolig aura bak overskriften */
.page-head.has-scent { position: relative; isolation: isolate; }
.page-head.has-scent > :not(.scent) { position: relative; z-index: 1; }
.scent-head { inset: 0 calc(50% - 50vw); z-index: 0; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 35%); mask-image: linear-gradient(90deg, transparent 0, #000 35%); }
.scent-head .a1 { width: 520px; aspect-ratio: 1; right: -120px; top: -220px; }
.scent-head .a2 { width: 420px; aspect-ratio: 1; right: 22%; bottom: -260px; opacity: .8; }
.scent-head .a3 { display: none; }

/* Lyse seksjoner: store, svake tegninger som vannmerke */
.section.has-scent { position: relative; isolation: isolate; overflow: hidden; }
.section.has-scent > .wrap { position: relative; z-index: 1; }
.scent-soft .a1 { width: 640px; aspect-ratio: 1; left: -220px; top: -260px; opacity: .55; }
.scent-soft .a2 { width: 560px; aspect-ratio: 1; right: -200px; bottom: -280px; opacity: .55; }
.scent-soft .a3 { display: none; }
.scent-soft .sn { opacity: .16; stroke-width: 1; }

/* I hero ligger tegningene foran buen (men utenfor flasken og teksten), auraen bak */
.scent-hero { z-index: auto; contain: none; }
.scent-hero .scent-aura { z-index: 0; }
.scent-hero .scent-notes { z-index: 2; }
@media (max-width: 900px) {
  .scent-hero .scent-notes { display: none; }
  .scent-head .sn:nth-child(n+3) { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .scent-aura, .sn { animation: none !important; }
  .scent { transition: none; }
}

/* Buen i hero får fargen fra duften som vises */
.spot { transition: --s1 1.8s var(--ease), --s2 1.8s var(--ease); }
.spot-arch { background: linear-gradient(160deg, color-mix(in srgb, var(--s1) 20%, #fbf8ff) 0%, color-mix(in srgb, var(--s2) 16%, #fdf7f9) 55%, #fff3e4 100%); }
.scent-hero .sn { width: calc(var(--s) * 1.15); height: calc(var(--s) * 1.15); }

/* Produktkort: en svak duftaura i buen, sterkere når du holder over */
.card-media::before {
  content: ''; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit; opacity: .45; transition: opacity .6s var(--ease);
  background: radial-gradient(60% 50% at 50% 34%, color-mix(in srgb, var(--s1, #a45bff) 34%, transparent), transparent 72%), radial-gradient(55% 45% at 72% 92%, color-mix(in srgb, var(--s2, #ff6f98) 28%, transparent), transparent 70%);
}
.card:hover .card-media::before { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .spot { transition: none; } }

/* ---------- Nyheter i rotasjon (forsiden) ---------- */
.news-rot { padding-top: 0; }
.news-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.news-copy h2 { font-size: clamp(2.8rem, 5.4vw, 4.6rem); margin: 14px 0 0; }
.news-copy p { max-width: 36ch; color: var(--ink-2); margin: 12px 0 22px; }
.news-copy .eyebrow { display: block; }
.news-dots { display: flex; gap: 10px; margin: 0 0 24px; }
.news-dots button { width: 34px; height: 4px; padding: 0; border: 0; border-radius: 2px; background: var(--line); cursor: pointer; transition: background .3s var(--ease); position: relative; }
.news-dots button::before { content: ''; position: absolute; inset: -12px -2px; }
.news-dots button[aria-selected="true"] { background: var(--ink); }
.news-stage { display: grid; }
.news-pair { grid-area: 1 / 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s linear .7s; }
.news-pair.is-active { opacity: 1; visibility: visible; transform: none; transition: opacity .7s var(--ease), transform .7s var(--ease), visibility 0s; }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .news-pair, .news-pair.is-active { transition: none; transform: none; } }

/* Overgang fra originalbildet til 3D-flasken (shop.js → showSnap): originalen tones ut der den står,
   flasken glir inn, og det lille originalbildet kommer til slutt – ingenting hopper. */
.orig-ghost { position: absolute; inset: 0; z-index: 3; display: block; pointer-events: none; mix-blend-mode: multiply; animation: ghostOut .6s var(--ease) both; }
.card-media .orig-ghost img { transform: none !important; }
.spot-slide > .orig-ghost { display: grid; place-items: end center; }
.spot-slide > .orig-ghost img { opacity: 1; translate: none; scale: none; animation: none; transition: none; }
@keyframes ghostOut { to { opacity: 0; scale: .95; filter: blur(3px); } }
.vial-snap.snap-in { animation: snapIn .9s var(--ease) both .1s; }
.spot-vial .vial-snap.snap-in { animation: snapIn .9s var(--ease) both .1s, float 7s ease-in-out 1s infinite; }
@keyframes snapIn { from { opacity: 0; translate: 0 16px; scale: .97; } }
.card-media.vial-enter.vial-ready .card-orig { animation: insetIn .6s var(--ease) both .55s; }
.spot-slide.vial-enter.vial-ready.is-active .spot-orig { animation: insetIn .6s var(--ease) both .55s; }
@keyframes insetIn { from { opacity: 0; scale: .82; translate: 0 8px; } }
@media (prefers-reduced-motion: reduce) { .orig-ghost { display: none; } .vial-snap.snap-in, .card-media.vial-enter.vial-ready .card-orig, .spot-slide.vial-enter.vial-ready.is-active .spot-orig { animation: none; } }

/* Søk mens du skriver */
.search-suggest { margin: -6px 0 22px; max-height: min(62vh, 560px); overflow-y: auto; overscroll-behavior: contain; }
.sg-brands { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.sg-brand { display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .85rem; }
.sg-brand span { color: var(--muted); font-weight: 500; }
.sg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 4px 18px; }
.sg-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; padding: 8px 10px; border-radius: 12px; text-decoration: none; color: inherit; }
.sg-img { width: 48px; height: 60px; border-radius: 999px 999px 8px 8px; background: var(--soft); overflow: hidden; display: block; }
.sg-img img { width: 100%; height: 100%; object-fit: contain; padding: 6px 4px 2px; mix-blend-mode: multiply; }
.sg-txt { min-width: 0; }
.sg-txt small { display: block; font-size: .64rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-txt b { display: block; font-family: var(--display); font-weight: 400; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .02em; line-height: 1.15; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-price { font-size: .82rem; font-weight: 700; color: var(--ink-2); white-space: nowrap; }
.sg-all { display: inline-block; margin-top: 12px; padding: 6px 10px; border-radius: 8px; font-weight: 800; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.sg-none { color: var(--ink-2); margin: 4px 0 0; }
.sg-item:hover, .sg-item[aria-selected="true"], .sg-brand[aria-selected="true"], .sg-brand:hover, .sg-all[aria-selected="true"], .sg-all:hover { background: var(--soft); }
@media (max-width: 640px) { .sg-list { grid-template-columns: 1fr; } .sg-item { padding: 6px 4px; } }

/* Hero: originalflasken vises ikke stort mens 3D-flasken lages – flasken glir rett inn (shop.js → initSpot/showSnap).
   Uten JavaScript, eller om 3D ikke er klar etter 10 sekunder, vises originalbildet som før. */
.js .spot-stage:not(.vial-timeout) .spot-slide:not(.vial-ready) .spot-orig img { opacity: 0 !important; animation: none; }
.spot-vial .vial-snap.snap-in { animation: heroIn 1.3s var(--ease) both .05s, float 7s ease-in-out 1.35s infinite; }
@keyframes heroIn { from { opacity: 0; translate: 0 34px; scale: .94; } }
.spot-slide.vial-enter.vial-ready.is-active .spot-orig { animation: insetIn .8s var(--ease) both .85s; }
@media (prefers-reduced-motion: reduce) { .spot-vial .vial-snap.snap-in { animation: none; } }

/* Standardbilde (parfymer uten eget bilde): vises til 3D-flasken er klar, men ikke som «originalflaske» i hjørnet */
.card-media.vial-ready .card-orig.is-default, .spot-slide.vial-ready .spot-orig.is-default { display: none !important; }

/* ---------- Samtykkebanner (informasjonskapsler) ---------- */
.legal-links { display: inline-flex; gap: 14px; }
.cookie-consent { position: fixed; left: 16px; bottom: 16px; z-index: 96; width: min(440px, calc(100% - 32px)); background: #fff; border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(37, 37, 49, .45), 0 0 0 1px var(--line); animation: consent-in .5s var(--ease) both; }
.cookie-consent::before { content: ''; display: block; height: 3px; border-radius: 18px 18px 0 0; background: var(--grad); }
.cookie-consent-inner { padding: 18px 20px 20px; font-size: .9rem; line-height: 1.5; color: var(--ink-2); }
.cookie-consent-inner p { margin: 0 0 12px; }
.cookie-consent-title { font: 600 1.5rem/1 var(--display); text-transform: uppercase; letter-spacing: .02em; color: var(--ink); }
.cookie-consent-inner a { color: var(--ink); }
.cookie-consent-inner { position: relative; }
.cookie-close { position: absolute; top: 10px; right: 12px; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); font-size: 1.3rem; line-height: 1; cursor: pointer; }
.cookie-close:hover { background: var(--soft-2); }
.cookie-consent-opts { display: grid; gap: 2px; margin: 0 0 14px; padding: 4px 12px; background: var(--soft); border-radius: 12px; }
.cc-row { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 10px 0; cursor: pointer; }
.cc-row + .cc-row { border-top: 1px solid var(--line); }
.cc-txt b { display: block; color: var(--ink); font-size: .9rem; }
.cc-txt small { display: block; color: var(--muted); font-size: .78rem; line-height: 1.4; }
.cc-switch { position: relative; flex: 0 0 auto; width: 42px; height: 24px; }
.cc-switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.cc-switch i { position: absolute; inset: 0; border-radius: 999px; background: #cfccd6; transition: background .2s; pointer-events: none; }
.cc-switch i::after { content: ''; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); transition: transform .2s var(--ease); }
.cc-switch input:checked + i { background: var(--purple); }
.cc-switch input:checked + i::after { transform: translateX(18px); }
.cc-switch input:disabled + i { background: #9b8fc0; opacity: .7; }
.cc-switch input:focus-visible + i { outline: 2px solid var(--purple); outline-offset: 2px; }
.cookie-consent-now { margin: 12px 0 0 !important; font-size: .78rem; color: var(--muted); }
.cookie-consent .cookie-consent-inner { max-height: calc(100vh - 40px); overflow: auto; }
.cookie-consent-btns { display: flex; flex-wrap: wrap; gap: 8px; }
.cookie-consent-btns .btn { flex: 1 1 auto; min-width: 0; padding: 11px 16px; font-size: .86rem; }
@keyframes consent-in { from { opacity: 0; transform: translateY(20px); } }
@media (max-width: 560px) { .cookie-consent { left: 8px; right: 8px; bottom: 8px; width: auto; } .cookie-consent-btns .btn { flex: 1 1 45%; padding: 11px 10px; font-size: .74rem; letter-spacing: .06em; white-space: nowrap; } }
@media (prefers-reduced-motion: reduce) { .cookie-consent { animation: none; } }

/* ---------- Nyhetsbrev etter kjøp og bekreftelsessider ---------- */
.nl-cta { margin: 28px 0 0; padding: 22px 22px 20px; border-radius: 18px; background: var(--tint); position: relative; overflow: hidden; }
.nl-cta h2 { font: 600 clamp(1.6rem, 3vw, 2.1rem)/1 var(--display); text-transform: uppercase; margin: 0 0 6px; }
.nl-cta p { margin: 0 0 14px; color: var(--ink-2); max-width: 52ch; }
.nl-cta { text-align: center; }
.nl-cta p { margin-inline: auto; }
.nl-cta .row-btns { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.nl-cta .done { color: var(--ok); font-weight: 700; }
.consent-inline { display: flex; gap: 10px; align-items: flex-start; margin-top: 12px; font-size: .9rem; color: var(--ink-2); }
.consent-inline input { margin-top: 3px; }
