:root {
  --emerald-50: #ecfdf5;
  --emerald-100: #d0fae5;
  --emerald-200: #a4f4cf;
  --emerald-300: #5ee9b5;
  --emerald-400: #00d492;
  --emerald-500: #00bc7d;
  --emerald-600: #009966;
  --emerald-700: #007a55;
  --emerald-800: #006045;
  --emerald-900: #004f3b;
  --emerald-950: #002c22;
}

@supports (color: oklch(50% 0.1 160)) {
  :root {
    --emerald-50: oklch(97.9% 0.021 166.113);
    --emerald-100: oklch(95% 0.052 163.051);
    --emerald-200: oklch(90.5% 0.093 164.15);
    --emerald-300: oklch(84.5% 0.143 164.978);
    --emerald-400: oklch(76.5% 0.177 163.223);
    --emerald-500: oklch(69.6% 0.17 162.48);
    --emerald-600: oklch(59.6% 0.145 163.225);
    --emerald-700: oklch(50.8% 0.118 165.612);
    --emerald-800: oklch(43.2% 0.095 166.913);
    --emerald-900: oklch(37.8% 0.077 168.94);
    --emerald-950: oklch(26.2% 0.051 172.552);
  }
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("bricolage-grotesque-700-latin.woff2") format("woff2");
  font-display: swap;
  font-weight: 700;
}

body.priisma-site-redesign {
  --shop-paper: #fff;
  --paper: var(--shop-paper);
  --shop-ink: var(--emerald-950);
  --shop-muted: var(--emerald-900);
  --shop-accent: var(--emerald-700);
  --shop-tint: var(--emerald-100);
  --shop-line: var(--emerald-200);
  background: var(--shop-paper);
  color: var(--shop-ink);
}
.priisma-site-redesign :where(h1, h2, h3) {
  font-family: "Bricolage Grotesque", sans-serif;
  color: var(--shop-ink);
  letter-spacing: -.035em;
}
body.priisma-site-redesign :is(.priisma-site-header, .priisma-page, .priisma-support-page, .priisma-main) {
  background-color: var(--shop-paper);
}
body.priisma-site-redesign :is(.priisma-woo-title, .priisma-support-title, .priisma-home-section-title, .priisma-product-card-title) {
  font-family: "Bricolage Grotesque", sans-serif !important;
  color: var(--shop-ink);
  letter-spacing: -.035em;
}
body.priisma-site-redesign .priisma-footer { background: var(--emerald-950); }
body.priisma-site-redesign .priisma-footer :is(a,p,.priisma-footer-mark) { color: var(--emerald-50); }
body.priisma-site-redesign .priisma-footer a:focus-visible { outline-color: var(--emerald-100); }
body.priisma-site-redesign :is(.priisma-home-button:not(.priisma-home-button-light), .priisma-product-card-button) {
  background: var(--shop-accent);
  color: white;
  border-radius: .4rem;
}
body.priisma-site-redesign :is(.priisma-main, .priisma-home, .priisma-support-page) :focus-visible {
  outline: 3px solid var(--shop-accent);
  outline-offset: 3px;
}

