@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');
:root{--ink:#272722;--muted:#73736a;--cream:#f5f2eb;--paper:#fffefa;--sage:#647663;--line:#e6e2d9;--serif:'Playfair Display',Georgia,serif;--sans:'DM Sans',Arial,sans-serif}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}img{max-width:100%;border-radius:9px;display:block}.wrap{max-width:1240px;margin:auto;padding-left:28px;padding-right:28px}.site-header{border-bottom:1px solid var(--line);background:var(--paper)}.nav{min-height:92px;display:flex;align-items:center;justify-content:space-between;gap:30px}.brand{font-weight:700;font-size:27px;letter-spacing:.14em;line-height:1}.brand small{display:block;font-size:9px;font-weight:600;letter-spacing:.24em;margin-top:8px;color:var(--muted)}.brand-dot{color:#b38b65}.nav nav{display:flex;gap:26px;flex-wrap:wrap}.nav nav a{font-size:12px;font-weight:600;letter-spacing:.02em}.nav nav a:hover,.text-link:hover{color:var(--sage)}.hero{background:var(--cream);overflow:hidden}.hero-layout{min-height:550px;display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:40px}.hero-copy{padding:80px 0}.eyebrow{display:block;color:var(--sage);font-size:11px;letter-spacing:.19em;font-weight:700;text-transform:uppercase}.hero h1{font:500 clamp(44px,5.2vw,74px)/1.12 var(--serif);letter-spacing:-.035em;margin:22px 0}.hero h1 em{font-weight:400;color:var(--sage)}.hero-copy p{font-size:16px;color:#66675d;max-width:600px;margin-bottom:30px}.button{display:inline-flex;align-items:center;justify-content:center;gap:22px;background:var(--sage);color:white;padding:13px 22px;font-size:12px;font-weight:700;letter-spacing:.025em;border-radius:7px}.button:hover{background:#283f35;}.hero-art{position:relative;min-height:450px;display:grid;place-items:center}.art-frame{width:min(100%,390px);height:390px;background:#d5d4c6;border-radius:50% 50% 4px 4px;position:relative;display:grid;place-items:center;overflow:hidden}.gift-box{width:200px;height:168px;background:#9eab92;position:absolute;top:162px;left:95px;box-shadow:18px 20px 0 #a9ac97}.gift-lid{position:absolute;top:142px;left:80px;width:230px;height:30px;background:#879a83;z-index:2}.ribbon{position:absolute;left:89px;top:-22px;width:24px;height:210px;background:#efe5d4}.art-circle{position:absolute;top:35px;right:32px;width:95px;height:95px;border:1px solid rgba(255,255,255,.7);border-radius:50%}.art-caption{position:absolute;right:0;bottom:35px;letter-spacing:.17em;font-size:9px;color:var(--muted)}.section{padding-top:40px;padding-bottom:40px}.section-heading{display:flex;justify-content:space-between;align-items:end;gap:25px;margin-bottom:35px}.section-heading h2,.editorial h2{font:500 clamp(30px,3.2vw,38px)/1.2 var(--serif);margin:10px 0 0;letter-spacing:-.02em}.section-heading p{max-width:310px;color:var(--muted);font-size:13px}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.category{min-height:154px;border:1px solid var(--line);padding:22px;display:flex;flex-direction:column;justify-content:space-between;transition:background .2s,transform .2s}.category:hover{background:var(--cream);transform:translateY(-2px)}.category-no{font:italic 18px var(--serif);color:#b5aa98}.category strong{font:500 23px var(--serif);display:block}.category small{color:var(--muted);font-size:11px}.category-arrow{align-self:flex-end;margin-top:-26px}.cream{background:var(--cream)}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.product{background:var(--paper)}.product-image{display:grid;place-items:center;aspect-ratio:1/1.08;background:#ece9e0;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain;padding:14px;transition:transform .3s;border-radius:9px;}.product-image:hover img{transform:scale(1.035)}.product-body{padding:20px 17px 24px}.product h3{font:500 18px/1.35 var(--serif);margin:8px 0 15px;min-height:54px}.price{font-size:16px}.price del{color:var(--muted);margin-left:6px}.sale{color:#C1512A;font-size:16px;font-weight:700}.text-link{font-size:12px;font-weight:700;border-bottom:1px solid currentColor;padding-bottom:4px;display:inline-block;margin-top:18px}.editorial{display:grid;grid-template-columns:1fr 1fr;gap:12%;padding-top:75px;padding-bottom:75px}.editorial p{color:var(--muted);font-size:16px}.guide-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.guide-grid a{background:var(--cream);padding:32px;min-height:240px}.guide-grid span{font-size:10px;letter-spacing:.15em;color:var(--sage)}.guide-grid h3{font:500 29px var(--serif);margin:22px 0 10px}.guide-grid p{color:var(--muted);font-size:13px}.guide-grid b{font-size:12px}.category-intro{padding-top:30px;padding-bottom:30px;border-bottom:1px solid var(--line)}.category-intro h1,.detail h1{font:500 clamp(32px,4vw,42px)/1.15 var(--serif);margin:16px 0}.category-intro>p:last-child{color:var(--muted)}.breadcrumbs{font-size:11px;color:var(--muted);margin-bottom:40px}.empty{padding:40px;background:var(--cream)}.empty h2{font:500 28px var(--serif)}.pagination{display:flex;gap:24px;margin-top:35px}.detail{padding-top:50px;padding-bottom:50px}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:7%;align-items:center}.detail-image{background:var(--cream);border-radius:8px;padding:30px}.detail-image img{width:100%;max-height:580px;border-radius:9px;object-fit:contain}.detail-price{margin:20px 0 25px;font-size:18px}.detail-grid p{color:var(--muted)}.detail-grid .disclosure{font-size:11px;margin-top:16px}.site-header+main{min-height:60vh}footer{background:#252a25;color:#f5f2eb;padding:60px 0}.footer{display:flex;justify-content:space-between;gap:35px}.footer strong{font-size:23px;letter-spacing:.13em}.footer p{font-size:12px;color:#c2c6bd}.footer a{font-size:12px}@media(max-width:900px){.nav{align-items:flex-start;flex-direction:column;padding-top:22px;padding-bottom:20px}.nav nav{gap:14px}.hero-layout{grid-template-columns:1fr}.hero-copy{padding:65px 0 0}.hero-art{min-height:360px}.art-frame{height:320px;width:320px}.gift-box{left:65px;top:137px}.gift-lid{left:50px;top:117px}.category-grid,.product-grid{grid-template-columns:repeat(2,1fr)}.editorial{gap:30px}}@media(max-width:600px){.wrap{padding-left:18px;padding-right:18px}.nav nav{gap:10px 18px}.hero h1{font-size:48px}.hero-copy{padding-top:48px}.hero-art{min-height:320px}.art-caption{bottom:6px}.section{padding-top:30px;padding-bottom:30px}.section-heading{display:block}.category-grid{gap:8px}.category{padding:14px;min-height:135px}.category strong{font-size:20px}.product-grid{gap:12px}.product-body{padding:14px 11px}.product h3{font-size:17px;min-height:46px}.editorial,.guide-grid,.detail-grid{grid-template-columns:1fr}.editorial{padding-top:50px;padding-bottom:50px}.footer{display:block}.footer>div+div{margin-top:24px}}

/* GAVEFUND V1.1 — Mobile category and guide-card refinements */
.category{position:relative;min-width:0}
.category strong,.category small{overflow-wrap:break-word}
.category-arrow{position:absolute;right:18px;bottom:18px;margin:0;line-height:1}
.category small{display:block;padding-right:36px}
@media(max-width:600px){
  .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .category{min-width:0;min-height:174px;padding:18px 16px 46px;gap:8px}
  .category strong{font-size:clamp(18px,4.5vw,22px);line-height:1.25}
  .category small{font-size:12px;line-height:1.45;padding-right:0}
  .category-arrow{right:14px;bottom:13px}
  .guide-grid{grid-template-columns:minmax(0,1fr)}
  .guide-grid a{min-width:0;padding:22px;min-height:0}
  .guide-grid h3{font-size:25px;line-height:1.25;margin:14px 0 8px}
  .guide-grid img{width:100%;height:auto;border-radius:9px;object-fit:cover}
}

@media(max-width:420px){
  .category-grid{grid-template-columns:minmax(0,1fr);gap:10px}
  .category{min-height:132px;padding:18px 62px 18px 18px;justify-content:center}
  .category strong{font-size:23px}
  .category small{font-size:13px}
  .category-arrow{right:18px;bottom:50%;transform:translateY(50%)}
}

/* GAVEFUND V1.2 — category number circles + mobile product and guide spacing */
.category-no{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:34px;
  height:34px;
  flex:0 0 34px;
  border-radius:50%;
  background:#203f33;
  color:#fff;
  font:600 12px/1 var(--sans);
  letter-spacing:0;
}

/* GAVEFUND – Synlige links i Personlige gaver SEO-guide */

.gf-personlige-gaver-guide a:not(.btn) {
    color: #245343;
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: #8aab9a;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
    transition: color .2s ease,
                text-decoration-color .2s ease;
}

.gf-personlige-gaver-guide a:not(.btn):hover {
    color: #142f26;
    text-decoration-color: currentColor;
}

.gf-personlige-gaver-guide a:not(.btn):focus-visible {
    outline: 2px solid #245343;
    outline-offset: 3px;
    border-radius: 2px;
}


/* GAVEFUND – Gavetyper dropdown */

.main-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px 24px;
}

