/* Processflow homepage only. Let native search suggestions escape the hero. */
#wrap.o19-beta2-page .o19-home-hero {
  overflow: visible;
  position: relative;
  z-index: 1;
}

#wrap.o19-beta2-page .o19-home-hero-copy {
  min-width: 0;
  position: relative;
  z-index: 1;
}

/* Keep photo clipping on the photo, away from the search controls. */
#wrap.o19-beta2-page .o19-home-hero-image {
  min-width: 0;
  overflow: hidden;
  border-radius: 0 24px 24px 0;
}

@media (max-width: 767px) {
  #wrap.o19-beta2-page .o19-home-hero-image {
    border-radius: 0 0 24px 24px;
  }
}

/* Processflow presentation only. Keep native prices, stock and ordering. */
#wrapwrap :is(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #007d84 !important;
  outline-offset: 3px;
}

/* Compact the shop introduction so the products remain the main content. */
#wrap.o19-catalogue #o_wsale_products_header {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto;
  padding-top: 14px !important;
  padding-bottom: 10px !important;
  gap: 10px !important;
}
#wrap.o19-catalogue #o_wsale_products_header > :is(.o19-shop-breadcrumb, .o19-mobile-category-browser, .o19-range-choices, .o19-shop-results-line) { grid-column: 1 / -1; }
#wrap.o19-catalogue #o_wsale_products_header > .o_wsale_category_title { grid-column: 1; }
#wrap.o19-catalogue #o_wsale_products_header > .products_header { grid-column: 2; grid-row: 2; align-self: center; }
#wrap.o19-catalogue #o_wsale_products_header .o_wsale_category_title {
  font-size: clamp(23px, 2.1vw, 30px) !important;
  line-height: 1.3 !important;
  flex-wrap: wrap;
  column-gap: 7px !important;
  row-gap: 6px !important;
}
#wrap.o19-catalogue .o_wsale_category_title .badge {
  font-size: 14px !important;
  padding: 7px 10px;
  border-width: 1px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
#wrap.o19-catalogue #o_wsale_products_header .products_header {
  margin-block: 0 !important;
  padding-block: 0 !important;
  min-height: 36px;
}
#wrap.o19-catalogue #o_wsale_products_header .o19-shop-results-line {
  margin: 2px 0 0 !important;
  padding-block: 2px;
  font-size: 12px;
}
#wrap.o19-catalogue .o19-range-disclosure {
  padding: 0 !important;
  margin: 0 !important;
  border: 1px solid #d6e1e5;
  border-radius: 12px;
  background: #fff;
}
#wrap.o19-catalogue .o19-range-disclosure > summary {
  min-height: 48px;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: #14263d;
  font-size: 14px;
  font-weight: 700;
  list-style: none;
}
#wrap.o19-catalogue .o19-range-disclosure > summary::-webkit-details-marker { display: none; }
#wrap.o19-catalogue .o19-range-disclosure > summary small {
  margin-left: auto;
  color: #52667a;
  font-size: 12px;
  font-weight: 500;
}
#wrap.o19-catalogue .o19-range-disclosure > summary .fa { color: #007d84; }
#wrap.o19-catalogue .o19-range-disclosure[open] > summary .fa { transform: rotate(180deg); }
#wrap.o19-catalogue .o19-range-disclosure[open] > summary { border-bottom: 1px solid #d6e1e5; }
#wrap.o19-catalogue .o19-range-disclosure-body { padding: 14px; }
#wrap.o19-catalogue .o19-range-choice-buttons { gap: 8px; }
#wrap.o19-catalogue .o19-range-choice-buttons a { min-height: 44px; padding: 11px 13px; font-size: 13px; }
#wrap.o19-catalogue .o19-shop-filters { margin-top: 0 !important; margin-bottom: 16px !important; }
#wrap.o19-catalogue .o19-shop-filters > summary { min-height: 48px; padding: 12px 15px; }
#wrap.o19-catalogue .o19-card-code { font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; }
#wrap.o19-catalogue .product_price { min-width: 0; max-width: 100%; white-space: normal; }
#wrap.o19-catalogue .o19-card-price-unit { white-space: normal !important; overflow-wrap: anywhere; line-height: 1.5; }
#wrap.o19-catalogue .o19-beta2-product-card .o_wsale_product_sub { display: grid !important; grid-template-columns: minmax(0,1fr); gap: 12px !important; min-width: 0; }
#wrap.o19-catalogue .o19-beta2-product-card .product_price { grid-column: 1; grid-row: 1; width: 100%; text-align: left; }
#wrap.o19-catalogue .o19-beta2-product-card .o19-card-order { grid-column: 1; grid-row: 2; width: 100%; min-width: 0; }

