/* =========================================================
DUKKEHJEM – MAIN STYLES
========================================================= */

:root {
--cream: #f4efe6;
--paper: #fbf8f2;
--paper-dark: #ebe3d5;
--ink: #28251f;
--muted: #706b61;
--rose: #a96b68;
--rose-dark: #8e5654;
--sage: #7f866b;
--gold: #b9a07a;
--dark: #292821;
--white: #ffffff;

--serif: Georgia, "Times New Roman", serif;
--sans: Arial, Helvetica, sans-serif;

--max-width: 1240px;

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  }

html {
scroll-behavior: smooth;
}

body {
background: var(--cream);
color: var(--ink);
font-family: var(--sans);
line-height: 1.6;
}

img {
display: block;
width: 100%;
}

a {
color: inherit;
text-decoration: none;
}

button {
font: inherit;
}

.container {
width: min(100% - 48px, var(--max-width));
margin-inline: auto;
}

/* =========================================================
DECORATION
========================================================= */

.ornament {
display: flex;
align-items: center;
justify-content: center;
gap: 14px;
margin-bottom: 18px;
color: var(--gold);
}

.ornament::before,
.ornament::after {
content: "";
width: 45px;
height: 1px;
background: currentColor;
}

.ornament span {
font-size: 18px;
line-height: 1;
}

.eyebrow {
color: var(--rose);
text-transform: uppercase;
letter-spacing: 3px;
font-size: 12px;
font-weight: 700;
margin-bottom: 12px;
}

.section-title {
font-family: var(--serif);
font-size: clamp(34px, 5vw, 58px);
line-height: 1.05;
font-weight: 400;
margin-bottom: 22px;
}

.section-intro {
max-width: 650px;
margin: 0 auto;
color: var(--muted);
font-size: 17px;
}

/* =========================================================
HEADER
========================================================= */

.site-header {
position: absolute;
top: 0;
left: 0;
right: 0;
z-index: 20;
color: var(--white);
}

.nav {
height: 92px;
display: flex;
align-items: center;
justify-content: space-between;
gap: 30px;
}

.logo {
font-family: var(--serif);
font-size: 28px;
letter-spacing: 5px;
font-weight: 400;
white-space: nowrap;
}

.logo small {
display: block;
font-family: var(--sans);
font-size: 8px;
letter-spacing: 4px;
text-align: center;
margin-top: -3px;
opacity: .8;
}

.nav-links {
display: flex;
align-items: center;
gap: 32px;
list-style: none;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 1.5px;
}

.nav-links a {
position: relative;
padding: 8px 0;
}

.nav-links a::after {
content: "";
position: absolute;
left: 0;
right: 0;
bottom: 2px;
height: 1px;
background: var(--white);
transform: scaleX(0);
transform-origin: center;
transition: transform .25s ease;
}

.nav-links a:hover::after {
transform: scaleX(1);
}

.nav-search {
width: 38px;
height: 38px;
border: 1px solid rgba(255,255,255,.45);
border-radius: 50%;
display: grid;
place-items: center;
font-size: 16px;
}

/* =========================================================
HERO
========================================================= */

.hero,
.museum-hero,
.shops-hero,
.about-hero {
min-height: 760px;
position: relative;
display: flex;
align-items: center;
overflow: hidden;
}

.hero {
background:
linear-gradient(
90deg,
rgba(35,32,28,.82) 0%,
rgba(35,32,28,.60) 38%,
rgba(35,32,28,.22) 72%,
rgba(35,32,28,.38) 100%
),
var(--about-hero-image, url('/images/home/hero.jpg')) center / cover no-repeat,
#6e675b;
}

.hero::after {
content: "";
position: absolute;
inset: 0;
pointer-events: none;
background:
linear-gradient(
180deg,
rgba(0,0,0,.35) 0%,
transparent 18%,
transparent 80%,
rgba(0,0,0,.25) 100%
);
}

.hero-content {
position: relative;
z-index: 2;
color: var(--white);
max-width: 720px;
padding-top: 90px;
}

.hero-kicker {
text-transform: uppercase;
letter-spacing: 5px;
font-size: 12px;
margin-bottom: 18px;
opacity: .9;
}

.hero h1 {
font-family: var(--serif);
/* font-size: clamp(62px, 10vw, 128px); */
font-size: clamp(55px, 8vw, 105px);
font-weight: 400;
line-height: .86;
letter-spacing: 3px;
margin-bottom: 28px;
}

.hero-subtitle {
font-family: var(--serif);
font-size: clamp(22px, 3vw, 34px);
font-style: italic;
margin-bottom: 34px;
}

.hero-text {
max-width: 520px;
font-size: 16px;
opacity: .9;
margin-bottom: 36px;
}

.button {
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 48px;
padding: 0 27px;
border: 1px solid rgba(255,255,255,.75);
color: var(--white);
text-transform: uppercase;
letter-spacing: 2px;
font-size: 11px;
transition: all .25s ease;
}

.button:hover {
background: var(--white);
color: var(--ink);
}

.hero-scroll {
position: absolute;
z-index: 5;
bottom: 28px;
left: 50%;
transform: translateX(-50%);
color: rgba(255,255,255,.75);
font-size: 10px;
letter-spacing: 3px;
text-transform: uppercase;
}

/* =========================================================
INTRO CARDS
========================================================= */

.places {
padding: 100px 0 110px;
background: var(--paper);
}

.section-heading {
text-align: center;
margin-bottom: 58px;
}

.places-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 28px;
}

.place-card {
background: var(--white);
overflow: hidden;
box-shadow: 0 12px 35px rgba(50,42,30,.08);
transition: transform .3s ease, box-shadow .3s ease;
}

.place-card:hover {
transform: translateY(-6px);
box-shadow: 0 18px 42px rgba(50,42,30,.14);
}

.place-image {
aspect-ratio: 4 / 3;
overflow: hidden;
background: var(--paper-dark);
}

.place-image img {
height: 100%;
object-fit: cover;
transition: transform .5s ease;
}

.place-card:hover .place-image img {
transform: scale(1.04);
}

.place-image.placeholder {
display: grid;
place-items: center;
color: var(--muted);
font-family: var(--serif);
font-size: 25px;
font-style: italic;
}

.place-content {
padding: 28px 30px 32px;
}

.place-label {
color: var(--rose);
text-transform: uppercase;
letter-spacing: 2px;
font-size: 10px;
font-weight: 700;
margin-bottom: 8px;
}

.place-content h3 {
font-family: var(--serif);
font-size: 30px;
font-weight: 400;
margin-bottom: 12px;
}

.place-content p {
color: var(--muted);
font-size: 14px;
margin-bottom: 20px;
}

.text-link {
color: var(--rose-dark);
text-transform: uppercase;
letter-spacing: 1.5px;
font-size: 10px;
font-weight: 700;
}

.text-link span {
margin-left: 8px;
transition: margin .2s ease;
}

.text-link:hover span {
margin-left: 13px;
}

/* =========================================================
STORY SECTION
========================================================= */

.story {
padding: 120px 0;
background: var(--cream);
}

.story-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 90px;
align-items: center;
}

.story-image {
min-height: 600px;
position: relative;
background:
url('/images/home/story.jpg') center / cover no-repeat,
var(--paper-dark);
}

.story-image::after {
content: "";
position: absolute;
inset: 18px;
border: 1px solid rgba(255,255,255,.55);
pointer-events: none;
}

.story-copy {
max-width: 540px;
}

.story-copy p {
color: var(--muted);
font-size: 16px;
margin-bottom: 20px;
}

.quote {
margin-top: 38px;
padding: 25px 0 25px 25px;
border-left: 2px solid var(--gold);
font-family: var(--serif);
font-size: 22px;
font-style: italic;
line-height: 1.45;
color: var(--ink);
}

/* =========================================================
FEATURES
========================================================= */

.features {
padding: 90px 0;
background: var(--paper-dark);
}

.features-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 55px;
}

.feature {
text-align: center;
}

.feature-icon {
width: 72px;
height: 72px;
margin: 0 auto 22px;
border: 1px solid var(--gold);
border-radius: 50%;
display: grid;
place-items: center;
color: var(--rose);
font-family: var(--serif);
font-size: 27px;
}

.feature h3 {
font-family: var(--serif);
font-size: 25px;
font-weight: 400;
margin-bottom: 10px;
}

.feature p {
color: var(--muted);
font-size: 14px;
max-width: 300px;
margin: auto;
}

/* =========================================================
CONTACT / LOCATIONS
========================================================= */

.visit {
padding: 120px 0;
background:
linear-gradient(rgba(42,38,31,.68), rgba(42,38,31,.68)),
url('/images/home/hero.jpg') center / cover no-repeat,
#575348;
color: var(--white);
}

.visit-heading {
text-align: center;
margin-bottom: 65px;
}

.visit-heading .eyebrow {
color: #d4b6a9;
}

.visit-heading .section-title {
margin-bottom: 15px;
}

.visit-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}

.visit-card {
padding: 35px;
text-align: center;
border: 1px solid rgba(255,255,255,.25);
background: rgba(255,255,255,.06);
backdrop-filter: blur(4px);
}

.visit-card h3 {
font-family: var(--serif);
font-size: 27px;
font-weight: 400;
margin-bottom: 15px;
}

.visit-card p {
color: rgba(255,255,255,.78);
font-size: 14px;
}

.visit-card .button {
margin-top: 24px;
}

/* =========================================================
FOOTER
========================================================= */

footer {
background: var(--dark);
color: rgba(255,255,255,.8);
padding: 70px 0 35px;
}

.footer-grid {
display: grid;
grid-template-columns: 1.5fr 1fr 1fr 1fr;
gap: 50px;
padding-bottom: 55px;
border-bottom: 1px solid rgba(255,255,255,.12);
}

.footer-logo {
font-family: var(--serif);
font-size: 32px;
letter-spacing: 5px;
color: var(--white);
margin-bottom: 15px;
}

.footer-logo img {
    display: block;
    max-width: 250px;
    max-height: 90px;
    width: auto;
    height: auto;
}

.footer-about {
max-width: 330px;
font-size: 13px;
color: rgba(255,255,255,.55);
}

.footer-title {
color: var(--white);
text-transform: uppercase;
letter-spacing: 2px;
font-size: 10px;
margin-bottom: 17px;
}

