@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap");
:root{--green:#1e3f33;--dark:#183329;--cream:#faf7f0;--sand:#ece5d6;--gold:#bd9151;--text:#26352d;--muted:#68756d}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--cream);color:var(--text);font:16px/1.65 'DM Sans',Arial,sans-serif}h1,h2,h3{font-family:'Playfair Display',Georgia,serif;line-height:1.15}h2{font-size:clamp(2rem,4vw,3.4rem);margin:.3em 0 .55em}h3{font-size:1.5rem}em{font-weight:600;color:#ae8850}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}.wrap{width:min(1140px,calc(100% - 36px));margin:auto}.skip{position:absolute;left:-999px}.skip:focus{left:1rem;top:1rem;background:white;padding:1rem;z-index:20}.header{background:rgba(250,247,240,.97);position:sticky;top:0;z-index:10;border-bottom:1px solid #e4ded1}.nav{min-height:80px;display:flex;justify-content:space-between;align-items:center;gap:20px}.nav-simple{justify-content:flex-end}.nav nav{display:flex;gap:26px;align-items:center}.nav nav a:hover{color:var(--gold)}.menu-toggle{display:none;border:1px solid var(--green);padding:8px 15px;border-radius:5px;background:transparent}.hero-reference{padding:0;background:none;line-height:0}.hero-reference-img{display:block;width:100%;height:auto;max-height:none}.eyebrow{color:#8f753e;letter-spacing:.15em;text-transform:uppercase;font-weight:700;font-size:.79rem}.eyebrow-dark{color:#8f753e}.btn{background:var(--green);color:white;display:inline-block;padding:13px 23px;border-radius:5px;font-weight:700;font-size:.92rem}.btn:hover{background:#315b4b}.btn.outline{border:1px solid var(--green);color:var(--green);background:transparent}.info-band{background:#294b3c;color:#fff;text-align:center;padding:15px;font-size:.88rem}.info-band span{color:#c5ad78;padding:0 15px}.section{padding-top:90px;padding-bottom:90px}.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:18px}.section-head p{max-width:620px;margin:0}.section-head #count{white-space:nowrap;color:var(--muted)}.filters{display:flex;flex-wrap:wrap;gap:10px;margin:34px 0}.filters button{border:1px solid #d3cebf;border-radius:30px;padding:9px 18px;background:white;color:#3d4b41}.filters button.active,.filters button:hover{background:var(--green);color:white;border-color:var(--green)}.products{display:grid;grid-template-columns:repeat(4,1fr);gap:22px}.product{background:white;border:1px solid #ece7dd;border-radius:10px;overflow:hidden;box-shadow:0 5px 20px #23382a0b}.product-media{height:195px;background:linear-gradient(140deg,#e9e1d0,#d7dccd);display:flex;justify-content:center;align-items:center;position:relative;color:#7b816e;font-family:Georgia,serif;font-size:1.25rem;text-align:center;padding:16px}.product-media img{width:100%;height:100%;object-fit:cover;position:absolute;inset:0}.product-body{padding:20px}.product-type{font-size:.7rem;text-transform:uppercase;letter-spacing:.12em;color:#997947;font-weight:700}.product h3{font-family:'DM Sans',Arial,sans-serif;font-size:1.08rem;margin:8px 0 13px}.price{font-size:1.4rem;color:var(--green);font-weight:700}.note{font-size:.78rem;color:var(--muted);margin-top:4px}.footnote{margin-top:32px}.muted{color:var(--muted);font-size:.88rem}.leaflets{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:24px}.leaflets button{padding:22px 15px;background:#e9e5d9;border:1px solid transparent;border-radius:6px;text-align:center;color:var(--green);font-weight:600;cursor:pointer;min-height:70px}.leaflets button:hover,.leaflets button:focus-visible{background:#d6dccb;border-color:#1e3f33;outline-offset:3px}.about{background:#e8e9db}.about-grid{display:grid;grid-template-columns:1fr 1fr;gap:100px}.about-grid p{max-width:520px}.features{display:grid;grid-template-columns:1fr 1fr;gap:15px}.features div{background:#fffdf8;padding:32px 25px;border-radius:8px;display:flex;flex-direction:column;justify-content:center}.features strong{color:var(--green);font-family:Georgia,serif;font-size:1.25rem}.features span{color:var(--muted);font-size:.9rem}.visit-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.address,.hours{background:white;border:1px solid #e8e3d7;padding:35px;border-radius:10px}.address .btn{margin:18px 0}.hours>div{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #e8e5dc;padding:16px 0}.faq{max-width:850px;margin:55px auto 0}.faq details{border-bottom:1px solid #ddd5c8;padding:15px 0}.faq summary{cursor:pointer;font-weight:700}.faq details p{color:var(--muted)}.closing{text-align:center;padding:70px 0;background:var(--green);color:#fff}.closing h2{margin:0 0 15px}.closing .light{background:#f5e7c6;color:var(--dark);margin-top:15px}footer{background:#142b23;color:#f2eadb;padding:28px 0}footer .wrap{display:flex;justify-content:space-between;gap:15px;align-items:center;flex-wrap:wrap}footer span{font-size:.83rem;color:#b9c7be}#varer{scroll-margin-top:95px}@media(max-width:950px){.products{grid-template-columns:repeat(3,1fr)}.about-grid{gap:35px}}@media(max-width:700px){.menu-toggle{display:block}.nav{min-height:70px;flex-wrap:wrap}.nav-simple{justify-content:space-between}.nav nav{display:none;flex-basis:100%;flex-direction:column;align-items:stretch;padding-bottom:14px;gap:0}.nav nav.open{display:flex}.nav nav a{padding:9px}.products{grid-template-columns:repeat(2,1fr);gap:12px}.product-media{height:150px}.product-body{padding:13px}.section{padding-top:60px;padding-bottom:60px}.section-head{display:block}.leaflets{grid-template-columns:repeat(2,1fr)}.features{gap:10px}.features div{padding:23px 16px}.about-grid,.visit-grid{grid-template-columns:1fr}.hero-reference-img{width:100%;height:auto}}@media(max-width:380px){.products{grid-template-columns:1fr}.leaflets{grid-template-columns:1fr}.features{grid-template-columns:1fr}}
/* REDIGERING */
.admin-trigger{background:#e9d7ab;color:#193b2b;border:1px solid #b89750;border-radius:7px;padding:8px 13px;font-weight:700;white-space:nowrap}
.editor{width:min(820px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #d1c2a4;border-radius:14px;padding:24px;background:#faf7f0;color:#243a2d;box-shadow:0 24px 80px #0008}
.editor::backdrop{background:#0e2019b8}.editor-head{display:flex;justify-content:space-between;align-items:center;gap:10px}.editor-head h2{font-size:1.65rem;margin:0}.editor-head button{border:0;background:transparent;font-size:2rem;line-height:1}
.editor-help{font-size:.91rem}.editor-tabs{display:flex;flex-wrap:wrap;border-bottom:1px solid #c9bb99;gap:5px;margin:14px 0}.editor-tabs button{border:0;background:transparent;padding:10px 16px}.editor-tabs .selected{color:#194d33;border-bottom:3px solid #194d33;font-weight:700}
.editor-panel[hidden]{display:none}.editor-panel label{display:grid;gap:5px;margin:12px 0;font-weight:600}.editor-panel input,.editor-panel select{border:1px solid #c7bdac;padding:11px;border-radius:6px;width:100%;background:white;font:inherit}
.edit-products{max-height:210px;overflow:auto;border:1px solid #dfd7c8;border-radius:7px;background:white}.edit-item{display:flex;align-items:center;gap:6px;border-bottom:1px solid #eee6dc;padding:7px 9px}.edit-item span{flex:1}.edit-item button{border:1px solid #d9cbb6;background:#f8f2e5;border-radius:5px;padding:6px 10px}.edit-item button:last-child{color:#9e2930}
.product-form{display:grid;grid-template-columns:1fr 1fr;column-gap:16px}.product-form .small-note,.product-form .editor-actions{grid-column:1/-1}.editor-actions{display:flex;gap:12px}.editor .btn.secondary{background:#e4dccb;color:#264033}.small-note{font-size:.84rem;color:#5f695d}.upload-preview{display:block;width:min(100%,440px);height:170px;object-fit:contain;margin:12px 0;background:#e5e3d9;border-radius:8px}.logo-preview{height:145px}.editor-panel hr{border:0;border-top:1px solid #d8c8ae;margin:25px 0}
@media(max-width:700px){.product-form{grid-template-columns:1fr}.admin-trigger{margin-left:auto}.editor{padding:15px}.edit-item{font-size:.85rem}.nav{justify-content:space-between}}

/* Redigerbart kontaktfelt i bunn */
.footer-inner{align-items:flex-start!important}
.footer-contact{flex-basis:100%;padding-bottom:12px}
.footer-contact h2{font-size:1.4rem;margin:0 0 .65rem;color:#f2dfb4}
.footer-contact p{margin:.3rem 0;color:#fff}
.footer-contact a{text-decoration:underline;text-underline-offset:3px}
.footer-contact [hidden]{display:none!important}
.contact-info{display:flex;gap:14px;flex-wrap:wrap;align-items:center}.contact-info a{text-decoration:underline}
.admin-trigger{color:#214537;border:1px solid #214537;border-radius:6px;padding:7px 11px;font-size:.85rem;font-weight:600}


/* Oppdatert hero med separat bakgrunn og logo */
.hero-split{padding:0;background:#123224}
.hero-topline{background:linear-gradient(90deg,#0d3a2b,#143f2f,#0d3a2b);color:#f7ecd2;text-align:center;padding:16px 12px;font:600 clamp(1rem,2vw,1.25rem) 'Playfair Display',Georgia,serif;border-bottom:3px solid #bd9151}
.hero-stage{position:relative;min-height:420px;overflow:hidden;background:#173728}
.hero-bg{display:block;width:100%;height:min(72vw,760px);min-height:420px;object-fit:cover}
.hero-overlay{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:28px 18px 46px;background:linear-gradient(to bottom,rgba(17,39,28,.06),rgba(17,39,28,.05) 45%,rgba(17,39,28,.1))}
.hero-logo{display:block;width:min(86vw,980px);max-height:58vh;object-fit:contain;filter:drop-shadow(0 8px 16px rgba(0,0,0,.25))}
.hero-welcome{margin:.35rem 0 0;font:italic 600 clamp(2.5rem,6vw,5rem) 'Playfair Display',Georgia,serif;color:#f3e6c2;text-shadow:0 3px 12px rgba(0,0,0,.45)}

/* Produktbilder med variabel størrelse */
.product-media.size-small{height:160px}
.product-media.size-normal{height:195px}
.product-media.size-tall{height:250px}
.product-media.size-large{height:290px}
.product-media.fit-contain img{object-fit:contain;background:#f7f3ea}
.product-media.fit-cover img{object-fit:cover}
.product-media.focus-top img{object-position:center top}
.product-media.focus-center img{object-position:center center}
.product-media.focus-bottom img{object-position:center bottom}

@media(max-width:700px){
  .hero-topline{padding:13px 10px;font-size:1rem}
  .hero-bg{height:82vw;min-height:300px}
  .hero-overlay{padding:18px 14px 34px}
  .hero-logo{width:min(94vw,700px)}
  .hero-welcome{font-size:clamp(2rem,8vw,3.2rem)}
  .product-media.size-normal{height:170px}
  .product-media.size-tall{height:220px}
  .product-media.size-large{height:245px}
}

/* RETTELSE: gammelt forsidebilde har allerede logo og tekst i bildefilen. */
.hero-original .hero-overlay{display:none!important}
.hero-original .hero-bg{height:auto!important;min-height:0!important;object-fit:contain!important}
.hero-original .hero-stage{min-height:0!important;line-height:0}
.hero-original .hero-topline,[hidden].hero-topline{display:none!important}
/* Når et nytt rent bakgrunnsbilde brukes, behold separat logo og velkomsttekst. */
.hero-topline{position:relative;z-index:2}

/* Skjul ekstra logo og dobbelt velkomsttekst */
.hero-logo,
.hero-welcome {
    display: none !important;
}
/* Skjul ekstra grønn toppstripe */
.hero-topline {
    display: none !important;
}
/* KIRSTIS – Vis hele forsidebildet på mobil */

@media (max-width: 700px) {

  .hero-stage {
    min-height: 0 !important;
    height: auto !important;
    overflow: hidden;
  }

  .hero-bg {
    display: block;
    width: 100%;
    height: auto !important;
    min-height: 0 !important;
    object-fit: contain !important;
    object-position: center;
  }

  .hero-overlay {
    display: none !important;
  }

  .hero-split {
    background: transparent;
  }
}

@media (max-width: 700px) {

  .header {
    position: relative !important;
    top: auto !important;
  }

  .nav {
    min-height: 65px;
  }

  .menu-toggle {
    font-size: 16px;
    padding: 9px 12px;
  }

  .admin-trigger {
    font-size: 14px;
    padding: 9px 12px;
  }
}

/* KIRSTIS – vis hele produktbildet på mobil */

@media (max-width: 700px) {

  .product-media,
  .product-media.size-small,
  .product-media.size-normal,
  .product-media.size-tall,
  .product-media.size-large {
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    display: block;
  }

  .product-media img {
    position: relative !important;
    inset: auto !important;
    display: block;
    width: 100% !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center !important;
  }

}