/* Real category ancestry, readable separators and an explicit current page. */
.o19-shop-breadcrumb, .o19-product-breadcrumb { width: 100%; font-size: 13px; line-height: 1.5; }
.o19-breadcrumb-list { display: flex; flex-wrap: wrap; align-items: center; gap: 0 8px; list-style: none; padding: 0; margin: 0; }
.o19-breadcrumb-list li { display: inline-flex; align-items: center; gap: 8px; min-width: 0; }
.o19-breadcrumb-list a { color: #52667a; padding-block: 5px; text-underline-offset: 3px; }
.o19-breadcrumb-list a:hover { color: #007d84; text-decoration: underline; }
.o19-breadcrumb-list [aria-current='page'] { color: #14263d; font-weight: 600; overflow-wrap: anywhere; }
.o19-breadcrumb-separator { color: #607084; font-size: 16px; }

/* Give the code and heading a deliberate place inside the product panel. */
#wrap.o19-product #product_details #o_wsale_product_details_content { padding: 22px !important; }
#wrap.o19-product .o19-product-sku {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 9px;
  margin: 0 0 14px !important;
  padding: 0;
  line-height: 1.55;
}
#wrap.o19-product .o19-sku-label { font-size: 11px; color: #52667a; font-weight: 500; letter-spacing: 0; }
#wrap.o19-product .o19-product-sku code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 12px;
  line-height: 1.55;
  color: #14263d;
  font-weight: 600;
  letter-spacing: 0;
  overflow-wrap: anywhere;
  white-space: normal;
}
#wrap.o19-product #product_details .o19-product-name { margin-bottom: 14px !important; line-height: 1.2; }
#wrap.o19-product .o19-product-name-detail { max-width: 68ch; font-size: 13px; line-height: 1.65; margin-top: 10px; }
#wrap.o19-product .o_wsale_product_details_content_section_title .badge { padding: 5px 9px; color: #14263d; background: #eef4f5; border: 1px solid #d6e1e5; border-radius: 6px; }
#wrap.o19-product .o19-product-actions a { min-height: 44px; }
#wrap.o19-product .o19-cut-controls > summary { min-height: 48px; }

/* The supplied transparent square mark keeps its original aspect ratio. */
#o19-footer.o19-site-footer { padding-top: 36px; }
#o19-footer .o19-footer-grid { grid-template-columns: minmax(240px, 1.25fr) repeat(3, minmax(0, 1fr)); gap: 30px; padding-top: 0; padding-bottom: 28px; }
#o19-footer .o19-footer-brand-top { display: flex; align-items: center; gap: 15px; margin-bottom: 16px; }
#o19-footer .o19-footer-logo { display: block; flex: 0 0 86px; }
#o19-footer .o19-footer-brand img { display: block; width: 86px; height: 86px; max-width: 100%; padding: 0; border: 0; border-radius: 0; background: transparent; object-fit: contain; }
#o19-footer .o19-footer-wordmark { display: block; color: #fff; font-size: 18px; font-weight: 750; letter-spacing: .045em; }
#o19-footer .o19-footer-tagline { display: block; color: #d4e0e7; font-size: 10px; line-height: 1.7; margin-top: 3px; }
#o19-footer .o19-footer-brand > p { max-width: 32ch; color: #d4e0e7; font-size: 13px; line-height: 1.7; margin-bottom: 12px; }
#o19-footer .o19-footer-phone { display: inline-flex; align-items: center; min-height: 36px; color: #fff; font-size: 16px; font-weight: 650; }
#o19-footer nav h2 { font-size: 13px; font-weight: 700; margin: 0 0 12px; color: #fff; }
#o19-footer nav a { display: block; width: fit-content; max-width: 100%; padding-block: 6px; margin: 0; color: #d4e0e7; font-size: 13px; line-height: 1.5; }
#o19-footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
#o19-footer a:focus-visible { outline-color: #fff !important; }
#o19-footer .o19-footer-bottom { align-items: center; gap: 12px 24px; padding-block: 18px; color: #d4e0e7; font-size: 11px; line-height: 1.7; }
#o19-footer .o19-footer-legal { display: flex; flex-wrap: wrap; gap: 8px 18px; }

@media (max-width: 991px) {
  #o19-footer .o19-footer-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 26px; }
}
@media (max-width: 767px) {
  #wrap.o19-catalogue #o_wsale_products_header { display: flex !important; padding-top: 10px !important; }
  #wrap.o19-catalogue .o19-shop-results-line > span:last-child { display: none; }
  #wrap.o19-catalogue .o19-range-disclosure > summary small { font-size: 11px; }
  #wrap.o19-catalogue .o19-card-code { font-size: 10px; }
  #wrap.o19-product #product_details #o_wsale_product_details_content { padding: 16px !important; }
  #wrap.o19-product .o19-product-sku code { font-size: 11px; }
  #wrap.o19-product .o19-product-name-detail { font-size: 12px; }
  #o19-footer { padding-top: 28px !important; }
  #o19-footer nav a, #o19-footer .o19-footer-phone, #o19-footer .o19-footer-legal a { min-height: 44px; display: flex; align-items: center; }
  #o19-footer .o19-footer-bottom { align-items: flex-start; }
}
@media (max-width: 420px) {
  #o19-footer .o19-footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  #o19-footer .o19-footer-brand { grid-column: 1 / -1; }
  #o19-footer nav:last-child { grid-column: 1 / -1; }
}