.footer-links {
list-style: none;
}

.footer-links li {
margin-bottom: 8px;
font-size: 13px;
color: rgba(255,255,255,.55);
}

.footer-links a:hover {
color: var(--white);
}

.footer-bottom {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding-top: 28px;
font-size: 11px;
color: rgba(255,255,255,.4);
}

.footer-social {
display: flex;
gap: 10px;
}

.social {
width: 34px;
height: 34px;
border: 1px solid rgba(255,255,255,.2);
border-radius: 50%;
display: grid;
place-items: center;
font-size: 11px;
}

.social:hover {
border-color: rgba(255,255,255,.6);
color: var(--white);
}

/* =========================================================
MOBILE NAV BUTTON
========================================================= */

.mobile-menu {
display: none;
width: 40px;
height: 40px;
border: 1px solid rgba(255,255,255,.4);
background: transparent;
color: var(--white);
cursor: pointer;
}

/* =========================================================
   MOBILE NAVIGATION – OPEN STATE
   ========================================================= */

@media (max-width: 900px) {

    .site-header {
        overflow: visible;
    }

    .nav {
        position: relative;
    }

    .nav-links.mobile-open {
        display: flex;

        position: absolute;
        top: 76px;
        left: 0;
        right: 0;

        flex-direction: column;
        align-items: stretch;
        gap: 0;

        padding: 10px 0;

        background: rgba(41, 40, 33, .97);

        border-top: 1px solid rgba(255,255,255,.12);

        box-shadow:
            0 12px 30px rgba(0,0,0,.20);

        z-index: 50;
    }

    .nav-links.mobile-open li {
        width: 100%;
    }

    .nav-links.mobile-open a {
        display: block;
        width: 100%;

        padding: 15px 24px;

        color: var(--white);

        font-size: 12px;
        letter-spacing: 2px;
    }

    .nav-links.mobile-open a::after {
        display: none;
    }

    .nav-links.mobile-open a:hover {
        background: rgba(255,255,255,.08);
    }

}

/* =========================================================
RESPONSIVE
========================================================= */

@media (max-width: 900px) {

.container {
    width: min(100% - 32px, var(--max-width));
}

.nav-links {
    display: none;
}

.mobile-menu {
    display: grid;
    place-items: center;
}

.nav-search {
    display: none;
}

.hero,
.museum-hero,
.shops-hero,
.about-hero {
    min-height: 680px;
}

.hero-content {
    padding-top: 80px;
}

.places-grid,
.features-grid,
.visit-grid {
    grid-template-columns: 1fr;
}

.place-card {
    max-width: 600px;
    margin-inline: auto;
}

.story-grid {
    grid-template-columns: 1fr;
    gap: 55px;
}

.story-image {
    min-height: 500px;
}

.story-copy {
    max-width: 700px;
}

.footer-grid {
    grid-template-columns: 1fr 1fr;
}

}

/* =========================================================
MOBILE
========================================================= */

@media (max-width: 600px) {

.nav {
    height: 76px;
}

.logo {
    font-size: 22px;
    letter-spacing: 4px;
}

.hero,
.museum-hero,
.shops-hero,
.about-hero {
    min-height: 640px;
}

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(35,32,28,.78),
            rgba(35,32,28,.45)
        ),
        var(--about-hero-image, url('/images/home/hero.jpg')) center / cover no-repeat,
        #6e675b;
}

.hero h1 {
    font-size: 50px;
}

.hero-subtitle {
    font-size: 23px;
}

.places,
.story,
.visit {
    padding: 75px 0;
}

.features {
    padding: 70px 0;
}

.story-image {
    min-height: 390px;
}

.footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
}

.footer-bottom {
    flex-direction: column;
    align-items: flex-start;
}

}

/* =========================================================
DUKKEHJEM MUSEUM
========================================================= */

.museum-hero {
background:
linear-gradient(
90deg,
rgba(35,32,28,.82) 0%,
rgba(35,32,28,.58) 42%,
rgba(35,32,28,.25) 100%
),
var(--museum-hero-image, url('/images/home/hero.jpg')) center / cover no-repeat,
#6e675b;
}

.museum-hero-content {
position: relative;
z-index: 2;
color: var(--white);
max-width: 700px;
padding-top: 90px;
}

.museum-hero h1 {
font-family: var(--serif);
font-size: clamp(55px, 8vw, 105px);
font-weight: 400;
line-height: .92;
margin-bottom: 25px;
}

.museum-hero-subtitle {
font-family: var(--serif);
font-style: italic;
font-size: clamp(22px, 3vw, 32px);
margin-bottom: 25px;
}

.museum-hero p {
max-width: 550px;
color: rgba(255,255,255,.88);
font-size: 16px;
margin-bottom: 32px;
}

.intro {
padding: 110px 0;
background: var(--paper);
text-align: center;
}

.intro-text {
max-width: 760px;
margin: auto;
color: var(--muted);
font-size: 17px;
}

.history {
padding: 120px 0;
background: var(--cream);
}

.history-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 90px;
align-items: center;
}

.history-image {
position: relative;
}

.history-image img {
aspect-ratio: 4 / 5;
object-fit: cover;
}

.history-image::after {
content: "";
position: absolute;
inset: 18px;
border: 1px solid rgba(255,255,255,.65);
pointer-events: none;
}

.history-copy {
max-width: 540px;
}

.history-copy .eyebrow {
color: var(--rose);
}

.history-copy p {
color: var(--muted);
font-size: 16px;
margin-bottom: 20px;
}

.collection {
padding: 105px 0;
background: var(--paper-dark);
}

.collection-heading {
text-align: center;
margin-bottom: 60px;
}

.collection-grid {
display: grid;
grid-template-columns: repeat(4, 1fr);
gap: 24px;
}

.collection-card {
background: var(--paper);
padding: 35px 25px;
text-align: center;
}

.collection-icon {
width: 65px;
height: 65px;
border: 1px solid var(--gold);
border-radius: 50%;
display: grid;
place-items: center;
margin: 0 auto 20px;
color: var(--rose);
font-family: var(--serif);
font-size: 25px;
}

.collection-card h3 {
font-family: var(--serif);
font-size: 24px;
font-weight: 400;
margin-bottom: 10px;
}

.collection-card p {
color: var(--muted);
font-size: 14px;
}

.visit-intro {
max-width: 600px;
margin: 0 auto 45px;
color: rgba(255,255,255,.68);
}

.address {
font-family: var(--serif);
font-size: 22px;
margin-bottom: 28px;
}

/* =========================================================
MUSEUM RESPONSIVE
========================================================= */

@media (max-width: 950px) {

.history-grid {
    grid-template-columns: 1fr;
    gap: 55px;
}

.history-copy {
    max-width: 700px;
}

.collection-grid {
    grid-template-columns: repeat(2, 1fr);
}

}

@media (max-width: 600px) {

.museum-hero h1 {
    font-size: 58px;
}

.intro,
.history,
.collection {
    padding: 75px 0;
}

.history-image img {
    aspect-ratio: 4 / 4.5;
}

.collection-grid {
    grid-template-columns: 1fr;
}

}

/* =========================================================
DUKKEHJEM BUTIKKER
========================================================= */

.shops-hero {
background:
linear-gradient(
90deg,
rgba(35,32,28,.82) 0%,
rgba(35,32,28,.58) 45%,
rgba(35,32,28,.25) 100%
),
var(--shops-hero-image, url('/images/home/hero.jpg')) center / cover no-repeat,
#6e675b;
}

.shops-hero-content {
position: relative;
z-index: 2;
color: var(--white);
max-width: 700px;
padding-top: 90px;
}

.shops-hero h1 {
font-family: var(--serif);
font-size: clamp(55px, 8vw, 105px);
font-weight: 400;
line-height: .92;
margin-bottom: 25px;
}

.shops-hero-subtitle {
font-family: var(--serif);
font-style: italic;
font-size: clamp(22px, 3vw, 32px);
margin-bottom: 20px;
}

.shops-hero p {
max-width: 550px;
color: rgba(255,255,255,.88);
font-size: 16px;
}

.shops {
padding: 50px 0 120px;
background: var(--paper);
}

.shop-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}

.shop-card {
background: var(--white);
box-shadow: 0 14px 40px rgba(50,42,30,.09);
overflow: hidden;
}

.shop-image {
aspect-ratio: 16 / 10;
overflow: hidden;
background: var(--paper-dark);
}

.shop-content {
padding: 34px 35px 38px;
}

.shop-label {
color: var(--rose);
text-transform: uppercase;
letter-spacing: 2px;
font-size: 10px;
font-weight: 700;
margin-bottom: 8px;
}

.shop-content h2 {
font-family: var(--serif);
font-size: 36px;
font-weight: 400;
margin-bottom: -10px;
}

.shop-description {
color: var(--muted);
font-size: 15px;
margin-bottom: 28px;
}

.shop-details {
border-top: 1px solid #e5ded2;
padding-top: 22px;
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
}

.detail-title {
color: var(--rose);
text-transform: uppercase;
letter-spacing: 1.5px;
font-size: 9px;
font-weight: 700;
margin-bottom: 7px;
}

.detail-text {
font-size: 14px;
line-height: 1.6;
}

.shop-image img {
width: 100%;
height: 100%;
object-fit: cover;
transition: transform .5s ease;
}

.opening-hours {
color: var(--muted);
}

.shop-button {
margin-top: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
padding: 0 25px;
border: 1px solid var(--rose);
color: var(--rose-dark);
text-transform: uppercase;
letter-spacing: 1.8px;
font-size: 10px;
transition: all .25s ease;
}

.shop-button:hover {
background: var(--rose);
color: var(--white);
}

.info-strip {
padding: 85px 0;
background: var(--paper-dark);
}

.info-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 50px;
}

.info-item {
text-align: center;
}

.info-icon {
width: 65px;
height: 65px;
margin: 0 auto 18px;
border: 1px solid var(--gold);
border-radius: 50%;
display: grid;
place-items: center;
color: var(--rose);
font-family: var(--serif);
font-size: 24px;
}

.info-item h3 {
font-family: var(--serif);
font-size: 24px;
font-weight: 400;
margin-bottom: 8px;
}