.nav-dropdown {
    position: relative;
}

.nav-dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    font-weight: inherit;
    cursor: pointer;
}

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    padding: 10px 0;
    background: #fff;
    border: 1px solid #e7e5df;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    z-index: 1000;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
    display: block;
}

.nav-dropdown-menu a {
    display: block;
    padding: 11px 18px;
    white-space: nowrap;
    text-decoration: none;
}

.nav-dropdown-menu a:hover,
.nav-dropdown-menu a:focus-visible {
    background: #f4f3ed;
    color: #245343;
}

@media (max-width: 768px) {
    .nav-dropdown-menu {
        position: static;
        box-shadow: none;
        margin-top: 8px;
    }
}


/* Prevent grid children from forcing a wider-than-screen layout */
.product-grid{grid-template-columns:repeat(4,minmax(0,1fr));min-width:0}
.product-grid > *, .product, .product-body, .product h3{min-width:0;max-width:100%}
.product h3{overflow-wrap:anywhere}
.product-image{min-width:0}
@media(max-width:900px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
  .product-body{padding:12px 8px 18px}
  .product h3{font-size:15px;line-height:1.3}
  .product-image img{padding:8px}
  .category-no{width:30px;height:30px;flex-basis:30px;font-size:11px}
  /* The guide index intro should align with its cards */
  .guides-intro, .guide-intro{padding-left:18px;padding-right:18px;margin-bottom:32px}
}