body.priisma-site-redesign .priisma-site-home :is(.priisma-home-announcement, .priisma-home-kicker, .priisma-home-facts, .priisma-home-overline, .priisma-home-cta) {
  display: none;
}
body.priisma-site-redesign .priisma-site-home .priisma-home-hero {
  padding: 0 !important;
  background: transparent !important;
}
body.priisma-site-redesign .priisma-site-home .priisma-home-hero-grid {
  display: grid !important;
  grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr);
  align-items: stretch;
  gap: 0 !important;
  width: min(calc(100% - 3rem), 83rem) !important;
  max-width: none !important;
  margin: clamp(1rem, 3vw, 2.5rem) auto 0;
  padding: 0 !important;
  background: var(--shop-tint);
}
body.priisma-site-redesign .priisma-site-home .priisma-home-hero-grid > :first-child {
  align-self: center;
  padding: clamp(1.5rem, 4.1vw, 4.5rem) !important;
}
body.priisma-site-redesign .priisma-site-home .priisma-home-title {
  max-width: none;
  font: 700 clamp(2.65rem, 5.4vw, 5.1rem)/1.02 "Bricolage Grotesque", sans-serif !important;
  letter-spacing: -.035em;
  color: var(--shop-ink);
}
body.priisma-site-redesign .priisma-site-home .priisma-home-lead {
  max-width: 34ch;
  color: var(--shop-muted);
  margin-block: 1rem 1.4rem;
}
body.priisma-site-redesign .priisma-site-home .priisma-home-actions { margin: 0; }
body.priisma-site-redesign .priisma-site-home .priisma-home-actions .priisma-home-button-light { display: none; }
.priisma-site-featured { display: grid; grid-template-rows: 1fr auto; text-decoration: none; background: var(--emerald-950); color: white; }
.priisma-site-featured:hover { color: white; }
.priisma-site-featured img { display: block; width: 100%; height: 100%; aspect-ratio: 1.75; object-fit: cover; }
.priisma-site-featured > span { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 1rem; }
.priisma-site-collections {
  width: min(calc(100% - 3rem), 83rem);
  margin: clamp(1.75rem, 4vw, 3.5rem) auto;
}
.priisma-site-collections h2 { font-size: clamp(1.85rem, 4vw, 3.4rem); margin-block: 0 1rem; }
.priisma-site-collections ul { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: clamp(.65rem, 2vw, 1.5rem); list-style: none; margin: 0; padding: 0; }
.priisma-site-collections a { display: block; color: var(--shop-ink); text-decoration: none; border-block-end: 1px solid var(--shop-line); padding-block-end: .85rem; }
.priisma-site-collections a:hover h3 { color: var(--shop-accent); text-decoration: underline; }
.priisma-site-collections img { width: 100%; height: auto; aspect-ratio: 1.65; object-fit: cover; display: block; }
.priisma-site-collections h3 { margin: .65rem 0 .2rem; font-size: clamp(1rem, 2.3vw, 1.8rem); overflow-wrap: break-word; }
.priisma-site-collections p { color: var(--shop-muted); margin: 0; }

body.priisma-site-redesign .priisma-product-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  overflow: visible;
}
body.priisma-site-redesign .priisma-product-card .priisma-product-card-image {
  display: block;
  width: 100%;
  border-radius: 0;
  aspect-ratio: 1;
  object-fit: cover;
}
.priisma-site-redesign .priisma-product-card picture img { width: 100%; height: 100%; object-fit: cover; }
body.priisma-site-redesign .priisma-product-card-body { padding: .75rem 0 !important; text-align: start; }
body.priisma-site-redesign .priisma-product-card-button { min-height: 44px; }
body.priisma-site-redesign .priisma-support-hero { background: var(--shop-tint) !important; }
body.priisma-site-redesign .priisma-support-hero :is(.priisma-support-title,p) { color: var(--shop-ink); }
body.priisma-site-redesign :is(.priisma-support-section, .priisma-blog-section) { background-color: var(--shop-paper); }
body.priisma-site-redesign :is(.priisma-woo-shell, .priisma-support-section) { --bde-brand-primary-color: var(--shop-accent); }

@media (max-width: 740px) {
  body.priisma-site-redesign .priisma-site-home .priisma-home-hero-grid {
    grid-template-columns: minmax(0,1fr);
    width: calc(100% - 1.75rem) !important;
  }
  .priisma-site-featured img { aspect-ratio: 1.6; }
  .priisma-site-collections { width: calc(100% - 1.75rem); }
  .priisma-site-collections img { aspect-ratio: 1; }
  .priisma-site-collections p { font-size: .8rem; overflow-wrap: break-word; }
}

body.priisma-site-redesign .priisma-site-home { background: var(--shop-paper) !important; }
body.priisma-site-redesign .priisma-section:has(.priisma-product-grid) {
  padding-block-start: clamp(1.5rem, 4vw, 3.5rem) !important;
}
body.priisma-site-redesign .priisma-section:has(.priisma-product-grid) .priisma-breadcrumb,
body.priisma-site-redesign .priisma-support-hero .priisma-support-kicker { display: none; }

body.priisma-site-redesign :is(.woocommerce-MyAccount-content, .woocommerce-form, .wc-block-cart) {
  --wp--preset--color--contrast: var(--shop-ink);
}
body.priisma-site-redesign :is(.woocommerce-form button.button, .wc-block-cart__submit-button) {
  background-color: var(--shop-accent);
  color: white;
  border-radius: .4rem;
}