.info-item p {
max-width: 300px;
margin: auto;
color: var(--muted);
font-size: 14px;
}

.info-strip > .container > .eyebrow,
.info-strip > .container > .section-title {
    text-align: center;
}

/* =========================================================
   BUTIKKER RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .shop-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .shop-card {
        width: 100%;
        min-width: 0;
        max-width: 700px;
        margin-inline: auto;
    }

    .shop-content h2 {
        font-size: 30px;
        overflow-wrap: normal;
        word-break: normal;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

}

@media (max-width: 600px) {

.shops-hero h1 {
    font-size: 60px;
}

.intro,
.shops,
.info-strip {
    padding-top: 75px;
    padding-bottom: 75px;
}

.shop-details {
    grid-template-columns: 1fr;
    gap: 18px;
}

}

/* =========================================================
DUKKEHJEM OM OSS
========================================================= */

.about-hero {
background:
linear-gradient(
90deg,
rgba(35,32,28,.84) 0%,
rgba(35,32,28,.60) 45%,
rgba(35,32,28,.25) 100%
),
var(--about-hero-image, url('/images/home/hero.jpg')) center / cover no-repeat,
#6e675b;
}

.about-hero-content {
position: relative;
z-index: 2;
color: var(--white);
max-width: 720px;
padding-top: 90px;
}

.about-hero h1 {
font-family: var(--serif);
font-size: clamp(55px, 8vw, 105px);
font-weight: 400;
line-height: .92;
margin-bottom: 25px;
}

.about-hero-subtitle {
font-family: var(--serif);
font-style: italic;
font-size: clamp(22px, 3vw, 32px);
margin-bottom: 20px;
}

.about-hero p {
max-width: 570px;
color: rgba(255,255,255,.88);
font-size: 16px;
}

/* =========================================================
OM OSS – INTRO
========================================================= */

.intro {
padding: 110px 0;
background: var(--paper);
text-align: center;
}

.intro-text {
max-width: 760px;
margin: auto;
color: var(--muted);
font-size: 17px;
}

/* =========================================================
OM OSS – STORY
========================================================= */

.story {
padding: 120px 0;
background: var(--cream);
}

.story-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 90px;
align-items: center;
}

.story-image {
    min-height: 450px;
    position: relative;
    overflow: hidden;
}

.story-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.story-image::after {
content: "";
position: absolute;
inset: 18px;
border: 1px solid rgba(255,255,255,.65);
pointer-events: none;
}

.story-copy {
max-width: 550px;
}

.story-copy .eyebrow {
color: var(--rose);
}

.story-copy p {
color: var(--muted);
font-size: 16px;
margin-bottom: 20px;
}

/* =========================================================
OM OSS – VALUES
========================================================= */

.values {
padding: 110px 0;
background: var(--paper);
}

.values-heading {
text-align: center;
margin-bottom: 60px;
}

.values-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 30px;
}

.value-card {
text-align: center;
padding: 40px 28px;
background: var(--cream);
}

.value-icon {
width: 68px;
height: 68px;
margin: 0 auto 20px;
border: 1px solid var(--gold);
border-radius: 50%;
display: grid;
place-items: center;
color: var(--rose);
font-family: var(--serif);
font-size: 25px;
}

.value-card h3 {
font-family: var(--serif);
font-size: 25px;
font-weight: 400;
margin-bottom: 10px;
}

.value-card p {
color: var(--muted);
font-size: 14px;
}

/* =========================================================
OM OSS – TODAY
========================================================= */

.today {
padding: 120px 0;
background: var(--dark);
color: var(--white);
}

.today-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 90px;
align-items: center;
}

.today-copy {
max-width: 560px;
}

.today-copy .eyebrow {
color: #d7b6a9;
}

.today-copy p {
color: rgba(255,255,255,.68);
font-size: 16px;
margin-bottom: 20px;
}

.today-image {
min-height: 430px;
background:
url('/images/home/kapp.jpg') center / cover no-repeat,
#615c51;
}

/* =========================================================
OM OSS – RESPONSIVE
========================================================= */

@media (max-width: 950px) {

.story-grid,
.founder-grid,
.today-grid {
    grid-template-columns: 1fr;
    gap: 55px;
}

.story-copy,
.founder-copy,
.today-copy {
    max-width: 700px;
}

.values-grid {
    grid-template-columns: 1fr;
}

.value-card {
    max-width: 600px;
    margin-inline: auto;
}

}

@media (max-width: 600px) {

.about-hero h1 {
    font-size: 60px;
}

.intro,
.story,
.founder,
.values,
.today {
    padding: 75px 0;
}

.founder-image,
.today-image {
    min-height: 360px;
}

}

/* =========================================================
DUKKEHJEM KONTAKT
========================================================= */

.contact-hero {
min-height: 760px;
position: relative;
display: flex;
align-items: center;
overflow: hidden;

background:
    linear-gradient(
        90deg,
        rgba(35,32,28,.84) 0%,
        rgba(35,32,28,.60) 45%,
        rgba(35,32,28,.25) 100%
    ),
    var(--contact-hero-image, url('/images/home/hero.jpg')) center / cover no-repeat,
    #6e675b;

}

.contact-hero-content {
position: relative;
z-index: 2;
color: var(--white);
max-width: 700px;
padding-top: 90px;
}

.contact-hero .eyebrow {
color: #d7b6a9;
letter-spacing: 4px;
font-size: 11px;
margin-bottom: 15px;
}

.contact-hero h1 {
font-family: var(--serif);
font-size: clamp(55px, 8vw, 105px);
font-weight: 400;
line-height: .92;
margin-bottom: 25px;
}

.contact-hero-subtitle {
font-family: var(--serif);
font-style: italic;
font-size: clamp(22px, 3vw, 32px);
margin-bottom: 20px;
}

.contact-hero p {
max-width: 560px;
color: rgba(255,255,255,.88);
font-size: 16px;
}

/* =========================================================
KONTAKT – INTRO
========================================================= */

.contact-hero + .intro {
padding: 105px 0;
}

/* =========================================================
KONTAKT – LOCATIONS
========================================================= */

.locations {
padding: 70px 0 120px;
background: var(--paper);
}

.location-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 32px;
}

.location-card {
background: var(--white);
box-shadow: 0 14px 40px rgba(50,42,30,.09);
overflow: hidden;
}

.location-image {
aspect-ratio: 16 / 8;
overflow: hidden;
background: var(--paper-dark);
}

.location-image img {
width: 100%;
height: 100%;
object-fit: cover;
}

.location-content {
padding: 35px;
}

.location-label {
color: var(--rose);
text-transform: uppercase;
letter-spacing: 2px;
font-size: 10px;
font-weight: 700;
margin-bottom: 8px;
}

.location-content h2 {
font-family: var(--serif);
font-size: 36px;
font-weight: 400;
margin-bottom: 22px;
}

.location-details {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 25px;
border-top: 1px solid #e5ded2;
padding-top: 22px;
}

.detail-title {
color: var(--rose);
text-transform: uppercase;
letter-spacing: 1.5px;
font-size: 9px;
font-weight: 700;
margin-bottom: 7px;
}

.detail-text {
font-size: 14px;
}

.location-button {
margin-top: 28px;
display: inline-flex;
align-items: center;
justify-content: center;
min-height: 46px;
padding: 0 25px;
border: 1px solid var(--rose);
color: var(--rose-dark);
text-transform: uppercase;
letter-spacing: 1.8px;
font-size: 10px;
transition: all .25s ease;
}

.location-button:hover {
background: var(--rose);
color: var(--white);
}

/* =========================================================
KONTAKT – DIRECT CONTACT
========================================================= */

.direct {
padding: 110px 0;
background: var(--cream);
}

.direct-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 90px;
align-items: center;
}

.direct-copy {
max-width: 540px;
}

.direct-copy .eyebrow {
color: var(--rose);
}

.direct-copy p {
color: var(--muted);
font-size: 16px;
margin-bottom: 20px;
}

.contact-list {
list-style: none;
margin-top: 30px;
}

.contact-list li {
padding: 15px 0;
border-bottom: 1px solid #ddd5c8;
font-size: 15px;
}

.contact-list strong {
display: inline-block;
width: 100px;
font-size: 10px;
text-transform: uppercase;
letter-spacing: 1.5px;
color: var(--rose);
}

.direct-image {
min-height: 450px;
position: relative;
background:
url('/images/home/kapp.jpg') center / cover no-repeat,
#615c51;
}

.direct-image::after {
content: "";
position: absolute;
inset: 18px;
border: 1px solid rgba(255,255,255,.6);
}

/* =========================================================
KONTAKT – RESPONSIVE
========================================================= */

@media (max-width: 950px) {

.location-grid,
.direct-grid {
    grid-template-columns: 1fr;
    gap: 55px;
}

.direct-copy {
    max-width: 700px;
}

}

@media (max-width: 600px) {

.contact-hero h1 {
    font-size: 60px;
}

.contact-hero + .intro,
.locations,
.direct {
    padding-top: 75px;
    padding-bottom: 75px;
}

.location-details {
    grid-template-columns: 1fr;
    gap: 18px;
}

.direct-image {
    min-height: 360px;
}

}

/* =========================================
   FOOTER – SOCIAL MEDIA ICONS
   ========================================= */

.footer-social .social {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-social .social svg {
    width: 22px;
    height: 22px;
    display: block;
}

/* Facebook */
.footer-social .social-facebook svg {
    fill: #1877F2;
}

/* Instagram */
.footer-social .social-instagram svg {
    fill: none;
}

/* YouTube */
.footer-social .social-youtube svg {
    fill: #FF0000;
}

.footer-social .social-youtube .icon-cutout {
    fill: #ffffff;
}

/* E-post */
.footer-social .social-email svg {
    fill: #d8a0a8;
}

.footer-social .social-email .icon-cutout {
    fill: var(--dark);
}

/* Hover */
.footer-social .social:hover {
    transform: translateY(-3px);
    opacity: 0.82;
}

/* =========================================
   HEADER – DUKKEHJEM LOGO
   ========================================= */

.site-header .logo {
    display: flex;
    align-items: center;
}

.site-header .logo img {
    display: block;
    width: 180px;
    height: auto;
    /*filter: brightness(0) invert(1);*/
}

/* =========================================================
   BILDERULL
   ========================================================= */

.image-roll-section {
    padding: 6rem 0;
    overflow: hidden;
}

.image-roll-heading {
    text-align: center;
    margin-bottom: 3rem;
}

.image-roll-heading .ornament {
    margin-bottom: 1rem;
}

.image-roll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior-x: contain;
}