/* GAVEFUND Mobile Layout V1.0 — 2026-10-25
   CSS-only improvement; desktop and existing navigation links are preserved. */
@media (max-width: 900px) {
  .site-header .nav {min-width:0;gap:12px;}
  .site-header .nav nav {min-width:0;max-width:100%;}
  .product-grid {width:100%;min-width:0;grid-template-columns:repeat(2,minmax(0,1fr));}
  .product-grid > * {min-width:0;}
}
@media (max-width: 600px) {
  html,body {max-width:100%;overflow-x:clip;}
  .wrap {width:100%;max-width:100%;min-width:0;padding-left:18px;padding-right:18px;}
  .site-header .nav {display:grid;grid-template-columns:minmax(0,1fr);align-items:start;min-height:0;padding-top:16px;padding-bottom:15px;gap:12px;}
  .site-header .brand {font-size:24px;letter-spacing:.12em;line-height:1.05;}
  .site-header .brand small {font-size:8px;margin-top:5px;}
  .site-header .nav nav {display:flex;flex-wrap:nowrap;gap:20px;overflow-x:auto;overflow-y:hidden;width:100%;max-width:100%;padding:5px 0 9px;scrollbar-width:thin;-webkit-overflow-scrolling:touch;}
  .site-header .nav nav a {flex:0 0 auto;white-space:nowrap;font-size:12px;line-height:1.5;}
  .site-header .gf-header-search {order:initial;display:flex;flex:initial;width:100%;min-width:0;max-width:100%;margin:0;gap:8px;}
  .site-header .gf-header-search input {flex:1 1 auto;min-width:0;width:0;padding:10px 12px;font-size:16px;}
  .site-header .gf-header-search button {flex:0 0 auto;padding:10px 16px;font-size:14px;}
  .category-intro {padding-top:20px;padding-bottom:22px;}
  .category-intro h1 {font-size:clamp(30px,9vw,38px);margin:10px 0 12px;}
  .category-intro > p:last-child {font-size:14px;line-height:1.6;margin-bottom:0;}
  .breadcrumbs {margin-bottom:18px;overflow-wrap:anywhere;}
  .section {padding-top:24px;padding-bottom:28px;}
  .product-grid {grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:12px 10px;width:100%;max-width:100%;}
  .product-grid > *, .product, .product-body {min-width:0;max-width:100%;width:auto;}
  .product-image {width:100%;min-width:0;aspect-ratio:1/1.05;}
  .product-image img {max-width:100%;max-height:100%;padding:8px;object-fit:contain;}
  .product-body {padding:10px 3px 18px;}
  .product h3 {font-size:15px;line-height:1.35;min-height:0;margin:7px 0 10px;overflow-wrap:anywhere;word-break:normal;}
  .product .price,.product .sale {font-size:14px;}
  .product .text-link {font-size:12px;margin-top:12px;}
  .detail {padding-top:25px;padding-bottom:30px;}
  .detail-grid {grid-template-columns:minmax(0,1fr);gap:20px;}
  .detail-image {padding:16px;}
  .footer {padding:0;}
}
@media (max-width:360px) {
  .wrap {padding-left:14px;padding-right:14px;}
  .product-grid {gap:10px 8px;}
  .product h3 {font-size:14px;}
  .product-body {padding-left:1px;padding-right:1px;}
}

