/* Product card polish layer. Loaded last deliberately, after product.min.css. */
.product-page .product-summary {
  gap: 12px !important;
}

.product-page .product-price {
  padding: 17px 18px 16px !important;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 3px !important;
  border: 1px solid rgba(164, 196, 218, .30) !important;
  border-radius: 18px !important;
  background:
    radial-gradient(ellipse at 12% 8%, rgba(255, 255, 255, .94), rgba(255, 255, 255, 0) 58%),
    linear-gradient(135deg, rgba(242, 249, 252, .94), rgba(233, 244, 249, .70)) !important;
}

.product-page .product-price > span,
.product-page .product-block-title {
  color: #72869a !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  letter-spacing: .075em !important;
}

.product-page .product-price strong {
  color: #14263a !important;
  font-size: clamp(29px, 2.3vw, 36px) !important;
  font-weight: 680 !important;
  letter-spacing: -.035em !important;
}

.product-page .product-price small {
  color: #6f8092 !important;
  font-size: 11px !important;
  font-weight: 550 !important;
}

.product-page .product-stock {
  margin-top: 2px !important;
  gap: 8px !important;
}

.product-page .product-stock .stock-list {
  min-height: 58px !important;
  border: 1px solid rgba(164, 196, 218, .28) !important;
  border-radius: 16px !important;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 18% 80%, rgba(54, 201, 112, .13), transparent 48%),
    linear-gradient(135deg, rgba(255, 255, 255, .82), rgba(244, 249, 252, .72)) !important;
}