body.priisma-site-redesign .priisma-category-faq {
  width: min(100%, 74ch);
  margin-block: clamp(2rem, 5vw, 3.5rem) 1rem;
}
body.priisma-site-redesign .priisma-category-faq h2 {
  margin-block: 0 1.25rem;
  font: 700 clamp(1.6rem, 3vw, 2.25rem)/1.12 "Bricolage Grotesque", sans-serif;
}
body.priisma-site-redesign .priisma-category-faq details {
  border-block-start: 1px solid var(--shop-line);
}
body.priisma-site-redesign .priisma-category-faq details:last-child {
  border-block-end: 1px solid var(--shop-line);
}
body.priisma-site-redesign .priisma-category-faq summary {
  padding: 1rem .25rem 1rem 0;
  color: var(--shop-ink);
  font-weight: 650;
  line-height: 1.45;
  cursor: pointer;
}
body.priisma-site-redesign .priisma-category-faq summary::marker {
  color: var(--shop-accent);
}
body.priisma-site-redesign .priisma-category-faq summary:focus-visible {
  outline: 3px solid var(--shop-accent);
  outline-offset: 3px;
}
body.priisma-site-redesign .priisma-faq-answer {
  padding: 0 .25rem 1rem 0;
}
body.priisma-site-redesign .priisma-faq-answer p {
  max-width: 70ch;
  margin: 0;
  color: var(--shop-muted);
  line-height: 1.65;
}

/* Forsidens proces og efterfølgende forslag */
body.priisma-site-redesign .priisma-home-intro {
  padding-block: clamp(3.5rem, 7vw, 6.5rem) !important;
}
body.priisma-site-redesign .priisma-home-process {
  padding-block: clamp(4.5rem, 8vw, 7rem) !important;
  margin-block-start: clamp(1.5rem, 3vw, 2.75rem) !important;
}
body.priisma-site-redesign .priisma-home-process .priisma-home-section-header {
  align-items: end;
  gap: 1.5rem 3rem;
  margin-block-end: clamp(2rem, 4vw, 3.25rem) !important;
}
body.priisma-site-redesign .priisma-home-process .priisma-home-section-title {
  max-width: 17ch;
  color: #fff !important;
}
body.priisma-site-redesign .priisma-home-process .priisma-home-section-copy {
  max-width: 52ch;
  color: var(--emerald-200) !important;
  line-height: 1.6;
}
body.priisma-site-redesign .priisma-home-process .priisma-home-section-link {
  color: var(--emerald-300) !important;
}
body.priisma-site-redesign .priisma-home-process-grid {
  margin-block-start: 0 !important;
}
body.priisma-site-redesign .priisma-home-process-item {
  min-block-size: 13rem;
  padding: 1.6rem 1.5rem !important;
}
body.priisma-site-redesign .priisma-home-process-number {
  color: var(--emerald-300) !important;
}
body.priisma-site-redesign .priisma-home-process-title {
  margin-block: 0 1rem;
  color: #fff !important;
}
body.priisma-site-redesign .priisma-home-process-copy {
  color: var(--emerald-200) !important;
  line-height: 1.6;
}
body.priisma-site-redesign .priisma-home-feature-grid {
  gap: 1rem !important;
  margin-block: clamp(3rem, 7vw, 6rem) !important;
}
body.priisma-site-redesign .priisma-home-feature-card {
  padding: clamp(1.5rem, 3vw, 2.5rem) !important;
}
body.priisma-site-redesign .priisma-home-feature-card .priisma-home-feature-title {
  margin-block: 0 1rem;
  color: var(--shop-ink) !important;
}
body.priisma-site-redesign .priisma-home-feature-card .priisma-home-feature-copy {
  color: var(--emerald-900) !important;
  line-height: 1.65;
}
body.priisma-site-redesign .priisma-home-feature-card-dark .priisma-home-feature-title,
body.priisma-site-redesign .priisma-home-feature-card-dark .priisma-home-feature-copy {
  color: #fff !important;
}
@media (max-width: 740px) {
  body.priisma-site-redesign .priisma-home-process-grid {
    grid-template-columns: minmax(0,1fr) !important;
  }
  body.priisma-site-redesign .priisma-home-process-item {
    min-block-size: 10rem;
    padding: 1.35rem !important;
  }
  body.priisma-site-redesign .priisma-home-process .priisma-home-section-header {
    align-items: start;
  }
}

/* Én typografisk familie på tværs af butik, navigation og indhold */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
body.priisma-site-redesign,
body.priisma-site-redesign :where(button, input, select, textarea) {
  font-family: "Bricolage Grotesque", sans-serif !important;
}

