/* Shared WarnwestenDruckerei storefront styles. Individual page layouts add their own rules. */
body.wwd-refresh {
  --wwd-content-width: 1320px;
  --wwd-gutter: clamp(16px, 3.2vw, 46px);
  --wwd-ink: #23272b;
  --wwd-charcoal: #2d3135;
  --wwd-muted: #555b61;
  --wwd-border: #dce0e3;
  --wwd-paper: #fff;
  --wwd-neutral: #f2f4f5;
  --wwd-orange: #f16700;
  --wwd-orange-bright-hover: var(--wwd-orange);
  --wwd-orange-quote: var(--wwd-orange);
  --wwd-orange-quote-hover: var(--wwd-orange);
  --wwd-orange-action: var(--wwd-orange);
  --wwd-orange-hover: var(--wwd-orange);
  --wwd-yellow: #f4e300;
  --wwd-yellow-soft: var(--wwd-yellow);
  --wwd-accent-tint: var(--wwd-yellow);
  --primary-color: var(--wwd-orange-action);
  --fs-color-primary: var(--wwd-orange-action);
  --fs-color-secondary: var(--wwd-yellow);
  color: var(--wwd-ink);
}

body.wwd-refresh :is(#header, #footer) .container,
body.wwd-refresh #main > :is(.container, .row, .page-title) > .container,
body.wwd-refresh #main > :is(.container, .row, .category-page-row),
body.wwd-refresh #main :is(.shop-page-title .page-title-inner, .shop-container > .row),
body.wwd-refresh #main .page-wrapper:not(.product-page) > :is(.container, .row) {
  max-width: var(--wwd-content-width);
}

body.wwd-refresh #header :is(#masthead, #top-bar, #wide-nav) > .container {
  padding-inline: var(--wwd-gutter);
}

body.wwd-refresh #header #top-bar {
  background: var(--wwd-yellow) !important;
  min-height: 32px;
}

body.wwd-refresh #header #top-bar li {
  color: var(--wwd-ink);
  font-size: .79rem;
  letter-spacing: 0;
  padding-block: 3px;
}

body.wwd-refresh #header #top-bar .uppercase {
  text-transform: none;
}

body.wwd-refresh #header #top-bar > .wwd-service-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 8px;
  row-gap: 0;
  min-height: 32px;
  color: var(--wwd-ink);
  font-size: .86rem;
}

.wwd-service-bar::before,
.wwd-service-bar::after { display: none; }

.wwd-service-bar a {
  color: inherit;
  font-weight: 800;
}

.wwd-service-bar a:hover { text-decoration: underline; }

.wwd-service-bar :is(a, button):focus-visible {
  outline: 2px solid var(--wwd-ink);
  outline-offset: 2px;
}

.wwd-service-contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2px 9px;
  line-height: 1.25;
}

.wwd-service-email { justify-self: end; }

.wwd-service-messages {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 3px;
}

.wwd-service-message {
  display: grid;
  align-items: center;
  font-weight: 750;
  text-align: center;
  line-height: 1.2;
}

.wwd-service-message > * { grid-area: 1 / 1; }
.wwd-service-message > [hidden] { display: block; visibility: hidden; }

body.wwd-refresh #header .wwd-service-messages button {
  display: grid;
  place-items: center;
  width: 34px;
  min-height: 32px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: inherit;
  font-size: 1.45rem;
  line-height: 1;
}

body.wwd-refresh #header .wwd-service-messages button:hover { background: #ffffff55; }

@media (min-width: 850px) and (max-width: 1049px) {
  .wwd-service-contact > span { display: none; }
}

@media (max-width: 849px) {
  body.wwd-refresh #header #top-bar {
    min-height: 36px;
  }

  body.wwd-refresh #header #top-bar > .wwd-service-bar {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 12px;
    min-height: 36px;
    font-size: .8rem;
  }

  .wwd-service-messages { justify-self: center; width: min(100%, 390px); }
  .wwd-service-contact, .wwd-service-email { display: none; }
}

body.wwd-refresh #header .header-bg-color {
  background: var(--wwd-paper);
}

body.wwd-refresh #header #masthead {
  color: var(--wwd-ink);
  height: 82px;
}

body.wwd-refresh #header #logo img {
  width: auto;
  max-height: 74px;
}

body.wwd-refresh #header #masthead .nav > li > :is(a, .header-button > a) {
  color: var(--wwd-ink);
  letter-spacing: 0;
  text-transform: none;
}

body.wwd-refresh #header #masthead #logo {
  flex: 0 0 auto;
}

body.wwd-refresh #header #masthead .nav-left > .html_top_right_text {
  margin-inline: clamp(6px, 1vw, 14px);
}

body.wwd-refresh #header #masthead .nav-left > .html_top_right_text img {
  width: 36px;
}

body.wwd-refresh #header #masthead .header-inner > .flex-left.flex-grow {
  min-width: 0;
}