.product-page .product-stock .stock-chip {
  min-height: 58px !important;
  padding: 8px 10px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

.product-page .product-stock .stock-chip + .stock-chip {
  border-left: 1px solid rgba(164, 196, 218, .24) !important;
}

.product-page .product-stock .stock-chip span {
  color: #183148 !important;
  font-size: clamp(16px, 1.35vw, 19px) !important;
  font-weight: 720 !important;
  letter-spacing: -.025em !important;
}

.product-page .product-stock .stock-chip small {
  color: #77899a !important;
  font-size: 10px !important;
  font-weight: 550 !important;
}

.product-page .product-buy {
  margin-top: 2px !important;
  grid-template-columns: 128px minmax(0, 1fr) !important;
  gap: 10px !important;
}

.product-page .qty-control,
.product-page .product-cart {
  height: 52px !important;
  border-radius: 15px !important;
}

.product-page .qty-control {
  border-color: rgba(164, 196, 218, .34) !important;
  background: rgba(255, 255, 255, .58) !important;
}

.product-page .product-cart {
  border-color: rgba(0, 111, 186, .34) !important;
  background:
    radial-gradient(ellipse at 20% 28%, rgba(255, 255, 255, .30), transparent 45%),
    linear-gradient(135deg, #087fbe, #006eae) !important;
  color: #fff !important;
  box-shadow: 0 12px 24px rgba(0, 103, 173, .19), inset 0 1px 0 rgba(255, 255, 255, .24) !important;
}

.product-page .product-card-pdf {
  min-height: 42px !important;
  height: 42px !important;
  padding: 0 12px !important;
  border-color: rgba(164, 196, 218, .28) !important;
  border-radius: 13px !important;
  background: rgba(248, 251, 253, .64) !important;
  color: #2677aa !important;
  font-size: 12px !important;
  font-weight: 650 !important;
  box-shadow: none !important;
}

.product-page .product-card-pdf svg {
  width: 17px !important;
  height: 17px !important;
  stroke-width: 1.7 !important;
}

.product-page .product-service {
  margin-top: 0 !important;
  gap: 8px !important;
}

.product-page .product-service div {
  min-height: 62px !important;
  padding: 11px 12px !important;
  border-color: rgba(164, 196, 218, .22) !important;
  border-radius: 14px !important;
  background: rgba(255, 255, 255, .48) !important;
}

.product-page .product-service strong { color: #31485d !important; font-size: 11px !important; font-weight: 650 !important; }
.product-page .product-service span { color: #74879a !important; font-size: 10px !important; line-height: 1.35 !important; }

@media (max-width: 820px) {
  .product-page .product-summary { gap: 12px !important; padding: 14px !important; }
  .product-page .product-price { padding: 15px 16px 14px !important; }
  .product-page .product-price > span,
  .product-page .product-block-title { display: block !important; }
  .product-page .product-price strong { font-size: clamp(28px, 8vw, 35px) !important; }
  .product-page .product-stock .stock-chip { padding: 8px 6px !important; }
  .product-page .product-stock .stock-chip span { font-size: 16px !important; }
  .product-page .product-buy { grid-template-columns: 128px minmax(0, 1fr) !important; }
  .product-page .product-service { display: grid !important; }
}

/* One purchase module: the quantity control is quiet, the cart half carries
   the blue focus without breaking PDF/EAN into the same surface. */
.product-page .product-buy {
  position: relative;
  isolation: isolate;
  gap: 12px 0 !important;
}

.product-page .product-buy::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: -1;
  height: 52px;
  border: 1px solid rgba(153, 196, 221, .48);
  border-radius: 15px;
  background:
    radial-gradient(ellipse at 88% 48%, rgba(50, 182, 232, .30), rgba(50, 182, 232, 0) 56%),
    linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(250, 253, 254, .90) 27%, rgba(222, 245, 253, .86) 67%, rgba(197, 233, 248, .94) 100%);
  box-shadow: 0 10px 24px rgba(28, 78, 105, .055), inset 0 1px 0 rgba(255, 255, 255, .88);
  pointer-events: none;
}

.product-page .product-buy .qty-control,
.product-page .product-buy .product-cart {
  position: relative;
  z-index: 1;
  height: 52px !important;
  border: 0 !important;
  box-shadow: none !important;
}

.product-page .product-buy .qty-control {
  border-radius: 15px 0 0 15px !important;
  background: transparent !important;
  grid-template-columns: 28px minmax(54px, 1fr) 28px !important;
}

.product-page .product-buy .qty-control button,
.product-page .product-buy .qty-control button:hover,
.product-page .product-buy .qty-control button:focus,
.product-page .product-buy .qty-control button:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
}

.product-page .product-buy .qty-control button:focus-visible {
  outline: 1px solid rgba(0, 111, 186, .32);
  outline-offset: -5px;
}

.product-page .product-buy .qty-control span,
.product-page .product-buy .qty-control input {
  min-width: 0;
  font-variant-numeric: tabular-nums;
}

.product-page .product-buy .product-cart {
  border-left: 0 !important;
  border-radius: 0 15px 15px 0 !important;
  background:
    radial-gradient(ellipse at 76% 74%, rgba(76, 198, 128, .16), rgba(76, 198, 128, 0) 48%),
    linear-gradient(90deg, rgba(210, 241, 252, 0), rgba(161, 220, 245, .10) 30%, rgba(98, 192, 231, .22) 100%) !important;
  color: #0073b8 !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .72) !important;
}

.product-page .product-buy .product-cart:hover {
  background:
    radial-gradient(ellipse at 78% 42%, rgba(60, 184, 231, .23), rgba(60, 184, 231, 0) 58%),
    radial-gradient(ellipse at 30% 70%, rgba(0, 111, 186, .12), rgba(0, 111, 186, 0) 54%),
    rgba(255, 255, 255, .28) !important;
}

.product-page .product-buy .product-identifiers,
.product-page .product-buy .product-card-pdf {
  margin-top: 0 !important;
}

/* EAN and product PDF share one quiet utility row below the purchase module. */
.product-page .product-buy .product-identifiers {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  order: unset !important;
  justify-self: start !important;
  align-self: center;
  min-height: 28px !important;
  padding: 0 9px !important;
  border-color: rgba(0, 111, 186, .12) !important;
  border-radius: 10px !important;
  background: rgba(237, 247, 252, .56) !important;
  color: #377a9e !important;
  font-size: 10px !important;
}

.product-page .product-buy .product-card-pdf {
  grid-column: 1 / -1 !important;
  grid-row: 2 !important;
  order: unset !important;
  justify-self: end !important;
  align-self: center;
  width: auto !important;
  min-height: 28px !important;
  height: 28px !important;
  padding: 0 9px !important;
  gap: 5px !important;
  border-color: rgba(0, 111, 186, .12) !important;
  border-radius: 10px !important;
  background: rgba(237, 247, 252, .56) !important;
  color: #377a9e !important;
  font-size: 10px !important;
  font-weight: 650 !important;
}

.product-page .product-buy .product-card-pdf svg {
  width: 14px !important;
  height: 14px !important;
  stroke-width: 1.65 !important;
}

/* Visible-card rhythm: explicit margins avoid relying on nested grid gaps. */
.product-page .product-summary {
  gap: 0 !important;
}

.product-page .product-price + .product-stock,
.product-page .product-stock + .product-buy,
.product-page .product-buy + .product-service {
  margin-top: 12px !important;
}

.product-page .product-buy {
  row-gap: 12px !important;
}

/* Carry the search field's living blue/green glow into the cart action. */
.product-page .product-buy .product-cart {
  overflow: hidden !important;
  isolation: isolate;
  background: transparent !important;
  animation: product-cart-search-pulse 3.9s ease-in-out infinite;
}

.product-page .product-buy .product-cart::before,
.product-page .product-buy .product-cart::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 999px;
}