/* Produktvalg med plads til farven og navnet */
body.priisma-site-redesign .variations .variable-items-wrapper {
  display: flex !important;
  flex-wrap: wrap;
  gap: .55rem;
  padding: 0 !important;
}
body.priisma-site-redesign .variations .variable-item {
  box-sizing: border-box;
  min-width: 5rem;
  min-height: 44px;
  margin: 0 !important;
  padding: .45rem .65rem !important;
}
body.priisma-site-redesign .variations .variable-item .variable-item-contents {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .45rem;
  width: auto !important;
  height: auto !important;
}
body.priisma-site-redesign .variations .variable-item .variable-item-span-color {
  flex: 0 0 .85rem;
  width: .85rem !important;
  height: .85rem !important;
}
body.priisma-site-redesign .woocommerce-tabs ul.tabs,
body.priisma-site-redesign .woocommerce-tabs ul.tabs li {
  list-style: none !important;
  margin-inline: 0 !important;
  padding-inline-start: 0 !important;
}
body.priisma-site-redesign .priisma-product-details .woocommerce-tabs ul.tabs {
  background: transparent !important;
}
body.priisma-site-redesign .woocommerce-tabs ul.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}
body.priisma-site-redesign .woocommerce-tabs ul.tabs::before,
body.priisma-site-redesign .woocommerce-tabs ul.tabs li::before,
body.priisma-site-redesign .woocommerce-tabs ul.tabs li::after {
  display: none !important;
  content: none !important;
}
body.priisma-site-redesign .woocommerce-tabs ul.tabs li a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .65rem .9rem !important;
}

/* Vis værktøj først, og fremhæv de kategorier kunderne søger efter */
body.priisma-site-redesign .priisma-topnav-mega-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}
body.priisma-site-redesign .priisma-topnav-mega-column {
  order: 2;
  min-width: 0;
}
body.priisma-site-redesign .priisma-topnav-mega-column:has(a[href*="/kollektion/vaerktoej/"]) {
  order: 1;
  background: var(--emerald-100);
  border-color: var(--emerald-200);
}
body.priisma-site-redesign .priisma-topnav-mega-column:has(a[href*="/kollektion/vaerktoej/"]) .priisma-topnav-mega-title {
  color: var(--shop-accent);
  font-weight: 700;
}
body.priisma-site-redesign .priisma-topnav-mega-link {
  min-height: 2.5rem;
  font-family: "Bricolage Grotesque", sans-serif;
}
body.priisma-site-redesign .priisma-topnav :where(a, button):focus-visible {
  outline: 3px solid var(--shop-accent);
  outline-offset: 3px;
}
@media (max-width: 740px) {
  body.priisma-site-redesign .priisma-topnav-mega-grid {
    grid-template-columns: minmax(0,1fr);
  }
}


/* Bricolage Grotesque er den fælles skrifttype på alle sidetyper. */
body.priisma-site-redesign,
body.priisma-site-redesign :where(*) {
  font-family: "Bricolage Grotesque", sans-serif !important;
}

/* Menuen åbner som en luftig kollektionsoversigt på desktop. */
body.priisma-site-redesign .priisma-topnav { position: static; }
body.priisma-site-redesign .priisma-topnav-shell { position: static; }
body.priisma-site-redesign .priisma-topnav-collections { position: static; }
body.priisma-site-redesign .priisma-topnav-mega {
  position: absolute !important;
  inset-block-start: calc(100% - 1px) !important;
  inset-inline: max(1rem, calc((100vw - 88rem) / 2)) !important;
  width: auto !important;
  max-width: none !important;
  padding: 1.5rem !important;
  border: 1px solid var(--shop-line);
  border-radius: 0 0 1rem 1rem;
  background: #fff !important;
  box-shadow: 0 1rem 2.5rem rgb(0 44 34 / 14%);
  z-index: 1000;
}
body.priisma-site-redesign .priisma-topnav-mega-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) repeat(2, minmax(10rem, .8fr));
  gap: .75rem;
}
body.priisma-site-redesign .priisma-topnav-mega-column {
  order: initial;
  padding: 1rem;
  border: 0 !important;
  border-radius: .65rem;
  background: var(--emerald-50);
}
body.priisma-site-redesign .priisma-topnav-mega-column:has(a[href*="/kollektion/vaerktoej/"]) {
  order: -1;
  background: var(--shop-tint);
}
.priisma-menu-product {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: .45rem;
  align-content: start;
  color: var(--shop-ink);
  text-decoration: none;
  font-size: .9rem;
}
.priisma-menu-product img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: var(--emerald-50);
}
.priisma-menu-product strong { color: var(--shop-accent); }
.priisma-menu-product:hover span { text-decoration: underline; }