body.wwd-refresh #header #masthead .nav-left > .header-search-form {
  flex: 1 1 300px;
  margin: 0 clamp(6px, 1.1vw, 17px) 0 0;
  min-width: 0;
}

@media (min-width: 850px) and (max-width: 1049px) {
  body.wwd-refresh #header #masthead .nav-left > .header-search-form {
    flex-basis: 0;
  }
}

body.wwd-refresh #header #masthead .dgwt-wcas-search-wrapp {
  max-width: 420px;
  margin-inline: auto;
}

body.wwd-refresh :is(#header #masthead, #main-menu) .dgwt-wcas-search-input {
  border: 1px solid var(--wwd-border);
  border-radius: 8px;
  background-color: var(--wwd-neutral);
  min-height: 42px;
}

body.wwd-refresh #header #masthead .nav .header-button > a.button,
body.wwd-refresh #header #masthead .nav .wwd-mobile-search {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 43px;
  min-width: 43px;
  padding: 0 10px;
  background: var(--wwd-paper);
  border: 1px solid transparent;
  border-radius: 7px;
  box-shadow: none;
  color: var(--wwd-ink);
  font-size: .89rem;
  font-weight: 700;
  line-height: normal;
  text-transform: none;
}

body.wwd-refresh #header #masthead :is(.header-button > a.button:hover, .wwd-mobile-search:hover) {
  background: var(--wwd-neutral);
  border-color: var(--wwd-border);
}

body.wwd-refresh #header #masthead .header-button .icon-shopping-basket {
  font-size: 1.13rem;
}

body.wwd-refresh #header #masthead .header-divider {
  margin-inline: 5px;
  border-color: var(--wwd-border);
}

body.wwd-refresh #header #wide-nav {
  --wwd-nav-bg: var(--wwd-yellow);
  --wwd-nav-border: var(--wwd-yellow);
  --wwd-nav-text: var(--wwd-ink);
  --wwd-nav-highlight: var(--wwd-accent-tint);
  --wwd-nav-hover: var(--wwd-yellow);
  --wwd-nav-highlight-text: var(--wwd-ink);
  --wwd-nav-outline: var(--wwd-charcoal);
  --wwd-nav-highlight-outline: var(--wwd-charcoal);
  background: var(--wwd-nav-bg);
  border-block: 1px solid var(--wwd-nav-border);
  min-height: 53px;
}

body.wwd-refresh #header #wide-nav > .container {
  position: relative;
}

body.wwd-refresh #header #wide-nav > .container > .flex-left {
  flex: 1 1 100%;
  min-width: 0;
}

body.wwd-refresh #header #wide-nav > .container > .flex-right:has(> ul:not(:has(> li))) {
  display: none;
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left {
  gap: 3px clamp(2px, .6vw, 9px);
  min-height: 52px;
  flex-wrap: wrap;
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > li {
  --wwd-nav-item-text: var(--wwd-nav-text);
  --wwd-nav-item-outline: var(--wwd-nav-outline);
  margin: 0;
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > li > a,
body.wwd-refresh #header #wide-nav .wwd-nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 41px;
  padding: 7px clamp(7px, .8vw, 13px);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  color: var(--wwd-nav-item-text);
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.24;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
  transition-property: color, background-color, border-color, box-shadow, opacity;
}

body.wwd-refresh #header #wide-nav .wwd-nav-toggle {
  gap: 6px;
  margin: 0;
}

body.wwd-refresh #header #wide-nav .wwd-nav-pair {
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: var(--wwd-nav-item-bg, transparent);
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > .wwd-nav-pair > a {
  padding-inline-end: 4px;
}

body.wwd-refresh #header #wide-nav .wwd-nav-pair > button {
  padding-inline: 4px 8px;
  min-width: 30px;
}

body.wwd-refresh #header #wide-nav .wwd-nav-toggle i {
  font-size: .81rem;
  margin: 0;
}