.product-page .product-buy .product-cart::before {
  width: 176px;
  height: 88px;
  right: -28px;
  top: -18px;
  background:
    radial-gradient(ellipse at 68% 50%, rgba(0, 111, 186, .34), rgba(0, 111, 186, .15) 43%, rgba(0, 111, 186, 0) 76%),
    radial-gradient(ellipse at 28% 50%, rgba(57, 181, 74, .18), rgba(57, 181, 74, 0) 70%);
  filter: blur(15px);
  opacity: .95;
  animation: product-cart-search-blur 4.4s ease-in-out infinite;
}

.product-page .product-buy .product-cart::after {
  width: 260px;
  height: 92px;
  left: -290px;
  top: -20px;
  background: linear-gradient(105deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .22) 31%, rgba(57, 181, 74, .055) 45%, rgba(0, 111, 186, .09) 58%, rgba(255, 255, 255, 0) 100%);
  filter: blur(16px);
  opacity: .58;
  transform: skewX(-18deg);
  animation: product-cart-search-sheen 5.8s ease-in-out infinite;
}

.product-page .product-buy .product-cart > * {
  position: relative;
  z-index: 1;
}

/* A restrained continuation of the cart glow keeps the two halves one action. */
.product-page .product-buy .qty-control {
  isolation: isolate;
  overflow: hidden;
}

.product-page .product-buy .qty-control::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 108px;
  height: 82px;
  right: -55px;
  top: -15px;
  border-radius: 999px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 66% 50%, rgba(0, 111, 186, .22), rgba(0, 111, 186, .08) 45%, rgba(0, 111, 186, 0) 76%),
    radial-gradient(ellipse at 22% 50%, rgba(57, 181, 74, .13), rgba(57, 181, 74, 0) 70%);
  filter: blur(13px);
  opacity: .42;
  animation: product-cart-search-blur 4.4s ease-in-out infinite;
}

.product-page .product-buy .qty-control > * {
  position: relative;
  z-index: 1;
}

@keyframes product-cart-search-pulse {
  0%, 100% { filter: drop-shadow(0 7px 15px rgba(0, 111, 186, .08)); }
  45% { filter: drop-shadow(0 10px 22px rgba(0, 111, 186, .22)) drop-shadow(0 0 7px rgba(57, 181, 74, .12)); }
  68% { filter: drop-shadow(0 8px 18px rgba(0, 111, 186, .12)); }
}

@keyframes product-cart-search-blur {
  0%, 100% { opacity: .66; transform: translateX(-2px) scaleX(.92); }
  42% { opacity: 1; transform: translateX(-58px) scaleX(1.24); }
  72% { opacity: .78; transform: translateX(12px) scaleX(1.02); }
}

@keyframes product-cart-search-sheen {
  0%, 34% { opacity: 0; transform: translateX(0) skewX(-18deg); }
  52% { opacity: .52; }
  76%, 100% { opacity: 0; transform: translateX(760px) skewX(-18deg); }
}

@media (prefers-reduced-motion: reduce) {
  .product-page .product-buy .product-cart,
  .product-page .product-buy .product-cart::before,
  .product-page .product-buy .product-cart::after,
  .product-page .product-buy .qty-control::after { animation: none; }
}

