/* ==========================================================================
   Roskilde Ismejeri — shared site chrome (nav + footer)
   Linked by every public page. Design tokens (:root) stay per-page for now.
   Edit nav/footer HERE once instead of in 18 files.
   ========================================================================== */

/* ── Nav (shared) ── */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
  }
  .nav-inner {
    max-width: 1400px; margin: 0 auto;
    min-height: 88px; padding: 0 32px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px;
  }
  .brand {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Baloo 2', sans-serif; font-size: 24px;
    text-decoration: none; color: var(--ink);
  }
  .brand img { height: 56px; width: auto; display: block; }
  .brand-mark {
    width: 32px; height: 32px; border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #FFE4B5 0%, #F2A6B0 45%, #C04A5B 100%);
    box-shadow: inset 0 -3px 6px rgba(0,0,0,0.1);
    flex-shrink: 0;
  }
  .nav-links {
    display: flex; gap: 4px; font-size: 12px; letter-spacing: 0.08em;
    align-items: center;
  }
  .nav-links a {
    color: var(--ink-soft); text-decoration: none;
    padding: 8px 14px; border-radius: 12px;
    transition: color .2s ease, background-color .2s ease;
  }
  .nav-links a:hover { color: var(--ink); background: rgba(222, 108, 161, 0.12); }
  .nav-links a.active {
    color: #ffffff; font-weight: 600;
    background: #de6ca1;
    text-decoration: none;
  }
  .nav-links a.active:hover { background: #c75690; color: #ffffff; }
  .nav-dropdown { position: relative; }
  .nav-dropdown-btn {
    background: none; border: none; cursor: pointer;
    font-family: inherit; font-size: 12px; letter-spacing: 0.08em;
    color: var(--ink-soft);
    display: flex; align-items: center; gap: 5px;
    padding: 8px 14px; border-radius: 12px;
    transition: color .2s ease, background-color .2s ease;
  }
  .nav-dropdown-btn:hover { color: var(--ink); background: rgba(222, 108, 161, 0.12); }
  .nav-dropdown-btn.active {
    color: #ffffff; font-weight: 600;
    background: #de6ca1;
    text-decoration: none;
  }
  .nav-dropdown-btn.active:hover { background: #c75690; color: #ffffff; }
  .nav-dropdown-menu {
    position: absolute; top: calc(100% + 12px); left: 50%;
    transform: translateX(-50%);
    background: #ffffff;
    border: none;
    border-radius: 14px;
    padding: 6px;
    min-width: 200px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.10);
    z-index: 60;
    display: none;
  }
  .nav-dropdown-menu::before {
    content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
  }
  .nav-dropdown:hover .nav-dropdown-menu,
  .nav-dropdown:focus-within .nav-dropdown-menu { display: block; }
  .nav-dropdown-item {
    display: block; padding: 10px 14px;
    font-size: 13px; color: var(--ink-soft);
    text-decoration: none; border-radius: 12px;
    transition: background .15s, color .15s;
    white-space: nowrap;
  }
  .nav-links a.nav-dropdown-item:hover, .nav-dropdown-item:hover {
    background: rgba(222, 108, 161, 0.12);
    color: var(--ink);
  }

  @media (max-width: 720px) {
    .nav-links { display: none; }
    .nav-inner { min-height: 0; padding: 16px 20px; }
    .brand img { height: 40px; }
  }

/* ── Footer ── */
  .site-footer {
    position: relative;
    background: #e069a0;
    color: var(--white);
    margin-top: 80px;
  }
  /* Wavy top edge */
  .site-footer-wave {
    display: block;
    width: 100%;
    height: 90px;
    margin-bottom: -1px;
  }
  .site-footer-wave path { fill: #e069a0; }

  .footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 32px 56px;
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr auto;
    gap: 56px;
  }
  @media (max-width: 900px) {
    .footer-inner {
      grid-template-columns: 1fr 1fr;
      gap: 40px;
      padding-top: 16px;
    }
  }
  @media (max-width: 560px) {
    .footer-inner {
      grid-template-columns: 1fr;
      gap: 36px;
    }
  }

  .footer-col h4 {
    font-family: 'Baloo 2', sans-serif;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 0 0 16px;
    color: var(--white);
  }
  .footer-col ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex; flex-direction: column;
    gap: 10px;
  }
  .footer-col a, .footer-col li {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    line-height: 1.55;
    transition: opacity .2s;
  }
  .footer-col a:hover { opacity: 0.75; }
  .footer-address {
    font-size: 14px;
    line-height: 1.7;
    margin: 0;
    color: var(--white);
  }
  .footer-address a {
    color: var(--white);
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
  }
  .footer-address a:hover { border-color: var(--white); }

  .footer-social {
    display: flex; flex-direction: column;
    gap: 16px;
  }
  .footer-social-icons {
    display: flex; gap: 10px;
  }
  .footer-social-icons a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: var(--white);
    color: #e069a0;
    display: flex; align-items: center; justify-content: center;
    transition: transform .2s, background .2s;
  }
  .footer-social-icons a:hover {
    transform: translateY(-2px);
    background: var(--cream);
  }
  .footer-social-icons svg {
    width: 18px; height: 18px;
    fill: currentColor;
  }

  .footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.25);
    padding: 18px 32px;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: rgba(255,255,255,0.85);
    gap: 16px;
    flex-wrap: wrap;
  }