body.wwd-refresh #header #wide-nav .wwd-nav-open .wwd-nav-toggle i {
  rotate: 180deg;
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > li:is(.active, #menu-item-7870, .wwd-nav-open, :hover) {
  --wwd-nav-item-bg: var(--wwd-nav-highlight);
  --wwd-nav-item-text: var(--wwd-nav-highlight-text);
  --wwd-nav-item-outline: var(--wwd-nav-highlight-outline);
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > li:is(.active, .wwd-nav-open, :hover) > a {
  text-decoration: underline;
  text-underline-offset: .22em;
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > li:hover {
  --wwd-nav-highlight: var(--wwd-nav-hover);
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > li:where(:not(.wwd-nav-pair)) > :where(a, .wwd-nav-toggle) {
  background: var(--wwd-nav-item-bg, transparent);
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > li > :is(a, .wwd-nav-toggle):focus-visible {
  outline-color: var(--wwd-nav-item-outline);
  outline-offset: -3px;
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > li > a::before {
  content: none;
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > .menu-item-8002:last-child {
  margin-inline-start: auto;
}

body.wwd-refresh #header #wide-nav .nav-left > li > .sub-menu.nav-dropdown {
  min-width: min(280px, var(--wwd-dropdown-room, 90vw));
  max-width: min(470px, var(--wwd-dropdown-room, 92vw));
  padding: clamp(12px, 1.25vw, 18px);
  border: 1px solid var(--wwd-border);
  border-top: 3px solid var(--wwd-orange);
  border-radius: 0 0 12px 12px;
  background: var(--wwd-neutral);
  box-shadow: 0 17px 34px #161a1e22;
  overscroll-behavior: contain;
}

body.wwd-refresh #header #wide-nav .nav-left > li > .sub-menu.nav-dropdown a {
  display: block;
  margin: 0;
  padding: 6px 10px;
  border: 0;
  border-radius: 5px;
  color: var(--wwd-ink);
  font-size: .92rem;
  line-height: 1.36;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
  white-space: normal;
  transition-property: color, background-color;
}

body.wwd-refresh #header #wide-nav .nav-left > li > .sub-menu.nav-dropdown a:hover {
  background: var(--wwd-accent-tint);
  text-decoration: underline;
  text-underline-offset: .19em;
}

body.wwd-refresh #header #wide-nav .nav-left > li > .sub-menu.nav-dropdown a[aria-current="page"] {
  background: var(--wwd-yellow-soft);
  box-shadow: inset 3px 0 var(--wwd-orange-action);
  color: var(--wwd-ink);
  font-weight: 800;
}

body.wwd-refresh #header #wide-nav .nav-left > li > .sub-menu.nav-dropdown a:focus-visible {
  outline-color: var(--wwd-orange-hover);
  outline-offset: -2px;
}

body.wwd-refresh #header #wide-nav .nav-left > li > .sub-menu.nav-dropdown > li {
  display: block;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 7px;
  border-inline: 1px solid var(--wwd-border);
  background: #fff;
}

body.wwd-refresh #header #wide-nav .nav-left > li > .sub-menu.nav-dropdown > li:first-child {
  padding-top: 7px;
  border-top: 1px solid var(--wwd-border);
  border-radius: 10px 10px 0 0;
}

body.wwd-refresh #header #wide-nav .nav-left > li > .sub-menu.nav-dropdown > li:last-child {
  padding-bottom: 7px;
  border-bottom: 1px solid var(--wwd-border);
  border-end-start-radius: 10px;
  border-end-end-radius: 10px;
}

body.wwd-refresh #header #wide-nav .nav-left > #menu-item-7870 {
  position: static;
}

body.wwd-refresh #header #wide-nav .nav-left > #menu-item-7870 > .sub-menu.nav-dropdown {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, .9fr);
  grid-template-rows: auto 1fr;
  align-items: start;
  gap: 10px;
  inset-inline-end: auto;
  width: min(54rem, calc(100vw - 2 * var(--wwd-gutter)));
  max-width: var(--wwd-dropdown-room, none);
  min-width: 0;
  padding: 12px;
}

body.wwd-refresh #header #wide-nav .nav-left > #menu-item-7870 > .sub-menu.nav-dropdown > li {
  width: 100%;
  max-width: none;
  padding: 7px;
  border: 1px solid var(--wwd-border);
  border-radius: 10px;
}

body.wwd-refresh #header #wide-nav #menu-item-7870 > .sub-menu.nav-dropdown > :is(#menu-item-8422, #menu-item-8072) {
  grid-row: span 2;
}

body.wwd-refresh #header #wide-nav .nav-left > #menu-item-7870 > .sub-menu.nav-dropdown > li > a {
  margin-block-end: 4px;
  padding: 9px 10px;
  border-radius: 6px;
  background: var(--wwd-accent-tint);
  color: var(--wwd-ink);
  font-size: .97rem;
  font-weight: 800;
}

body.wwd-refresh #header #wide-nav #menu-item-7870 > .sub-menu.nav-dropdown .nav-column {
  margin: 0;
  padding: 0;
}

body.wwd-refresh #header #wide-nav .nav-left > .wwd-nav-controlled {
  position: static;
}

html.js body.wwd-refresh #header #wide-nav .nav-left > :is(.wwd-nav-managed, .wwd-nav-controlled):not(.wwd-nav-open) > .nav-dropdown {
  display: none !important;
}

html.no-js body.wwd-refresh #header #wide-nav .nav-left > .wwd-nav-managed:is(:hover, :focus-within) > .nav-dropdown {
  inset-block-start: 100%;
  inset-inline-start: 0;
  max-height: min(69vh, 600px);
  overflow: auto;
  opacity: 1;
  visibility: visible;
}

body.wwd-refresh #header #wide-nav .nav-left > .wwd-nav-controlled > .nav-dropdown {
  display: block;
  position: absolute;
  inset-block-start: calc(100% + 1px) !important;
  inset-inline-start: var(--wwd-dropdown-start, 0px) !important;
  inset-inline-end: auto;
  margin-inline: 0 !important;
  max-height: min(69vh, 600px);
  overflow: auto;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: none;
}

