/** Shopify CDN: Minification failed

Line 548:18 Unexpected "{"
Line 548:27 Expected ":"
Line 549:18 Unexpected "{"
Line 549:27 Expected ":"
Line 550:18 Unexpected "{"
Line 550:27 Expected ":"

**/
/* =========================================================
   Tojtryk ApS – custom.css (mobile-first, clean)
   ========================================================= */

/* ---------- Vars / Theme ---------- */
:root {
  /* Brand */
  --tt-primary: #00A341;
  --tt-bg: #F2F2F2;
  --tt-text-on-primary: #FFFFFF;

  /* Type */
  --tt-font-heading: "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --tt-font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --tt-heading-weight: 700;
  --tt-body-weight: 400;

  /* Layout */
  --tt-radius: 0px; /* skarpe hjørner */
  --tt-space-1: 4px;
  --tt-space-2: 8px;
  --tt-space-3: 12px;
  --tt-space-4: 16px;
  --tt-space-5: 24px;
  --tt-max-w: 1280px;

  /* Safe-area + vh fix */
  --tt-safe-top: env(safe-area-inset-top, 0px);
  --tt-safe-bottom: env(safe-area-inset-bottom, 0px);
  --tt-vh: 1vh; /* sættes via JS */
}

/* Max width justeringer */
@media (min-width: 480px) { :root { --tt-max-w: 1400px; } }
@media (min-width: 768px) { :root { --tt-max-w: 1440px; } }
@media (min-width: 1024px){ :root { --tt-max-w: 1600px; } }

/* ---------- Base ---------- */
.tt-body { background: var(--tt-bg); font-family: var(--tt-font-body); font-weight: var(--tt-body-weight); }

.tt-h1, .tt-h2, .tt-h3 {
  font-family: var(--tt-font-heading);
  font-weight: var(--tt-heading-weight);
  line-height: 1.2;
  margin: 0 0 var(--tt-space-3);
}
.tt-h1 { font-size: clamp(26px, 4.2vw, 36px); }
.tt-h2 { font-size: clamp(20px, 3.0vw, 28px); }
.tt-h3 { font-size: clamp(18px, 2.4vw, 22px); }

/* Containers / Grid */
.tt-container { max-width: var(--tt-max-w); margin: 0 auto; padding: 0 var(--tt-space-4); }
.tt-grid { display: grid; gap: var(--tt-space-3); }
.tt-grid--2, .tt-grid--3 { grid-template-columns: 1fr; }
@media (min-width: 768px){ .tt-grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 768px){ .tt-grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); } }

/* Buttons */
.tt-btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height:44px; padding:10px 16px; border:1px solid transparent;
  border-radius:var(--tt-radius); text-decoration:none; cursor:pointer; font-weight:700;
  -webkit-tap-highlight-color:transparent;
}
.tt-btn--primary { background:var(--tt-primary); color:var(--tt-text-on-primary); }
@media (hover:hover){ .tt-btn--primary:hover, .tt-btn--primary:focus { filter:brightness(0.95); } }