/* GAVEFUND Mobile Layout V1.1 — compact vertical rhythm and consistent CTA */
@media (max-width: 600px) {
  /* Category pages: close up the gap from intro to first product row. */
  .category-intro {padding-top:14px !important;padding-bottom:18px !important;}
  .category-intro .breadcrumbs {margin-bottom:18px !important;}
  .category-intro h1 {margin:8px 0 12px !important;}
  .category-intro > p:last-child {margin:0 !important;}
  .category-intro + .section {padding-top:20px !important;}
  .category-intro + .section .product-grid {margin-top:0 !important;}

  /* Product pages: eliminate the large blank bands between consecutive sections. */
  .detail {padding-top:16px !important;padding-bottom:12px !important;}
  .detail .breadcrumbs {margin:0 0 18px !important;line-height:1.5;}
  .detail-grid {gap:18px !important;align-items:start;}
  .detail-grid h1 {margin:10px 0 12px !important;}
  .detail-grid .detail-price {margin:10px 0 16px !important;}
  .detail-grid p {margin-top:10px;margin-bottom:12px;}
  .detail-grid .disclosure {margin-top:12px !important;margin-bottom:0 !important;}
  .detail + .section {padding-top:18px !important;padding-bottom:14px !important;}
  .detail + .section h2 {margin:0 0 10px !important;font-size:21px;line-height:1.3;}
  .detail + .section p {margin:0 0 12px !important;line-height:1.55;}
  .detail + .section + .section {padding-top:20px !important;padding-bottom:28px !important;}
  .detail + .section + .section .section-heading {margin-bottom:16px !important;}
  .detail + .section + .section .section-heading h2 {margin-top:6px !important;}

  /* Preserve the same sage-green merchant button used on desktop. */
  .detail .detail-grid a.button,
  .detail .detail-grid a.button:link,
  .detail .detail-grid a.button:visited {
    display:inline-flex !important;
    width:auto !important;
    max-width:100%;
    min-height:44px;
    padding:12px 20px !important;
    border:0 !important;
    border-radius:7px !important;
    background:var(--sage,#647663) !important;
    color:#fff !important;
    font:700 12px/1.4 var(--sans,Arial,sans-serif) !important;
    letter-spacing:.025em;
    text-decoration:none !important;
    box-shadow:none !important;
  }
  .detail .detail-grid a.button:hover,
  .detail .detail-grid a.button:focus-visible {background:#283f35 !important;color:#fff !important;}
}

/* Gavefund – diskret baggrund til gaveguides */

.gf-home-guides {
    background: #F7F5F0;
    padding: 65px 0;
    margin: 0;
    max-width: none;
}

.gf-home-guides > .section-heading,
.gf-home-guides > .gf-guide-cards,
.gf-home-guides > .gf-home-guides-more {
    max-width: 1140px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

@media (max-width: 768px) {
    .gf-home-guides {
        padding-top: 45px;
        padding-bottom: 45px;
    }
}


/* GAVEFUND – Rounded product cards V1.0
   Rounded outer corners on the full product card, including the image panel.
   Existing grids, image proportions, spacing and responsive rules are unchanged. */
.product-grid > .product {
    border-radius: 12px;
    overflow: hidden;
}
.product-grid > .product > .product-image {
    border-radius: 12px 12px 0 0;
}
.product-grid > .product > .product-image img {
    border-radius: 0;
}


/* Gavefund Category SEO V2.0 – same editorial link treatment as Personal gifts */
.gf-seo-bottom {margin-top: 32px; line-height: 1.7;}
.gf-seo-bottom h2 {margin: 1.5em 0 .65em;}
.gf-seo-bottom h3 {margin: 1.2em 0 .5em;}
.gf-seo-bottom p {margin: 0 0 1em;}
.gf-seo-bottom a:not(.button) {color:#245343;font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#8aab9a;}
.gf-seo-bottom a:not(.button):hover {color:#142f26;text-decoration-color:currentColor;}
.gf-seo-bottom a:focus-visible {outline:2px solid #245343;outline-offset:3px;}
