/* Shared storefront typography and text colors. Keep page-specific CSS consuming
   these tokens so desktop/mobile measurements stay consistent across routes. */
:root {
  --ew-font-family: Inter, sans-serif;
  --ew-color-text: #000000;
  --ew-color-muted: #666666;
  --ew-color-on-dark: #FFFFFF;
  --ew-type-body-size: 17px;
  --ew-type-body-line: 25.5px;
  --ew-type-page-title-size: 34px;
  --ew-type-page-title-line: 39.1px;
  --ew-type-section-size: 26px;
  --ew-type-section-line: 31.2px;
  --ew-type-subheading-size: 22px;
  --ew-type-subheading-line: 26.4px;
  --ew-type-card-title-size: 14px;
  --ew-type-card-title-line: 18.2px;
  --ew-type-card-price-size: 22px;
  --ew-type-card-price-line: 26.4px;
}
html, body {
  font-family: var(--ew-font-family);
}
body {
  color: var(--ew-color-text);
  font-size: var(--ew-type-body-size);
  font-weight: 400;
  line-height: var(--ew-type-body-line);
}
button, input, select, textarea {
  font-family: var(--ew-font-family);
}
body :is(h1, h2, h3, h4, h5, h6, p, li, label, dt, dd, td, th) {
  color: var(--ew-color-text);
}
body a:not(.btn):not(.button) {
  color: inherit;
}
body main a:not(.btn):not(.nav-link):not(.page-link) {
  color: var(--ew-color-text);
}
/* Page and section headings */
body :is(.upcode-home-hero__title, .ew-home-hero-title, .upcode-wh-hero__title, .upcode-wp-hero__title, .ew-category-title, .ew-category-head h1, .ew-sortiment__header h1, .product-detail-name, .ew-pdp-title) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: var(--ew-type-page-title-size);
  font-weight: 800;
  line-height: var(--ew-type-page-title-line);
}
body :is(.upcode-home-hero__title, .ew-home-hero-title, .upcode-wh-hero__title, .upcode-wp-hero__title, .ew-category-title, .ew-category-head h1, .ew-sortiment__header h1, .product-detail-name, .ew-pdp-title) {
  overflow-wrap: anywhere;
}
body :is(.upcode-home-groups__title, .upcode-home-products__title, .upcode-home-brands__title, .upcode-home-cats__title, .upcode-home-guides__title, .upcode-home-seo__title, .upcode-wh-area__title, .upcode-wh-group__title, .cms-element-title h2, .product-slider-title, .ew-footer-knowledge__title) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: var(--ew-type-section-size);
  font-weight: 700;
  line-height: var(--ew-type-section-line);
}
body :is(.upcode-home-guide__title, .upcode-wh-post__title, .upcode-wh-pop__title, .upcode-db-card__title, .upcode-fq-group__title, .ew-post-card-title, .ew-category-subheading, .product-detail-tabs h2) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: var(--ew-type-subheading-size);
  font-weight: 700;
  line-height: var(--ew-type-subheading-line);
}
/* Header, value proposition strip, and landing-page copy */
body .main-navigation-link, body .ew-mega a, body .ew-mega button {
  font-family: var(--ew-font-family);
  font-size: 17px;
  font-weight: 600;
  line-height: 20.4px;
  color: var(--ew-color-text);
}
body .ew-header-nav-col .main-navigation-link, body .ew-header-nav-col .main-navigation-link:is(:hover, :focus-visible, .show, [aria-expanded="true"]) {
  color: var(--ew-color-text);
}
body .ew-usp-bar, body .ew-usp-bar .ew-usp-item {
  font-family: var(--ew-font-family);
  font-size: 15px;
  font-weight: 600;
  line-height: 18px;
  color: var(--ew-color-on-dark);
}
body :is(.upcode-home-hero__lead, .ew-home-hero-lead, .upcode-home-guides__lead, .upcode-home-seo__body, .upcode-home-seo__copy) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 17px;
  font-weight: 400;
  line-height: 25.5px;
}
body .upcode-home-hero__title, body .ew-home-hero-title, body .ew-home-hero-lead, body .upcode-home-hero__lead, body .upcode-home-hero__copy, body .upcode-wh-hero__title, body .upcode-wp-hero__title {
  color: var(--ew-color-on-dark);
}
body .upcode-home-hero__cta {
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
body .ew-home-hero-ctas .btn {
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
body .cms-section.ew-home-hero .ew-home-hero-title {
  color: var(--ew-color-on-dark);
  font-family: var(--ew-font-family);
  font-size: 34px;
  font-weight: 800;
  line-height: 39.1px;
}
body .cms-section.ew-home-hero .ew-home-hero-lead {
  color: var(--ew-color-on-dark);
  font-family: var(--ew-font-family);
  font-size: 17px;
  font-weight: 400;
  line-height: 25.5px;
}
body .cms-section.ew-home-hero .ew-home-hero-ctas .btn {
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
}
/* Consistent listing/product cards, including Shopware cross-selling cards */
body .product-box .product-name {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: var(--ew-type-card-title-size);
  font-weight: 600;
  line-height: var(--ew-type-card-title-line);
}
body .cms-element-product-listing .product-box .product-name {
  font-family: var(--ew-font-family);
  font-size: var(--ew-type-card-title-size);
  font-weight: 600;
  line-height: var(--ew-type-card-title-line);
  color: var(--ew-color-text);
}
body .product-box :is(.product-price, .ew-card-family-price__amount, .ew-selected-price) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: var(--ew-type-card-price-size);
  font-weight: 700;
  line-height: var(--ew-type-card-price-line);
}
body .cms-element-product-listing .product-box :is(.product-price, .ew-card-family-price__amount, .ew-selected-price) {
  font-family: var(--ew-font-family);
  font-size: var(--ew-type-card-price-size);
  font-weight: 700;
  line-height: var(--ew-type-card-price-line);
  color: var(--ew-color-text);
}
body .product-box :is(.product-price-unit, .ew-card-tax-slot, .product-price-tax-link, .ew-card-family-price__label, .ew-card-family-price__reference) {
  color: var(--ew-color-muted);
  font-family: var(--ew-font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 16.2px;
}
body .cms-element-product-listing .product-box :is(.product-price-unit, .ew-card-tax-slot, .product-price-tax-link, .ew-card-family-price__label, .ew-card-family-price__reference) {
  color: var(--ew-color-muted);
  font-family: var(--ew-font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 16.2px;
}
body .product-box :is(.product-price-tax-link a, .ew-card-tax-slot a) {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body .product-box :is(.product-delivery-information, .delivery-information, .ew-card-delivery-slot) {
  font-family: var(--ew-font-family);
  font-size: 13px;
  font-weight: 600;
  line-height: 17.55px;
}
body .cms-element-product-listing .product-box :is(.product-delivery-information, .delivery-information, .ew-card-delivery-slot) {
  font-family: var(--ew-font-family);
  font-size: 13px;
  font-weight: 600;
  line-height: 17.55px;
}
body .product-box .delivery-available {
  color: #21813A;
}
body .product-box :is(.delivery-backorder, .delivery-preorder, .delivery-restock) {
  color: #8A6200;
}
body .product-box :is(.delivery-soldout, .delivery-not-available) {
  color: #B42318;
}
body .product-box :is(.ew-compare-toggle, .btn-buy, .ew-variant-navigation summary, .ew-variant-navigation select) {
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
}
body .cms-element-product-listing .product-box :is(.ew-compare-toggle, .btn-buy, .ew-variant-navigation summary, .ew-variant-navigation select) {
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 16.8px;
}
body .product-box .quantity-selector-group-input {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 700;
  line-height: 21px;
}
body :is(.btn-primary, .btn-buy, .upcode-home-hero__cta:not(.upcode-home-hero__cta--secondary), .ew-home-hero-ctas .btn:not(.btn-light)) {
  color: var(--ew-color-on-dark);
}
body :is(.btn-secondary, .btn-outline-secondary, .btn-light) {
  color: var(--ew-color-text);
}
body :is(.btn-primary, .btn-buy, .upcode-home-hero__cta:not(.upcode-home-hero__cta--secondary), .ew-home-hero-ctas .btn:not(.btn-light)) {
  color: var(--ew-color-on-dark);
}
/* Breadcrumbs, category shortcuts, filter options, and sorting */
body .breadcrumb, body .breadcrumb a, body .breadcrumb-item, body .breadcrumb-item a {
  color: var(--ew-color-muted);
  font-family: var(--ew-font-family);
  font-size: 13px;
  font-weight: 400;
  line-height: 18.2px;
}
body :is(.ew-subcategory-examples a, .ew-sortiment-card__title, .category-navigation-link) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}
body :is(.filter-panel-item-toggle, .filter-panel-item-dropdown label, .filter-panel-item-dropdown .form-check-label, .ew-filter__group label, .ew-filter__chips button) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 18.9px;
}
body :is(.sorting, .sorting-form select, .sorting-form .form-select, .sort-select) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 15px;
  font-weight: 400;
  line-height: 18px;
}
/* Product detail price, facts, tabs, and purchase controls */
body .product-detail-price, body .ew-pdp-pricebox .product-detail-price {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 31.2px;
  font-weight: 700;
  line-height: 35.88px;
}
body :is(.product-detail-tax, .product-detail-tax-container, .product-detail-price-unit, .ew-pdp-taxline) {
  color: var(--ew-color-muted);
  font-family: var(--ew-font-family);
  font-size: 13px;
  font-weight: 500;
  line-height: 17.55px;
}
body :is(.product-detail-tax a, .product-detail-tax-container a, .ew-pdp-taxline a) {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
body :is(.ew-pdp-facts dd, .product-detail-properties dd, .product-detail-properties td, .product-detail-ordernumber) {
  color: var(--ew-color-muted);
  font-family: var(--ew-font-family);
  font-size: 17px;
  font-weight: 400;
  line-height: 25.5px;
  overflow-wrap: anywhere;
}
body :is(.ew-pdp-facts dt, .product-detail-properties dt, .product-detail-properties th) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 19.6px;
}
body .product-detail-tabs .nav-tabs .nav-link, body .product-detail-tab-navigation-link {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 17px;
  font-weight: 600;
  line-height: 22.95px;
}
body .product-detail-form-container .btn-buy, body .ew-sticky-atc__btn {
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 22.4px;
}
/* Form controls share a readable baseline; field labels use the product-info label weight. */
body :is(input, select, textarea, .form-control, .form-select) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 19.6px;
}
body :is(.form-label, .form-check-label) {
  color: var(--ew-color-text);
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 600;
  line-height: 19.6px;
}
/* Dark surfaces and footer; white controls remain legible on charcoal/orange. */
body :is(.footer-main, .ew-footer-knowledge) {
  color: var(--ew-color-on-dark);
}
body :is(.footer-main, .ew-footer-knowledge) :is(h1, h2, h3, h4, p, li, dt, dd, a, small, span, label) {
  color: var(--ew-color-on-dark);
}
body :is(.footer-main, .ew-footer-knowledge) a {
  text-decoration: none;
}
body :is(.footer-main, .ew-footer-knowledge) a:hover, body :is(.footer-main, .ew-footer-knowledge) a:focus-visible {
  text-decoration: underline;
}
body .footer-main :is(.footer-link, .footer-service-menu-list a, .footer-column-content a, .footer-vat a) {
  font-family: var(--ew-font-family);
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
}
body :is(.footer-bottom, .footer-vat, .footer-copyright) {
  color: var(--ew-color-on-dark);
  font-family: var(--ew-font-family);
  font-size: 12px;
  font-weight: 400;
  line-height: 19.2px;
}
body :is(.upcode-wh-hero, .upcode-wp-hero, .ew-home-hero) {
  color: var(--ew-color-on-dark);
}
body :is(.upcode-wh-hero, .upcode-wp-hero, .ew-home-hero) :is(h1, h2, h3, p, li, a, span) {
  color: var(--ew-color-on-dark);
}
body :is(.upcode-wh, .upcode-wp) {
  font-family: var(--ew-font-family);
  color: var(--ew-color-text);
}
@media (max-width: 575.98px) {
  body :is(.product-detail-name, .ew-pdp-title) {
    font-size: 18.4px;
    font-weight: 800;
    line-height: 23px;
  }
  body .product-detail-price, body .ew-pdp-pricebox .product-detail-price {
    font-size: 24.8px;
    font-weight: 700;
    line-height: 28.52px;
  }
  body .product-box :is(.product-price, .ew-card-family-price__amount, .ew-selected-price) {
    font-size: 20px;
    line-height: 24px;
  }
  body .product-detail-tabs .nav-tabs .nav-link, body .product-detail-tab-navigation-link {
    font-size: 16px;
    line-height: 21.6px;
  }
}