/* Cards */
.tt-card { border:1px solid rgba(0,0,0,.12); border-radius:var(--tt-radius); padding:var(--tt-space-4); background:#fff; }

/* Images */
.tt-img { display:block; max-width:100%; height:auto; }
.tt-img--cover { width:100%; height:calc(40 * var(--tt-vh)); object-fit:cover; }
@media (min-width:768px){ .tt-img--cover { height:calc(50 * var(--tt-vh)); } }

/* Forms */
.tt-input, .tt-select, .tt-textarea {
  width:100%; min-height:44px; padding:10px 12px; border:1px solid rgba(0,0,0,.2);
  border-radius:var(--tt-radius); background:#fff;
}
.tt-input:focus, .tt-select:focus, .tt-textarea:focus { outline:2px solid var(--tt-primary); outline-offset:0; }

/* Helpers */
.tt-app-wrap { margin: var(--tt-space-4) 0; }
.tt-hide-mobile { display:none !important; }
@media (min-width:768px){ .tt-hide-mobile { display:initial !important; } }
@media (max-width:767.98px){ .tt-only-mobile { display:initial !important; } }
@media (min-width:768px){ .tt-only-mobile { display:none !important; } }

/* A11y */
.tt-visually-hidden {
  position:absolute !important; height:1px; width:1px; overflow:hidden;
  clip:rect(1px,1px,1px,1px); white-space:nowrap;
}
@media (prefers-reduced-motion: reduce){
  *{ animation-duration:.001ms !important; animation-iteration-count:1 !important; transition-duration:.001ms !important; scroll-behavior:auto !important; }
}

/* =========================================================
   HEADER BAR (logo | search | actions)
   ========================================================= */

/* Layout */
.tt-headerbar{ background:#fff; border-bottom:1px solid rgba(0,0,0,.08); }
.tt-headerbar__inner{ display:grid; align-items:center; gap:12px; padding:12px 0; }
@media (min-width:1024px){
  /* logo | SEARCH | actions  */
  .tt-headerbar__inner{ grid-template-columns:auto minmax(700px, 980px) auto; gap:16px; }
  .tt-headerbar__center{ display:flex; justify-content:center; width:100%; }
  .tt-headerbar__right{ display:flex; justify-content:flex-end; align-items:center; gap:20px; white-space:nowrap; }
  .tt-headerbar__logo img{ height:100px; width:auto; display:block; }
}
@media (max-width:1023.98px){
  .tt-headerbar__inner{ grid-template-columns:1fr; gap:8px; }
  .tt-headerbar__right{ display:flex; gap:16px; }
}

/* Actions (Favoritter + Kurv) */
.tt-fav{ display:inline-flex; align-items:center; gap:8px; color:#1a1a1a; text-decoration:none; font-weight:500; }
.tt-fav:hover{ text-decoration:underline; }

.tt-cart{
  position:relative; display:inline-flex; align-items:center; justify-content:center;
  width:36px; height:36px; border:1px solid rgba(0,0,0,.55); border-radius:50%;
  color:#000; text-decoration:none;
}
.tt-cart__count{
  position:absolute; top:-6px; right:-6px; min-width:18px; height:18px; padding:0 5px;
  border-radius:999px; background:var(--tt-primary); color:var(--tt-text-on-primary);
  font-size:11px; line-height:18px; text-align:center;
}

/* Search – hard reset & layout lock */
.tt-headerbar .tt-search{
  position:relative; display:flex; width:100%;
  background:#fff; border:1px solid rgba(0,0,0,.18); border-radius:4px; overflow:hidden;
  box-shadow:none !important; margin:0;
}
.tt-headerbar .tt-search__input{
  all:unset; -webkit-appearance:none; -moz-appearance:none; appearance:none;
  box-sizing:border-box; display:block; flex:1 1 auto;
  height:44px; min-height:44px; padding:10px 12px;
  font-family:var(--tt-font-body); font-size:14px; line-height:1.2; color:#111; background:#fff;
}
.tt-headerbar input[type="search"]::-webkit-search-decoration,
.tt-headerbar input[type="search"]::-webkit-search-cancel-button,
.tt-headerbar input[type="search"]::-webkit-search-results-button,
.tt-headerbar input[type="search"]::-webkit-search-results-decoration{ display:none; }
.tt-headerbar .tt-search__input::placeholder{ color:#8a8a8a; }
.tt-headerbar .tt-search__btn{
  all:unset; box-sizing:border-box; display:inline-flex; align-items:center; justify-content:center;
  width:48px; height:44px; border-left:1px solid rgba(0,0,0,.18); background:#fff; color:#1a1a1a; cursor:pointer;
}
.tt-headerbar .tt-search__btn svg{ display:block; }

/* Predictive panel */
.tt-headerbar .tt-search { position: relative; z-index: 10; }
.tt-headerbar .tt-search__panel {
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  max-height: 70vh;
  overflow: auto;
  z-index: 999;
}

/* sørger for at dropdown ikke bliver klippet væk */
.shopify-section-header,
.header, .header__wrapper, .tt-headerbar { overflow: visible !important; }

.tt-headerbar .tt-search { position: relative; z-index: 10; }
.tt-headerbar .tt-search__panel{
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  max-height: 70vh;
  overflow: auto;
  z-index: 9999;
}

.shopify-section-header,
.header, .header__wrapper, .tt-header-bar { overflow: visible !important; }

.tt-headerbar .tt-search { position: relative; z-index: 10; }
.tt-headerbar .tt-search__panel{
  position: absolute;
  left: 0; right: 0; top: calc(100% + 8px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
  max-height: 70vh;
  overflow: auto;
  z-index: 9999;
}

/* ===== Predictive panel: tving synlig og øverst ===== */

/* A) Forældre må IKKE klippe (Impact bruger ofte overflow:hidden i header) */
.shopify-section-header,
.shopify-section-group-header-group,
.header,
.header__wrapper,
.header__inner,
.header__content,
.tt-headerbar,
.tt-headerbar__center {
  overflow: visible !important;
}

/* B) Sørg for at søgeformen laver et stacking context over headeren */
.tt-headerbar .tt-search {
  position: relative !important;
  z-index: 100000 !important; /* over headerens egne lag */
}

/* C) Selve panelet: læg det helt øverst og gør det klikbart */
.tt-headerbar .tt-search__panel {
  position: absolute !important;
  left: 0; right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  max-height: 70vh;
  overflow: auto;
  z-index: 999999 !important; /* meget højt */
  pointer-events: auto !important;
  display: block !important; /* hvis et andet stylesheet sætter display:none */
  visibility: visible !important;
  opacity: 1 !important;
}

/* D) Nogle temaer sætter [hidden] => display:none.
      Vores JS sætter hidden=false, men hvis et andet stylesheet stadig rammer, neutraliser det her. */
.tt-headerbar .tt-search__panel[hidden] {
  display: block !important;
}

/* Søg: wrapper må gerne skabe stacking context */
.tt-headerbar .tt-search { position: relative; z-index: 10; }

/* Panelet styles – position sættes af JS (fixed), så ingen position her */
.tt-headerbar .tt-search__panel{
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 4px;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  max-height: 70vh;
  overflow: auto;
}

/* Hvis et globalt stylesheet sætter [hidden]{display:none}, så neutralisér kun for vores panel */
.tt-headerbar .tt-search__panel[hidden]{ display: none !important; }

/* =========================================================
   TT Predictive Search – kompakt & moderne styling
   ========================================================= */

/* Panel container */
.tt-search__panel {
  font-family: var(--tt-font-body, "Barlow", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif);
  font-size: 14px;
  line-height: 1.4;
  color: #111;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  max-height: 70vh;
  overflow-y: auto;
  width: 100%;
  z-index: 999999;
}

/* Grupper */
.tt-suggest__group {
  padding: 8px 12px 10px;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
.tt-suggest__group:first-child {
  border-top: none;
}

/* Overskrift (fx "Produkter", "Populære søgninger") */
.tt-suggest__title {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #555;
  margin-bottom: 6px;
  font-weight: 600;
}

/* Liste */
.tt-suggest__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Elementer i listen */
.tt-suggest__item {
  margin: 0;
}

/* Produktlinje */
.tt-suggest__link {
  display: grid;
  grid-template-columns: 40px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 6px 6px;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease-in-out;
}
.tt-suggest__link:hover,
.tt-suggest__link[aria-selected="true"] {
  background: #f8f8f8;
}

/* Thumbnail-billede */
.tt-suggest__thumb {
  width: 40px;
  height: 40px;
  border-radius: 4px;
  object-fit: cover;
  background: #f2f2f2;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Tekstcontainer */
.tt-suggest__text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* Produktnavn */
.tt-suggest__name {
  font-size: 13px;
  font-weight: 500;
  color: #111;
  line-height: 1.3;
}

/* Pris */
.tt-suggest__price {
  font-size: 12px;
  color: #00A341;
  font-weight: 600;
}

/* Pil eller ikon i højre side */
.tt-suggest__link > span[aria-hidden="true"] {
  font-size: 12px;
  opacity: 0.4;
}

/* Populære søgninger (ikon + tekst) */
.tt-suggest__query-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px;
  border-radius: 4px;
  text-decoration: none;
  color: inherit;
  transition: background 0.15s ease-in-out;
}
.tt-suggest__query-link:hover,
.tt-suggest__query-link[aria-selected="true"] {
  background: #f8f8f8;
}
.tt-suggest__query-icon {
  opacity: 0.6;
  font-size: 13px;
}

/* Responsiv finpudsning */
@media (max-width: 768px) {
  .tt-search__panel {
    font-size: 13px;
    border-radius: 0;
    left: 0 !important;
    right: 0 !important;
    width: 100vw !important;
    max-height: 60vh;
  }
  .tt-suggest__link {
    grid-template-columns: 32px 1fr auto;
    gap: 8px;
  }
  .tt-suggest__thumb {
    width: 32px;
    height: 32px;
  }
}
.tt-suggest__link:hover .tt-suggest__name,
.tt-suggest__query-link:hover span {
  color: #00A341;
}
/* =========================================================
   TT Predictive Search – Deluxe grid (8 produkter + "Se alle")
   ========================================================= */
.tt-suggest__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  list-style: none;
  margin: 10px 0 6px;
  padding: 0;
}

.tt-suggest__grid-item {
  text-align: center;
}

.tt-suggest__card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 8px;
  padding: 10px 8px;
  transition: all 0.15s ease-in-out;
}
.tt-suggest__card:hover {
  transform: translateY(-2px);
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
  border-color: rgba(0,0,0,0.15);
}

/* Større produktbilleder */
.tt-suggest__thumb {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  background: #f5f5f5;
}

/* Tekster */
.tt-suggest__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.tt-suggest__name {
  font-size: 13px;
  font-weight: 500;
  color: #111;
  text-align: center;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tt-suggest__price {
  font-size: 15px;
  color:rgb(0, 0, 0);
  font-weight: 700;
}

/* “Se alle resultater” knap */
.tt-suggest__footer {
  text-align: center;
  padding: 10px 0 12px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.tt-suggest__viewall {
  display: inline-block;
  background: #00A341;
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
}
.tt-suggest__viewall:hover {
  background: #009138;
}

/* Responsiv: 2 kolonner på mobil */
@media (max-width: 768px) {
  .tt-suggest__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .tt-suggest__thumb {
    width: 100px;
    height: 100px;
  }
  .tt-suggest__price {
    font-size: 14px;
  }
}

.tt-hover-bridge {
  pointer-events: auto;
}

.tt-mainmenu__item.force-open .tt-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

/* Sørg for at dropdown kan ligge over header */
.shopify-section-header,
.header,
.header__wrapper,
.header__inner {
  overflow: visible !important;
}

/* Let “chip”-look til topbar-filtre */
#shopify-section-{{ section.id }} .tt-topbar .select,
#shopify-section-{{ section.id }} .tt-topbar .button,
#shopify-section-{{ section.id }} .tt-topbar [role="button"] {
  border-radius: 8px;
}