.image-roll::-webkit-scrollbar {
    display: none;
}

.image-roll:active {
    cursor: grabbing;
}

.image-roll-track {
    display: flex;
    gap: 1.5rem;
    width: max-content;
    padding: 0.5rem 0 0;
}

.image-roll-card {
    position: relative;
    flex: 0 0 340px;
    height: 430px;
    overflow: hidden;
    border-radius: 14px;
    background: transparent;
    /* box-shadow: 0 12px 30px rgba(0, 0, 0, 0.10); */
    box-shadow: none;
    user-select: none;
}

.image-roll-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 14px;
    pointer-events: none;
    user-select: none;
}

.image-roll-caption {
    display: flex;
    flex-direction: column;
    position: absolute;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: #fff;
}

.image-roll-title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.35rem;
    font-weight: 600;
    line-height: 1.2;
}

.image-roll-text {
    margin-top: 0.35rem;
    font-size: 0.95rem;
    opacity: 0.92;
}

/* =========================================================
   BILDERULL – STOR
   ========================================================= */

.image-roll-large .image-roll {
    width: 100%;
    overflow: hidden;
}

.image-roll-large .image-roll-track {
    display: flex;
    width: max-content;
    gap: 0;
}

.image-roll-large .image-roll-card {
    position: relative;
    flex: 0 0 100%;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    overflow: hidden;
    background: transparent;
}

.image-roll-large .image-roll-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Stor på mobil */
@media (max-width: 700px) {

    .image-roll-large .image-roll-card {
        aspect-ratio: 16 / 9;
    }

}

/* =========================================================
   TEKSTPLASSERING
   ========================================================= */

/* Horisontal plassering */

.image-roll-caption-top-left,
.image-roll-caption-center-left,
.image-roll-caption-bottom-left {
    align-items: flex-start;
    text-align: left;
}

.image-roll-caption-top-center,
.image-roll-caption-center-center,
.image-roll-caption-bottom-center {
    align-items: center;
    text-align: center;
}

.image-roll-caption-top-right,
.image-roll-caption-center-right,
.image-roll-caption-bottom-right {
    align-items: flex-end;
    text-align: right;
}


/* Vertikal plassering */

.image-roll-caption-top-left,
.image-roll-caption-top-center,
.image-roll-caption-top-right {
    top: 0;
    bottom: auto;
    padding-top: 1.5rem;

    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.72),
        rgba(0, 0, 0, 0.30),
        rgba(0, 0, 0, 0)
    );
}

.image-roll-caption-center-left,
.image-roll-caption-center-center,
.image-roll-caption-center-right {
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.35);
}

.image-roll-caption-bottom-left,
.image-roll-caption-bottom-center,
.image-roll-caption-bottom-right {
    top: auto;
    bottom: 0;
    padding-bottom: 1.5rem;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.72),
        rgba(0, 0, 0, 0.30),
        rgba(0, 0, 0, 0)
    );
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 700px) {

    .image-roll-section {
        padding: 4rem 0;
    }

    .image-roll-track {
        gap: 1rem;
    }

    .image-roll-card {
        flex-basis: 100%;
        height: 390px;
        border-radius: 12px;
    }

    .image-roll-caption {
        padding: 3.5rem 1.25rem 1.25rem;
    }

    .image-roll-title {
        font-size: 1.2rem;
    }

    .image-roll-text {
        font-size: 0.9rem;
    }

    .butikk-table .fi-ta-actions {
        display: none !important;
    }
}

/* =========================================================
   SHOP IMAGE CAPTION
   ========================================================= */

.shop-image-caption {
    display: block;
    padding: 9px 18px 0;
    color: var(--muted);
    font-family: var(--serif);
    font-size: 12px;
    font-style: italic;
    line-height: 1.5;
    text-align: center;
}

/* =========================================================
   SHOP IMAGE ADDRESS
   ========================================================= */

.shop-image-address {
    text-align: center;
    margin-bottom: 8px;
    font-family: var(--sans);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--text);
}


/* =========================================================
   SHOP OPEN OVERLAY
   ========================================================= */

/* =========================================================
   SHOP OPEN OVERLAY
   ========================================================= */

.shop-image {
    position: relative;
}