body.wwd-refresh #header #wide-nav .nav-left > .wwd-nav-controlled.wwd-nav-open > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

body.wwd-refresh #header #wide-nav .nav-left > li:not(.wwd-nav-controlled):focus-within > .nav-dropdown {
  left: 0;
  max-height: min(69vh, 600px);
  opacity: 1;
  visibility: visible;
}

body.wwd-refresh #header #wide-nav :is(.nav-left > .wwd-nav-controlled, #menu-item-7870)::after,
body.wwd-refresh #header #wide-nav :is(.nav-left > .wwd-nav-controlled, #menu-item-7870)::before {
  display: none;
}

body.wwd-refresh #main-menu .nav-sidebar,
body.wwd-refresh #main-menu .sidebar-menu {
  background: var(--wwd-paper);
}

body.wwd-refresh #main-menu .nav-sidebar li > a {
  color: var(--wwd-ink);
  font-size: .94rem;
  line-height: 1.38;
  letter-spacing: 0;
  text-transform: none;
}

body.wwd-refresh #main-menu .nav-sidebar > li {
  border-color: var(--wwd-border);
}

body.wwd-refresh #main-menu .nav-sidebar .toggle {
  min-width: 42px;
  min-height: 42px;
}

body.wwd-refresh #main-menu .nav-sidebar > .menu-item-8002 > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 9px 15px;
  padding: 7px 13px;
  border-radius: 6px;
  font-weight: 700;
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > .menu-item-8002 > a {
  min-height: 38px;
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > .menu-item-8002 > a,
body.wwd-refresh #main-menu .nav-sidebar > .menu-item-8002 > a {
  background-color: var(--wwd-orange-quote);
  border-color: var(--wwd-orange-quote);
  color: var(--wwd-ink);
}

body.wwd-refresh #header #wide-nav .header-bottom-nav.nav-left > .menu-item-8002 > a:is(:hover, :focus-visible),
body.wwd-refresh #main-menu .nav-sidebar > .menu-item-8002 > a:is(:hover, :focus-visible) {
  background-color: var(--wwd-orange-quote-hover);
  border-color: var(--wwd-orange-quote-hover);
  box-shadow: inset 0 0 0 1px currentColor;
}

body.wwd-refresh :is(#header, #main-menu) :is(a, button, input):focus-visible {
  outline: 2px solid var(--wwd-charcoal);
  outline-offset: 3px;
}

body.wwd-refresh #main :is(.page-title h1, .entry-header h1, .page-heading h1) {
  letter-spacing: -.028em;
  line-height: 1.15;
}

body.wwd-refresh #main :is(.entry-content, .page-content) > :is(h2, h3) {
  letter-spacing: -.02em;
}

body.wwd-refresh.woocommerce.archive #main .box-product .box-image {
  background-color: var(--wwd-paper);
  border: 1px solid var(--wwd-border);
  border-radius: 8px;
}

body.wwd-refresh.woocommerce.archive #main .woocommerce-ordering select {
  border-color: var(--wwd-border);
  border-radius: 6px;
  box-shadow: none;
}

body.wwd-refresh.woocommerce.archive .shop-page-title .breadcrumbs :is(a, .breadcrumb_last),
body.wwd-refresh.woocommerce.archive #main .box-product .category {
  color: var(--wwd-muted);
}

body.wwd-refresh.woocommerce.archive #main .box-push .header-title,
body.wwd-refresh.woocommerce.archive #main .box-product .name > a {
  color: var(--wwd-ink);
}

body.wwd-refresh.woocommerce.archive #main a:is(:hover, :focus-visible) .box-push .header-title,
body.wwd-refresh.woocommerce.archive #main .box-product .name > a:is(:hover, :focus-visible) {
  color: var(--wwd-ink);
  text-decoration: underline;
  text-decoration-color: var(--wwd-orange);
  text-underline-offset: .16em;
}

