body.wwd-design-6040 .wwd-6040-notice {
  grid-area: crumb;
  justify-self: end;
  align-self: start;
  margin: 0;
  font-size: .82rem;
  color: var(--wwd-muted);
}

body.wwd-design-6040 .wwd-6040-notice a {
  text-decoration: underline;
}

body.wwd-design-6040:not(.wwd-6040-live) .wwd-prod-crumb { padding-right: 230px; }

/* Opening the left panel should not move the viewport's scroll anchor. */
body.wwd-design-6040 :is(.wwd-prod-left, .wwd-6040-panel) {
  overflow-anchor: none;
}

body.wwd-design-6040 .wwd-6040-slot {
  display: block;
  height: 0;
  transition: height 340ms cubic-bezier(.22, .75, .25, 1);
}

body.wwd-design-6040 .wwd-6040-slot.is-open {
  height: calc(var(--wwd-6040-height, 0px) + 10px);
}

body.wwd-design-6040 .wwd-6040-ready .wwd-6040-panel:not(.is-open) { visibility: hidden; }

body.wwd-design-6040 .wwd-prod-print-options.wwd-6040-panel {
  position: absolute !important;
  box-sizing: border-box;
  top: var(--wwd-6040-top, 0px);
  left: var(--wwd-6040-left, 0px);
  width: var(--wwd-6040-width, 100%) !important;
  max-width: none !important;
  margin: 0 !important;
  z-index: 1;
  clip-path: inset(0 0 100% 0);
  opacity: 0;
  transition: clip-path 340ms cubic-bezier(.22, .75, .25, 1), opacity 230ms ease, visibility 0s 340ms;
}

body.wwd-design-6040 .wwd-prod-print-options.wwd-6040-panel.is-open {
  visibility: visible;
  clip-path: inset(0);
  opacity: 1;
  transition: clip-path 340ms cubic-bezier(.22, .75, .25, 1), opacity 230ms ease;
}

body.wwd-design-6040 .wwd-prod-form:has(.wwd-6040-panel),
body.wwd-design-6040 .wwd-prod-form :is(.col, .col-inner, .add-to-cart-container, form.cart, .single_variation_wrap, .woocommerce-variation-add-to-cart):has(.wwd-6040-panel) {
  overflow: visible;
}

body.wwd-design-6040 .wwd-purchase-card .wwd-6040-shop-link {
  margin: 0;
  flex: 1 1 auto;
  white-space: normal;
  text-align: center;
  text-decoration: none;
  padding-inline: 8px;
}

body.wwd-design-6040.wwd-refresh .wwd-prod-form table.variations .wwd-6040-color-images > .ux-swatch--image {
  min-height: 58px;
}

body.wwd-design-6040 .wwd-6040-color-images .ux-swatch__text,
body.wwd-design-6040 .wwd-6040-color-images > .ux-swatch--image::after {
  display: none !important;
}

body.wwd-design-6040 .wwd-6040-selected-color { font-weight: 600; }

body.wwd-design-6040.postid-2834 .wwd-prod-shell:has(.wwd-prod-price) .wwd-prod-discounts .wwd-tier-price {
  display: none;
}

body.wwd-6040-live .wwd-6040-order-choices {
  min-width: 0;
  margin: 0 0 12px;
  padding: 0;
  border: 0;
}

body.wwd-6040-live .wwd-6040-order-choices legend {
  margin: 0 0 6px;
  padding: 0;
  font-size: .9rem;
  font-weight: 700;
  line-height: 1.4;
}