.shop-open-overlay {
    position: absolute;

    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    padding: 8px 20px;

    background: rgba(87, 85, 87, 0.82);
    color: var(--white);

    font-family: var(--serif);
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 1px;

    white-space: nowrap;

    border-radius: 2px;

    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

/* =========================================================
   LYSE INNHOLDSSIDER
   Sider uten mørk Hero bruker mørk navigasjonstekst.
   ========================================================= */

.page-light-header .site-header {
    background: var(--cream);
}

.page-light-header .site-header .nav-links a {
    color: #000 !important;
}

.page-light-header .site-header .nav-links a::after {
    background: #000 !important;
}

.page-light-header .site-header .mobile-menu {
    color: #000 !important;
}


/* =========================================================
   SISTE SEKSJON – GENERISK
   ========================================================= */

.page-ss {
    position: relative;
    padding: 110px 0;
    overflow: hidden;
}


/* ---------------------------------------------------------
   LYS
   --------------------------------------------------------- */

.page-ss--light {
    background: var(--cream);
    color: var(--ink);
}

.page-ss--light .eyebrow {
    color: var(--rose);
}

.page-ss--light .page-ss-text {
    color: var(--muted);
}


/* ---------------------------------------------------------
   MØRK
   --------------------------------------------------------- */

.page-ss--dark {
    background: var(--dark);
    color: var(--white);
}

.page-ss--dark .eyebrow {
    color: #d4b6a9;
}

.page-ss--dark .page-ss-text {
    color: rgba(255,255,255,.78);
}


/* ---------------------------------------------------------
   VENSTRE / HØYRE
   --------------------------------------------------------- */

.page-ss-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.page-ss-content {
    max-width: 620px;
}

.page-ss--left .page-ss-content {
    order: 2;
}

.page-ss--left .page-ss-image {
    order: 1;
}

.page-ss--right .page-ss-content {
    order: 1;
}

.page-ss--right .page-ss-image {
    order: 2;
}


/* ---------------------------------------------------------
   BILDE
   --------------------------------------------------------- */

.page-ss-image {
    position: relative;
    min-height: 450px;
}

.page-ss-image img {
    width: 100%;
    height: 450px;
    object-fit: cover;
    display: block;
}

.page-ss-image::after {
    content: "";
    position: absolute;
    inset: 18px;
    border: 1px solid rgba(255,255,255,.6);
    pointer-events: none;
}


/* ---------------------------------------------------------
   TEKST
   --------------------------------------------------------- */

.page-ss-text {
    max-width: 620px;
    font-size: 17px;
    line-height: 1.75;
}

.page-ss-text p {
    margin-bottom: 1rem;
}

.page-ss-text h2,
.page-ss-text h3 {
    font-family: var(--serif);
    font-weight: 400;
    line-height: 1.2;
    margin-top: 1.5rem;
    margin-bottom: .75rem;
}

.page-ss-text h2 {
    font-size: 30px;
}

.page-ss-text h3 {
    font-size: 24px;
}

.page-ss-text ul,
.page-ss-text ol {
    margin: 1rem 0 1rem 1.5rem;
}

.page-ss-text a {
    text-decoration: underline;
}


/* ---------------------------------------------------------
   BAKGRUNNSBILDE
   --------------------------------------------------------- */

.page-ss--background {
    background:
        linear-gradient(
            rgba(42,38,31,.70),
            rgba(42,38,31,.70)
        ),
        var(--page-ss-image) center / cover no-repeat,
        #575348;
    color: var(--white);
    min-height: 520px;
    display: flex;
    align-items: center;
}

.page-ss--background .container {
    position: relative;
    z-index: 2;
}

.page-ss--background .page-ss-background {
    width: 100%;
}

.page-ss--background .page-ss-content {
    max-width: 760px;
}

.page-ss--background .eyebrow {
    color: #d4b6a9;
}

.page-ss--background .page-ss-text {
    color: rgba(255,255,255,.82);
}


/* ---------------------------------------------------------
   KNAPP
   --------------------------------------------------------- */

.page-ss .button {
    margin-top: 28px;
}


/* ---------------------------------------------------------
   MOBIL
   --------------------------------------------------------- */

@media (max-width: 900px) {

    .page-ss {
        padding: 80px 0;
    }

    .page-ss-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .page-ss--left .page-ss-content,
    .page-ss--left .page-ss-image,
    .page-ss--right .page-ss-content,
    .page-ss--right .page-ss-image {
        order: initial;
    }

    .page-ss-image img {
        aspect-ratio: 16 / 10;
    }

    .page-ss-content {
        max-width: 700px;
    }

}


@media (max-width: 600px) {

    .page-ss {
        padding: 70px 0;
    }

    .page-ss-grid {
        gap: 35px;
    }

    .page-ss-text {
        font-size: 16px;
    }

}

/* =====================================================
   GLOBAL SEKSJONSAVSTAND
   ===================================================== */

main > section:not(.about-hero):not(.museum-hero):not(.shops-hero) {
    padding-top: clamp(3rem, 5vw, 5rem);
    padding-bottom: clamp(3rem, 5vw, 5rem);
}

/* =====================================================
   ADMIN KLOKKE
   ===================================================== */
.admin-clock {
    color: #b388ff !important;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;

    width: 245px;
    padding-right: 25px;
    box-sizing: border-box;

    text-align: right;
}

@media (max-width: 700px) {
    .admin-clock {
        width: auto;
        padding-right: 10px;
        font-size: 12px;
    }
}

/* Forsiden – SS med bakgrunnsbilde */
.page-ss--home.page-ss--background {
    text-align: center;
}

.page-ss--home.page-ss--background .page-ss-background {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
}

.page-ss--home.page-ss--background .page-ss-content {
    width: 100%;
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.page-ss--home.page-ss--background .eyebrow {
    text-align: center;
}

.page-ss--home.page-ss--background .section-title {
    text-align: center;
}

.page-ss--home.page-ss--background .page-ss-text {
    width: 100%;
    max-width: 850px;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}

.page-ss--home.page-ss--background .page-ss-text p {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    text-align: center !important;
}

/* =========================================================
   NETTBUTIKK – MIDLERTIDIG STENGT
   ========================================================= */

.shop-closed {
    min-height: 420px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 24px;
    text-align: center;
}

.shop-closed-inner {
    max-width: 700px;
}

.shop-closed h1 {
    margin: 0 0 20px;
    font-size: 42px;
    line-height: 1.15;
}

.shop-closed p {
    margin: 0 auto 30px;
    max-width: 600px;
    font-size: 17px;
    line-height: 1.7;
}

.shop-closed-link {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
}

/* =========================================================
   NETTBUTIKK – GRUNNSTRUKTUR
   ========================================================= */

.shop-page {
    padding: 90px 24px 110px;
}

.shop-page-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.shop-page-header {
    text-align: center;
    margin-bottom: 70px;
}

.shop-eyebrow {
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.shop-page-header h1 {
    margin: 0 0 20px;
    font-size: 52px;
    line-height: 1.1;
}

.shop-page-header p {
    margin: 0;
    font-size: 18px;
    line-height: 1.6;
}

.shop-products {
    min-height: 300px;
}

/* =========================================================
   NETTBUTIKK – PRODUKTKORT
   ========================================================= */

.shop-products {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.shop-product-card {
    background: #fff;
    border: 1px solid #e4e0d8;
}

.shop-product-image {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eeeae2;
    color: #777;
    font-size: 11px;
    letter-spacing: 0.25em;
}

.shop-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.shop-product-content {
    padding: 24px;
}

.shop-product-content h2 {
    margin: 0 0 10px;
    font-size: 22px;
    line-height: 1.3;
}

.shop-product-description {
    margin: 0 0 25px;
    font-size: 15px;
    line-height: 1.5;
}

.shop-product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shop-product-price {
    font-size: 18px;
    font-weight: 600;
}

.shop-product-button {
    display: inline-block;
    padding: 10px 16px;
    border: 1px solid #292923;
    text-decoration: none;
    font-size: 11px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.shop-checkout-terms a {
    color: #1d5fa7;
    text-decoration: underline;
    text-underline-offset: 2px;
    font-weight: 600;
}

.shop-checkout-terms a:hover {
    color: #0d3f73;
}

/* =========================================================
   NETTBUTIKK – PRODUKTOVERSIKT
   ========================================================= */

.shop-page {
    background: var(--paper);
    padding: 55px 0 110px;
    min-height: 70vh;
}

.shop-page-inner {
    width: min(1400px, calc(100% - 48px));
    margin: 0 auto;
}


/*
 * ---------------------------------------------------------
 * HEADER
 * ---------------------------------------------------------
 */

.shop-page-header {
    text-align: center;
    margin-bottom: 55px;
}

.shop-eyebrow {
    margin-bottom: 14px;
    color: #222;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.shop-page-header h1 {
    margin: 0 0 18px;
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 76px);
    font-weight: 400;
    line-height: 1;
    color: #222;
}

.shop-page-header p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
}

/* ---------------------------------------------------------
 * PRODUKTSØK
 * --------------------------------------------------------- */

.shop-search {
    width: min(620px, 100%);
    margin: 0 auto 48px;
    text-align: center;
}

.shop-search-input-wrap {
    display: flex;
    align-items: stretch;
    width: 100%;
}

.shop-search input {
    flex: 1;
    min-width: 0;

    height: 48px;
    padding: 0 16px;

    border: 1px solid #d8d0c3;
    border-right: 0;

    background: var(--white);
    color: var(--ink);

    font-family: var(--sans);
    font-size: 14px;

    outline: none;

    transition: border-color .2s ease, box-shadow .2s ease;
}

.shop-search input::placeholder {
    color: var(--muted);
}

.shop-search input:focus {
    border-color: var(--rose);

    box-shadow:
        0 0 0 2px rgba(169, 107, 104, .10);
}

.shop-search button {
    height: 48px;
    padding: 0 24px;

    border: 1px solid var(--rose);
    background: var(--rose);

    color: var(--white);

    font-family: var(--sans);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;

    cursor: pointer;

    transition:
        background .2s ease,
        border-color .2s ease;
}

.shop-search button:hover {
    background: var(--rose-dark);
    border-color: var(--rose-dark);
}

.shop-search-reset {
    display: inline-block;

    margin-top: 12px;

    color: var(--muted);

    font-size: 11px;
    letter-spacing: 1px;
    text-decoration: none;

    transition: color .2s ease;
}

.shop-search-reset:hover {
    color: var(--rose-dark);
}


/*
 * ---------------------------------------------------------
 * PRODUKTGRID
 * ---------------------------------------------------------
 */

.shop-products {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 22px;
}


/*
 * ---------------------------------------------------------
 * PRODUKTKORT
 * ---------------------------------------------------------
 */

.shop-product-card {
    display: block;
    overflow: hidden;

    background: var(--white);

    color: inherit;
    text-decoration: none;

    border: 1px solid rgba(50, 42, 30, .10);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.shop-product-card:hover {
    transform: translateY(-4px);

    border-color: rgba(50, 42, 30, .18);

    box-shadow:
        0 12px 30px rgba(50, 42, 30, .12);
}


/*
 * ---------------------------------------------------------
 * PRODUKTBILDE
 * ---------------------------------------------------------
 */

.shop-product-image {
    width: 100%;
    aspect-ratio: 1 / 1;

    overflow: hidden;

    background: var(--paper-dark);

    display: flex;
    align-items: center;
    justify-content: center;
}

.shop-product-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .4s ease;
}

.shop-product-card:hover .shop-product-image img {
    transform: scale(1.035);
}

.shop-product-image span {
    color: var(--muted);

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.5px;
    text-transform: uppercase;
}


/*
 * ---------------------------------------------------------
 * PRODUKTINFO
 * ---------------------------------------------------------
 */

.shop-product-content {
    padding: 15px 16px 18px;
}

.shop-product-content h2 {
    margin: 0 0 9px;

    color: #222;

    font-family: var(--serif);
    font-size: 19px;
    font-weight: 400;

    line-height: 1.2;
}

.shop-product-price {
    color: #222;

    font-size: 15px;
    font-weight: 700;

    letter-spacing: .2px;
}


/*
 * ---------------------------------------------------------
 * NAVIGASJON PÅ NETTBUTIKKSIDEN
 *
 * Hero brukes ikke her, derfor trenger headeren mørk tekst.
 * Regelen gjelder bare når .shop-page finnes på siden.
 * ---------------------------------------------------------
 */

body:has(.shop-page) .site-header .nav-links a {
    color: #222;
}

body:has(.shop-page) .site-header .nav-links a::after {
    background: #222;
}


/*
 * ---------------------------------------------------------
 * TABLET / MINDRE DESKTOP
 * ---------------------------------------------------------
 */

@media (max-width: 1200px) {

    .shop-products {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 20px;
    }

}


/*
 * ---------------------------------------------------------
 * TABLET
 * ---------------------------------------------------------
 */

@media (max-width: 850px) {

    .shop-page {
        padding: 45px 0 80px;
    }

    .shop-page-inner {
        width: min(100% - 32px, 700px);
    }

    .shop-page-header {
        margin-bottom: 38px;
    }

    .shop-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .shop-product-content {
        padding: 13px 14px 16px;
    }

    .shop-product-content h2 {
        font-size: 18px;
    }

}


/*
 * ---------------------------------------------------------
 * MOBIL
 * ---------------------------------------------------------
 */

@media (max-width: 520px) {

    .shop-page {
        padding: 32px 0 60px;
    }

    .shop-page-inner {
        width: calc(100% - 24px);
    }

    .shop-page-header {
        margin-bottom: 30px;
    }

    .shop-eyebrow {
        font-size: 9px;
        letter-spacing: 3px;
    }

    .shop-page-header h1 {
        font-size: 46px;
        margin-bottom: 14px;
    }

    .shop-page-header p {
        font-size: 15px;
    }

    .shop-products {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .shop-product-content {
        padding: 15px 16px 18px;
    }

    .shop-product-content h2 {
        font-size: 20px;
    }

    .shop-product-price {
        font-size: 16px;
    }

}

/* =========================================================
   MOBILMENY
   ========================================================= */

@media (max-width: 900px) {

    .nav {
        position: relative;
    }

    .mobile-menu {
        display: grid;
        place-items: center;

        width: 40px;
        height: 40px;

        border: 1px solid rgba(35, 32, 28, .15);
        background: transparent;

        color: #222;

        cursor: pointer;

        font-size: 22px;
        line-height: 1;
    }

    .nav-links {
        display: none;
    }

    .nav-links.mobile-open {
        position: absolute;

        top: 76px;
        left: 0;
        right: 0;

        display: flex;

        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 0;

        background: var(--paper);

        border-top: 1px solid rgba(35, 32, 28, .08);
        border-bottom: 1px solid rgba(35, 32, 28, .12);

        box-shadow: 0 12px 25px rgba(50, 42, 30, .12);

        z-index: 100;
    }

    .nav-links.mobile-open li {
        width: 100%;
    }

    .nav-links.mobile-open a {
        display: block;

        padding: 14px 20px;

        color: #222 !important;

        font-size: 12px;
        letter-spacing: 1.8px;

        text-decoration: none;
    }

    .nav-links.mobile-open a:hover {
        background: rgba(35, 32, 28, .05);
    }

    .nav-links.mobile-open a::after {
        display: none;
    }

}


/* =========================================================
   NETTBUTIKK – MOBIL
   ========================================================= */

@media (max-width: 520px) {

    .shop-page-inner {
        width: calc(100% - 28px);
    }

    .shop-products {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .shop-product-card {
        width: 100%;
    }

    .shop-product-image {
        aspect-ratio: 1 / 1;
    }

    .shop-product-content {
        padding: 16px 18px 19px;
    }

    .shop-product-content h2 {
        font-size: 21px;
        line-height: 1.2;
    }

    .shop-product-price {
        font-size: 16px;
    }

        .shop-search {
        margin-bottom: 32px;
    }

    .shop-search input {
        height: 46px;
        font-size: 14px;
    }

    .shop-search button {
        height: 46px;
        padding: 0 18px;
    }

}

/* =========================================================
   NETTBUTIKK – MOBIL OG LYS HEADER
   ========================================================= */

@media (max-width: 900px) {

    /* -----------------------------------------------------
       HAMBURGER
       ----------------------------------------------------- */

    .mobile-menu {
        display: grid !important;
        place-items: center;

        width: 40px;
        height: 40px;

        border: 1px solid rgba(35, 32, 28, .20) !important;
        background: transparent !important;

        color: #222 !important;

        cursor: pointer;

        font-size: 22px;
        line-height: 1;
    }


    /* -----------------------------------------------------
       MOBILMENY
       ----------------------------------------------------- */

    .nav-links {
        display: none !important;
    }

    .nav-links.mobile-open {
        position: absolute;

        top: 76px;
        left: 0;
        right: 0;

        display: flex !important;
        flex-direction: column;
        align-items: stretch;

        gap: 0;

        padding: 10px 0;

        background: var(--cream);

        border-top: 1px solid rgba(35, 32, 28, .08);
        border-bottom: 1px solid rgba(35, 32, 28, .12);

        box-shadow: 0 12px 25px rgba(50, 42, 30, .12);

        z-index: 100;
    }

    .nav-links.mobile-open li {
        width: 100%;
    }

    .nav-links.mobile-open a {
        display: block;

        padding: 14px 20px;

        color: #222 !important;

        font-size: 12px;
        letter-spacing: 1.8px;

        text-decoration: none;
    }

    .nav-links.mobile-open a::after {
        display: none;
    }

    .nav-links.mobile-open a:hover {
        background: rgba(35, 32, 28, .05);
    }


    /* -----------------------------------------------------
       NETTBUTIKK – ÉN KOLONNE PÅ MOBIL
       ----------------------------------------------------- */

    .shop-page .shop-products {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
    }

    .shop-page .shop-product-card {
        width: 100% !important;
        max-width: none !important;
    }

}


/* =========================================================
   NETTBUTIKK – LITT LUFT PÅ SMÅ SKJERMER
   ========================================================= */

@media (max-width: 520px) {

    .shop-page .shop-page-inner {
        width: calc(100% - 28px);
    }

    .shop-page .shop-product-image {
        aspect-ratio: 1 / 1;
    }

    .shop-page .shop-product-content {
        padding: 16px 18px 19px;
    }

    .shop-page .shop-product-content h2 {
        font-size: 21px;
        line-height: 1.2;
    }

    .shop-page .shop-product-price {
        font-size: 16px;
    }

}

@media (max-width: 900px) {

    body:has(.shop-page) .shop-page {
        padding-top: 75px !important;
    }

    body:has(.shop-page) .shop-page-header {
        margin-top: 0 !important;
    }

}

/* ============================================================
   NETTBUTIKK – PRODUKTDETALJ
============================================================ */

.shop-product-detail {
    display: grid;
    grid-template-columns: minmax(0, 620px) minmax(320px, 1fr);
    gap: 70px;
    align-items: start;
}


/* ============================================================
   BILDER
============================================================ */

.shop-product-gallery {
    min-width: 0;
}


.shop-product-detail-image {
    width: 100%;
    background: var(--paper-dark);
    overflow: hidden;
}


.shop-product-main-image-button {
    display: block;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: zoom-in;
}


.shop-product-main-image-button img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 650px;
    object-fit: contain;
}


.shop-product-no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
}


/* ============================================================
   THUMBNAILS
============================================================ */

.shop-product-thumbnails {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}


.shop-product-thumbnail {
    width: 76px;
    height: 76px;
    padding: 0;
    border: 1px solid rgba(50, 42, 30, .14);
    background: var(--white);
    cursor: pointer;
    overflow: hidden;
}


.shop-product-thumbnail img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.shop-product-thumbnail:hover {
    border-color: rgba(50, 42, 30, .35);
}


.shop-product-thumbnail.is-active {
    border: 2px solid #222;
}


/* ============================================================
   PRODUKTINFO
============================================================ */

.shop-product-detail .shop-product-content {
    padding: 20px 0 40px;
}


.shop-product-detail .shop-eyebrow {
    margin-bottom: 18px;
}


.shop-product-detail .shop-product-content h1 {
    margin: 0 0 24px;
    color: #222;
    font-family: var(--serif);
    font-size: clamp(42px, 4vw, 62px);
    font-weight: 400;
    line-height: 1.05;
}


.shop-product-detail .shop-product-description {
    max-width: 560px;
    margin: 0 0 30px;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}


.shop-product-detail .shop-product-price {
    margin-bottom: 10px;
    color: #222;
    font-size: 18px;
    font-weight: 700;
}


.shop-product-detail .shop-product-price-vat {
    font-size: 14px;
    font-weight: 400;
    opacity: .7;
}


.shop-product-detail .shop-product-stock {
    margin-bottom: 26px;
    color: #222;
    font-size: 15px;
}


.shop-product-detail .shop-product-stock-low {
    font-weight: 600;
}


.shop-product-detail .shop-product-stock-out {
    font-weight: 700;
}


/* ============================================================
   ANTALL
============================================================ */

.shop-product-buy-form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}


.shop-product-quantity {
    display: flex;
    align-items: center;
    gap: 12px;
}


.shop-product-quantity label {
    color: #222;
    font-size: 14px;
}


.shop-product-quantity select {
    min-width: 72px;
    height: 40px;
    padding: 0 32px 0 12px;
    border: 1px solid rgba(50, 42, 30, .25);
    border-radius: 0;
    background: var(--white);
    color: #222;
    font-size: 15px;
    cursor: pointer;
}


/* ============================================================
   KNAPPER
============================================================ */

.shop-product-detail .shop-product-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 22px;
    border: 1px solid rgba(35, 32, 28, .65);
    background: transparent;
    color: #222;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}


.shop-product-detail .shop-product-button:hover {
    background: #222;
    color: var(--white);
    border-color: #222;
}


.shop-product-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px;
}


/* ============================================================
   STORT BILDE / LIGHTBOX
============================================================ */

.shop-product-image-dialog {
    width: min(94vw, 1400px);
    max-width: none;
    max-height: 94vh;
    padding: 24px;
    border: 0;
    background: rgba(20, 19, 16, .96);
    overflow: hidden;
}


.shop-product-image-dialog::backdrop {
    background: rgba(0, 0, 0, .82);
}


.shop-product-image-dialog img {
    display: block;
    width: auto;
    max-width: 100%;
    max-height: calc(94vh - 48px);
    margin: 0 auto;
    object-fit: contain;
}


.shop-product-image-close {
    position: absolute;
    top: 10px;
    right: 14px;
    z-index: 2;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    background: transparent;
    color: white;
    font-size: 36px;
    font-weight: 300;
    line-height: 1;
    cursor: pointer;
}


.shop-product-image-close:hover {
    opacity: .7;
}


/* ============================================================
   TABLET
============================================================ */

@media (max-width: 1050px) {

    .shop-product-detail {
        grid-template-columns: minmax(0, 52%) minmax(0, 48%);
        gap: 40px;
    }

    .shop-product-detail .shop-product-content h1 {
        font-size: 46px;
    }

}


/* ============================================================
   MOBIL
============================================================ */

@media (max-width: 850px) {

    .shop-product-detail {
        grid-template-columns: 1fr;
        gap: 30px;
    }


    .shop-product-detail .shop-product-content {
        padding: 0 0 50px;
    }


    .shop-product-detail .shop-product-content h1 {
        font-size: 42px;
        line-height: 1.15;
    }


    .shop-product-detail .shop-product-description {
        font-size: 16px;
        line-height: 1.65;
    }


    .shop-product-detail-image {
        width: 100%;
    }


    .shop-product-main-image-button img {
        max-height: none;
    }


    .shop-product-thumbnails {
        gap: 8px;
    }


    .shop-product-thumbnail {
        width: 68px;
        height: 68px;
    }


    .shop-product-actions {
        flex-direction: column;
        align-items: flex-start;
    }

}


/* ============================================================
   LITEN MOBIL
============================================================ */

@media (max-width: 520px) {

    .shop-product-detail {
        gap: 24px;
    }


    .shop-product-detail .shop-product-content h1 {
        font-size: 38px;
    }


    .shop-product-detail .shop-product-description {
        font-size: 15px;
    }


    .shop-product-detail .shop-product-price {
        font-size: 17px;
    }


    .shop-product-detail .shop-product-button {
        width: auto;
    }


    .shop-product-image-dialog {
        width: 100vw;
        max-width: 100vw;
        max-height: 100vh;
        padding: 12px;
    }


    .shop-product-image-dialog img {
        max-width: 100%;
        max-height: calc(100vh - 24px);
    }


    .shop-product-image-close {
        top: 6px;
        right: 8px;
    }

}

/* -------------------------------------------------
   Produktdetalj – litt mer luft og mindre tomrom
   ------------------------------------------------- */

.shop-product-page {
    min-height: auto !important;
    padding-top: 110px !important;
    padding-bottom: 70px !important;
}


/* Litt mindre luft mellom hovedbilde og thumbnails */
.shop-product-gallery {
    gap: 10px;
}


/* -------------------------------------------------
   Mobil
   ------------------------------------------------- */

@media (max-width: 850px) {

    .shop-product-page {
        padding-top: 55px !important;
        padding-bottom: 55px !important;
    }

}

/* =========================================================
   NETTBUTIKK – CHECKOUT
   ========================================================= */

.shop-checkout-page {
    padding-top: 75px;
    padding-bottom: 90px;
}

.shop-checkout-page .shop-page-header {
    margin-bottom: 55px;
}


/* ---------------------------------------------------------
   LAYOUT
   --------------------------------------------------------- */

.shop-checkout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 55px;
    align-items: start;
}