/* One continuous field for the complete quantity-and-cart action. */
.product-page .product-buy::before {
  background:
    radial-gradient(ellipse at 92% 50%, rgba(0, 111, 186, .16), rgba(0, 111, 186, .055) 42%, rgba(0, 111, 186, 0) 74%),
    radial-gradient(ellipse at 68% 52%, rgba(57, 181, 74, .075), rgba(57, 181, 74, 0) 64%),
    linear-gradient(90deg, rgba(255, 255, 255, .92) 0%, rgba(250, 253, 254, .90) 27%, rgba(222, 245, 253, .86) 67%, rgba(197, 233, 248, .94) 100%);
  background-size: 124% 100%;
  background-position: 100% 50%;
  animation: product-buy-unified-flow 4.4s ease-in-out infinite;
}

.product-page .product-buy .product-cart,
.product-page .product-buy .product-cart::before,
.product-page .product-buy .product-cart::after,
.product-page .product-buy .qty-control::after {
  animation: none !important;
}

.product-page .product-buy .product-cart::before,
.product-page .product-buy .product-cart::after,
.product-page .product-buy .qty-control::after {
  display: none;
}

@keyframes product-buy-unified-flow {
  0%, 100% {
    background-position: 100% 50%;
    box-shadow: 0 10px 24px rgba(28, 78, 105, .055), inset 0 1px 0 rgba(255, 255, 255, .88);
  }
  45% {
    background-position: 78% 50%;
    box-shadow: 0 11px 26px rgba(0, 111, 186, .075), inset 0 1px 0 rgba(255, 255, 255, .9);
  }
  70% {
    background-position: 88% 50%;
    box-shadow: 0 10px 24px rgba(0, 111, 186, .06), inset 0 1px 0 rgba(255, 255, 255, .88);
  }
}

/* Product title and trail form the same attached desktop unit as category
   and product-group headers. The DOM is restored on mobile by theme-chrome. */