body.wwd-6040-live .wwd-6040-order-reference { margin: 9px 0 0; }
body.wwd-6040-live .wwd-6040-order-reference input { margin: 4px 0 0; }
body.wwd-6040-live .wwd-6040-order-error { margin: 8px 0 0; color: #a12618; font-size: .9rem; }

body.wwd-design-6040 .wwd-6040-panel .wwd-fpd-area-nav .wwd-fpd-area-button {
  position: relative;
  flex: 1 1 110px;
  min-height: 40px;
  padding: 7px 20px;
  border-width: 1px;
  border-radius: 8px;
  font-size: .9rem;
}

body.wwd-design-6040 .wwd-6040-panel .wwd-fpd-area-button > .wwd-fpd-area-check {
  position: absolute;
  inset-inline-start: 7px;
  top: 50%;
  transform: translateY(-50%);
}

body.wwd-design-6040 :is(.wwd-purchase-help, .wwd-prod-side) .wwd-prod-info-content,
body.wwd-design-6040 .wwd-6040-safety-info .wwd-prod-info-content {
  background: #fff;
  border-radius: 0 0 8px 8px;
}

body.wwd-design-6040 :is(.wwd-6040-safety-info, .wwd-6040-secondary-info) {
  margin-block-start: 8px;
}

body.wwd-design-6040 .wwd-prod-side:has(.wwd-6040-purchase-guidance) {
  margin-block-start: 10px;
}

body.wwd-design-6040.single-product .wwd-prod-side > .col > .col-inner.wwd-6040-purchase-guidance {
  border: 1px solid #f4c699;
  border-inline-start: 4px solid var(--wwd-orange);
  background: #fff5e8;
}

body.wwd-design-6040 .wwd-6040-purchase-guidance > :is(h2, h3, h4, h5, h6) {
  margin-block: .85em .35em;
  color: var(--wwd-ink);
  font-size: .98rem;
}

body.wwd-design-6040 .wwd-6040-purchase-guidance > :first-child {
  margin-block-start: 0;
}

body.wwd-design-6040 .wwd-6040-purchase-guidance a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

body.wwd-design-6040 .wwd-preselection-price[hidden],
body.wwd-design-6040 .wwd-preselection-price:not([hidden]) + .tc-epo-totals
:is(.tm-final-totals, dl:not(:has(> dt:not(.tm-final-totals)))) {
  display: none !important;
}

body.wwd-design-6040 .wwd-preselection-price small {
  display: block;
  margin-block-start: 4px;
  color: var(--wwd-muted);
  font-size: .78rem;
  font-weight: 500;
}

body.wwd-design-6040 .wwd-preselection-price small:empty {
  display: none;
}

body.wwd-design-6040 .wwd-6040-methods .wwd-print-choice-buttons {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.wwd-design-6040 .wwd-6040-methods .wwd-print-choice-buttons > button:first-child {
  grid-column: 1 / -1;
}

body.wwd-design-6040 .wwd-6040-panel .westenwizard .owl-stage-outer[style*='--wwd-active-step-height'] {
  height: var(--wwd-active-step-height) !important;
  overflow: clip;
  transition: none;
}

body.wwd-design-6040 .wwd-6040-panel .westenwizard > .tc-section-inner-wrap > .tc-row > .tc-section-fields > .tm_padding {
  display: none;
}

body.wwd-design-6040 .wwd-6040-panel .wwd-native-progress { margin-bottom: 5px; }

body.wwd-design-6040 .wwd-6040-panel .tm-element-description > .fpd-product-designer-wrapper ~ p:nth-of-type(3) {
  margin-top: 16px;
}

@media (pointer: coarse) {
  body.wwd-design-6040 .wwd-6040-panel .wwd-fpd-area-nav .wwd-fpd-area-button { min-height: 44px; }
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar {
  height: auto !important;
}

body.wwd-design-6040 .wwd-prod-print-options .fpd-container > fpd-main-wrapper {
  background-color: #fff;
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar:not(.fpd-layout-small) > fpd-main-wrapper {
  flex: 0 0 100%;
  height: auto !important;
  min-height: clamp(350px, 42vw, 500px);
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar > fpd-main-bar {
  order: 1;
  flex: 0 0 100%;
  height: auto !important;
  border-bottom: 1px solid var(--fpd-border-color);
  border-right: 0;
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar:not(.fpd-layout-small) > fpd-main-bar > .fpd-navigation {
  flex: 0 0 152px;
  width: 152px;
  overflow-y: auto;
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar:not(.fpd-layout-small) .fpd-navigation > .fpd-nav-item {
  margin-block: 5px;
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar:not(.fpd-layout-small) fpd-main-bar > .fpd-module-content {
  min-width: 0;
}

/* The sidebar replaces the regular modules with an absolute-positioned editor. */
body.wwd-design-6040.fpd-toolbar-visible .wwd-6040-panel .fpd-container.fpd-toolbar-sidebar > fpd-main-bar,
body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-secondary-visible:not(.fpd-layout-small) > fpd-main-bar {
  min-height: 232px;
}

body.wwd-design-6040 .wwd-6040-panel fpd-main-bar > .fpd-module-content > .fpd-active,
body.wwd-design-6040 .wwd-6040-panel fpd-main-bar > .fpd-module-content > .fpd-active > div,
body.wwd-design-6040 .wwd-6040-panel fpd-main-bar fpd-module-images :is(.fpd-module-tabs-content, .fpd-module-tabs-content > div, .fpd-module-tabs-content > div > *) {
  height: auto;
}

body.wwd-design-6040 .wwd-6040-panel fpd-main-bar fpd-module-uploads > .fpd-scroll-area {
  max-height: 144px;
}

body.wwd-design-6040 .wwd-6040-panel fpd-main-bar fpd-module-uploads:not(:has(.fpd-grid > *)) > .fpd-upload-image {
  margin-bottom: 0;
}

body.wwd-design-6040 .wwd-6040-panel fpd-main-bar .fpd-navigation .fpd-label,
body.wwd-design-6040 .wwd-6040-panel fpd-main-bar .fpd-upload-image > span,
body.wwd-design-6040 .wwd-6040-panel fpd-main-bar :is(.fpd-upload-image, .fpd-add-text) .fpd-btn {
  font-size: 14px;
  line-height: 1.4;
}

body.wwd-design-6040 .wwd-6040-panel fpd-main-bar .fpd-upload-image {
  padding-top: 16px;
  text-align: center;
}

body.wwd-design-6040 .wwd-6040-panel fpd-main-bar .fpd-add-text textarea { font-size: 16px; }

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar.fpd-layout-small > fpd-main-bar {
  position: relative;
  inset: auto;
  height: auto !important;
  z-index: 1;
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar.fpd-layout-small > fpd-main-bar > .fpd-module-content {
  height: auto;
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar.fpd-layout-small > fpd-main-bar > .fpd-secondary-content {
  height: 224px;
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar.fpd-layout-small > fpd-main-wrapper {
  margin-bottom: 0;
}

body.wwd-design-6040 .wwd-6040-panel .fpd-container.fpd-sidebar.fpd-layout-small fpd-main-bar .fpd-navigation > .fpd-nav-item {
  padding-inline: 8px;
}

body.wwd-design-6040 .wwd-6040-designer-loading:not([hidden]) {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  padding: 20px;
  background: #fff;
  color: var(--wwd-muted);
  font-size: .93rem;
  text-align: center;
}

@media (min-width: 820px) {
  body.wwd-design-6040.wwd-refresh.single-product .wwd-prod-shell { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
  body.wwd-design-6040 .product-main .row:has(> .product-gallery):has(> .product-info) > .product-gallery {
    flex-basis: 60%;
    max-width: 60%;
  }
  body.wwd-design-6040 .product-main .row:has(> .product-gallery):has(> .product-info) > .product-info {
    flex-basis: 40%;
    max-width: 40%;
    min-width: 0;
  }
  body.wwd-design-6040 .wwd-prod-media .woocommerce-product-gallery__wrapper .flickity-viewport { max-height: 440px; }
  body.wwd-design-6040 .wwd-purchase-summary.wwd-purchase-with-help { grid-template-columns: minmax(0, 1fr); }
  body.wwd-design-6040.wwd-refresh .wwd-prod-form table.variations .ux-swatches:has(> .ux-swatch--image) {
    align-items: stretch;
  }
  body.wwd-design-6040.wwd-refresh .wwd-prod-form table.variations .ux-swatch--image {
    flex-basis: calc((100% - 3 * var(--wwd-swatch-gap)) / 4);
    max-width: none;
  }
  body.wwd-design-6040.wwd-refresh .wwd-prod-form table.variations .ux-swatches[data-attribute_name*="groesse"] > .ux-swatch--label {
    flex-basis: calc((100% - 12px) / 3);
    padding-inline: 4px !important;
  }
}

@media (min-width: 1200px) {
  body.wwd-design-6040.wwd-refresh .wwd-prod-form table.variations .ux-swatch--image {
    flex-basis: calc((100% - 5 * var(--wwd-swatch-gap)) / 6);
  }
  body.wwd-design-6040.wwd-refresh .wwd-prod-form table.variations .ux-swatches[data-attribute_name*="groesse"] > .ux-swatch--label {
    flex-basis: calc((100% - 30px) / 6);
  }
}

@media (max-width: 819px) {
  body.wwd-design-6040:not(.wwd-6040-live) .wwd-prod-crumb { padding-right: 0; }
  body.wwd-design-6040 .wwd-6040-notice { grid-area: notice; justify-self: start; }
  body.wwd-design-6040:not(.wwd-6040-live) .wwd-prod-shell.wwd-6040-ready { grid-template-areas: 'notice' 'crumb' 'head' 'media' 'form' 'side'; }
}

@media (prefers-reduced-motion: reduce) {
  body.wwd-design-6040 :is(.wwd-6040-slot, .wwd-prod-print-options.wwd-6040-panel, .wwd-prod-print-options.wwd-6040-panel.is-open) { transition: none; }
}

/* Give the native Woo image and its Flickity viewport one stage from first paint. */
body.wwd-design-6040 .woocommerce-product-gallery {
  --wwd-gallery-limit: 520px;
  container-type: inline-size;
  overflow: hidden;
  border: 1px solid var(--wwd-line);
  border-radius: 14px;
  background: white;
}
body.wwd-design-6040 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper {
  height: min(87cqw, var(--wwd-gallery-limit));
  margin-bottom: 0;
  overflow: hidden;
}
body.wwd-design-6040 .woocommerce-product-gallery .woocommerce-product-gallery__wrapper .flickity-viewport,
body.wwd-design-6040 .woocommerce-product-gallery__wrapper:not(.flickity-enabled) > .woocommerce-product-gallery__image {
  height: 100% !important;
}
body.wwd-design-6040 .woocommerce-product-gallery__wrapper:not(.flickity-enabled) > .woocommerce-product-gallery__image > a {
  display: flex;
  height: 100%;
  padding: clamp(10px, 3cqw, 24px);
}
body.wwd-design-6040 .woocommerce-product-gallery__wrapper:not(.flickity-enabled) > .woocommerce-product-gallery__image > a > img:not(.zoomImg) {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.wwd-design-6040 .wwd-first-product-photo {
  --wwd-photo-pad: clamp(12px, 3cqw, 24px);
  position: absolute;
  z-index: 2;
  inset: var(--wwd-photo-pad);
  width: calc(100% - var(--wwd-photo-pad) * 2);
  height: calc(100% - var(--wwd-photo-pad) * 2);
  object-fit: contain;
  background: white;
  pointer-events: none;
}
body.wwd-design-6040 .wwd-first-layout > .gap-element:first-child { display: none; }
@media (min-width: 820px) {
  body.wwd-design-6040 .woocommerce-product-gallery { --wwd-gallery-limit: 440px; }
}

/* Project the still-parsing gallery column into its final grid cell without moving
   open parser nodes. Once the form row closes the same elements occupy the shell. */
body.wwd-design-6040 .custom-product-page.wwd-parsing-layout {
  max-width: none;
  padding-block: calc(clamp(10px, 1vw, 17px) + 10px + var(--wwd-parser-space, 0px)) 32px;
  padding-inline: max(var(--wwd-gutter), calc((100% - 1320px) / 2 + var(--wwd-gutter)));
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  grid-template-rows: auto auto 1fr;
  grid-template-areas: "crumb crumb" "left head" "left form";
  gap: 12px clamp(24px, 3vw, 42px);
  align-items: start;
}
body.wwd-design-6040 .wwd-parsing-layout > :is(.wwd-prod-shell, .wwd-parser-media-row) { display: contents; }
body.wwd-design-6040 .wwd-parsing-layout .wwd-prod-left { display: none; }
body.wwd-design-6040 .wwd-parsing-layout .wwd-parser-media-col {
  grid-area: left;
  width: 100%;
  min-width: 0;
  max-width: none;
  padding: 0;
}
body.wwd-design-6040 .wwd-parsing-layout > .row:not(.wwd-parser-media-row),
body.wwd-design-6040 .wwd-parser-media-row > .col:not(.wwd-parser-media-col) {
  grid-column: 1 / -1;
}
body.wwd-design-6040 .wwd-parser-media-col > .col-inner > p:empty { display: none; }
@media (max-width: 819px) {
  body.wwd-design-6040 .custom-product-page.wwd-parsing-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "crumb" "head" "media" "form";
  }
  body.wwd-design-6040 .wwd-parsing-layout .wwd-parser-media-col { grid-area: media; }
  /* Match the published price and its two text lines while its native row is arriving. */
  body.wwd-design-6040 .wwd-parsing-layout .wwd-prod-price:empty { min-height: 3rem; }
}
body.wwd-design-6040 .wwd-parsing-layout > .gap-element:has(~ .wwd-prod-shell) { display: none !important; }

/* Keep the native thumbnail rail at the same height before and after carousel initialization. */
body.wwd-design-6040 {
  --wwd-thumbnail-size: clamp(58px, 14vw, 78px);
}
body.wwd-design-6040 .woocommerce-product-gallery--with-images {
  margin-block-end: 0;
}
body.wwd-design-6040 .woocommerce-product-gallery--with-images:has(.woocommerce-product-gallery__image + .woocommerce-product-gallery__image):not(:has(~ .product-thumbnails)) {
  margin-block-end: calc(var(--wwd-thumbnail-size) + 8px);
}
body.wwd-design-6040 .woocommerce-product-gallery ~ .product-thumbnails {
  display: flex;
  flex-wrap: nowrap;
  width: 100%;
  height: var(--wwd-thumbnail-size);
  margin: 8px 0 0;
  overflow: hidden;
}
body.wwd-design-6040 .product-thumbnails > .flickity-viewport {
  width: 100%;
  height: 100% !important;
}
body.wwd-design-6040 .woocommerce-product-gallery ~ .product-thumbnails .col {
  flex: 0 0 auto;
  width: calc(var(--wwd-thumbnail-size) + 8px);
  max-width: none;
  padding: 0 8px 0 0;
}
body.wwd-design-6040 .woocommerce-product-gallery ~ .product-thumbnails .col > a {
  display: block;
  height: var(--wwd-thumbnail-size);
  border: 1px solid var(--wwd-line);
  border-radius: 7px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
body.wwd-design-6040 .woocommerce-product-gallery ~ .product-thumbnails .col > a > img {
  width: 100%;
  height: 100%;
  padding: 4px;
  object-fit: contain;
  opacity: 1;
  transform: none;
}
body.wwd-design-6040 .product-thumbnails:not(.wwd-unprinted-preview-active) .is-nav-selected > a,
body.wwd-design-6040 .product-thumbnails .col > a:hover,
body.wwd-design-6040 .product-thumbnails .col > a:focus-visible {
  border-color: var(--wwd-orange-action);
}
body.wwd-design-6040 .product-thumbnails .col > a:focus-visible {
  outline: 2px solid var(--wwd-orange-action);
  outline-offset: -3px;
}
body.wwd-design-6040 .product-thumbnails .flickity-prev-next-button {
  width: 26px;
  height: 26px;
  background: var(--wwd-paper);
  opacity: 1;
}
body.wwd-design-6040 .product-thumbnails .flickity-prev-next-button:disabled {
  visibility: hidden;
}
body.wwd-design-6040 .product-thumbnails.wwd-unprinted-thumb-ready {
  padding-inline-start: calc(var(--wwd-thumbnail-size) + 8px);
}
body.wwd-design-6040 .product-thumbnails.wwd-unprinted-thumb-ready .flickity-prev-next-button.previous {
  inset-inline-start: calc(var(--wwd-thumbnail-size) + 10px);
}
body.wwd-design-6040 .product-thumbnails .wwd-unprinted-thumb {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  display: block;
  width: var(--wwd-thumbnail-size);
  height: var(--wwd-thumbnail-size);
  min-height: 0;
  margin: 0;
  padding: 4px;
  border: 1px solid var(--wwd-line);
  border-radius: 7px;
  background: #fff;
}
body.wwd-design-6040 .product-thumbnails .wwd-unprinted-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
body.wwd-design-6040 .product-thumbnails .wwd-unprinted-thumb:is([aria-pressed=true], :hover, :focus-visible) {
  border-color: var(--wwd-orange-action);
}
body.wwd-design-6040 .product-thumbnails .wwd-unprinted-thumb:focus-visible {
  outline: 2px solid var(--wwd-orange-action);
  outline-offset: -3px;
}
body.wwd-design-6040 .product-thumbnails .wwd-unprinted-thumb[hidden] {
  display: none;
}
body.wwd-design-6040 .wwd-prod-unprinted[hidden] {
  display: none !important;
}
body.wwd-design-6040 .wwd-prod-unprinted {
  pointer-events: none;
}

/* Reset the legacy Flatsome column widths after the shared product layout takes over. */
body.wwd-design-6040 .product_cat-sample-westen :is(.wwd-prod-media, .wwd-prod-side) > .col,
body.wwd-design-6040 .product_cat-sample-westen .wwd-parsing-layout .wwd-parser-media-col {
  flex-basis: 100% !important;
  max-width: 100% !important;
}

body.wwd-design-6040 .wwd-sample-purchase {
  flex: 0 0 100%;
  width: 100%;
  margin-block: 14px 6px;
}

body.wwd-design-6040 .wwd-sample-purchase .wwd-sample-order-note {
  margin: 0 0 10px;
  color: var(--wwd-ink);
  font-size: .9rem;
  font-weight: 700;
}

body.wwd-design-6040 .wwd-sample-purchase .quantity.hidden {
  display: none !important;
}

body.wwd-design-6040 :is(.wwd-classic-print-options, .wwd-doenges-options) {
  scroll-margin-block-start: 115px;
}

@media (min-width: 820px) {
  body.wwd-design-6040 .wwd-prod-shell:has(:is(.wwd-classic-print-options, .wwd-doenges-options)) .wwd-prod-media > .wwd-6040-slot {
    margin-block-start: 10px;
  }
}

body.wwd-design-6040 :is(.wwd-print-config-link, .wwd-doenges-config-link) {
  display: block;
  width: 100%;
  margin-block: 10px 16px;
  padding: 9px 13px;
  border: 1px solid var(--wwd-orange-action);
  border-radius: 7px;
  background: var(--wwd-accent-tint);
  color: var(--wwd-ink);
  font-weight: 750;
  text-align: center;
}

body.wwd-design-6040 :is(.wwd-print-config-link, .wwd-doenges-config-link):is(:hover, :focus-visible) {
  background: var(--wwd-yellow-soft);
  text-decoration: underline;
}

body.wwd-design-6040 :is(.wwd-classic-print-options, .wwd-doenges-options) .wwd-print-fields {
  border: 0;
  background: transparent;
}

body.wwd-design-6040 .wwd-prod-print-options :is(
  .wwd-print-fields .tc-section-fields > .tc-row > .cpf-element,
  .westenwizard .tc-tab-slide > .cpf-element
):not(.cpf-type-header) {
  margin-block-start: 10px;
  padding: 12px;
  border: 1px solid var(--wwd-border);
  border-radius: 8px;
  background: var(--wwd-paper);
}

body.wwd-design-6040 .wwd-prod-print-options :is(.wwd-print-fields, .westenwizard .tc-tab-slide) .tc-epo-element-label-text {
  font-weight: 800;
}

body.wwd-design-6040 .wwd-prod-print-options :is(.wwd-print-fields, .westenwizard .tc-tab-slide)
:is(select, input[type="text"], textarea).tmcp-field {
  min-height: 44px;
  border: 1px solid #9da4aa;
  border-radius: 7px;
  box-shadow: none;
}

@media (min-width: 820px) {
  body.wwd-design-6040 .wwd-prod-media > .wwd-patch-slot {
    margin-block: 20px 10px;
  }

  body.wwd-design-6040 fieldset.wwd-patch-panel {
    position: absolute;
    top: var(--wwd-6040-top, 0px);
    left: var(--wwd-6040-left, 0px);
    z-index: 1;
    width: var(--wwd-6040-width, 100%);
    min-width: 0;
    margin: 0;
    border: 1px solid var(--wwd-border);
    border-inline-start: 4px solid var(--wwd-orange);
    border-radius: 9px;
    background: var(--wwd-accent-tint);
  }

  body.wwd-design-6040 .wwd-patch-panel > legend {
    float: left;
    width: 100%;
    margin: 0 0 8px;
    padding: 0;
    background: transparent;
    color: var(--wwd-ink);
    font-size: 1.2rem;
    text-transform: none;
  }

  body.wwd-design-6040 .wwd-patch-panel select {
    min-height: 42px;
    border-radius: 7px;
  }
}

body.wwd-design-6040 form.cart:has(.wwd-print-config-link) > table.variations {
  margin-block-end: 0;
}

@media (max-width: 819px) {
  body.wwd-design-6040 .wwd-doenges-config-link {
    display: none;
  }
}

body.wwd-design-6040 .wwd-prod-print-options .wwd-print-option-row {
  margin: 0 0 6px;
  padding: 0;
}

body.wwd-design-6040 .wwd-print-option-row label.tm-epo-field-label {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 10px 12px 10px 38px;
  border: 1px solid var(--wwd-border);
  border-radius: 7px;
  background: #fff;
  color: var(--wwd-ink);
  position: relative;
  cursor: pointer;
}

body.wwd-design-6040 .wwd-print-option-row label:has(input[type=radio])::before {
  position: absolute;
  inset-block-start: 13px;
  inset-inline-start: 13px;
  width: 15px;
  height: 15px;
  border: 1px solid #7a8188;
  border-radius: 50%;
  background: #fff;
  content: '';
}

body.wwd-design-6040 .wwd-print-option-row label.tm-epo-field-label:has(input:enabled):hover {
  border-color: var(--wwd-orange-action);
  background: var(--wwd-accent-tint);
}

body.wwd-design-6040 .wwd-print-option-row label.tm-epo-field-label:has(input:checked) {
  border-color: var(--wwd-orange-action);
  background: var(--wwd-yellow-soft);
}

body.wwd-design-6040 .wwd-print-option-row label:has(input:checked)::before {
  border-color: var(--wwd-orange-action);
  background: radial-gradient(circle, var(--wwd-orange-action) 0 4px, #fff 4.5px);
}

body.wwd-design-6040 .wwd-print-option-row label.tm-epo-field-label:has(input:focus-visible) {
  outline: 2px solid var(--wwd-charcoal);
  outline-offset: 2px;
}

body.wwd-design-6040 .wwd-print-option-row label.tm-epo-field-label:has(input:disabled) {
  border-color: var(--wwd-border);
  background: var(--wwd-neutral);
  color: var(--wwd-muted);
  cursor: default;
}

body.wwd-design-6040 .wwd-print-option-row .tc-epo-style-wrapper.tc-radio {
  position: absolute;
  inset-block-start: 13px;
  inset-inline-start: 13px;
  width: 15px;
  height: 15px;
  margin: 0;
  opacity: 0;
}

body.wwd-design-6040 .wwd-print-option-row :is(.tc-label-wrap, .tm-label) {
  display: block;
  min-width: 0;
  width: 100%;
  padding: 0;
  margin: 0;
}

body.wwd-design-6040 .wwd-prod-print-options .wwd-print-option-row label.tm-epo-field-label .tc-label-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 3px 12px;
  padding: 0;
}

body.wwd-design-6040 .wwd-print-option-row .tc-label-text {
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  font-size: .95rem;
  font-weight: 750;
  line-height: 1.35;
  white-space: normal;
  overflow-wrap: anywhere;
}

body.wwd-design-6040 .wwd-print-option-row .tc-price-wrap:not(.tm-hidden) {
  display: grid;
  justify-items: end;
  margin: 0;
  padding: 0;
  line-height: 1.25;
  text-align: end;
}

body.wwd-design-6040 .wwd-print-option-row .tc-price-wrap .price:not(.tm-hidden) {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  margin: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

body.wwd-design-6040 .wwd-print-option-row .tc-price-wrap .wwd-price-net {
  margin-inline-start: 4px;
}

body.wwd-design-6040 .wwd-print-option-row .after-amount {
  margin: 2px 0 0;
  color: var(--wwd-muted);
  font-size: .76rem;
  font-weight: 550;
}

body.wwd-design-6040 .wwd-prod-print-options .wwd-print-option-row label.tm-epo-field-label .tc-inline-description {
  padding: 0;
  margin: 4px 0 0;
  color: var(--wwd-muted);
  font-size: .87rem;
  line-height: 1.45;
}

body.wwd-design-6040 .wwd-print-option-row .tc-inline-description > :first-child {
  margin-block-start: 0;
}

body.wwd-design-6040 .wwd-print-option-row .tc-inline-description > :last-child {
  margin-block-end: 0;
}

@media (max-width: 819px) {
  body.wwd-design-6040 .wwd-prod-print-options .wwd-print-option-row label.tm-epo-field-label .tc-label-inner {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  body.wwd-design-6040 .wwd-print-option-row .tc-price-wrap:not(.tm-hidden) {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 2px 8px;
    text-align: start;
  }
}

body.wwd-design-6040 .wwd-classic-print-options .wwd-print-fields > .tc-section-inner-wrap {
  container: wwd-print / inline-size;
}

body.wwd-design-6040 .wwd-classic-print-options .wwd-classic-progress {
  position: sticky;
  inset-block-start: var(--wwd-progress-top, 112px);
  z-index: 2;
  margin-block: 12px 4px;
}

body.wwd-design-6040 .wwd-prod-form table.variations .wwd-theme-variation-row > .label,
body.wwd-design-6040 .wwd-prod-form table.variations select.wwd-theme-variation-native {
  display: none;
}

.wwd-theme-variation-group + .wwd-theme-variation-group {
  margin-block-start: 10px;
}

.wwd-theme-variation-label {
  margin-block-end: 5px;
  color: var(--wwd-ink);
  font-size: .99rem;
  font-weight: 750;
}

.wwd-theme-variation-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.wwd-theme-variation-tiles .wwd-theme-variation-tile {
  display: inline-flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  min-width: 0;
  min-height: 38px;
  max-width: 100%;
  margin: 0;
  padding: 5px 11px;
  border: 1px solid #9da4aa;
  border-radius: 7px;
  background: var(--wwd-neutral);
  color: var(--wwd-ink);
  box-shadow: none;
  font-size: .88rem;
  font-weight: 650;
  letter-spacing: normal;
  line-height: 1.3;
  text-transform: none;
  white-space: normal;
  overflow-wrap: anywhere;
}

.wwd-theme-variation-tiles .wwd-theme-variation-tile:enabled:hover:not([aria-pressed="true"]) {
  border-color: var(--wwd-orange-action);
  background: var(--wwd-accent-tint);
}

.wwd-theme-variation-tiles .wwd-theme-variation-tile[aria-pressed="true"] {
  border-color: var(--wwd-orange-action);
  background: var(--wwd-yellow-soft);
  box-shadow: 0 0 0 1px var(--wwd-orange-action);
}

.wwd-theme-variation-tiles .wwd-theme-variation-tile:focus-visible {
  outline: 2px solid var(--wwd-ink);
  outline-offset: 2px;
}

.wwd-theme-variation-tiles .wwd-theme-variation-tile:disabled {
  opacity: .45;
  cursor: default;
}

.wwd-theme-color-tiles .wwd-theme-variation-tile {
  flex: 1 1 74px;
  flex-direction: column;
  gap: 4px;
  min-height: 72px;
}

.wwd-theme-color-tiles .wwd-theme-variation-tile:not([aria-pressed="true"]) {
  background: #fff;
}

.wwd-theme-color-tiles img {
  width: 56px;
  height: 48px;
  object-fit: contain;
}

.wwd-theme-color-tiles img[hidden] {
  display: none;
}

/* Give single required confirmations the full width of their explanation. */
.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required:has(.tm-extra-product-options-checkbox > .tc-mode-normal:only-child)
:is(.tm-element-description, .tc-element-container) {
  padding-inline: 0;
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox:has(> .tc-mode-normal:only-child),
.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child :is(.tmcp-field-wrap-inner, .tc-field-label-wrap) {
  width: 100%;
  margin: 0;
  padding: 0;
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child {
  width: 100%;
  margin: 0;
  padding: 0;
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child label.tm-epo-field-label {
  display: block;
  position: relative;
  width: 100%;
  min-height: 48px;
  padding: 10px 12px 10px 42px;
  border: 1px solid var(--wwd-orange-action);
  border-radius: 7px;
  background: var(--wwd-yellow-soft);
  color: var(--wwd-ink);
  cursor: pointer;
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child :is(.tc-label-wrap, .tm-label) {
  width: 100%;
  margin: 0;
  padding: 0;
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child .tc-label-text {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  font-size: .93rem;
  font-weight: 750;
  line-height: 1.45;
  white-space: normal;
  overflow-wrap: anywhere;
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child .tc-epo-style-wrapper.tc-checkbox {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 13px;
  width: 18px;
  height: 18px;
  opacity: 0;
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child label.tm-epo-field-label::before {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 13px;
  width: 18px;
  height: 18px;
  border: 1px solid var(--wwd-orange-action);
  border-radius: 4px;
  background: #fff;
  content: '';
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child label.tm-epo-field-label:has(input:checked) {
  border-color: #39724d;
  background: #edf8ef;
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child label.tm-epo-field-label:has(input:checked)::before {
  border-color: #39724d;
  background: #39724d;
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child label.tm-epo-field-label:has(input:checked)::after {
  position: absolute;
  inset-block-start: 15px;
  inset-inline-start: 19px;
  width: 6px;
  height: 10px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  content: '';
}

.wwd-design-6040 .wwd-prod-print-options .cpf-type-checkbox.tc-is-required
.tm-extra-product-options-checkbox > .tc-mode-normal:only-child label.tm-epo-field-label:has(input:focus-visible) {
  outline: 2px solid var(--wwd-charcoal);
  outline-offset: 2px;
}

/* Keep only the form's native flex gap directly around this shortcut. */
body.wwd-design-6040.wwd-refresh form.cart > .wwd-print-config-link {
  margin-block: 0;
}

body.wwd-design-6040.wwd-refresh .wwd-prod-form table.variations:has(+ .wwd-print-config-link, + .tc-styled-variations + .wwd-print-config-link) tr:last-child {
  padding-block-end: 0;
}

body.wwd-design-6040.wwd-refresh form.cart > .tc-styled-variations:has(+ .wwd-print-config-link) {
  display: contents;
}

body.wwd-design-6040.wwd-refresh form.cart > .wwd-print-config-link + :is(.wwd-live-delivery, .wwd-prod-discounts),
body.wwd-design-6040.wwd-refresh form.cart > .wwd-print-config-link + .wwd-live-delivery[hidden] + .wwd-prod-discounts {
  margin-block-start: 0;
}