/* ── Cookie consent theme (orestbida/cookieconsent v3) ──
   Ice-cream cream surfaces, pink (#de6ca1) primary buttons. */
#cc-main {
  --cc-font-family: 'Inter', -apple-system, sans-serif;

  --cc-bg: #FBF6EB;                         /* cream */
  --cc-primary-color: #1A1612;             /* ink */
  --cc-secondary-color: #4A4239;           /* ink-soft */

  --cc-btn-primary-bg: transparent;        /* outlined */
  --cc-btn-primary-color: #1A1612;         /* ink */
  --cc-btn-primary-border-color: #1A1612;
  --cc-btn-primary-hover-bg: #E8DFC9;      /* same gray as secondary hover */
  --cc-btn-primary-hover-color: #1A1612;
  --cc-btn-primary-hover-border-color: #1A1612;

  --cc-btn-secondary-bg: #F3ECDB;          /* cream-deep */
  --cc-btn-secondary-color: #1A1612;
  --cc-btn-secondary-border-color: #E8DFC9;
  --cc-btn-secondary-hover-bg: #E8DFC9;
  --cc-btn-secondary-hover-color: #1A1612;
  --cc-btn-secondary-hover-border-color: #E8DFC9;

  --cc-btn-border-radius: 12px;
  --cc-modal-border-radius: 20px;

  --cc-toggle-bg-off: #cfc7b6;
  --cc-toggle-bg-on: #de6ca1;
  --cc-toggle-bg-readonly: #d8cfbc;
  --cc-toggle-knob-bg: #fffefb;
  --cc-toggle-knob-icon-color: #de6ca1;

  --cc-cookie-category-block-bg: #FFFEFB;
  --cc-cookie-category-block-border: #E8DFC9;
  --cc-cookie-category-block-hover-bg: #F3ECDB;
  --cc-cookie-category-block-hover-border: #E8DFC9;
  --cc-cookie-category-expanded-block-bg: #F3ECDB;

  --cc-separator-border-color: #E8DFC9;
  --cc-link-color: #C04A5B;                /* pink-deep */
  --cc-link-hover-color: #DD699F;
  --cc-overlay-bg: rgba(26, 22, 18, 0.5);
}

/* Baloo headings to match the site voice */
#cc-main .cm__title,
#cc-main .pm__title {
  font-family: 'Baloo 2', 'Inter', sans-serif;
  font-weight: 700;
}
/* Pink accent bar on top of the bottom consent bar */
#cc-main .cm--bar .cm {
  border-top: 3px solid #de6ca1;
}


/* ── Skeleton / shimmer loaders (shared) ── */
@keyframes rsShimmer{0%{background-position:-160% 0}100%{background-position:160% 0}}
.skel-block,.skel-line{background:#ece7dc;background-image:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.7) 45%,transparent 70%);background-size:200% 100%;background-repeat:no-repeat;animation:rsShimmer 1.4s ease-in-out infinite;overflow:hidden}
.skel-line{height:14px;border-radius:6px;margin:8px 0}
.skel-line-title{height:24px;width:62%;margin-bottom:12px}
.skel-line-short{width:42%}
.di-card-img.skel-loading::after{content:"";position:absolute;inset:0;z-index:1;background:#ece7dc;background-image:linear-gradient(100deg,transparent 20%,rgba(255,255,255,.7) 45%,transparent 70%);background-size:200% 100%;background-repeat:no-repeat;animation:rsShimmer 1.4s ease-in-out infinite}
.di-card-img .di-scoop-img{position:relative;z-index:2}
.di-card-img.skel-loading .di-badge-stack{z-index:3}
.di-skel{pointer-events:none}

  .brand-group{display:flex;align-items:center;gap:20px;flex-shrink:0}.nav-links a{white-space:nowrap}
  .oeko{flex-shrink:0;display:flex;align-items:center;gap:10px;padding-left:20px;border-left:1.5px solid #D9D6D0;text-decoration:none;color:#6E6E6E;font-family:inherit;font-weight:800;font-size:14px;line-height:1.2}
  .oeko img{height:56px;width:auto;display:block}
  .oeko small{display:block;font-weight:600;font-size:13px;color:#8A8A8A}
  .oeko:hover{color:var(--ink)}
  @media (max-width: 1100px) and (min-width: 901px){.brand-group{gap:12px}.oeko{padding-left:12px;gap:0}.oeko span{display:none}}
  @media (max-width: 900px){.brand-group{gap:12px}.oeko{padding-left:12px;gap:8px;font-size:12px}.oeko small{font-size:11px}.oeko img{height:40px}}
  @media (max-width: 400px){.oeko{gap:0}.oeko span{display:none}}