body.wwd-refresh :is(#main, #footer)
:is(
  .button.primary, .button.alt, .wpcf7-submit, .woocommerce-form-login__submit,
  .woocommerce-form-register__submit, .price_slider_amount .button
):not(.is-link, .is-outline, .is-underline, .disabled, :disabled, [aria-disabled="true"]) {
  background-color: var(--wwd-orange);
  color: var(--wwd-ink);
}

body.wwd-refresh :is(#main, #footer)
:is(
  .button.primary, .button.alt, .wpcf7-submit, .woocommerce-form-login__submit,
  .woocommerce-form-register__submit, .price_slider_amount .button
):not(.is-link, .is-outline, .is-underline, .disabled, :disabled, [aria-disabled="true"]):is(:hover, :focus-visible) {
  background-color: var(--wwd-orange-bright-hover);
  box-shadow: inset 0 0 0 1px currentColor;
}

body.wwd-refresh #footer .container {
  padding-inline: var(--wwd-gutter);
}

@media (min-width: 850px) {
  body.wwd-refresh #header #masthead .wwd-mobile-search-item {
    display: none;
  }

  body.wwd-refresh #masthead .nav-right > .cart-item > .nav-dropdown {
    width: 380px;
    padding: 14px;
    border: 1px solid var(--wwd-border);
    border-top: 3px solid var(--wwd-orange);
    border-radius: 12px;
    background: var(--wwd-paper);
    box-shadow: 0 14px 34px rgb(23 29 34 / .16);
  }

  body.wwd-refresh #masthead .nav-right > .cart-item > .nav-dropdown:has(.mini_cart_item) {
    width: min(500px, calc(100vw - 2 * var(--wwd-gutter)));
  }

  body.wwd-refresh #masthead .cart-item .woocommerce-mini-cart {
    max-height: min(52vh, 420px);
    margin: 0;
    padding: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item {
    position: relative;
    margin: 0 0 8px;
    padding: 12px 36px 12px 82px;
    border: 1px solid var(--wwd-border);
    border-radius: 9px;
    background: var(--wwd-neutral);
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item > a:not(.remove) {
    display: block;
    margin: 0 0 8px;
    color: var(--wwd-ink);
    font-size: .94rem;
    font-weight: 750;
    line-height: 1.28;
    overflow-wrap: anywhere;
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item > a img {
    position: absolute;
    top: 12px;
    left: 12px;
    width: 58px;
    height: 58px;
    margin: 0;
    padding: 4px;
    border-radius: 6px;
    background: var(--wwd-paper);
    object-fit: contain;
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item > a.remove {
    top: 11px;
    right: 9px;
    width: 25px;
    height: 25px;
    border: 1px solid var(--wwd-border);
    background: var(--wwd-paper);
    color: var(--wwd-muted);
    line-height: 23px;
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item > a.remove:hover {
    border-color: var(--wwd-orange-action);
    color: var(--wwd-ink);
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item dl.variation {
    display: grid;
    grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr);
    gap: 3px 8px;
    margin: 0 0 9px;
    color: var(--wwd-muted);
    font-size: .77rem;
    line-height: 1.35;
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item dl.variation > :is(dt, dd) {
    float: none;
    margin: 0;
    overflow-wrap: anywhere;
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item dl.variation:has(+ .wwd-mini-cart-options-trigger) {
    margin-block-end: 2px;
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item dl.variation > :is(
    dt:has(.tm-cart-link), dd:has(.tm-cart-link-data)
  ) {
    grid-column: 1 / -1;
  }

  body.wwd-refresh #masthead .header-nav-main.nav-right > .cart-item .tm-cart-link-data.tm-hidden {
    display: none;
  }

  body.wwd-refresh #masthead .nav-right > .cart-item.wwd-mini-cart-options-open > .nav-dropdown,
  body.wwd-refresh #masthead .nav-right > .cart-item > .nav-dropdown:focus-within:has(.wwd-mini-cart-options-trigger) {
    right: -15px;
    left: auto;
    max-height: inherit;
    opacity: 1;
    visibility: visible;
  }

  body.wwd-refresh.woocommerce-cart #flasho:has(> #tc-floatbox-content .tm-cart-row) .floatbox-cancel {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 36px;
    margin: 0;
    padding: 6px 11px;
    border: 1px solid var(--wwd-orange);
    border-radius: 7px;
    background: var(--wwd-orange);
    color: var(--wwd-ink);
    box-shadow: none;
    font-size: .8rem;
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: normal;
    text-transform: none;
    text-align: start;
  }

  body.wwd-refresh #masthead .cart-item .wwd-mini-cart-options-trigger {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 26px;
    max-width: 100%;
    margin: 0 0 5px;
    padding: 0 3px 0 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--wwd-muted);
    box-shadow: none;
    font-size: .77rem;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: normal;
    text-align: start;
    text-decoration: underline;
    text-underline-offset: .16em;
    text-transform: none;
  }

  body.wwd-refresh #masthead .cart-item .wwd-mini-cart-options-trigger:is(:hover, :focus-visible) {
    color: var(--wwd-ink);
  }

  body.wwd-refresh #masthead .cart-item .wwd-mini-cart-options-trigger:focus-visible {
    outline: 2px solid var(--wwd-orange-action);
    outline-offset: 2px;
  }

  body.wwd-refresh #masthead .cart-item .wwd-mini-cart-options-trigger::after {
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-inline: 2px 1px;
    border-block-start: 1px solid currentColor;
    border-inline-end: 1px solid currentColor;
    content: "";
    transform: rotate(45deg);
  }

  body.wwd-refresh.woocommerce-cart #flasho:has(> #tc-floatbox-content .tm-cart-row) .floatbox-cancel:hover {
    background: var(--wwd-orange-bright-hover);
  }

  body.wwd-refresh > .wwd-mini-cart-options-dialog {
    position: fixed;
    inset: 0;
    width: min(35rem, calc(100% - 32px));
    max-height: min(75dvh, 36rem);
    margin: auto;
    padding: 0;
    overflow: hidden;
    border: 1px solid var(--wwd-border);
    border-block-start: 3px solid var(--wwd-orange);
    border-radius: 13px;
    background: var(--wwd-paper);
    color: var(--wwd-ink);
    box-shadow: 0 18px 46px rgb(23 29 34 / .23);
  }

  body.wwd-refresh > .wwd-mini-cart-options-dialog[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
  }

  body.wwd-refresh > .wwd-mini-cart-options-dialog::backdrop {
    background: rgb(20 26 31 / .45);
  }

  .wwd-mini-cart-options-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 18px;
    border-block-end: 1px solid var(--wwd-border);
    background: var(--wwd-neutral);
  }

  .wwd-mini-cart-options-heading h2 {
    margin: 0;
    color: var(--wwd-ink);
    font-size: 1.2rem;
    line-height: 1.25;
  }

  body.wwd-refresh > .wwd-mini-cart-options-dialog .wwd-mini-cart-options-heading > button {
    position: relative;
    flex: 0 0 38px;
    height: 38px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--wwd-border);
    border-radius: 50%;
    background: var(--wwd-paper);
    color: var(--wwd-muted);
    box-shadow: none;
  }

  .wwd-mini-cart-options-heading > button::before,
  .wwd-mini-cart-options-heading > button::after {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 14px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%) rotate(45deg);
  }

  .wwd-mini-cart-options-heading > button::after {
    transform: translate(-50%, -50%) rotate(-45deg);
  }

  body.wwd-refresh > .wwd-mini-cart-options-dialog .wwd-mini-cart-options-heading > button:hover {
    border-color: var(--wwd-orange-action);
    background: var(--wwd-accent-tint);
    color: var(--wwd-ink);
  }

  .wwd-mini-cart-options-dialog :is(button, a):focus-visible {
    outline: 2px solid var(--wwd-charcoal);
    outline-offset: 2px;
  }

  .wwd-mini-cart-options-body {
    padding: 14px 18px;
    overflow: auto;
    overscroll-behavior: contain;
    font-size: .87rem;
    line-height: 1.4;
    overflow-wrap: anywhere;
  }

  .wwd-mini-cart-option-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: 8px 15px;
    margin: 0;
  }

  .wwd-mini-cart-option-fields > :is(dt, dd) {
    margin: 0;
    text-transform: none;
  }

  .wwd-mini-cart-option-fields > dt {
    font-weight: 700;
  }

  .wwd-mini-cart-popup-data .tm-cart-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr) repeat(3, minmax(0, .56fr));
    gap: 4px 10px;
    padding: 7px 0;
    border-block-end: 1px solid var(--wwd-border);
  }

  .wwd-mini-cart-popup-data .tm-cart-row > .tc-cell {
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .wwd-mini-cart-popup-values-only .tm-cart-row {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  }

  .wwd-mini-cart-popup-values-only :is(.tm-cart-row-header, .cpf-price, .cpf-quantity, .cpf-total-price) {
    display: none;
  }

  .wwd-mini-cart-popup-data .tm-cart-row-header,
  .wwd-mini-cart-popup-data .cpf-name {
    font-weight: 700;
  }

  body.wwd-refresh.woocommerce-cart #flasho:has(> #tc-floatbox-content .tm-cart-row) {
    width: min(36rem, calc(100vw - 32px)) !important;
    height: auto !important;
    max-height: 80dvh;
    padding: 17px 20px;
    overflow: auto;
    border: 1px solid var(--wwd-border);
    border-block-start: 3px solid var(--wwd-orange);
    border-radius: 13px;
    background: var(--wwd-paper);
    box-shadow: 0 18px 46px rgb(23 29 34 / .23);
  }

  body.wwd-refresh.woocommerce-cart #flasho:has(> #tc-floatbox-content .tm-cart-row) > #tc-floatbox-content {
    max-height: 53dvh;
    margin-block: 8px 12px;
    overflow: auto;
    overscroll-behavior: contain;
  }

  body.wwd-refresh #masthead .cart-item .mini_cart_item .ux-mini-cart-qty {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin: 0;
  }

  body.wwd-refresh #masthead .cart-item .ux-mini-cart-qty .product-subtotal {
    padding: 0;
    color: var(--wwd-ink);
    font-weight: 800;
  }

  body.wwd-refresh #masthead .cart-item .ux-mini-cart-footer {
    padding-top: 6px;
    border: 0;
    background: var(--wwd-paper);
  }

  body.wwd-refresh #masthead .cart-item .woocommerce-mini-cart__total {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 8px 0 4px;
    border: 0;
    border-top: 1px solid var(--wwd-border);
    color: var(--wwd-ink);
    font-size: 1rem;
  }

  body.wwd-refresh #masthead .cart-item .wc-gzd-total-mini-cart {
    margin: 0;
    padding: 1px 0;
    border: 0;
    color: var(--wwd-muted);
    font-size: .81rem;
    line-height: 1.4;
    text-align: start;
  }

  body.wwd-refresh #masthead .cart-item .woocommerce-mini-cart__buttons {
    display: grid;
    gap: 7px;
    margin: 11px 0 0;
  }

  body.wwd-refresh #masthead .cart-item :is(.woocommerce-mini-cart__buttons, .ux-mini-cart-empty) .button {
    display: grid;
    min-height: 42px;
    align-items: center;
    margin: 0;
    padding: 7px 10px;
    border: 1px solid var(--wwd-border);
    border-radius: 7px;
    background: var(--wwd-paper);
    color: var(--wwd-ink);
    box-shadow: none;
    font-size: .91rem;
    letter-spacing: 0;
    line-height: 1.2;
    text-transform: none;
  }

  body.wwd-refresh #masthead .cart-item :is(.woocommerce-mini-cart__buttons, .ux-mini-cart-empty) .button:hover {
    border-color: var(--wwd-orange-action);
    background: var(--wwd-accent-tint);
  }

  body.wwd-refresh #masthead .cart-item .woocommerce-mini-cart__buttons .checkout {
    border-color: var(--wwd-orange);
    background: var(--wwd-orange);
  }

  body.wwd-refresh #masthead .cart-item .woocommerce-mini-cart__buttons .checkout:hover {
    border-color: var(--wwd-orange-bright-hover);
    background: var(--wwd-orange-bright-hover);
  }
}