.shop-checkout-customer {
    min-width: 0;
}


/* ---------------------------------------------------------
   SECTIONS
   --------------------------------------------------------- */

.checkout-section {
    padding: 0 0 42px;
    margin-bottom: 42px;
    border-bottom: 1px solid rgba(50, 42, 30, .12);
}

.checkout-section-heading {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 28px;
}

.checkout-section-number {
    flex: 0 0 auto;
    padding-top: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
}

.checkout-section-heading h2 {
    margin: 0 0 6px;
    color: #222;
    font-family: var(--serif);
    font-size: 28px;
    font-weight: 400;
    line-height: 1.1;
}

.checkout-section-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   FELTER
   --------------------------------------------------------- */

.checkout-field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.shop-checkout-field {
    margin-bottom: 20px;
}

.shop-checkout-field label {
    display: block;
    margin-bottom: 7px;
    color: #222;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .4px;
}

.shop-checkout-field input[type="text"],
.shop-checkout-field input[type="email"],
.shop-checkout-field input[type="tel"],
.shop-checkout-field textarea {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 1px solid rgba(50, 42, 30, .20);
    border-radius: 0;
    background: var(--white);
    color: #222;
    font-family: inherit;
    font-size: 15px;
    outline: none;
    transition:
        border-color .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.shop-checkout-field textarea {
    min-height: 125px;
    resize: vertical;
}

.shop-checkout-field input:focus,
.shop-checkout-field textarea:focus {
    border-color: rgba(50, 42, 30, .55);
    box-shadow: 0 0 0 3px rgba(50, 42, 30, .06);
    background: #fff;
}

.checkout-optional {
    margin-left: 5px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 400;
}


/* ---------------------------------------------------------
   LEVERINGSMÅTE
   --------------------------------------------------------- */

.checkout-shipping-options {
    display: grid;
    gap: 12px;
}

.checkout-shipping-option {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 17px 18px;
    border: 1px solid rgba(50, 42, 30, .16);
    background: var(--white);
    cursor: pointer;
    transition:
        border-color .2s ease,
        background .2s ease,
        box-shadow .2s ease;
}

.checkout-shipping-option:hover {
    border-color: rgba(50, 42, 30, .35);
}

.checkout-shipping-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-radio {
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    border: 1px solid rgba(50, 42, 30, .35);
    border-radius: 50%;
    box-sizing: border-box;
    position: relative;
}

.checkout-shipping-option input:checked + .checkout-radio {
    border-color: #222;
}

.checkout-shipping-option input:checked + .checkout-radio::after {
    content: "";
    position: absolute;
    width: 8px;
    height: 8px;
    top: 4px;
    left: 4px;
    border-radius: 50%;
    background: #222;
}

.checkout-shipping-option:has(input:checked) {
    border-color: rgba(50, 42, 30, .45);
    background: rgba(50, 42, 30, .025);
    box-shadow: 0 5px 18px rgba(50, 42, 30, .05);
}

.checkout-shipping-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.checkout-shipping-content strong {
    color: #222;
    font-size: 14px;
    font-weight: 600;
}

.checkout-shipping-content small {
    color: var(--muted);
    font-size: 12px;
}


/* ---------------------------------------------------------
   SALGSBETINGELSER
   --------------------------------------------------------- */

.checkout-terms {
    margin-top: -12px;
    margin-bottom: 22px;
}

.shop-checkout-terms {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    color: #333;
    font-size: 13px;
    line-height: 1.5;
    cursor: pointer;
}

.shop-checkout-terms input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.checkout-terms-box {
    position: relative;
    flex: 0 0 auto;
    width: 18px;
    height: 18px;
    margin-top: 1px;
    box-sizing: border-box;
    border: 1px solid rgba(50, 42, 30, .30);
    background: var(--white);
}

.shop-checkout-terms input:checked + .checkout-terms-box {
    border-color: #222;
    background: #222;
}

.shop-checkout-terms input:checked + .checkout-terms-box::after {
    content: "✓";
    position: absolute;
    left: 3px;
    top: -1px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
}

.shop-checkout-terms a {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}


/* ---------------------------------------------------------
   FEILMELDINGER
   --------------------------------------------------------- */

.checkout-error {
    margin-top: 6px;
    color: #9b2c2c;
    font-size: 12px;
}


/* ---------------------------------------------------------
   BETALINGSKNAPP
   --------------------------------------------------------- */

.checkout-submit {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 17px 20px;
    border: 0;
    background: #222;
    color: #fff;
    font-family: inherit;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.7px;
    text-transform: uppercase;
    cursor: pointer;
    transition:
        background .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.checkout-submit:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(50, 42, 30, .15);
}

.checkout-submit-arrow {
    font-size: 20px;
    font-weight: 400;
    line-height: 1;
}


/* ---------------------------------------------------------
   ORDRESAMMENDRAG
   --------------------------------------------------------- */

.shop-checkout-summary {
    position: sticky;
    top: 35px;
}

.checkout-summary-inner {
    padding: 28px;
    background: var(--white);
    border: 1px solid rgba(50, 42, 30, .12);
    box-shadow: 0 12px 35px rgba(50, 42, 30, .07);
}

.checkout-summary-heading {
    margin-bottom: 28px;
}

.checkout-summary-heading .shop-eyebrow {
    margin-bottom: 9px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 3px;
}

.checkout-summary-heading h2 {
    margin: 0;
    color: #222;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.1;
}


/* ---------------------------------------------------------
   PRODUKTER
   --------------------------------------------------------- */

.shop-checkout-items {
    display: grid;
    gap: 18px;
}

.shop-checkout-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr) auto;
    gap: 13px;
    align-items: center;
}