@media (min-width: 761px) {
  .product-main.has-attached-product-breadcrumbs > .product-hero-title {
    margin-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs {
    position: sticky;
    top: calc(var(--product-hero-sticky-top, 176px) + var(--product-hero-height, 76px));
    z-index: 8;
    box-sizing: border-box;
    width: 100%;
    min-height: 42px;
    margin: 0 0 14px !important;
    padding: 7px 18px 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid rgba(136, 193, 219, .46);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: rgba(238, 248, 252, .7);
    box-shadow: 0 10px 24px rgba(29, 78, 104, .055), inset 0 1px 0 rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(18px) saturate(1.03);
    backdrop-filter: blur(18px) saturate(1.03);
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs :is(.product-breadcrumbs__full, .product-breadcrumbs__compact) {
    min-height: 27px;
    padding: 0;
    gap: 7px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: #6d8393;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs .product-back-link {
    flex: 0 0 auto;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs .product-breadcrumbs__full {
    min-width: 0;
    flex: 1 1 auto;
    flex-wrap: nowrap;
    overflow: hidden;
    white-space: nowrap;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs .product-breadcrumbs__full :is(a, strong) {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs .product-breadcrumbs__separator {
    flex: 0 0 auto;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs :is(a, strong, .product-breadcrumbs__toggle) {
    font-size: 11px;
    letter-spacing: .005em;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs a {
    color: #668297;
    text-decoration: none;
    transition: color 160ms ease;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs a:hover { color: #0873ae; }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs strong {
    color: #314f63;
    font-weight: 650;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs .product-breadcrumbs__separator {
    color: #9bb8c7;
    font-size: 15px;
    font-weight: 400;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs .product-back-link {
    min-width: 82px;
    min-height: 28px;
    height: 28px;
    padding: 0 11px 0 9px;
    gap: 7px;
    border: 1px solid rgba(95, 173, 210, .42);
    border-radius: 10px;
    background: rgba(255, 255, 255, .66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 3px 9px rgba(20, 82, 114, .06);
    color: #176a99;
    font-weight: 650;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs .product-back-link span {
    color: inherit;
    font-weight: 650;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs .product-back-link svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.15;
  }

  .product-main.has-attached-product-breadcrumbs > .product-breadcrumbs .product-back-link:is(:hover, :focus-visible) {
    border-color: rgba(37, 150, 197, .58);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 5px 13px rgba(20, 82, 114, .11), inset 0 1px 0 #fff;
    color: #075d91;
    text-decoration: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .product-page .product-buy::before { animation: none; }
}

/* Keep the purchase control as one uninterrupted surface. */
.product-page .product-buy .qty-control,
.product-page .product-buy .product-cart {
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

.product-page .product-buy .product-cart {
  color: #0073b8 !important;
  transition: color .2s ease, text-shadow .2s ease;
}

.product-page .product-buy .product-cart:hover,
.product-page .product-buy .product-cart:focus,
.product-page .product-buy .product-cart:focus-visible {
  background: transparent !important;
  box-shadow: none !important;
  outline: 0;
  color: #0066a5 !important;
  animation: product-cart-label-pulse .72s ease-in-out both !important;
}

.product-page .product-buy .product-cart svg {
  transform: none !important;
}

/* The shared motion is deliberately above both halves; its transparency keeps
   the controls readable while making the movement actually perceptible. */
.product-page .product-buy::after {
  content: "";
  position: absolute;
  z-index: 2;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;
  border-radius: 15px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 78% 50%, rgba(0, 111, 186, .19), rgba(0, 111, 186, .055) 38%, rgba(0, 111, 186, 0) 70%),
    radial-gradient(ellipse at 56% 50%, rgba(57, 181, 74, .10), rgba(57, 181, 74, 0) 61%);
  filter: blur(10px);
  opacity: .62;
  transform: translateX(20px) scaleX(.96);
  animation: product-buy-surface-flow 4.4s ease-in-out infinite;
}

/* No resting fill: the shared motion itself provides the only colour field. */
.product-page .product-buy::before {
  display: none !important;
}

.product-page .product-buy::after {
  background:
    radial-gradient(ellipse at 100% 50%, rgba(0, 111, 186, .34), rgba(0, 111, 186, .11) 40%, rgba(0, 111, 186, 0) 72%),
    radial-gradient(ellipse at 90% 50%, rgba(57, 181, 74, .18), rgba(57, 181, 74, 0) 63%);
  filter: blur(11px) saturate(1.16);
  opacity: .78;
  animation: product-buy-surface-flow 6.2s cubic-bezier(.35, .02, .2, 1) infinite;
}

.product-page .product-buy .qty-control,
.product-page .product-buy .product-cart {
  z-index: 3;
}

.product-page .product-buy {
  overflow: hidden;
  border-radius: 15px;
}

@keyframes product-buy-surface-flow {
  0%, 100% { opacity: .20; transform: translateX(34px) scaleX(.93); }
  54% { opacity: .96; transform: translateX(-92px) scaleX(1.15); }
  78% { opacity: .58; transform: translateX(-30px) scaleX(1.03); }
}

@keyframes product-cart-label-pulse {
  0%, 100% { text-shadow: 0 0 0 rgba(0, 111, 186, 0); }
  50% { text-shadow: 0 0 9px rgba(0, 111, 186, .28); }
}

@media (prefers-reduced-motion: reduce) {
  .product-page .product-buy::after,
  .product-page .product-buy .product-cart:hover,
  .product-page .product-buy .product-cart:focus,
  .product-page .product-buy .product-cart:focus-visible { animation: none !important; }
}

/* Article and copy form one compact control, with no seam between them. */
.product-page .product-hero-title__badges {
  column-gap: 0 !important;
}

.product-page .product-code--hero {
  border: 1px solid rgba(0, 111, 186, .14) !important;
  border-right: 0 !important;
  border-radius: 13px 0 0 13px !important;
  background: rgba(247, 252, 254, .82) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .045) !important;
}

.product-page .product-hero-title__badges > .copy-button {
  margin-left: -1px;
  border: 1px solid rgba(0, 111, 186, .14) !important;
  border-left: 0 !important;
  border-radius: 0 13px 13px 0 !important;
  background: rgba(247, 252, 254, .82) !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .045) !important;
}

.product-page .product-hero-title__badges > .product-brand {
  margin-left: 8px;
}

/* Restore the numeric variant rail to its document position on desktop. */
@media (min-width: 761px) {
  body.product-page > .product-variant-nav {
    position: relative !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: 9 !important;
    margin: 2px 0 8px !important;
    transform: none !important;
  }
}

/* Desktop category / product-group trail: a compact bar attached to the
   lower edge of the title plaque. Product pages intentionally stay unchanged. */
@media (min-width: 761px) {
  .group-main.has-attached-breadcrumbs > .group-hero {
    margin-bottom: 0;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs {
    box-sizing: border-box;
    width: 100%;
    min-height: 38px;
    margin: 0 0 14px !important;
    padding: 4px 14px 6px;
    display: flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(166, 207, 228, .58);
    border-top: 0;
    border-radius: 0 0 18px 18px;
    background: rgba(244, 250, 253, .72);
    box-shadow: 0 8px 18px rgba(28, 78, 105, .045), inset 0 -1px 0 rgba(255, 255, 255, .78);
    -webkit-backdrop-filter: blur(14px) saturate(1.06);
    backdrop-filter: blur(14px) saturate(1.06);
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs :is(.group-breadcrumbs__full, .group-breadcrumbs__compact) {
    min-height: 26px;
    padding: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs .group-back-link {
    min-height: 26px;
    height: 26px;
    border-color: rgba(126, 195, 232, .3);
    background: rgba(255, 255, 255, .52);
    box-shadow: none;
  }
}

/* The fixed side cards start only after the contact rail ends; the compact
   numeric rail above the gallery stays in normal document flow. */
@media (min-width: 1281px) {
  .product-page #product-variant-nav.is-side-nav-below-utility-rail .product-variant-nav__card {
    top: var(--utility-rail-side-nav-top) !important;
  }
}

/* One breadcrumb component for categories, product groups and products. */
@media (min-width: 761px) {
  :is(.group-main, .product-main) > :is(.group-breadcrumbs, .product-breadcrumbs) {
    box-sizing: border-box;
    min-height: 32px;
    margin: 8px 0 10px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #60798a;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.25;
  }

  :is(.group-breadcrumbs__full, .group-breadcrumbs__compact, .product-breadcrumbs__full, .product-breadcrumbs__compact) {
    box-sizing: border-box;
    min-height: 30px;
    padding: 0 11px;
    display: flex;
    align-items: center;
    gap: 5px;
    border-radius: 9px;
    background: rgba(246, 251, 253, .48);
    box-shadow: 0 3px 10px rgba(28, 78, 105, .035), inset 0 1px 0 rgba(255, 255, 255, .52);
    -webkit-backdrop-filter: blur(12px) saturate(1.06);
    backdrop-filter: blur(12px) saturate(1.06);
  }

  :is(.group-breadcrumbs, .product-breadcrumbs) :is(a, strong, .group-breadcrumbs__toggle, .product-breadcrumbs__toggle) {
    font-size: 11px;
    font-weight: 500;
  }

  :is(.group-breadcrumbs, .product-breadcrumbs) strong { color: #476377; font-weight: 620; }
  :is(.group-breadcrumbs__separator, .product-breadcrumbs__separator) { color: #82a4b8; font-size: 14px; font-weight: 500; }

  :is(.group-back-link, .product-back-link) {
    box-sizing: border-box;
    width: auto;
    min-width: 78px;
    height: 30px;
    min-height: 30px;
    padding: 0 11px 0 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border: 1px solid rgba(126, 195, 232, .38);
    border-radius: 9px;
    background: rgba(242, 250, 253, .58);
    box-shadow: 0 3px 10px rgba(28, 92, 126, .045), inset 0 1px 0 rgba(255, 255, 255, .58);
    color: #176a99;
    font-size: 11px;
    font-weight: 520;
    transition: border-color 160ms ease, background-color 160ms ease, box-shadow 160ms ease;
  }

  :is(.group-back-link, .product-back-link) span {
    color: #176a99;
    font-size: 11px;
    font-weight: 520;
    letter-spacing: 0;
    line-height: 1;
  }

  :is(.group-back-link, .product-back-link):is(:hover, :focus-visible) {
    border-color: rgba(53, 185, 87, .38);
    background: rgba(245, 252, 253, .72);
    box-shadow: 0 4px 12px rgba(28, 92, 126, .06), 0 0 0 2px rgba(53, 185, 87, .045);
    outline: 0;
    transform: none;
  }

  :is(.group-back-link, .product-back-link) svg { width: 13px; height: 13px; stroke-width: 2; }

  /* Product breadcrumbs used to retain a special one-line, full-width mode.
     Reset it to the same compact, wrapping component as category/group pages. */
  .product-breadcrumbs {
    flex-wrap: wrap;
    overflow: visible;
  }

  .product-breadcrumbs__full {
    flex: 0 1 auto;
    flex-wrap: wrap;
    overflow: visible;
    white-space: normal;
  }

  .product-breadcrumbs__full :is(a, strong) {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
  }
}

@media (max-width: 760px) {
  :is(.group-main, .product-main) > :is(.group-breadcrumbs, .product-breadcrumbs) {
    margin: 6px 0 10px !important;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    font-size: 11px;
  }

  :is(.group-back-link, .product-back-link) {
    box-sizing: border-box;
    width: 44px;
    min-width: 44px;
    height: 40px;
    min-height: 40px;
    padding: 0;
    display: grid;
    place-items: center;
    grid-column: 1;
    grid-row: 1;
    border-radius: 18px;
  }

  :is(.group-back-link, .product-back-link) span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  :is(.group-back-link, .product-back-link) svg {
    display: block;
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  :is(.group-breadcrumbs__compact, .product-breadcrumbs__compact) {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    min-height: 36px;
    padding: 6px 8px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(226, 232, 240, .66);
    border-radius: 18px;
    background:
      radial-gradient(ellipse at 20% 0%, rgba(255, 255, 255, .92), rgba(255, 255, 255, 0) 66%),
      rgba(255, 255, 255, .58);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06), inset 0 1px 0 rgba(255, 255, 255, .84);
    -webkit-backdrop-filter: blur(14px) saturate(1.10);
    backdrop-filter: blur(14px) saturate(1.10);
  }

  :is(.group-breadcrumbs__full, .product-breadcrumbs__full) {
    border-radius: 18px;
    background: rgba(255, 255, 255, .62);
    box-shadow: 0 10px 24px rgba(15, 23, 42, .06), inset 0 1px 0 rgba(255, 255, 255, .84);
  }
}

/* Refined desktop breadcrumb finish for category and product-group headers. */
@media (min-width: 761px) {
  .group-main.has-attached-breadcrumbs > .group-breadcrumbs {
    position: sticky;
    top: calc(var(--group-hero-sticky-top, 176px) + var(--group-hero-height, 76px));
    z-index: 7;
    min-height: 42px;
    padding: 7px 18px 8px;
    gap: 10px;
    border-color: rgba(136, 193, 219, .46);
    background: rgba(238, 248, 252, .7);
    box-shadow:
      0 10px 24px rgba(29, 78, 104, .055),
      inset 0 1px 0 rgba(255, 255, 255, .88);
    -webkit-backdrop-filter: blur(18px) saturate(1.03);
    backdrop-filter: blur(18px) saturate(1.03);
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs :is(.group-breadcrumbs__full, .group-breadcrumbs__compact) {
    min-height: 27px;
    gap: 7px;
    color: #6d8393;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs :is(a, strong, .group-breadcrumbs__toggle) {
    font-size: 11px;
    letter-spacing: .005em;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs a {
    color: #668297;
    text-decoration: none;
    transition: color 160ms ease;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs a:hover { color: #0873ae; }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs strong {
    color: #314f63;
    font-weight: 650;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs .group-breadcrumbs__separator {
    color: #9bb8c7;
    font-size: 15px;
    font-weight: 400;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs .group-back-link {
    min-width: 82px;
    min-height: 28px;
    height: 28px;
    padding: 0 11px 0 9px;
    gap: 7px;
    border: 1px solid rgba(95, 173, 210, .42);
    border-radius: 10px;
    background: rgba(255, 255, 255, .66);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .92), 0 3px 9px rgba(20, 82, 114, .06);
    color: #176a99;
    font-weight: 650;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs .group-back-link span {
    color: inherit;
    font-weight: 650;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs .group-back-link svg {
    width: 14px;
    height: 14px;
    stroke-width: 2.15;
  }

  .group-main.has-attached-breadcrumbs > .group-breadcrumbs .group-back-link:is(:hover, :focus-visible) {
    border-color: rgba(37, 150, 197, .58);
    background: rgba(255, 255, 255, .9);
    box-shadow: 0 5px 13px rgba(20, 82, 114, .11), inset 0 1px 0 #fff;
    color: #075d91;
    text-decoration: none;
  }
}