@media (max-width: 849px) {
  body.wwd-refresh .mfp-bg.main-menu-overlay {
    background: var(--wwd-charcoal);
  }

  body.wwd-refresh .mfp-bg.main-menu-overlay.mfp-ready {
    opacity: .55;
  }

  body.wwd-refresh .mfp-content.wwd-mobile-drawer-frame {
    width: min(calc(100vw - 28px), 380px);
    max-width: none;
    height: 100%;
    padding: 0;
    overflow: hidden;
    border-radius: 0 14px 14px 0;
    background: var(--wwd-paper);
    box-shadow: 10px 0 32px rgb(20 26 31 / .18);
  }

  body.wwd-refresh .mfp-wrap:has(.wwd-mobile-drawer-frame) .mfp-close {
    display: none;
  }

  body.wwd-refresh:has(.mfp-wrap.mfp-ready .wwd-mobile-drawer-frame) [id^="minimized-trustbadge-"] {
    display: none !important;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame > #main-menu {
    --wwd-drawer-gutter: clamp(12px, 4vw, 20px);
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    background: var(--wwd-paper);
  }

  body.wwd-refresh #main-menu .wwd-drawer-header {
    position: sticky;
    z-index: 2;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: calc(7px + env(safe-area-inset-top)) var(--wwd-drawer-gutter) 7px;
    border-top: 4px solid var(--wwd-yellow);
    border-bottom: 1px solid var(--wwd-border);
    background: var(--wwd-paper);
  }

  body.wwd-refresh #main-menu .wwd-drawer-header h2 {
    margin: 0;
    font-size: 1.45rem;
    line-height: 1.2;
    letter-spacing: -.025em;
    color: var(--wwd-ink);
  }

  body.wwd-refresh #main-menu .wwd-drawer-close {
    position: relative;
    flex: none;
    width: 44px;
    height: 44px;
    min-height: 0;
    margin: 0;
    padding: 0;
    border: 1px solid var(--wwd-border);
    border-radius: 9px;
    color: var(--wwd-ink);
    background: var(--wwd-neutral);
  }

  body.wwd-refresh #main-menu .wwd-drawer-close::before,
  body.wwd-refresh #main-menu .wwd-drawer-close::after {
    position: absolute;
    top: calc(50% - 1px);
    left: calc(50% - 8px);
    width: 16px;
    height: 2px;
    border-radius: 1px;
    background: currentColor;
    transform: rotate(45deg);
    content: '';
  }

  body.wwd-refresh #main-menu .wwd-drawer-close::after {
    transform: rotate(-45deg);
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .sidebar-menu {
    padding: 0 var(--wwd-drawer-gutter) calc(20px + env(safe-area-inset-bottom));
    text-align: start;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar li {
    position: relative;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar > li {
    opacity: 1;
    animation: none;
    transform: none;
    transition: none;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar a {
    display: flex;
    align-items: center;
    min-height: 46px;
    width: 100%;
    margin: 0;
    padding: 9px 12px;
    font-weight: 700;
    text-align: start;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar .has-child > a {
    padding-inline-end: 52px;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar > .menu-item > a {
    min-height: 50px;
    font-size: 1rem;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar :is(.current-menu-item, .active) > a {
    border-radius: 7px;
    background: var(--wwd-accent-tint);
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar .toggle {
    position: absolute;
    display: grid;
    place-items: center;
    top: 2px;
    right: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    color: var(--wwd-ink);
    opacity: 1;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar .sub-menu {
    margin: 0 0 7px 11px;
    padding: 2px 0 3px 7px;
    border-left: 2px solid var(--wwd-border);
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar .has-child[aria-expanded="false"] > .sub-menu {
    display: none;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar .sub-menu a {
    font-weight: 600;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar .sub-menu .menu-item-has-children > a {
    font-weight: 800;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .header-search-form {
    width: 100%;
    margin: 0;
    padding: 14px 0;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .wwd-drawer-has-search .header-search-form-wrapper {
    display: none;
  }

  body.wwd-refresh #main-menu .wwd-drawer-search {
    display: flex;
    align-items: center;
    gap: 9px;
    width: 100%;
    min-height: 48px;
    margin: 0;
    padding: 10px 13px;
    border: 1px solid var(--wwd-border);
    border-radius: 9px;
    background: var(--wwd-neutral);
    color: var(--wwd-muted);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: 0;
    line-height: 1.35;
    text-align: start;
    text-transform: none;
  }

  body.wwd-refresh #main-menu .wwd-drawer-search i {
    min-width: 16px;
    margin: 0;
    color: var(--wwd-ink);
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar > .menu-item-8002 {
    padding: 12px 0;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar > .menu-item-8002 > a {
    justify-content: center;
    min-height: 46px;
    border-radius: 9px;
    background: var(--wwd-orange-quote);
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar > .menu-item-8002 > a:is(:hover, :focus-visible) {
    background: var(--wwd-orange-quote-hover);
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar > .html_topbar_right {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 9px 11px;
    border: 1px solid var(--wwd-border);
    border-radius: 9px;
    background: var(--wwd-neutral);
    color: var(--wwd-muted);
    font-size: .83rem;
    line-height: 1.35;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar > .html_topbar_right > a {
    flex: none;
    width: 44px;
    min-height: 44px;
    margin-inline-start: auto;
    padding: 4px;
  }

  body.wwd-refresh .wwd-mobile-drawer-frame #main-menu .nav-sidebar > .html_top_right_text:empty {
    display: none;
  }

  body.wwd-refresh #header #masthead {
    height: 67px;
  }

  body.wwd-refresh #header #masthead #logo {
    width: auto;
    max-width: min(30vw, 146px);
  }

  body.wwd-refresh #header #masthead #logo img {
    width: auto;
    max-height: 60px;
  }

  body.wwd-refresh #header #masthead ul.mobile-nav > li {
    margin-inline: 1px;
  }

  body.wwd-refresh #header #masthead ul.mobile-nav > .header-divider {
    display: none;
  }

  body.wwd-refresh #header #masthead .nav .header-button > a.button,
  body.wwd-refresh #header #masthead .nav .wwd-mobile-search {
    padding-inline: 5px;
  }
}

@media (max-width: 549px) {
  body.wwd-refresh .mfp-content.wwd-mobile-drawer-frame {
    width: 100%;
    border-radius: 0;
    box-shadow: none;
  }
}

@media (max-width: 370px) {
  body.wwd-refresh #header #masthead > .container {
    padding-inline: 9px;
  }
}

/* Match theme and plugin controls that supply their own colors. */
body.wwd-refresh #footer .widerrufs-button {
  background-color: var(--wwd-orange);
  color: var(--wwd-ink) !important;
}

body.wwd-refresh #footer .widerrufs-button:is(:hover, :focus-visible) {
  box-shadow: inset 0 0 0 1px currentColor;
}

body.wwd-refresh #main .westenwizard {
  border-color: var(--wwd-orange);
}

body.wwd-refresh #main .tm-box {
  background-color: var(--wwd-yellow);
}

body.wwd-refresh.woocommerce-checkout #main button#place_order:not(:disabled) {
  background-color: var(--wwd-orange);
  color: var(--wwd-ink);
}

body.wwd-refresh #main p.stock.available-on-backorder {
  background-color: var(--wwd-yellow);
  color: var(--wwd-ink);
}

body.wwd-refresh #main .tm-extra-product-options :is(.tc-label-text:hover, .tc-active .tc-label-text) {
  border-color: var(--wwd-orange);
}

body.wwd-refresh #main h3.tc-cell.tc-epo-label.tm-section-label.tcwidth.tcwidth-100 {
  background-color: var(--wwd-orange);
  color: var(--wwd-ink);
}

body.wwd-refresh #main :is(.pi-edd-product, .pi-edd-ajax) {
  background: var(--wwd-yellow) !important;
}

body.wwd-refresh #main :is(.pi-edd-loop, .pi-edd.pi-edd-cart) {
  background: var(--wwd-orange);
  color: var(--wwd-ink);
}

body.wwd-refresh #main .badge-inner:is(.onsale, .on-sale) {
  color: var(--wwd-ink);
}