.checkout-item-image {
    width: 64px;
    height: 64px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-dark);
}

.checkout-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.checkout-item-image span {
    padding: 5px;
    color: var(--muted);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}

.checkout-item-info {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.checkout-item-info strong {
    overflow: hidden;
    color: #222;
    font-family: var(--serif);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.2;
    text-overflow: ellipsis;
}

.checkout-item-info span {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.3;
}

.checkout-item-price {
    color: #222;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   TOTAL
   --------------------------------------------------------- */

.checkout-summary-divider {
    height: 1px;
    margin: 24px 0 20px;
    background: rgba(50, 42, 30, .12);
}

.shop-checkout-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.shop-checkout-total span {
    color: #222;
    font-size: 13px;
    font-weight: 600;
}

.shop-checkout-total strong {
    color: #222;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}

.checkout-back {
    display: inline-block;
    margin-top: 25px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    transition: color .2s ease;
}

.checkout-back:hover {
    color: #222;
}


/* ---------------------------------------------------------
   TABLET
   --------------------------------------------------------- */

@media (max-width: 1050px) {

    .shop-checkout {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 35px;
    }

    .checkout-summary-inner {
        padding: 23px;
    }

}


/* ---------------------------------------------------------
   MOBIL
   --------------------------------------------------------- */

@media (max-width: 850px) {

    .shop-checkout-page {
        padding-top: 55px;
        padding-bottom: 65px;
    }

    .shop-checkout {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .shop-checkout-summary {
        position: static;
        order: -1;
    }

    .checkout-summary-inner {
        padding: 22px;
    }

    .checkout-summary-heading {
        margin-bottom: 22px;
    }

    .checkout-summary-heading h2 {
        font-size: 27px;
    }

    .checkout-item-image {
        width: 58px;
        height: 58px;
    }

    .shop-checkout-item {
        grid-template-columns: 58px minmax(0, 1fr) auto;
    }

}


/* ---------------------------------------------------------
   LITEN MOBIL
   --------------------------------------------------------- */

@media (max-width: 520px) {

    .shop-checkout-page {
        padding-top: 45px;
        padding-bottom: 55px;
    }

    .checkout-field-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .checkout-section {
        padding-bottom: 32px;
        margin-bottom: 32px;
    }

    .checkout-section-heading {
        gap: 12px;
        margin-bottom: 22px;
    }

    .checkout-section-number {
        font-size: 9px;
        letter-spacing: 1.5px;
    }

    .checkout-section-heading h2 {
        font-size: 25px;
    }

    .checkout-section-heading p {
        font-size: 13px;
    }

    .shop-checkout-field input[type="text"],
    .shop-checkout-field input[type="email"],
    .shop-checkout-field input[type="tel"],
    .shop-checkout-field textarea {
        padding: 12px 13px;
        font-size: 16px;
    }

    .checkout-summary-inner {
        padding: 18px;
    }

    .shop-checkout-item {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 11px;
    }

    .checkout-item-image {
        width: 52px;
        height: 52px;
    }

    .checkout-item-price {
        grid-column: 2;
        margin-top: -7px;
        font-size: 13px;
    }

    .checkout-submit {
        padding: 16px 17px;
    }

}

.checkout-field-error {
    margin-top: 7px;
    color: #9b2c2c;
    font-size: 12px;
    line-height: 1.4;
}

.shop-checkout-field.has-error input,
.shop-checkout-field.has-error textarea {
    border-color: #9b2c2c;
    box-shadow: 0 0 0 3px rgba(155, 44, 44, .07);
}

.shop-checkout-field.has-error label {
    color: #9b2c2c;
}

/* =========================================================
   NETTBUTIKK – ORDRE BEKREFTET
   ========================================================= */

.shop-order-success-page {
    padding-top: 75px;
    padding-bottom: 100px;
}

.shop-order-success {
    width: min(760px, 100%);
    margin: 0 auto;
    text-align: center;
}

.shop-order-success > .shop-eyebrow {
    margin-bottom: 20px;
    color: var(--muted);
}


/* ---------------------------------------------------------
   IKON
   --------------------------------------------------------- */

.shop-order-success-icon {
    width: 58px;
    height: 58px;
    margin: 0 auto 24px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(50, 42, 30, .25);
    border-radius: 50%;

    color: #222;
    font-size: 25px;
    font-weight: 400;
}


/* ---------------------------------------------------------
   OVERSKRIFT
   --------------------------------------------------------- */

.shop-order-success h1 {
    margin: 0 0 18px;

    color: #222;
    font-family: var(--serif);
    font-size: clamp(44px, 6vw, 68px);
    font-weight: 400;
    line-height: 1.05;
}

.shop-order-success-intro {
    margin: 0 auto;
    max-width: 600px;

    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
}

.shop-order-success-intro strong {
    color: #222;
    font-weight: 600;
}


/* ---------------------------------------------------------
   ORDRENUMMER
   --------------------------------------------------------- */

.shop-order-number {
    margin: 38px auto 25px;
    padding: 20px;

    background: var(--white);
    border: 1px solid rgba(50, 42, 30, .12);
}

.shop-order-number span {
    display: block;
    margin-bottom: 7px;

    color: var(--muted);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.shop-order-number strong {
    color: #222;
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}


/* ---------------------------------------------------------
   ORDREKORT
   --------------------------------------------------------- */

.shop-order-card {
    padding: 30px;

    background: var(--white);
    border: 1px solid rgba(50, 42, 30, .12);
    box-shadow: 0 12px 35px rgba(50, 42, 30, .07);

    text-align: left;
}

.shop-order-card-heading {
    margin-bottom: 25px;
}

.shop-order-card-heading .shop-eyebrow {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 3px;
}

.shop-order-card-heading h2 {
    margin: 0;

    color: #222;
    font-family: var(--serif);
    font-size: 30px;
    font-weight: 400;
}


/* ---------------------------------------------------------
   VARER
   --------------------------------------------------------- */

.shop-order-items {
    display: grid;
    gap: 0;
}

.shop-order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;

    padding: 16px 0;

    border-bottom: 1px solid rgba(50, 42, 30, .10);
}

.shop-order-item-info {
    min-width: 0;

    display: flex;
    flex-direction: column;
    gap: 5px;
}

.shop-order-item-info strong {
    color: #222;
    font-family: var(--serif);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.25;
}

.shop-order-item-info span {
    color: var(--muted);
    font-size: 12px;
}

.shop-order-item-price {
    color: #222;
    font-size: 14px;
    white-space: nowrap;
}


/* ---------------------------------------------------------
   TOTAL
   --------------------------------------------------------- */

.shop-order-divider {
    height: 1px;
    margin: 22px 0 18px;

    background: rgba(50, 42, 30, .15);
}

.shop-order-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
}

.shop-order-total span {
    color: #222;
    font-size: 14px;
    font-weight: 600;
}

.shop-order-total strong {
    color: #222;
    font-family: var(--serif);
    font-size: 27px;
    font-weight: 400;
}


/* ---------------------------------------------------------
   LEVERING
   --------------------------------------------------------- */

.shop-order-delivery {
    margin-top: 30px;
    padding-top: 25px;

    border-top: 1px solid rgba(50, 42, 30, .10);

    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shop-order-delivery .shop-eyebrow {
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 3px;
}

.shop-order-delivery strong {
    color: #222;
    font-size: 14px;
}

.shop-order-delivery span {
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}


/* ---------------------------------------------------------
   INFO / KNAPP
   --------------------------------------------------------- */

.shop-order-success-note {
    margin: 30px auto 25px;

    max-width: 600px;

    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.shop-order-success-button {
    display: inline-flex;
    width: auto;
    min-width: 230px;

    justify-content: center;
}


/* ---------------------------------------------------------
   MOBIL
   --------------------------------------------------------- */

@media (max-width: 600px) {

    .shop-order-success-page {
        padding-top: 55px;
        padding-bottom: 70px;
    }

    .shop-order-success h1 {
        font-size: 45px;
    }

    .shop-order-success-intro {
        font-size: 15px;
    }

    .shop-order-card {
        padding: 20px;
    }

    .shop-order-card-heading h2 {
        font-size: 27px;
    }

    .shop-order-item {
        gap: 15px;
    }

    .shop-order-item-info strong {
        font-size: 16px;
    }

    .shop-order-total strong {
        font-size: 24px;
    }

    .shop-order-success-button {
        width: 100%;
    }

}

/* =========================================================
   NETTBUTIKK – HANDLEKURV
   ========================================================= */

.shop-cart {
    width: 100%;
}

.shop-cart-item {
    display: grid;
    grid-template-columns:
        64px
        minmax(220px, 1fr)
        120px
        230px
        100px
        80px;
    gap: 18px;
    align-items: center;
    padding: 18px 0;
    border-bottom: 1px solid rgba(50, 42, 30, .12);
}

.shop-cart-item:last-child {
    border-bottom: 0;
}


/* BILDE */

.shop-cart-item-image {
    width: 64px;
    height: 64px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-dark);
}

.shop-cart-item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.shop-cart-item-image span {
    padding: 5px;
    color: var(--muted);
    font-size: 7px;
    font-weight: 600;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
}


/* PRODUKT */

.shop-cart-item-info {
    min-width: 0;
}

.shop-cart-item-info h2 {
    margin: 0 0 3px;
    color: #222;
    font-family: var(--serif);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.shop-cart-item-unit-price {
    color: var(--muted);
    font-size: 12px;
}


/* ANTALL */

.shop-cart-item-quantity form {
    display: flex;
    align-items: center;
    gap: 7px;
    white-space: nowrap;
}

.shop-cart-item-quantity label {
    color: var(--muted);
    font-size: 11px;
}

.shop-cart-item-quantity input {
    width: 52px;
    height: 38px;
    padding: 0 7px;
    border: 1px solid #cfc7ba;
    background: var(--white);
    color: var(--ink);
    text-align: center;
    font: inherit;
}

.shop-cart-item-quantity .shop-product-button {
    padding: 10px 12px;
    background: transparent;
    cursor: pointer;
}


/* LINJESUM */

.shop-cart-item-price {
    color: #222;
    font-size: 14px;
    font-weight: 700;
    text-align: right;
    white-space: nowrap;
}


/* FJERN */

.shop-cart-item-remove {
    text-align: right;
}

.shop-cart-item-remove .shop-product-button {
    padding: 10px 12px;
    background: transparent;
    cursor: pointer;
}


/* TOTAL */

.shop-cart-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 20px;
    padding-top: 22px;
}

.shop-cart-total strong:last-child {
    font-family: var(--serif);
    font-size: 24px;
    font-weight: 400;
}

@media (max-width: 900px) {

    .shop-cart-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px 14px;
        align-items: center;
    }

    .shop-cart-item-image {
        width: 64px;
        height: 64px;
        grid-column: 1;
        grid-row: 1;
    }

    .shop-cart-item-info {
        grid-column: 2;
        grid-row: 1;
    }

    .shop-cart-item-quantity {
        grid-column: 2;
        grid-row: 2;
    }

    .shop-cart-item-quantity form {
        display: flex;
        align-items: center;
        gap: 8px;
        flex-wrap: nowrap;
    }

    .shop-cart-item-price {
        grid-column: 1;
        grid-row: 3;
        text-align: left;
        white-space: nowrap;
    }

    .shop-cart-item-remove {
        grid-column: 2;
        grid-row: 3;
        justify-self: end;
        text-align: right;
    }

    .shop-cart-item-remove .shop-product-button {
        padding: 10px 16px;
    }

}

/* =========================================================
   NETTBUTIKK – PRODUKTKORT / DIREKTE KJØP
   ========================================================= */

.shop-product-card {
    margin: 0;
    padding: 0;
    text-align: left;
    font: inherit;
}

.shop-product-card-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.shop-product-card-link:focus-visible {
    outline: 2px solid #222;
    outline-offset: -2px;
}


/* ---------------------------------------------------------
   PRODUKTINFO
   --------------------------------------------------------- */

.shop-product-card .shop-product-content {
    padding-bottom: 10px;
}


/* ---------------------------------------------------------
   NEDERSTE LINJE – PRIS + LEGG I HANDLEKURV
   --------------------------------------------------------- */

.shop-product-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;

    padding: 0 16px 16px;
}

.shop-product-card-footer .shop-product-price {
    flex: 0 0 auto;
}


/* ---------------------------------------------------------
   LEGG I HANDLEKURV
   --------------------------------------------------------- */

.shop-product-card-add {
    flex: 0 0 auto;

    min-height: 28px;
    padding: 6px 10px;

    border: 1px solid #222;
    background: transparent;
    color: #222;

    font-family: inherit;
    font-size: 9px;
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1;
    text-transform: none;

    cursor: pointer;

    transition:
        background .2s ease,
        color .2s ease,
        border-color .2s ease;
}

.shop-product-card-add:hover {
    background: #222;
    color: var(--white);
    border-color: #222;
}


/* ---------------------------------------------------------
   HANDLEKURV-KNAPP
   --------------------------------------------------------- */

.shop-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.shop-cart-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 20px;
    height: 20px;
    padding: 0 5px;

    border-radius: 50%;

    background: #222;
    color: var(--white);

    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0;
    line-height: 1;
}


/* =========================================================
   MOBIL
   ========================================================= */

@media (max-width: 520px) {

    .shop-product-card-footer {
        padding: 0 18px 18px;
    }

    .shop-product-card-add {
        padding: 7px 10px;
        font-size: 9px;
    }

}

.shop-product-dimensions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;

    margin: 0 0 24px;

    color: var(--muted);

    font-size: 14px;
    line-height: 1.5;
}