@media (min-width: 1120px) {
  body.priisma-site-redesign .priisma-topnav-mega { display: none; }
  body.priisma-site-redesign .priisma-topnav-collections[open] .priisma-topnav-mega {
    display: block !important;
  }
  body.priisma-site-redesign .priisma-topnav-mega-grid { display: grid !important; }
  body.priisma-site-redesign .priisma-topnav-mega-column:has(a[href*="/kollektion/vaerktoej/"]) { order: 0; }
}

@media (max-width: 1119px) {
  body.priisma-site-redesign .priisma-topnav-shell.is-open {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10010 !important;
    display: flex !important;
    flex-direction: column;
    align-items: stretch !important;
    gap: 0 !important;
    overflow-y: auto;
    padding: 0 1rem max(1rem, env(safe-area-inset-bottom)) !important;
    background: var(--shop-paper) !important;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-toggle {
    position: sticky;
    inset-block-start: 0;
    z-index: 1;
    align-self: flex-end;
    min-height: 3.5rem;
    margin-inline-end: -.5rem;
    background: var(--shop-paper);
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-list {
    display: flex !important;
    flex-direction: column;
    align-items: stretch;
    gap: 0 !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-item {
    display: block;
    width: 100%;
    border-block-end: 1px solid var(--shop-line);
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-link {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 3.25rem;
    padding: .75rem .1rem !important;
    color: var(--shop-ink);
    text-align: start;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-mega {
    position: static !important;
    inset: auto !important;
    width: 100% !important;
    padding: 0 0 1rem !important;
    border: 0;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-collections[open] .priisma-topnav-mega {
    display: block !important;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-mega-head { display: none; }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-mega-grid {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) !important;
    gap: .5rem;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-mega-column {
    padding: .85rem;
    border-radius: .5rem;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-mega-links { padding-inline-start: .8rem; }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-mega-link { min-height: 2.75rem; }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-mega-grid > .priisma-topnav-mega-column:has(a[href*="/kollektion/vaerktoej/"]) { order: -1; }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-menu-product { display: none; }
}

@media (min-width: 1120px) {
  body.priisma-site-redesign .priisma-topnav-mega {
    position: fixed !important;
    inset-block-start: 5.75rem !important;
    inset-inline: max(1rem, calc((100vw - 88rem) / 2)) !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
    transform: none !important;
  }
}

/* Menu layout calibrated to the compact, product-led reference. */
@media (min-width: 1120px) {
  body.priisma-site-redesign .priisma-topnav-mega {
    inset-block-start: 6.15rem !important;
    padding: 1.35rem 1.5rem 1.5rem !important;
    border-radius: 0 0 .75rem .75rem;
  }
  body.priisma-site-redesign .priisma-topnav-mega-grid {
    grid-template-columns: minmax(9rem,1fr) minmax(9rem,1fr) minmax(9rem,1fr) repeat(2,minmax(8.5rem,.82fr));
    gap: 1rem;
  }
  body.priisma-site-redesign .priisma-topnav-mega-column {
    padding: .9rem 1rem 1rem;
    background: transparent;
  }
  body.priisma-site-redesign .priisma-topnav-mega-column:has(a[href*="/kollektion/vaerktoej/"]) {
    order: -1 !important;
    background: transparent;
  }
  body.priisma-site-redesign .priisma-topnav-mega-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-block-end: .7rem;
    border-block-end: 1px solid var(--shop-line);
    font-size: 1.05rem;
  }
  body.priisma-site-redesign .priisma-topnav-mega-links {
    padding-block-start: .3rem;
  }
  body.priisma-site-redesign .priisma-topnav-mega-link {
    min-height: 2.3rem;
    padding-block: .3rem;
  }
  .priisma-menu-product {
    grid-template-rows: auto auto auto;
    align-content: start;
    gap: .35rem;
    font-size: .85rem;
  }
  .priisma-menu-product img {
    aspect-ratio: 1.08;
    border: 1px solid var(--emerald-100);
    background: #fff;
    transition: transform 180ms ease-out;
  }
  .priisma-menu-product:hover img { transform: translateY(-2px); }
  .priisma-menu-product span { line-height: 1.35; }
}

@media (max-width: 1119px) {
  body.priisma-site-redesign > .priisma-topnav {
    position: fixed !important;
    inset: 0 !important;
    z-index: 10020 !important;
    display: block !important;
    width: 100vw !important;
    height: 100dvh !important;
    overflow-y: auto !important;
    padding: max(.75rem, env(safe-area-inset-top)) 1rem max(1rem, env(safe-area-inset-bottom)) !important;
    background: var(--shop-paper) !important;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    width: 100% !important;
    min-height: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    background: transparent !important;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-toggle {
    position: sticky;
    inset-block-start: 0;
    order: -1;
    min-height: 3rem;
    margin-inline-start: auto;
    border: 0;
    border-block-end: 1px solid var(--shop-line);
    border-radius: 0;
    background: var(--shop-paper);
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-list {
    padding-block-start: .5rem !important;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-item {
    border-block-end: 1px solid var(--shop-line);
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-link {
    min-height: 3.5rem;
    font-size: .95rem;
    font-weight: 600;
  }
  body.priisma-site-redesign .priisma-topnav-shell.is-open .priisma-topnav-mega {
    max-height: none !important;
    overflow: visible !important;
  }
}

@media (min-width: 1120px) {
  body.priisma-site-redesign .priisma-topnav-mega {
    display: none !important;
  }
  body.priisma-site-redesign .priisma-topnav-collections[open] .priisma-topnav-mega {
    display: block !important;
  }
  body.priisma-site-redesign .priisma-topnav-mega-grid > .priisma-topnav-mega-column .is-nested {
    display: contents !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body.priisma-site-redesign .priisma-topnav-mega-column .is-nested .priisma-topnav-mega-item {
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
  }
  body.priisma-site-redesign .priisma-topnav-mega-column .is-nested .priisma-topnav-mega-link {
    padding-inline-start: 0 !important;
  }
}

@media (min-width: 1120px) {
  body.priisma-site-redesign .priisma-topnav-mega {
    inset-block-start: 5.75rem !important;
  }
}

@media (min-width: 1120px) {
  body.priisma-site-redesign.priisma-desktop-menu-open .priisma-topnav-mega {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
  }
}

/* Use the variant name when a thumbnail does not communicate the option. */
body.priisma-site-redesign .variations .priisma-named-image-option {
  width: auto !important;
  height: auto !important;
}
body.priisma-site-redesign .variations .priisma-named-image-option .variable-item-contents {
  display: none !important;
}

.priisma-site-redesign {
  accent-color: var(--emerald-700);
}
.priisma-site-redesign ::selection {
  background-color: var(--emerald-200);
  color: var(--emerald-950);
}
.priisma-site-redesign :is(.priisma-topnav, .priisma-footer) :focus-visible {
  outline: 3px solid var(--emerald-600);
  outline-offset: 3px;
}
.priisma-site-redesign .priisma-footer :focus-visible {
  outline-color: var(--emerald-300);
}

/* Cookie consent uses inline vendor colors, so keep the overrides local. */
.cky-consent-container :is(.cky-btn-customize, .cky-btn-reject),
.cky-modal :is(.cky-btn-reject, .cky-btn-preferences) {
  border-color: var(--emerald-700) !important;
  color: var(--emerald-800) !important;
}

:is(.cky-consent-container, .cky-modal) .cky-btn-accept,
.cky-btn-revisit-wrapper {
  background-color: var(--emerald-700) !important;
  border-color: var(--emerald-700) !important;
  color: white !important;
}

:is(.cky-consent-container, .cky-modal) .cky-btn:focus-visible {
  outline: 2px solid var(--emerald-800);
  outline-offset: 2px;
}

/* Match WooCommerce cart links to the storefront. */
body.woocommerce-cart .wc-block-cart a:not(.wc-block-components-button) {
  color: var(--emerald-800);
  text-underline-offset: .15em;
}

body.woocommerce-cart .wc-block-cart a:not(.wc-block-components-button):hover {
  color: var(--emerald-950);
}

body.woocommerce-cart .wc-block-cart a.wc-block-cart__submit-button:hover {
  background-color: var(--emerald-800);
  color: white;
}

/* CheckoutWC owns the checkout layout and payment components. */
body.checkout-wc {
  accent-color: var(--emerald-700);
}

body.checkout-wc #cfw-header {
  border-block-end: 1px solid var(--emerald-200);
}

body.checkout-wc #cfw :is(.form-row .input-text, .form-row select, .form-row textarea, .select2-selection--single) {
  border-color: var(--emerald-700);
}

body.checkout-wc :is(#cfw, #cfw-header) :focus-visible {
  outline: 2px solid var(--emerald-700);
  outline-offset: 2px;
}

body.checkout-wc #cfw-cart-summary .cfw-cart-item-title a {
  text-underline-offset: .15em;
}