.shop-product-dimensions-separator {
    color: rgba(50, 42, 30, .35);
}

/* ---------------------------------------------------------
 * PRODUKTLISTE – KONTROLLER
 * --------------------------------------------------------- */

.shop-product-list-controls {
    width: min(1100px, 100%);
    margin: 0 auto 28px;

    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;

    color: var(--muted);

    font-size: 12px;
}

.shop-product-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
}

.shop-product-per-page label {
    color: var(--muted);

    font-size: 12px;
}

.shop-product-per-page select {
    height: 36px;
    padding: 0 32px 0 10px;

    border: 1px solid #d8d0c3;

    background: var(--white);
    color: var(--ink);

    font-family: var(--sans);
    font-size: 13px;

    cursor: pointer;
}


/* ---------------------------------------------------------
 * PAGINERING
 * --------------------------------------------------------- */

.shop-pagination {
    display: flex;
    justify-content: center;

    margin: 48px 0 20px;
}

.shop-pagination nav {
    display: flex;
    align-items: center;
}

.shop-pagination nav > div:first-child {
    display: none;
}

.shop-pagination nav > div:last-child {
    display: flex;
    align-items: center;
}

.shop-pagination a,
.shop-pagination span {
    min-width: 38px;
    height: 38px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    margin: 0 3px;

    border: 1px solid #d8d0c3;

    background: transparent;
    color: var(--ink);

    font-family: var(--sans);
    font-size: 12px;

    text-decoration: none;
}

.shop-pagination a:hover {
    border-color: var(--rose);
    color: var(--rose-dark);
}

.shop-pagination span[aria-current="page"] {
    border-color: var(--rose);
    background: var(--rose);
    color: var(--white);
}

.shop-content-updated {
    text-align: right;
}