:root {
  --bwe-paper: 231, 229, 222;
  --bwe-paper-deep: 207, 207, 200;
  --bwe-ink: 17, 17, 17;
  --bwe-muted: 91, 93, 89;
  --bwe-line: 44, 45, 43;
  --bwe-signal: 240, 50, 50;
  /* V-08:红底白字按钮用压暗阶(白字 6.3:1);--bwe-signal 保留给装饰/暗面边框 */
  --bwe-signal-strong: 192, 15, 36;
  /* V-08:暗面上的信号红文字用提亮阶(近黑 7.36:1) */
  --bwe-signal-bright: 255, 117, 120;
  --bwe-intrusion: 255, 32, 168;
  --bwe-terminal-font: "Courier New", "Lucida Console", monospace;
  --bwe-heading-font: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", sans-serif;
  --bwe-display-font: var(--bwe-heading-font);
  --bwe-editorial-font: Georgia, "Times New Roman", serif;
  --bwe-body-font: Arial, "Helvetica Neue", sans-serif;
  --bwe-mechanical-shadow: 3px 3px 0 rgb(var(--bwe-ink));
  --bwe-metal-black: 10, 11, 11;
  --bwe-metal-low: 20, 22, 21;
  --bwe-metal-mid: 42, 44, 42;
  --bwe-metal-high: 91, 93, 88;
  --bwe-edge-light: 255, 255, 248;
  --bwe-raised-shadow:
    0 1px 0 rgb(var(--bwe-edge-light), 0.17) inset,
    0 -1px 0 rgb(var(--bwe-metal-black), 0.95) inset,
    0 10px 24px rgb(var(--bwe-metal-black), 0.28);
  --bwe-recessed-shadow:
    0 1px 0 rgb(var(--bwe-metal-black), 0.92) inset,
    0 -1px 0 rgb(var(--bwe-edge-light), 0.08) inset,
    0 0 0 1px rgb(var(--bwe-metal-black), 0.5);
  --bwe-screen-shadow:
    0 0 0 1px rgb(var(--bwe-edge-light), 0.1),
    0 0 0 8px rgb(var(--bwe-metal-black), 0.88),
    0 22px 48px rgb(var(--bwe-metal-black), 0.48),
    0 0 54px rgb(var(--bwe-signal), 0.035) inset;
}

/* UI continuity pass 09 - one control language across terminal and document modes. */

.bwe-archive-ui :is(
  .bwe-header-instrument,
  .bwe-header-index,
  .bwe-footer-instrument,
  .bwe-footer-checksum,
  .bwe-product-channel-strip,
  .bwe-cart-manifest__header,
  .bwe-catalog-index__eyebrow
) {
  font-family: var(--bwe-terminal-font);
}

.bwe-auth-terminal__brief h1,
.bwe-auth-terminal__form-heading .customer__title {
  font-family: var(--bwe-editorial-font);
}

.bwe-archive-hub__header h1,
.bwe-archive-hub__routes a b {
  font-family: var(--bwe-display-font);
}

/* SHOPLINE's automatic-discount banner remains functional, but is presented
 * as a live commerce readout instead of a native white application card. */
body.bwe-archive-ui[data-page-type="product"] .discount-style-plugin [class*="_sales__autoCouponBanner-container_"] {
  color: rgb(var(--bwe-paper)) !important;
  font-family: var(--bwe-terminal-font) !important;
  background-color: rgb(29 33 27) !important;
  background-image:
    var(--bwe-texture-metal),
    linear-gradient(180deg, rgb(255 255 240 / 0.09), transparent 40%, rgb(0 0 0 / 0.28)) !important;
  background-size: 384px 384px, auto !important;
  background-blend-mode: soft-light, normal !important;
  border: 1px solid rgb(100 104 94) !important;
  border-inline-start: 5px solid rgb(var(--bwe-signal)) !important;
  box-shadow:
    inset 0 1px rgb(255 255 240 / 0.12),
    inset 0 -5px 10px rgb(0 0 0 / 0.22),
    0 4px 0 rgb(8 10 8) !important;
}

body.bwe-archive-ui[data-page-type="product"] .discount-style-plugin :is(
  [class*="_sales__autoCouponBanner-left_"],
  [class*="_sales__autoCouponBanner-shopMoreWrap_"]
) {
  color: rgb(var(--bwe-paper)) !important;
  font-family: var(--bwe-terminal-font) !important;
}

body.bwe-archive-ui[data-page-type="product"] .discount-style-plugin :is(
  [class*="_sales__autoCouponBanner-tagIcon_"],
  .sales__promotionReminder-save
) {
  color: rgb(var(--bwe-signal-bright)) !important; /* V-08:深色 banner 上提亮 */
}

body.bwe-archive-ui[data-page-type="product"] .discount-style-plugin .autoDiscountApplyTxt {
  color: rgb(var(--bwe-paper), 0.62) !important;
  letter-spacing: 0.04em;
}

@media (max-width: 959px) {
  /* Keep the global signal indicator without allowing it to compete with
   * account, cart and form controls on compact screens. */
  .bwe-signal-overlay {
    display: block;
    padding: 0;
  }

  .bwe-signal-overlay::before,
  .bwe-signal-overlay::after {
    display: none;
  }

  .bwe-signal-overlay__status {
    position: fixed;
    inset: auto auto calc(76px + env(safe-area-inset-bottom, 0px)) 12px;
    width: 28px;
    height: 28px;
    padding: 0;
    overflow: hidden;
    color: transparent !important;
    font-size: 0;
    line-height: 0;
    background: rgb(var(--bwe-ink), 0.9);
    border: 1px solid rgb(var(--bwe-paper), 0.34);
    box-shadow: 0 3px 0 rgb(var(--bwe-signal));
  }

  .bwe-signal-overlay__status::before {
    position: absolute;
    inset: 50% auto auto 50%;
    width: 8px;
    height: 8px;
    margin: 0;
    transform: translate(-50%, -50%);
  }

  /* Account forms already share the compact viewport with the persistent
   * commerce deck. The decorative signal lamp has no action here and must
   * never cover a credential or social-login control. */
  body.bwe-archive-ui[data-page-type^="customers/"] .bwe-signal-overlay__status {
    display: none;
  }

  .bwe-omnichat-launch,
  #member-system-plugin > button[aria-label="Rewards"] {
    transition: translate 180ms ease, opacity 180ms ease;
  }

  body.bwe-mobile-floats-collapsed .bwe-omnichat-launch,
  body.bwe-mobile-floats-collapsed #member-system-plugin > button[aria-label="Rewards"] {
    translate: 0 54px;
    opacity: 0.18;
    pointer-events: none;
  }

  /* Normalize mixed source-image ratios inside the mobile optical chamber.
   * The native carousel otherwise uses the tallest slide for every record,
   * leaving square product images vertically adrift in a 610px track. */
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .product-detail__media-gallery,
    .media-gallery__content,
    .media-gallery__list-wrapper,
    .media-gallery__list
  ) {
    height: auto !important;
    min-height: 0 !important;
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .media-gallery__list {
    align-items: stretch;
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .media-gallery__item {
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: 1 / 1;
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .media-gallery__media,
    .media-gallery__image
  ) {
    width: 100% !important;
    height: 100% !important;
    min-height: 0 !important;
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .media-gallery__image {
    object-fit: contain !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bwe-omnichat-launch,
  #member-system-plugin > button[aria-label="Rewards"] {
    transition: none !important;
  }
}

/* Material pass 08 - dimensional hardware system.
 * This is deliberately structural rather than another noise overlay: the
 * storefront now separates painted chassis, rubber gaskets, optical glass,
 * archive paper and enamel controls into visibly different depth planes. */
:root {
  --bwe-depth-chassis:
    inset 0 1px 0 rgb(255 255 242 / .18),
    inset 0 -2px 0 rgb(0 0 0 / .78),
    inset 12px 0 24px rgb(255 255 238 / .025),
    inset -16px 0 28px rgb(0 0 0 / .2),
    0 5px 0 rgb(7 9 7),
    0 15px 28px rgb(0 0 0 / .34);
  --bwe-depth-paper:
    inset 0 1px 0 rgb(255 255 255 / .88),
    inset 0 -1px 0 rgb(72 68 57 / .2),
    0 3px 0 rgb(90 89 82 / .28),
    0 10px 20px rgb(0 0 0 / .16);
  --bwe-depth-glass:
    inset 0 0 0 1px rgb(255 255 245 / .12),
    inset 0 0 28px rgb(0 0 0 / .5),
    0 1px 0 rgb(255 255 245 / .1),
    0 8px 18px rgb(0 0 0 / .28);
}

@media (min-width: 960px) {
  body.bwe-archive-ui:not([data-page-type="index"]) {
    background-image:
      radial-gradient(ellipse at 50% -8%, rgb(197 202 181 / .16), transparent 31%),
      radial-gradient(ellipse at 50% 118%, rgb(0 0 0 / .96), transparent 58%),
      var(--bwe-texture-metal),
      repeating-linear-gradient(90deg, rgb(255 255 240 / .012) 0 1px, transparent 1px 7px);
    background-size: auto, auto, 384px 384px, auto;
    background-blend-mode: normal, normal, soft-light, normal;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent {
    position: relative;
    isolation: isolate;
    border: 1px solid rgb(139 139 128 / .62);
    border-top-color: rgb(245 244 230 / .66);
    border-bottom-color: rgb(44 45 40 / .66);
    box-shadow:
      0 0 0 6px rgb(7 9 7),
      0 0 0 7px rgb(119 122 109 / .7),
      inset 0 2px 0 rgb(255 255 255 / .72),
      inset 20px 0 42px rgb(57 52 41 / .09),
      inset -20px 0 42px rgb(57 52 41 / .1),
      inset 0 -28px 54px rgb(57 52 41 / .08),
      0 34px 66px rgb(0 0 0 / .62),
      0 76px 140px rgb(0 0 0 / .28);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent::before {
    position: absolute;
    z-index: 20;
    inset: 0 0 auto;
    height: 7px;
    pointer-events: none;
    content: "";
    background:
      repeating-linear-gradient(90deg, transparent 0 23px, rgb(16 17 15 / .72) 23px 24px),
      linear-gradient(180deg, rgb(255 255 255 / .55), rgb(126 126 116 / .3) 35%, rgb(35 36 32 / .5));
    box-shadow: 0 1px 0 rgb(255 255 255 / .35), 0 3px 7px rgb(0 0 0 / .24);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header-section {
    border: 2px solid rgb(92 96 86);
    border-top-color: rgb(145 149 134);
    border-right-color: rgb(38 41 35);
    border-bottom: 7px solid rgb(7 9 7);
    box-shadow:
      inset 0 1px rgb(255 255 240 / .2),
      inset 0 -22px 34px rgb(0 0 0 / .36),
      inset 18px 0 30px rgb(255 255 235 / .024),
      inset -22px 0 34px rgb(0 0 0 / .22),
      0 8px 0 rgb(24 26 22),
      0 22px 34px rgb(0 0 0 / .42);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-top {
    border: 3px solid rgb(138 137 126);
    border-top-color: rgb(255 255 246 / .92);
    border-right-color: rgb(91 90 82);
    border-bottom-color: rgb(57 57 52);
    box-shadow:
      inset 0 2px rgb(255 255 255 / .92),
      inset 0 -4px rgb(72 70 61 / .25),
      inset 12px 0 18px rgb(255 255 255 / .12),
      inset -14px 0 22px rgb(45 43 36 / .08),
      0 5px 0 rgb(5 7 5),
      0 13px 22px rgb(0 0 0 / .38);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .block-product-card,
    .block-article-card,
    .block-collection-card
  ) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 3px solid rgb(113 114 106);
    border-top-color: rgb(219 218 207);
    border-right-color: rgb(73 74 68);
    border-bottom-color: rgb(47 49 44);
    border-radius: 0;
    background-color: rgb(210 208 198);
    background-image:
      var(--bwe-texture-paper),
      linear-gradient(112deg, rgb(255 255 255 / .58), transparent 18%, transparent 72%, rgb(57 52 41 / .12)),
      repeating-linear-gradient(0deg, rgb(53 49 40 / .025) 0 1px, transparent 1px 5px);
    background-size: 420px 420px, auto, auto;
    background-blend-mode: multiply, normal, normal;
    box-shadow: var(--bwe-depth-paper);
    transition: transform 120ms steps(2, end), border-color 120ms linear, box-shadow 120ms linear;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .block-product-card,
    .block-article-card,
    .block-collection-card
  ):is(:hover, :focus-within) {
    z-index: 2;
    transform: translateY(-3px);
    border-bottom-color: rgb(var(--bwe-signal));
    box-shadow:
      inset 0 1px rgb(255 255 255 / .8),
      0 5px 0 rgb(63 64 59 / .38),
      0 17px 28px rgb(0 0 0 / .24),
      0 0 0 1px rgb(var(--bwe-signal), .25);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .block-product-image__image-wrapper,
    .block-collection-card__image-wrapper,
    .block-article-card__image-wrapper
  ) {
    position: relative;
    overflow: hidden;
    border: 6px solid rgb(21 23 20);
    border-top-color: rgb(70 73 65);
    border-right-color: rgb(12 14 12);
    border-bottom-color: rgb(5 7 5);
    border-radius: 0 !important;
    background: rgb(7 9 7);
    box-shadow: var(--bwe-depth-glass);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .block-product-image__image-wrapper,
    .block-collection-card__image-wrapper,
    .block-article-card__image-wrapper
  )::after {
    position: absolute;
    z-index: 4;
    inset: 0;
    pointer-events: none;
    content: "";
    background-image:
      var(--bwe-texture-glass),
      linear-gradient(124deg, rgb(255 255 244 / .2), transparent 15%, transparent 63%, rgb(255 255 244 / .035)),
      repeating-linear-gradient(0deg, transparent 0 3px, rgb(0 0 0 / .04) 3px 4px),
      radial-gradient(ellipse at 50% 48%, transparent 55%, rgb(0 0 0 / .19));
    background-size: 512px 512px, auto, auto, auto;
    background-blend-mode: soft-light, normal, normal, normal;
    opacity: .58;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .block-product-card-info,
    .block-product-card__info,
    .block-collection-card__title,
    .block-article-card__info
  ) {
    position: relative;
    background-image:
      var(--bwe-texture-paper),
      linear-gradient(180deg, rgb(255 255 255 / .56), rgb(185 183 174 / .16));
    background-size: 420px 420px, auto;
    background-blend-mode: multiply, normal;
    box-shadow: inset 0 1px rgb(255 255 255 / .72), inset 0 5px 12px rgb(75 71 59 / .04);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .button:not(.button--link, .button--text, .button--icon),
    button[type="submit"]:not(.button--link, .button--text, .button--icon)
  ) {
    /* This opaque metal surface owns its foreground, including secondary buttons. */
    --color-button-text: 255, 255, 250;
    --color-button-background: 25, 28, 24;
    color: rgb(var(--color-button-text));
    border: 2px solid rgb(105 107 99);
    border-top-color: rgb(246 246 232 / .62);
    border-right-color: rgb(54 56 51);
    border-bottom-color: rgb(25 27 24);
    background-image:
      linear-gradient(180deg, rgb(255 255 255 / .26) 0 1px, rgb(255 255 255 / .075) 2px, transparent 36%),
      linear-gradient(180deg, rgb(62 65 58), rgb(25 28 24));
    box-shadow:
      inset 0 1px rgb(255 255 245 / .18),
      inset 0 -4px 8px rgb(0 0 0 / .3),
      0 4px 0 rgb(8 10 8),
      0 9px 15px rgb(0 0 0 / .28);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .button:not(.button--link, .button--text, .button--icon),
    button[type="submit"]:not(.button--link, .button--text, .button--icon)
  ):not(:disabled, .disabled, [aria-disabled="true"]):active {
    transform: translateY(3px);
    box-shadow: inset 0 3px 8px rgb(0 0 0 / .55), 0 1px 0 rgb(8 10 8);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    input:not([type="checkbox"], [type="radio"]),
    textarea,
    select,
    .field__input
  ) {
    border: 2px solid rgb(80 79 72);
    border-top-color: rgb(49 48 43);
    border-left-color: rgb(49 48 43);
    background-image:
      var(--bwe-texture-paper),
      linear-gradient(180deg, rgb(191 190 182), rgb(230 228 219) 18%, rgb(218 216 207));
    background-size: 420px 420px, auto;
    background-blend-mode: multiply, normal;
    box-shadow: inset 0 3px 7px rgb(45 43 36 / .2), inset 0 -1px rgb(255 255 255 / .72);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .footer {
    border-top: 6px solid rgb(8 10 8);
    box-shadow: inset 0 2px rgb(255 255 240 / .09), inset 0 20px 42px rgb(255 255 235 / .018);
  }
}

@media (max-width: 959px) {
  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .block-product-card,
    .block-article-card,
    .block-collection-card
  ) {
    border: 2px solid rgb(111 112 104);
    border-bottom-color: rgb(55 57 52);
    border-radius: 0;
    box-shadow: 0 3px 0 rgb(83 84 78 / .26), 0 8px 15px rgb(0 0 0 / .13);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .block-product-image__image-wrapper,
    .block-collection-card__image-wrapper,
    .block-article-card__image-wrapper
  ) {
    border: 3px solid rgb(22 24 21);
    border-radius: 0 !important;
  }
}

html {
  background: rgb(var(--bwe-paper));
}

body.bwe-archive-ui {
  color: rgb(var(--bwe-ink));
  background-color: rgb(var(--bwe-paper));
  background-image:
    radial-gradient(ellipse at 50% -12%, rgb(255 255 255 / 0.5), transparent 42%),
    radial-gradient(ellipse at 50% 112%, rgb(var(--bwe-ink), 0.13), transparent 56%),
    linear-gradient(90deg, rgb(var(--bwe-ink), 0.018) 1px, transparent 1px),
    linear-gradient(rgb(var(--bwe-ink), 0.018) 1px, transparent 1px);
  background-size: auto, auto, 24px 24px, 24px 24px;
  background-attachment: fixed;
}

.bwe-boot-screen {
  position: fixed;
  z-index: 10020;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: rgb(var(--bwe-paper));
  visibility: hidden;
  pointer-events: none;
  background:
    repeating-linear-gradient(0deg, transparent 0 3px, rgb(255 255 255 / 0.035) 4px),
    #0c0d0c;
  opacity: 0;
  transition: opacity 360ms steps(6, end), visibility 0s 360ms;
}

html.bwe-boot-pending .bwe-boot-screen {
  visibility: visible;
  pointer-events: auto;
  opacity: 1;
  transition-delay: 0s;
}

.bwe-boot-screen__panel {
  width: min(760px, 92vw);
  padding: 24px;
  background: #151715;
  border: 1px solid rgb(var(--bwe-paper), 0.42);
  box-shadow: 12px 12px 0 #30322f;
}

.bwe-boot-screen__meta {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-block-end: 12px;
  color: rgb(var(--bwe-paper), 0.58);
  font: 700 14px/1.3 var(--bwe-terminal-font);
  letter-spacing: 0.1em;
  border-block-end: 1px solid rgb(var(--bwe-paper), 0.22);
}

.bwe-boot-screen__core {
  display: grid;
  grid-template-columns: 148px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
  min-height: 270px;
}

.bwe-boot-screen__reel {
  position: relative;
  width: 136px;
  height: 136px;
  border: 2px solid rgb(var(--bwe-paper), 0.72);
  border-radius: 50%;
  animation: bwe-boot-reel 1.5s linear infinite;
}

.bwe-boot-screen__reel::before {
  position: absolute;
  inset: 50%;
  width: 34px;
  height: 34px;
  margin: -17px;
  content: "";
  border: 9px solid rgb(var(--bwe-paper), 0.72);
  border-radius: 50%;
  box-shadow:
    42px 0 0 -8px rgb(var(--bwe-paper), 0.72),
    -42px 0 0 -8px rgb(var(--bwe-paper), 0.72),
    0 42px 0 -8px rgb(var(--bwe-paper), 0.72),
    0 -42px 0 -8px rgb(var(--bwe-paper), 0.72);
}

.bwe-boot-screen__core small,
.bwe-boot-screen__core p {
  font: 700 14px/1.45 var(--bwe-terminal-font);
  letter-spacing: 0.09em;
}

.bwe-boot-screen__core small {
  color: rgb(var(--bwe-signal-bright)); /* V-08:暗面文字提亮 */
}

.bwe-boot-screen__core strong {
  display: block;
  margin-block: 10px 12px;
  font: 900 clamp(38px, 7vw, 62px)/0.86 var(--bwe-heading-font);
  letter-spacing: 0.045em;
}

.bwe-boot-screen__core p {
  min-height: 32px;
  margin: 0;
  color: rgb(var(--bwe-paper), 0.68);
}

.bwe-boot-screen__progress {
  display: block;
  height: 9px;
  margin-block-start: 15px;
  border: 1px solid rgb(var(--bwe-paper), 0.38);
}

.bwe-boot-screen__progress i {
  display: block;
  width: 0;
  height: 100%;
  background: rgb(var(--bwe-signal));
  animation: bwe-boot-progress 1.35s steps(12, end) forwards;
}

.bwe-boot-screen button {
  min-height: 44px;
  padding: 9px 14px;
  color: rgb(var(--bwe-paper));
  font: 700 14px/1 var(--bwe-terminal-font);
  letter-spacing: 0.09em;
  background: transparent;
  border: 1px solid rgb(var(--bwe-paper), 0.48);
  border-radius: 0;
}

.bwe-boot-screen button:hover,
.bwe-boot-screen button:focus-visible {
  color: #0c0d0c;
  background: rgb(var(--bwe-paper));
}

@keyframes bwe-boot-reel {
  to { transform: rotate(360deg); }
}

@keyframes bwe-boot-progress {
  to { width: 100%; }
}

@media (max-width: 549px) {
  .bwe-boot-screen {
    padding: 14px;
  }

  .bwe-boot-screen__panel {
    padding: 18px;
    box-shadow: 7px 7px 0 #30322f;
  }

  .bwe-boot-screen__meta {
    font-size: 14px;
  }

  .bwe-boot-screen__core {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 18px;
    min-height: 230px;
  }

  .bwe-boot-screen__reel {
    width: 68px;
    height: 68px;
  }

  .bwe-boot-screen__reel::before {
    width: 20px;
    height: 20px;
    margin: -10px;
    border-width: 6px;
    box-shadow:
      20px 0 0 -5px rgb(var(--bwe-paper), 0.72),
      -20px 0 0 -5px rgb(var(--bwe-paper), 0.72),
      0 20px 0 -5px rgb(var(--bwe-paper), 0.72),
      0 -20px 0 -5px rgb(var(--bwe-paper), 0.72);
  }

  .bwe-boot-screen__core strong {
    font-size: clamp(34px, 12vw, 48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .bwe-boot-screen {
    display: none !important;
  }
}

@media (forced-colors: active) {
  .bwe-archive-ui,
  .bwe-archive-ui * {
    text-shadow: none !important;
    box-shadow: none !important;
  }

  .bwe-archive-ui::before,
  .bwe-archive-ui::after,
  .bwe-signal-overlay,
  .bwe-boot-screen__reel,
  .bwe-boot-screen__progress {
    display: none !important;
  }

  .bwe-archive-ui a[href] {
    text-decoration: underline;
  }

  .bwe-archive-ui :is(
    button,
    .button,
    summary,
    input,
    select,
    textarea,
    [role="button"],
    [role="tab"]
  ) {
    border-color: ButtonText !important;
  }

  .bwe-archive-ui :is(
    a[href],
    button,
    summary,
    input,
    select,
    textarea,
    [role="button"],
    [role="tab"]
  ):focus-visible {
    outline: 3px solid Highlight !important;
    outline-offset: 3px !important;
  }

  .bwe-archive-ui :is(
    [data-bwe-market-option].is-active,
    [aria-current="true"],
    [aria-pressed="true"],
    [role="tab"][aria-selected="true"]
  ) {
    color: HighlightText !important;
    background: Highlight !important;
    border-color: Highlight !important;
    forced-color-adjust: none;
  }

  .bwe-archive-ui :is(:disabled, [aria-disabled="true"]) {
    color: GrayText !important;
    border-color: GrayText !important;
    opacity: 1 !important;
  }
}

.bwe-archive-ui::before {
  position: fixed;
  z-index: 9998;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image: repeating-linear-gradient(
    to bottom,
    transparent 0,
    transparent 3px,
    rgb(var(--bwe-ink), 0.035) 4px
  );
  opacity: 0;
}

.bwe-archive-ui::after {
  position: fixed;
  z-index: 9997;
  inset: -25%;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(circle at 18% 28%, rgb(var(--bwe-ink), 0.55) 0 0.55px, transparent 0.75px),
    radial-gradient(circle at 72% 64%, rgb(var(--bwe-ink), 0.4) 0 0.5px, transparent 0.7px);
  background-position: 0 0, 7px 11px;
  background-size: 13px 13px, 17px 17px;
  opacity: 0;
}

.bwe-archive-ui[data-archive-effects="true"]::before {
  opacity: 0.3;
}

.bwe-archive-ui[data-archive-effects="true"]::after {
  opacity: calc(var(--bwe-grain-strength, 3) / 100);
}

.bwe-signal-overlay {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  padding: 10px 12px;
  pointer-events: none;
  font: 14px/1.3 var(--bwe-terminal-font);
  letter-spacing: 0.12em;
  color: rgb(var(--bwe-ink), 0.68);
  text-transform: uppercase;
}

.bwe-signal-overlay::before,
.bwe-signal-overlay::after {
  position: absolute;
  width: 18px;
  height: 18px;
  content: "";
  border-color: rgb(var(--bwe-ink), 0.65);
  border-style: solid;
}

.bwe-signal-overlay::before {
  inset: 8px auto auto 8px;
  border-width: 1px 0 0 1px;
}

.bwe-signal-overlay::after {
  inset: auto 8px 8px auto;
  border-width: 0 1px 1px 0;
}

.bwe-signal-overlay__status::before {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-inline-end: 6px;
  content: "";
  background: rgb(var(--bwe-signal));
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgb(var(--bwe-signal), 0.16);
}

.bwe-signal-overlay__status {
  justify-self: start;
  padding: 2px 6px;
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
}

.bwe-archive-ui[data-archive-signal="intrusion"] .bwe-signal-overlay__status {
  color: rgb(var(--bwe-intrusion));
}

.bwe-archive-ui[data-archive-signal="intrusion"] .bwe-signal-overlay__status::before {
  background: rgb(var(--bwe-intrusion));
  box-shadow: 0 0 0 2px rgb(var(--bwe-intrusion), 0.18);
}

.bwe-archive-ui #MainContent {
  position: relative;
  isolation: isolate;
}

.bwe-archive-ui h1,
.bwe-archive-ui h2,
.bwe-archive-ui h3,
.bwe-archive-ui h4,
.bwe-archive-ui h5,
.bwe-archive-ui h6 {
  font-family: var(--bwe-heading-font);
  font-weight: 800;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.bwe-archive-ui ::selection {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-signal));
}

.bwe-archive-ui :focus-visible {
  outline: 2px solid rgb(var(--bwe-signal));
  outline-offset: 3px;
}

.bwe-archive-ui .button:not(.button--link, .button--text, .button--icon),
.bwe-archive-ui button[type="submit"]:not(.button--link, .button--text, .button--icon) {
  min-height: 44px;
  font-family: var(--bwe-terminal-font);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 0;
  transition: transform 90ms steps(1, end), box-shadow 90ms steps(1, end), background-color 120ms linear;
}

.bwe-archive-ui .button:not(.button--link, .button--text, .button--icon) {
  box-shadow: var(--bwe-mechanical-shadow);
}

.bwe-archive-ui .button:not(:disabled, .disabled, [aria-disabled="true"], .button--link, .button--text, .button--icon):hover {
  transform: translate(-1px, -1px);
  box-shadow: 4px 4px 0 rgb(var(--bwe-ink));
}

.bwe-archive-ui .button:not(:disabled, .disabled, [aria-disabled="true"], .button--link, .button--text, .button--icon):active {
  transform: translate(2px, 2px);
  box-shadow: 1px 1px 0 rgb(var(--bwe-ink));
}

.bwe-archive-ui .button--link,
.bwe-archive-ui .button--text {
  font-family: var(--bwe-terminal-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.bwe-archive-ui input:not([type="checkbox"], [type="radio"]),
.bwe-archive-ui textarea,
.bwe-archive-ui select,
.bwe-archive-ui .field__input {
  color: rgb(var(--bwe-ink));
  background: rgb(var(--bwe-paper), 0.78);
  border-color: rgb(var(--bwe-line), 0.72);
  border-radius: 0;
}

.bwe-archive-ui .modal__content,
.bwe-archive-ui .modal__close-control {
  border-radius: 0;
}

.bwe-archive-ui .modal__close-control:hover,
.bwe-archive-ui .modal__close-control:focus-visible {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-signal));
  border-color: rgb(var(--bwe-signal));
  opacity: 1;
}

.bwe-archive-ui .block-product-card,
.bwe-archive-ui .block-article-card {
  position: relative;
}

.bwe-product-market-badge {
  position: absolute;
  z-index: 4;
  inset-block-start: 10px;
  inset-inline-start: 10px;
  min-width: 44px;
  padding: 6px 8px;
  color: rgb(var(--bwe-paper));
  font: 700 14px/1 var(--bwe-terminal-font);
  letter-spacing: 0.1em;
  text-align: center;
  background: rgb(var(--bwe-ink));
  border-block-end: 3px solid rgb(var(--bwe-signal));
  pointer-events: none;
}

.bwe-product-card--used .bwe-product-market-badge {
  color: rgb(var(--bwe-intrusion));
  border-block-end-color: rgb(var(--bwe-intrusion));
}

.bwe-product-archive-meta {
  position: absolute;
  z-index: 4;
  inset-block-start: 10px;
  inset-inline-end: 10px;
  display: grid;
  max-width: calc(100% - 92px);
  padding: 5px 7px;
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink), 0.88);
  border: 1px solid rgb(var(--bwe-paper), 0.25);
  font-family: var(--bwe-terminal-font);
  font-size: 12px;
  line-height: 1.2;
  text-align: end;
  pointer-events: none;
}

.bwe-product-archive-meta > span {
  overflow: hidden;
  color: rgb(var(--bwe-paper), 0.72);
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bwe-product-archive-meta > b {
  color: rgb(var(--bwe-signal-strong)); /* V-08:亮面徽标文字压暗 */
  font-size: 12px;
}

a.bwe-product-card-record-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 44px;
  padding: 10px 12px;
  margin-block-start: auto;
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
  border-block-start: 1px solid rgb(var(--bwe-line));
  border-block-end: 4px solid rgb(var(--bwe-signal));
  font-family: var(--bwe-terminal-font);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.045em;
  text-decoration: none;
}

a.bwe-product-card-record-link:hover,
a.bwe-product-card-record-link:focus-visible {
  color: rgb(var(--bwe-ink));
  background: rgb(var(--bwe-paper));
  outline: 2px solid rgb(var(--bwe-signal));
  outline-offset: -2px;
}

.bwe-archive-ui a.block-product-title {
  display: flex;
  align-items: center;
  min-height: 44px;
}

.bwe-cart-item-market {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 32px;
  margin-block-start: 7px;
  padding: 5px 8px;
  color: rgb(var(--bwe-paper));
  font: 700 14px/1.2 var(--bwe-terminal-font);
  letter-spacing: 0.08em;
  background: rgb(var(--bwe-ink));
  border: 1px solid rgb(var(--bwe-line), 0.72);
  border-block-end: 3px solid rgb(var(--bwe-signal));
}

.bwe-cart-item-market--used {
  color: rgb(var(--bwe-intrusion));
  border-block-end-color: rgb(var(--bwe-intrusion));
}

.bwe-product-channel-strip {
  display: flex;
  grid-column: 1 / -1;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  margin-block-end: 14px;
  padding: 9px 12px;
  color: rgb(var(--bwe-paper));
  font: 700 14px/1.2 var(--bwe-terminal-font);
  letter-spacing: 0.08em;
  background: rgb(var(--bwe-ink));
  border-inline-start: 5px solid rgb(var(--bwe-signal));
}

.bwe-product-detail--used .bwe-product-channel-strip {
  border-inline-start-color: rgb(var(--bwe-intrusion));
}

.bwe-product-detail--used .bwe-product-channel-strip__label {
  color: rgb(var(--bwe-intrusion));
}

.bwe-product-channel-strip__status {
  color: rgb(var(--bwe-paper), 0.64);
  font-weight: 400;
}

.bwe-archive-ui .block-product-card::before,
.bwe-archive-ui .block-article-card::before {
  position: absolute;
  z-index: 3;
  inset: 8px auto auto 8px;
  width: 14px;
  height: 14px;
  pointer-events: none;
  content: "";
  border-block-start: 1px solid rgb(var(--bwe-ink), 0.62);
  border-inline-start: 1px solid rgb(var(--bwe-ink), 0.62);
}

.bwe-archive-ui .product-price,
.bwe-archive-ui [class*="product-price"] {
  font-family: var(--bwe-terminal-font);
  font-variant-numeric: tabular-nums;
}

/* Archive terminal shell: broadcast, navigation and transmission footer. */
.bwe-archive-ui theme-announcement-bar-carousel,
.bwe-archive-ui theme-announcement-bar-sticky {
  display: block;
  position: relative;
  z-index: 20;
}

.bwe-archive-ui .announcement-bar__group-item {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
  border-block: 1px solid rgb(var(--bwe-paper), 0.28);
}

.bwe-archive-ui .announcement-bar__group-item-content {
  padding-inline: 18px;
}

.bwe-archive-ui .announcement-bar__group-item-inner {
  min-height: 44px;
  font-family: var(--bwe-terminal-font);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

@media (min-width: 821px) {
  .bwe-archive-ui .announcement-bar__group-item {
    min-height: 44px !important;
  }

  .bwe-archive-ui .announcement-bar__group-item-inner {
    min-height: 34px !important;
    padding-block: 0 !important;
  }
}

/* 2026-09-04 店主裁定:移动端广播条高度受控——恒一行,长文案省略号截断(桌面 34px 条不变) */
@media (max-width: 820px) {
  .bwe-archive-ui .announcement-bar__group-item,
  .bwe-archive-ui .announcement-bar__group-item-inner {
    min-height: 40px;
    padding-block: 0 !important;
  }

  .bwe-archive-ui .announcement-bar__group-item-inner .rte {
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 350px) {
  .bwe-archive-ui .announcement-bar__group-item-inner {
    font-size: 12px;
  }
}

/* 2026-09-04 设计规范(Material/iOS):输入控件移动端字号 <16px 会触发 iOS 聚焦自动放大整页,统一 16px */
@media (max-width: 820px) {
  .bwe-archive-ui input,
  .bwe-archive-ui textarea,
  .bwe-archive-ui select {
    font-size: 16px;
  }
}

/* 2026-09-04 店主指令:移动端 UI 质感增强——触觉反馈 / 微纹理 / 抗锯齿。
   只用既有仪器设计语言(扫描线/内阴影/下压位移),全部 ≤820,桌面零改动。 */
@media (max-width: 820px) {
  .bwe-archive-ui {
    -webkit-tap-highlight-color: transparent; /* 消除安卓点按灰闪 */
    -webkit-font-smoothing: antialiased;      /* 暗面文字更细腻 */
    text-rendering: optimizeLegibility;
  }

  .bwe-archive-ui ::selection {
    background: rgb(var(--bwe-signal));
    color: #fff;
  }

  /* 全局触压反馈:下压 1px + 内阴影,松手 0.12s 回弹 */
  .bwe-archive-ui button,
  .bwe-archive-ui .button,
  .bwe-archive-ui .bigwhite-mobile-tabbar__item,
  .bwe-archive-ui .bwe-mobile-fx-toggle,
  .bwe-archive-ui .header-nav-drawer__menu-control {
    transition: transform 0.12s ease, box-shadow 0.12s ease,
      background-color 0.12s ease, color 0.12s ease;
  }

  .bwe-archive-ui button:active,
  .bwe-archive-ui .button:active,
  .bwe-archive-ui .bigwhite-mobile-tabbar__item:active,
  .bwe-archive-ui .header-nav-drawer__menu-control:active {
    transform: translateY(1px);
    box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.22);
  }

  /* 底部标签栏:顶缘 1px 高光 + 投影,仪器面板的"搁板"感(不动原有纸底/扫描线) */
  .bwe-archive-ui .bigwhite-mobile-tabbar {
    box-shadow:
      inset 0 1px rgb(255 255 245 / 0.16),
      0 -6px 18px rgb(0 0 0 / 0.16);
  }

  /* 首页控制台:细扫描线 + 顶缘高光,与桌面机器面板同语言 */
  .bwe-home__console {
    background-image: repeating-linear-gradient(
      0deg,
      rgb(255 255 245 / 0.02) 0 1px,
      transparent 1px 4px
    );
    box-shadow:
      0 8px 20px rgb(0 0 0 / 0.45),
      inset 0 1px rgb(235 236 220 / 0.08);
  }

  /* 卡片与面板:0.5px 级细线在移动端更锐 */
  .bwe-archive-ui .button {
    box-shadow: 0 1px 0 rgb(0 0 0 / 0.18);
  }
}

/* 2026-09-04 质感增强第二包:铭牌浮雕 / 输入井 / 按钮棱线 / 纵深渐变(≤820) */
@media (max-width: 820px) {
  /* 铭牌:搪瓷浮雕——顶缘高光、底部内暗、外投影 */
  .bwe-home__console .bwe-home__brand strong {
    box-shadow:
      inset 0 1px rgb(255 255 255 / 0.55),
      inset 0 -2px 4px rgb(0 0 0 / 0.18),
      0 2px 6px rgb(0 0 0 / 0.35);
  }

  /* 搜索输入井:内凹 + 聚焦时信号红描环 */
  .bwe-archive-ui .header-action-bar__search-bar {
    box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.22);
  }

  .bwe-archive-ui .header-action-bar__search-bar:focus-within {
    box-shadow:
      inset 0 2px 5px rgb(0 0 0 / 0.22),
      0 0 0 2px rgb(var(--bwe-signal) / 0.55);
  }

  /* EXEC/提交钮:顶肩高光 + 2px 底棱,按压时棱线塌陷下沉 */
  .bwe-archive-ui .bwe-action-search__submit {
    box-shadow:
      inset 0 1px rgb(255 255 245 / 0.25),
      0 2px 0 rgb(0 0 0 / 0.45);
  }

  .bwe-archive-ui .bwe-action-search__submit:active {
    transform: translateY(2px);
    box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.5);
  }

  /* 聊天输入区:内凹井 */
  .bwe-archive-ui .bwe-chat-widget__field {
    box-shadow: inset 0 2px 5px rgb(0 0 0 / 0.18);
  }

  /* 公告条:纵向纵深(顶亮→底暗),广播面板厚度 */
  .bwe-archive-ui .announcement-bar__group-item {
    background-image: linear-gradient(
      180deg,
      rgb(255 255 245 / 0.05),
      transparent 30%,
      rgb(0 0 0 / 0.14)
    );
  }

  /* 抽屉菜单:按压着墨 */
  .bwe-archive-ui .header-nav-drawer__menu-control:active {
    background: rgb(0 0 0 / 0.05);
  }

  /* 商品/文章卡:按压微沉,列表有"按下翻牌"感 */
  .bwe-archive-ui .block-product-card,
  .bwe-archive-ui .block-article-card {
    transition: transform 0.12s ease;
  }

  .bwe-archive-ui .block-product-card:active,
  .bwe-archive-ui .block-article-card:active {
    transform: translateY(1px);
  }
}

.bwe-archive-ui .announcement-bar__group-item-inner::before {
  flex: 0 0 auto;
  content: "[ BROADCAST 01 ]";
  color: rgb(var(--bwe-signal-bright)); /* V-08:暗面文字提亮 */
}

.bwe-archive-ui .announcement-bar__group-item-inner::after {
  width: 7px;
  height: 7px;
  flex: 0 0 auto;
  content: "";
  background: rgb(var(--bwe-signal));
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgb(var(--bwe-signal), 0.16);
  animation: bwe-signal-pulse 2.2s steps(1, end) infinite;
}

.bwe-archive-ui .announcement-bar__group-item-inner .rte {
  flex: 1 1 auto;
  font: inherit;
  text-align: start;
}

.bwe-archive-ui .announcement-bar__group-social-medias:empty {
  display: none;
}

.bwe-archive-ui .bigwhite-announcement-locales {
  font-size: 14px;
}

.bwe-archive-ui .header-section {
  color: rgb(var(--bwe-ink));
  background:
    linear-gradient(90deg, rgb(var(--bwe-ink), 0.04) 1px, transparent 1px),
    rgb(var(--bwe-paper));
  background-size: 32px 100%;
  border-block-end: 1px solid rgb(var(--bwe-line));
}

.bwe-header-instrument,
.bwe-header-index,
.bwe-footer-instrument,
.bwe-footer-checksum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  font: 700 14px/1.2 var(--bwe-terminal-font);
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.bwe-header-instrument {
  min-height: 29px;
  padding: 7px max(20px, calc((100% - var(--page-width, 1200px)) / 2));
  color: rgb(var(--bwe-ink), 0.72);
  background: rgb(var(--bwe-paper-deep), 0.7);
  border-block-end: 1px dashed rgb(var(--bwe-line), 0.62);
}

.bwe-header-instrument__telemetry {
  display: flex;
  align-items: center;
  gap: 16px;
  font-variant-numeric: tabular-nums;
}

.bwe-desktop-immersive-toggle {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-block: -5px;
  padding: 5px 13px;
  color: rgb(var(--bwe-ink));
  font: 700 14px/1 var(--bwe-terminal-font);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgb(var(--bwe-paper));
  border: 1px solid rgb(var(--bwe-line));
  border-radius: 0;
  box-shadow: 3px 3px 0 rgb(var(--bwe-signal));
  cursor: pointer;
}

.bwe-desktop-immersive-toggle b {
  min-width: 2.4em;
  color: rgb(var(--bwe-signal-bright)); /* V-08:暗面文字提亮 */
  font: inherit;
}

.bwe-desktop-immersive-toggle:hover,
.bwe-desktop-immersive-toggle:focus-visible {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
}

.bwe-desktop-immersive-toggle:focus-visible {
  outline: 2px solid rgb(var(--bwe-signal));
  outline-offset: 3px;
}

.bwe-desktop-immersive-toggle[aria-pressed="true"] {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
  border-color: rgb(var(--bwe-signal));
}

.bwe-desktop-immersive-toggle[aria-pressed="true"] b {
  color: rgb(var(--bwe-signal-bright)); /* V-08:暗面文字提亮 */
}

.bwe-header-instrument__rec {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-inline-end: 12px;
  color: rgb(var(--bwe-signal-bright)); /* V-08:暗面文字提亮 */
}

.bwe-header-instrument__rec::before {
  width: 6px;
  height: 6px;
  content: "";
  background: currentcolor;
  border-radius: 50%;
}

.bwe-archive-ui .header__container-top-wrap {
  position: relative;
}

.bwe-archive-ui .header__logo-wrapper {
  position: relative;
  padding: 8px 12px;
  background: rgb(255, 255, 255, 0.44);
  border: 1px solid rgb(var(--bwe-line), 0.34);
  box-shadow: 5px 5px 0 rgb(var(--bwe-line), 0.08);
}

@media (min-width: 960px) {
  .bwe-archive-ui .header__container-top-wrap {
    padding-block: 5px !important;
  }

  .bwe-archive-ui .header__logo-link,
  .bwe-archive-ui .header__logo-image {
    width: 64px !important;
    height: 64px !important;
  }

  .bwe-archive-ui .header__logo-image {
    --desktop-size: 64px !important;
    object-fit: contain;
  }

  body[data-page-type="collection"] .bwe-header-index,
  body[data-page-type="search"] .bwe-header-index {
    display: none;
  }
}

/* Material pass 08 - non-periodic paper, metal and optical surface maps. */
@media (min-width: 960px) {
  body.bwe-archive-ui[data-page-type="collection"] :is(
    .bwe-collection-cover > .block-main-collection__heading,
    .bwe-catalog-index,
    .facets-sorting-wrapper,
    .main-collection__list .block-product-card
  ),
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-card,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__info,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-items__container {
    background-image:
      var(--bwe-texture-paper),
      linear-gradient(111deg, rgb(255 255 255 / 0.48), transparent 19%, transparent 74%, rgb(62 57 46 / 0.085)),
      repeating-linear-gradient(0deg, rgb(55 51 41 / 0.028) 0 1px, transparent 1px 5px),
      repeating-linear-gradient(90deg, rgb(55 51 41 / 0.014) 0 1px, transparent 1px 8px);
    background-size: 420px 420px, auto, auto, auto;
    background-blend-mode: multiply, normal, normal, normal;
  }

}

body[data-page-type="collection"] .bwe-market-directory,
body[data-page-type="search"] .bwe-market-directory {
  display: none;
}

.bwe-archive-ui .header__logo-wrapper::before,
.bwe-archive-ui .header__logo-wrapper::after {
  position: absolute;
  width: 8px;
  height: 8px;
  content: "";
  border-color: rgb(var(--bwe-signal));
  border-style: solid;
}

.bwe-archive-ui .header__logo-wrapper::before {
  inset: -1px auto auto -1px;
  border-width: 2px 0 0 2px;
}

.bwe-archive-ui .header__logo-wrapper::after {
  inset: auto -1px -1px auto;
  border-width: 0 2px 2px 0;
}

.bwe-archive-ui .header-action-bar__search-bar {
  overflow: hidden;
  background: rgb(var(--bwe-paper-deep), 0.42);
  border: 1px solid rgb(var(--bwe-line), 0.62);
  border-radius: 0;
  box-shadow: 3px 3px 0 rgb(var(--bwe-ink), 0.1);
}

.bwe-archive-ui .header-action-bar__search-bar::before {
  align-self: stretch;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  padding-inline: 9px;
  white-space: nowrap;
  content: "QUERY";
  font: 700 14px/1 var(--bwe-terminal-font);
  letter-spacing: 0.08em;
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
}

.bwe-archive-ui .header-action-bar__search-bar-input {
  font-family: var(--bwe-terminal-font);
  text-transform: uppercase;
}

.bwe-archive-ui .header-action-bar .button--icon {
  min-width: 44px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 0;
}

.bwe-archive-ui .header-action-bar .button--icon:hover,
.bwe-archive-ui .header-action-bar .button--icon:focus-visible {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
  border-color: rgb(var(--bwe-ink));
}

.bwe-archive-ui .header__container-bottom {
  position: relative;
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
  border-block: 1px solid rgb(var(--bwe-ink));
}

.bwe-archive-ui .header__container-bottom::before,
.bwe-archive-ui .header__container-bottom::after {
  position: absolute;
  inset-block: 0;
  z-index: 2;
  width: 34px;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background: repeating-linear-gradient(135deg, rgb(var(--bwe-paper)) 0 1px, transparent 1px 6px);
}

.bwe-archive-ui .header__container-bottom::before {
  inset-inline-start: 12px;
}

.bwe-archive-ui .header__container-bottom::after {
  inset-inline-end: 12px;
}

.bwe-archive-ui .header__container-bottom .header-nav__menu {
  min-height: 46px;
}

.bwe-archive-ui .header__container-bottom .header-nav__underline {
  font-family: var(--bwe-terminal-font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bwe-archive-ui .header__container-bottom .header-nav__underline:hover,
.bwe-archive-ui .header__container-bottom .header-nav__underline:focus-visible {
  color: rgb(var(--bwe-ink));
  background: rgb(var(--bwe-paper));
  box-shadow: 0 -3px 0 rgb(var(--bwe-signal)) inset;
}

.bwe-header-index {
  min-height: 27px;
  padding-inline: 20px;
  color: rgb(var(--bwe-muted));
  background: rgb(var(--bwe-paper-deep), 0.44);
  border-block-start: 1px dashed rgb(var(--bwe-line), 0.38);
}

.bwe-archive-ui .header-nav-dropdown-panel,
.bwe-archive-ui .header-nav-dropdown-menu {
  color: rgb(var(--bwe-ink));
  background: rgb(var(--bwe-paper));
  border: 1px solid rgb(var(--bwe-line));
  border-radius: 0;
  box-shadow: 7px 7px 0 rgb(var(--bwe-ink), 0.22);
}

.bwe-archive-ui .header-nav-drawer__content {
  background-color: rgb(var(--bwe-paper));
  background-image: repeating-linear-gradient(0deg, transparent 0 23px, rgb(var(--bwe-ink), 0.04) 24px);
  border-inline-end: 2px solid rgb(var(--bwe-line));
}

.bwe-archive-ui .footer {
  position: relative;
  color: rgb(var(--bwe-paper));
  background-color: rgb(var(--bwe-ink));
  background-image:
    linear-gradient(rgb(var(--bwe-paper), 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgb(var(--bwe-paper), 0.045) 1px, transparent 1px);
  background-size: 24px 24px;
  border-block-start: 5px solid rgb(var(--bwe-signal));
}

.bwe-footer-instrument,
.bwe-footer-checksum {
  color: rgb(var(--bwe-paper), 0.66);
  border-color: rgb(var(--bwe-paper), 0.28);
}

.bwe-footer-instrument {
  min-height: 44px;
  padding-block: 12px;
  border-block-end: 1px dashed;
}

.bwe-footer-instrument__status {
  color: rgb(var(--bwe-signal-bright)); /* V-08:暗面文字提亮 */
}

.bwe-footer-instrument__status::before {
  display: inline-block;
  width: 7px;
  height: 7px;
  margin-inline-end: 7px;
  content: "";
  background: currentcolor;
  border-radius: 50%;
}

.bwe-archive-ui .footer__inner {
  align-items: stretch;
  padding-block: 34px;
}

.bwe-archive-ui .footer__inner > *,
.bwe-archive-ui .footer__additional-group > * {
  position: relative;
  padding: 18px;
  border: 1px solid rgb(var(--bwe-paper), 0.24);
  background: rgb(var(--bwe-paper), 0.035);
}

.bwe-archive-ui .footer__inner > *::before,
.bwe-archive-ui .footer__additional-group > *::before {
  position: absolute;
  inset: 5px 5px auto auto;
  font: 700 8px/1 var(--bwe-terminal-font);
  color: rgb(var(--bwe-signal));
  content: "CH";
}

@media (min-width: 960px) {
  .bwe-archive-ui .footer__inner {
    grid-template-areas:
      "payment policy social"
      "localization localization copyright" !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    grid-template-rows: auto auto !important;
    gap: 16px !important;
    padding-block: 22px;
  }

  .bwe-archive-ui .footer__inner > .footer__information-group:first-child {
    grid-area: policy;
  }

  .bwe-archive-ui .footer__inner > .footer__contact-group {
    grid-area: social;
  }

  .bwe-archive-ui .footer__inner > .footer__information-group:last-child {
    grid-area: copyright;
  }

  .bwe-archive-ui .footer__payment-icons {
    grid-area: payment;
  }

  .bwe-archive-ui .footer__localization-form {
    grid-area: localization;
  }

  .bwe-archive-ui .footer__inner > .footer__group,
  .bwe-archive-ui .footer__additional-group > * {
    width: 100% !important;
    max-width: none !important;
  }

  .bwe-archive-ui .footer__localization-form {
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    min-height: 58px;
  }

  .bwe-archive-ui .footer__inner > .footer__information-group:first-child,
  .bwe-archive-ui .footer__inner > .footer__contact-group,
  .bwe-archive-ui .footer__payment-icons {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 164px;
  }

  .bwe-archive-ui .footer__information-group:first-child .footer__menu-content {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2px 22px;
    padding-block-start: 9px;
  }

  .bwe-archive-ui .footer__information-group:first-child .footer__menu-item {
    padding-block-start: 4px;
  }

  .bwe-archive-ui .footer__information-group:first-child .footer__menu-item a {
    display: flex;
    align-items: center;
    min-height: 36px;
  }

  .bwe-archive-ui .footer__inner > .footer__information-group:last-child,
  .bwe-archive-ui .footer__localization-form {
    align-self: stretch !important;
    height: 100% !important;
    min-height: 82px;
  }
}

.bwe-archive-ui .footer__payment-icons-content {
  display: flex;
  align-items: center;
  min-height: 52px;
}

.bwe-archive-ui .footer__payment-icons-content > svg {
  box-sizing: content-box;
  height: 28px;
  padding: 7px 11px;
  background: rgb(var(--bwe-paper));
  border: 1px solid rgb(var(--bwe-paper), 0.36);
  filter: grayscale(0.15) contrast(1.08);
}

.bwe-archive-ui .footer__menu-title,
.bwe-archive-ui .footer__custom-text-title,
.bwe-archive-ui .footer__email-subscribe-title,
.bwe-archive-ui .footer__social-media-title {
  font-family: var(--bwe-terminal-font);
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.bwe-archive-ui .footer a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.bwe-archive-ui .footer a:hover {
  color: rgb(var(--bwe-signal));
}

.bwe-footer-checksum {
  min-height: 44px;
  padding-block: 10px;
  border-block-start: 1px dashed;
}

.bwe-signal-overlay__channel {
  position: fixed;
  inset-block-end: 18px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  letter-spacing: 0.1em;
}

.bwe-signal-overlay__channel strong {
  color: rgb(var(--bwe-signal));
}

/* 2026-09-04 移动端头部排布(视觉回归修正,DOM 实测结论):
   ①行内搜索表单被平台 .hidden-mobile 在 ≤959 整体隐藏——移动端搜索/市场入口实为右栏的
     .bwe-mobile-market 按钮("CH/NEW Open market search",实测 180×36、文字内部折行);
   ②修正:该按钮单行化(nowrap+ellipsis)、高度归 44px 轨道、宽度受控不与图标挤压;
   ③公告栏 PAUSE 钮与桌面版 Immersive 钮移动端隐藏;logo 高度收敛。 */
@media (max-width: 820px) {
  .bwe-archive-ui .header__container-top-wrap .bwe-mobile-market {
    min-width: 0;
    max-width: min(46vw, 190px);
    min-height: 44px;
    flex: 0 1 auto;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .bwe-archive-ui .bwe-mobile-market span {
    white-space: nowrap;
  }

  .bwe-archive-ui .header__container-top-wrap .header-action-bar {
    column-gap: 10px;
    align-items: center;
  }

  .bwe-archive-ui .announcement-bar__autoplay-toggle {
    display: none;
  }

  .bwe-desktop-immersive-toggle {
    display: none;
  }

  .bwe-archive-ui .header__logo img {
    max-height: 56px;
    width: auto;
  }

  .bwe-archive-ui .bwe-market-switch--compact .bwe-market-switch__option {
    min-width: 44px;
    padding-inline: 8px;
    font-size: 13px;
  }

  .bwe-archive-ui .bwe-action-search__submit,
  .bwe-archive-ui .bwe-dialog-search__submit {
    min-height: 44px;
  }

  .bwe-archive-ui .header-action-bar__search-bar-input {
    min-height: 44px;
    font-size: 16px;
  }
}

/* 2026-09-04 店主反馈:汉堡抽屉是平台原生皮肤(Rubik/普通列表),字体与全站终端风格不符 → 终端化。
   编号 01/02… + 分隔线 + Courier 大写,与 INDEX 快速导航同一设计语言。 */
.bwe-archive-ui .header-nav-drawer__content {
  font-family: var(--bwe-terminal-font);
  color: rgb(var(--bwe-ink));
}

.bwe-archive-ui .header-nav-drawer__header-container {
  border-block-end: 2px solid rgb(var(--bwe-ink));
}

.bwe-archive-ui .header-nav-drawer__login {
  font: 700 14px/1 var(--bwe-terminal-font);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.bwe-archive-ui .header-nav-drawer__icon {
  min-width: 44px;
  min-height: 44px;
}

.bwe-archive-ui .header-nav-drawer__menu {
  counter-reset: bwe-nav;
}

.bwe-archive-ui .header-nav-drawer__menu ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bwe-archive-ui .header-nav-drawer__menu-control {
  font: 700 15px/1.2 var(--bwe-terminal-font);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  min-height: 52px;
  border-block-end: 1px solid rgb(var(--bwe-line), 0.35);
  counter-increment: bwe-nav;
  /* 2026-09-04 文字排布修复:平台默认 space-between 会把编号与文字拆向两端 */
  justify-content: flex-start;
  gap: 10px;
}

.bwe-archive-ui .header-nav-drawer__menu-control::before {
  content: counter(bwe-nav, decimal-leading-zero) " /";
  flex: 0 0 auto;
  color: rgb(var(--bwe-signal-strong));
}

/* 长菜单项单行省略,保持 52px 均一行高 */
.bwe-archive-ui .header-nav-drawer__menu-control .header-nav-drawer__ellipsis {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bwe-archive-ui .header-nav-drawer__footer {
  font-family: var(--bwe-terminal-font);
  border-block-start: 2px solid rgb(var(--bwe-ink));
  padding: 14px 18px;
}

/* 2026-09-04 店主指令:底部语言/货币选择框尺寸与样式受控——终端芯片化,通栏等宽 */
.bwe-archive-ui .header-nav-drawer__footer .theme-locale-picker__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.bwe-archive-ui .header-nav-drawer__footer .dropdown-menu__label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  min-height: 40px;
  padding: 6px 12px;
  font: 700 13px/1.2 var(--bwe-terminal-font) !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: rgb(var(--bwe-ink));
  background: transparent;
  border: 1px solid rgb(var(--bwe-line));
}

.bwe-archive-ui .header-nav-drawer__footer .dropdown-menu__label-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 13px !important;
}

.bwe-action-search {
  display: flex;
  align-items: stretch;
  min-width: 0;
}

.bwe-action-search .header-action-bar__search-bar {
  flex: 1 1 auto;
  min-width: 0;
}

.bwe-action-search__submit,
.bwe-dialog-search__submit {
  flex: 0 0 auto;
  min-width: 52px;
  min-height: 44px;
  padding: 8px 10px;
  color: rgb(var(--bwe-paper));
  font: 700 14px/1 var(--bwe-terminal-font);
  letter-spacing: 0.08em;
  background: rgb(var(--bwe-signal-strong));
  border: 1px solid rgb(var(--bwe-line));
  cursor: pointer;
}

.bwe-action-search__submit:hover,
.bwe-action-search__submit:focus-visible,
.bwe-dialog-search__submit:hover,
.bwe-dialog-search__submit:focus-visible {
  color: rgb(var(--bwe-ink));
  background: rgb(var(--bwe-paper));
}

.bwe-dialog-search__submit {
  align-self: stretch;
  margin-inline-end: 8px;
}

.bwe-mobile-market {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 84px;
  min-height: 44px;
  padding: 7px 9px;
  color: rgb(var(--bwe-ink));
  font: 700 14px/1 var(--bwe-terminal-font);
  letter-spacing: 0.06em;
  background: rgb(var(--bwe-paper-deep), 0.55);
  border: 1px solid rgb(var(--bwe-line), 0.62);
  white-space: nowrap;
}

.bwe-mobile-market span {
  color: #a90d1d;
}

.bwe-market-switch {
  display: inline-flex;
  align-items: stretch;
  min-width: max-content;
  margin: 0;
  padding: 0;
  border: 1px solid rgb(var(--bwe-line));
}

.bwe-market-switch__option {
  min-width: 54px;
  min-height: 44px;
  padding: 8px 12px;
  color: rgb(var(--bwe-ink));
  font: 700 14px/1 var(--bwe-terminal-font);
  letter-spacing: 0.08em;
  background: rgb(var(--bwe-paper));
  border: 0;
  border-inline-end: 1px solid rgb(var(--bwe-line));
  cursor: pointer;
}

.bwe-market-switch__option:last-child {
  border-inline-end: 0;
}

.bwe-market-switch__option:hover,
.bwe-market-switch__option:focus-visible {
  background: rgb(var(--bwe-paper-deep));
}

.bwe-market-switch__option.is-active,
.bwe-market-switch__option[aria-pressed="true"] {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
  box-shadow: inset 0 -3px 0 rgb(var(--bwe-signal));
}

.bwe-market-switch--compact {
  border-inline-end: 0;
}

.bwe-market-switch--compact .bwe-market-switch__option {
  min-width: 48px;
  min-height: 100%;
  padding-inline: 9px;
  font-size: 14px;
}

.bwe-market-switch--dialog {
  flex: 0 0 auto;
  margin-inline-end: 12px;
}

.bwe-market-switch .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.bwe-archive-ui[data-archive-market="used"] .bwe-signal-overlay__channel strong,
.bwe-archive-ui[data-archive-market="used"] .bwe-market-switch__option.is-active {
  color: rgb(var(--bwe-intrusion));
}

.bwe-archive-ui[data-archive-market-enabled="false"] .bwe-market-switch,
.bwe-archive-ui[data-archive-market-enabled="false"] .bwe-signal-overlay__channel {
  display: none;
}

.bwe-market-directory {
  position: relative;
  z-index: 18;
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) repeat(2, minmax(220px, 1fr)) minmax(150px, 0.7fr);
  align-items: stretch;
  width: min(100%, var(--page-width, 1420px));
  margin-inline: auto;
  color: rgb(var(--bwe-ink));
  background: rgb(var(--bwe-paper));
  border-inline: 1px solid rgb(var(--bwe-line));
  border-block-end: 1px solid rgb(var(--bwe-line));
  font-family: var(--bwe-terminal-font);
}

.bwe-market-directory__index,
.bwe-market-directory__status,
.bwe-market-directory a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 9px 14px;
  border-inline-end: 1px solid rgb(var(--bwe-line), 0.58);
}

.bwe-market-directory__index,
.bwe-market-directory__status {
  font-size: 14px;
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.bwe-market-directory__status {
  justify-content: flex-end;
  border-inline-end: 0;
}

.bwe-market-directory__status b {
  margin-inline-start: 5px;
  color: rgb(var(--bwe-signal));
}

.bwe-market-directory a {
  position: relative;
  gap: 11px;
  color: inherit;
  text-decoration: none;
  background: rgb(var(--bwe-paper-deep), 0.28);
}

.bwe-market-directory a > span {
  color: rgb(var(--bwe-muted));
  font-size: 14px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.bwe-market-directory a > strong {
  font-size: 14px;
  letter-spacing: 0.09em;
  white-space: nowrap;
}

.bwe-market-directory a > small {
  margin-inline-start: auto;
  color: rgb(var(--bwe-muted));
  font-size: 14px;
  letter-spacing: 0.05em;
}

.bwe-market-directory a:hover,
.bwe-market-directory a:focus-visible,
.bwe-market-directory a.is-active,
.bwe-market-directory a[aria-pressed="true"] {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
  box-shadow: inset 0 -4px 0 rgb(var(--bwe-signal));
}

.bwe-market-directory a.is-active > span,
.bwe-market-directory a.is-active > small,
.bwe-market-directory a[aria-pressed="true"] > span,
.bwe-market-directory a[aria-pressed="true"] > small {
  color: rgb(var(--bwe-paper), 0.66);
}

.bwe-archive-ui[data-archive-market="used"] .bwe-market-directory a.is-active,
.bwe-archive-ui[data-archive-market="used"] .bwe-market-directory a[aria-pressed="true"] {
  box-shadow: inset 0 -4px 0 rgb(var(--bwe-intrusion));
}

.bwe-search-market-switch {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-block-end: 10px;
  border: 1px solid rgb(var(--bwe-line));
}

.bwe-search-market-switch button {
  min-height: 44px;
  padding: 9px 14px;
  color: rgb(var(--bwe-ink));
  font: 700 14px/1 var(--bwe-terminal-font);
  letter-spacing: 0.08em;
  background: rgb(var(--bwe-paper));
  border: 0;
  border-inline-end: 1px solid rgb(var(--bwe-line));
  cursor: pointer;
}

.bwe-search-market-switch button:last-child {
  border-inline-end: 0;
}

.bwe-search-market-switch button.is-active,
.bwe-search-market-switch button[aria-pressed="true"] {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
  box-shadow: inset 0 -3px 0 rgb(var(--bwe-signal));
}

.bwe-archive-ui[data-archive-market="used"] .bwe-search-market-switch button.is-active,
.bwe-archive-ui[data-archive-market="used"] .bwe-search-market-switch button[aria-pressed="true"] {
  color: rgb(var(--bwe-intrusion));
  box-shadow: inset 0 -3px 0 rgb(var(--bwe-intrusion));
}

/* Keep empty USED searches isolated from NEW inventory. The platform
 * recommendation rail is not market-aware, so it must stay out of the USED
 * channel until it can be filtered by BWE_USED. */
.bwe-archive-ui [data-bwe-search-empty-used][hidden],
.bwe-archive-ui[data-page-type="search"][data-archive-market="used"]
  #MainContent
  > [data-ssr-product-recommend-bottom] {
  display: none !important;
}

.bwe-market-empty-state {
  max-width: 720px;
  padding: 15px 18px;
  color: rgb(var(--bwe-paper));
  font: 700 14px/1.5 var(--bwe-terminal-font);
  letter-spacing: 0.06em;
  background: rgb(var(--bwe-ink));
  border-inline-start: 5px solid rgb(var(--bwe-signal));
}

.bwe-market-empty-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-block-start: 10px;
}

.bwe-market-empty-state__actions a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.bwe-market-empty-state__actions a:hover,
.bwe-market-empty-state__actions a:focus-visible {
  color: rgb(var(--bwe-signal));
}

.bwe-archive-ui [data-bwe-product-market][hidden],
.bwe-archive-ui [data-bwe-market-filtered-item][hidden],
.bwe-archive-ui [data-bwe-collection-market-empty][hidden],
.bwe-archive-ui [data-bwe-market-empty][hidden] {
  display: none !important;
}

/* Readability mode preserves the terminal hierarchy while lifting commerce copy
   above the small decorative telemetry used by the archive treatment. */
.bwe-archive-ui[data-archive-readability="true"] {
  font-size: 16px;
  line-height: 1.55;
}

.bwe-archive-ui[data-archive-readability="true"] .bwe-market-directory a > span,
.bwe-archive-ui[data-archive-readability="true"] .bwe-product-market-badge,
.bwe-archive-ui[data-archive-readability="true"] .bwe-cart-item-market,
.bwe-archive-ui[data-archive-readability="true"] .bwe-product-channel-strip,
.bwe-archive-ui[data-archive-readability="true"] .bwe-header-instrument {
  font-size: 14px;
}

.bwe-archive-ui[data-archive-readability="true"] .bwe-market-directory a > strong,
.bwe-archive-ui[data-archive-readability="true"] .bwe-search-market-switch button,
.bwe-archive-ui[data-archive-readability="true"] .bwe-market-empty-state {
  font-size: 14px;
}

.bwe-archive-ui[data-archive-readability="true"] .body4 {
  font-size: 14px;
  line-height: 1.5;
}

.bwe-archive-ui[data-archive-readability="true"] .body5,
.bwe-archive-ui[data-archive-readability="true"] .body6 {
  font-size: 14px;
  line-height: 1.5;
}

.bwe-archive-ui[data-archive-readability="true"] input,
.bwe-archive-ui[data-archive-readability="true"] select,
.bwe-archive-ui[data-archive-readability="true"] textarea {
  font-size: 16px;
}

.bwe-archive-ui[data-archive-readability="true"] :is(
  .main-search__eyebrow,
  .main-search__readout,
  .bwe-catalog-terminal__heading p,
  .bwe-catalog-terminal__readout,
  .bwe-catalog-terminal__channels span,
  .bwe-cart-manifest__heading p,
  .bwe-cart-manifest__readout,
  .bwe-product-record__header span,
  .bwe-predictive-terminal__market,
  .bwe-predictive-terminal__eyebrow,
  .predictive-search__count,
  .bwe-facets .facets-filtering__content-header,
  .bwe-facets .facets-sorting__content-header
) {
  font-size: 14px;
  line-height: 1.45;
}

.bwe-archive-ui[data-archive-readability="true"] :is(
  .product-detail__breadcrumb,
  .main-search__breadcrumb,
  .bwe-auth-terminal .customer__extra a
) {
  font-size: 14px;
  line-height: 1.5;
}

.bwe-archive-ui[data-archive-readability="true"] .bwe-cart-drawer .cart-drawer__payment::after,
.bwe-archive-ui[data-archive-readability="true"] .bwe-cart-notification__signal {
  font-size: 14px;
  line-height: 1.45;
}

.bwe-archive-ui[data-archive-readability="true"] :is(
  [class*="bwe-"][class*="__status"],
  [class*="bwe-"][class*="__readout"],
  [class*="bwe-"][class*="__eyebrow"],
  [class*="bwe-"][class*="__meta"],
  [class*="bwe-"][class*="__route"],
  [class*="bwe-"][class*="__header"] p,
  [class*="bwe-"][class*="__header"] div > span,
  .section-main-collections-all__readout,
  .bwe-subscription-terminal__brief > span,
  .bwe-subscription-terminal__brief > small
) {
  font-size: 14px;
  line-height: 1.45;
}

.bwe-archive-ui[data-archive-readability="true"] :is(
  button,
  summary,
  input,
  select,
  textarea
):is(:disabled, [aria-disabled="true"]) {
  opacity: 0.65;
}

.bwe-archive-ui[data-archive-fx="reduced"]::before,
.bwe-archive-ui[data-archive-fx="reduced"]::after {
  opacity: 0 !important;
}

.bwe-archive-ui[data-archive-fx="reduced"] .bwe-signal-overlay {
  display: none;
}

.bwe-archive-ui[data-archive-fx="reduced"] .bwe-signal-overlay__status::before {
  animation: none;
}

.bwe-mobile-fx-toggle {
  appearance: none;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

button.bigwhite-mobile-tabbar__item {
  appearance: none;
  color: inherit;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.bwe-mobile-fx-toggle b {
  color: rgb(var(--bwe-signal));
  font: inherit;
}

.bwe-mobile-fx-toggle[aria-pressed="true"] {
  color: rgb(var(--bwe-paper));
  background: rgb(var(--bwe-ink));
  box-shadow: inset 0 3px 0 rgb(var(--bwe-signal));
}

.bwe-mobile-fx-toggle[aria-pressed="true"] b {
  color: rgb(var(--bwe-paper));
}

.bwe-archive-ui[data-archive-market="new"] [data-bwe-product-market="used"],
.bwe-archive-ui[data-archive-market="used"] [data-bwe-product-market="new"],
.bwe-archive-ui[data-archive-market="new"] [data-bwe-product-market="unknown"],
.bwe-archive-ui[data-archive-market="used"] [data-bwe-product-market="unknown"],
html[data-archive-market="new"] .bwe-archive-ui [data-bwe-product-market="used"],
html[data-archive-market="used"] .bwe-archive-ui [data-bwe-product-market="new"],
html[data-archive-market="new"] .bwe-archive-ui [data-bwe-product-market="unknown"],
html[data-archive-market="used"] .bwe-archive-ui [data-bwe-product-market="unknown"] {
  display: none !important;
}

/* Homepage frames are explicit channel showcases. A previously selected
 * market must not erase the other frame's products when the visitor returns
 * home; every card link is locked to its own product tag in bwe-archive.js. */
body[data-page-type="index"] .bwe-home__product-grid theme-product-card[data-bwe-product-market] {
  display: flex !important;
  flex-direction: column;
}

.bwe-mobile-index {
  display: none;
}

@keyframes bwe-signal-pulse {
  0%, 56%, 100% { opacity: 1; }
  57%, 76% { opacity: 0.2; }
}

@media (max-width: 959px) {
  .bwe-archive-ui .header-section .header-search-bar {
    position: absolute !important;
    inset: 0 auto auto 0 !important;
    z-index: -1;
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    visibility: hidden;
    pointer-events: none !important;
    opacity: 0 !important;
    transform: none !important;
  }

  .bwe-archive-ui .header-section .header-search-bar.open {
    z-index: 20;
    height: auto;
    visibility: visible;
    pointer-events: auto !important;
    opacity: 1 !important;
  }

  .bwe-archive-ui .header-section .header-search-bar.open .header-search-bar__backdrop {
    display: block !important;
  }

  .bwe-archive-ui .header-section .header-search-bar.open .header-search-bar__form {
    box-sizing: border-box;
    width: 100%;
    min-height: auto;
    padding: 10px 12px !important;
    margin: 0;
    background: rgb(var(--bwe-paper));
    border: 0;
    border-block-end: 1px solid rgb(var(--bwe-line));
    border-radius: 0;
  }

  .bwe-archive-ui .header-section .header-search-bar.open .header-search-bar__form button[name="close"] {
    display: inline-flex !important;
  }

  .bwe-archive-ui .header-section .header-search-bar.open .header-search-bar__results.shown {
    display: flex !important;
  }

  .bwe-signal-overlay {
    padding-block-end: 72px;
  }

  .bwe-signal-overlay__label {
    display: none;
  }

  .bwe-signal-overlay__channel {
    display: none;
  }

  .bwe-market-directory {
    grid-template-columns: 1fr 1fr;
    width: 100%;
    border-inline: 0;
  }

  .bwe-market-directory__index,
  .bwe-market-directory__status,
  .bwe-market-directory a > small {
    display: none;
  }

  .bwe-market-directory a {
    justify-content: center;
    min-height: 44px;
    padding: 8px 10px;
  }

  .bwe-market-directory a:last-of-type {
    border-inline-end: 0;
  }

  .bwe-market-switch--dialog {
    flex: 0 0 100%;
    width: 100%;
    margin: 0 0 4px;
  }

  .bwe-market-switch--dialog .bwe-market-switch__option {
    flex: 1 1 50%;
    min-width: 0;
    padding-inline: 9px;
  }

  .bwe-archive-ui .header-search-bar__form {
    flex-wrap: wrap;
  }

  .bwe-archive-ui .header-search-bar__form .field__input {
    min-width: 0;
  }

  .bwe-dialog-search__submit {
    min-width: 46px;
    padding-inline: 8px;
  }

  .bwe-product-market-badge {
    inset-block-start: 7px;
    inset-inline-start: 7px;
    padding: 5px 7px;
  }

  .bwe-product-channel-strip {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
    margin-block-end: 10px;
  }

  .bwe-header-instrument {
    min-height: 36px;
    padding: 6px 12px;
  }

  .bwe-header-instrument__telemetry {
    display: none;
  }

  .bwe-header-index,
  .bwe-archive-ui .header__container-bottom {
    display: none;
  }

  .bwe-archive-ui .header__logo-wrapper {
    padding: 4px 7px;
    box-shadow: 3px 3px 0 rgb(var(--bwe-line), 0.08);
  }

  .bwe-archive-ui .footer__inner {
    padding-block: 20px;
  }

  .bwe-archive-ui .footer__inner > * {
    padding: 12px 14px;
  }

  .bwe-archive-ui .footer__inner > .footer__information-group:first-child {
    order: 2;
  }

  .bwe-archive-ui .footer__inner > .footer__contact-group {
    order: 3;
  }

  .bwe-archive-ui .footer__inner > .footer__information-group:last-child {
    order: 5;
  }

  .bwe-archive-ui .footer__payment-icons {
    order: 1;
  }

  .bwe-archive-ui .footer__localization-form {
    order: 4;
  }

  .bwe-archive-ui .footer__payment-icons-content {
    min-height: 0;
    padding-block-end: 0 !important;
  }

  .bwe-footer-instrument,
  .bwe-footer-checksum {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}

@media (min-width: 821px) and (max-width: 959px) {
  .bwe-header-instrument__telemetry {
    display: flex;
  }

  .bwe-header-instrument__telemetry > span {
    display: none;
  }
}

@media (max-width: 820px) {
  .bwe-archive-ui.bwe-mobile-index-open {
    overflow: hidden;
  }

  .bwe-archive-ui.bwe-mobile-index-open .bwe-omnichat-launch {
    visibility: hidden;
    pointer-events: none;
  }

  .bwe-archive-ui {
    padding-block-end: calc(88px + env(safe-area-inset-bottom, 0px));
  }

  .bwe-archive-ui .bigwhite-mobile-tabbar {
    height: calc(88px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: repeat(5, minmax(0, 1fr));
    color: rgb(var(--bwe-ink));
    background:
      linear-gradient(rgb(var(--bwe-ink), 0.025) 1px, transparent 1px),
      rgb(var(--bwe-paper));
    background-size: 100% 4px;
    border-block-start: 2px solid rgb(var(--bwe-ink));
  }

  .bwe-archive-ui .bigwhite-mobile-tabbar--with-fx {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .bwe-archive-ui .bigwhite-mobile-tabbar__item {
    min-width: 0;
    min-height: 48px;
    padding: 7px 3px;
    font-family: var(--bwe-terminal-font);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.025em;
  }

  .bwe-archive-ui .bigwhite-mobile-tabbar__item + .bigwhite-mobile-tabbar__item {
    border-inline-start: 1px solid rgb(var(--bwe-line), 0.22);
  }

  .bwe-archive-ui .bigwhite-mobile-tabbar .cart-bubble__count {
    inset-block-start: 0;
    inset-block-end: auto;
    inset-inline-start: auto;
    inset-inline-end: 10px;
    min-width: 16px;
    max-width: 34px;
    padding-inline: 4px;
    font-size: 11px;
    line-height: 16px;
  }

  .bwe-archive-ui .bigwhite-mobile-tabbar__item svg {
    width: 23px;
    height: 23px;
  }

  .bwe-mobile-account-label-narrow {
    display: none;
  }

  .bwe-mobile-index:not([hidden]) {
    position: fixed;
    z-index: 100000;
    inset: 0 0 calc(88px + env(safe-area-inset-bottom, 0px));
    display: grid;
    align-items: end;
  }

  body[data-page-type="product"] .is-sticky > .product-detail__buy-buttons,
  body[data-page-type="product"] .is-sticky > .block-product-buy-button-group {
    inset-block-end: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 78 !important;
    padding: 10px 12px !important;
  }

  body[data-page-type="product"] .is-sticky > .product-detail__buy-buttons .form__buttons,
  body[data-page-type="product"] .is-sticky > .block-product-buy-button-group {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body[data-page-type="product"] .is-sticky > .product-detail__buy-buttons .form__buttons > *,
  body[data-page-type="product"] .is-sticky > .block-product-buy-button-group > * {
    min-width: 0;
    margin: 0;
  }

  body[data-page-type="product"] .is-sticky > .block-product-buy-button-group > .productSecurityPay {
    display: none !important;
  }

  body[data-page-type="cart"] .cart-fixed-checkout,
  .cart-drawer .cart-fixed-checkout {
    inset-block-end: calc(88px + env(safe-area-inset-bottom, 0px)) !important;
    z-index: 78 !important;
  }

  .bwe-archive-ui.bwe-mobile-index-open .is-sticky > .product-detail__buy-buttons,
  .bwe-archive-ui.bwe-mobile-index-open .is-sticky > .block-product-buy-button-group,
  .bwe-archive-ui.bwe-mobile-index-open .cart-fixed-checkout {
    visibility: hidden;
    pointer-events: none;
  }

  .bwe-mobile-index__backdrop {
    position: absolute;
    z-index: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    background: rgb(var(--bwe-ink), 0.74);
    border: 0;
  }

  .bwe-mobile-index__panel {
    position: relative;
    z-index: 1;
    max-height: calc(100dvh - 112px);
    padding: 16px;
    overflow-y: auto;
    color: rgb(var(--bwe-paper));
    background:
      linear-gradient(rgb(var(--bwe-paper), 0.035) 1px, transparent 1px),
      rgb(var(--bwe-ink));
    background-size: 100% 4px;
    border-block: 2px solid rgb(var(--bwe-signal));
    box-shadow: 0 -12px 40px rgb(0 0 0 / 42%);
  }

  .bwe-mobile-index__header {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    margin-block-end: 14px;
    padding-block-end: 12px;
    border-block-end: 1px solid rgb(var(--bwe-paper), 0.24);
  }

  .bwe-mobile-index__header div {
    display: grid;
    gap: 4px;
  }

  .bwe-mobile-index__header span,
  .bwe-mobile-index__panel > p {
    margin: 0;
    color: rgb(var(--bwe-paper), 0.68);
    font: 700 14px/1.4 var(--bwe-terminal-font);
    letter-spacing: 0.08em;
  }

  .bwe-mobile-index__header strong {
    font: 800 20px/1.15 var(--bwe-heading-font);
    letter-spacing: 0.08em;
  }

  .bwe-mobile-index__header button {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    color: rgb(var(--bwe-paper));
    font: 400 28px/1 var(--bwe-heading-font);
    background: transparent;
    border: 1px solid rgb(var(--bwe-paper), 0.45);
  }

  .bwe-mobile-index__routes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-block-end: 13px;
  }

  .bwe-mobile-index__routes a {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 3px 10px;
    min-height: 70px;
    padding: 11px;
    color: rgb(var(--bwe-paper));
    text-decoration: none;
    border: 1px solid rgb(var(--bwe-paper), 0.28);
  }

  .bwe-mobile-index__routes a > span {
    grid-row: 1 / 3;
    color: rgb(var(--bwe-signal));
    font: 700 14px/1.2 var(--bwe-terminal-font);
  }

  .bwe-mobile-index__routes a > strong {
    font: 800 15px/1.2 var(--bwe-heading-font);
    letter-spacing: 0.06em;
  }

  .bwe-mobile-index__routes a > small {
    color: rgb(var(--bwe-paper), 0.68);
    font: 400 14px/1.35 var(--bwe-terminal-font);
  }

  .bwe-mobile-index__routes a:focus-visible,
  .bwe-mobile-index__routes a[aria-pressed="true"] {
    color: rgb(var(--bwe-ink));
    background: rgb(var(--bwe-paper));
    box-shadow: inset 0 -4px 0 rgb(var(--bwe-signal));
  }

  .bwe-mobile-index__routes a:focus-visible > small,
  .bwe-mobile-index__routes a[aria-pressed="true"] > small {
    color: rgb(var(--bwe-ink), 0.68);
  }

  .bwe-signal-overlay {
    padding-block-end: 94px;
    font-size: 14px;
  }

  .bwe-archive-ui[data-archive-readability="true"] .body4 {
    font-size: 15px;
    line-height: 1.55;
  }

  .bwe-archive-ui[data-archive-readability="true"] .body5,
  .bwe-archive-ui[data-archive-readability="true"] .body6 {
    font-size: 14px;
    line-height: 1.5;
  }

  .bwe-archive-ui[data-archive-readability="true"] input,
  .bwe-archive-ui[data-archive-readability="true"] select,
  .bwe-archive-ui[data-archive-readability="true"] textarea {
    font-size: 16px;
  }

  .bwe-archive-ui[data-archive-readability="true"] .bwe-market-directory a > span {
    font-size: 14px;
  }

  .bwe-archive-ui[data-archive-readability="true"] .bwe-market-directory a > strong,
  .bwe-archive-ui[data-archive-readability="true"] .bwe-search-market-switch button,
  .bwe-archive-ui[data-archive-readability="true"] .bwe-market-empty-state {
    font-size: 14px;
  }
}

/* Product pages already expose the active market in the commerce channel bar.
 * Remove the duplicate full-width strip and return the native commerce form
 * to the first desktop viewport without changing any SHOPLINE form blocks. */
@media (min-width: 960px) {
  body[data-page-type="product"] .bwe-product-record-wrapper .product-detail {
    padding-block: 24px 44px;
  }

  body[data-page-type="product"] .bwe-product-record-wrapper .bwe-product-channel-strip {
    display: none;
  }
}

/* Keep third-party launchers from masking commerce controls. */
@media (min-width: 960px) {
  .bwe-omnichat-launch {
    right: 8px;
    bottom: 10px;
    width: 48px;
    min-width: 48px;
    min-height: 48px;
    grid-template-columns: 1fr;
    gap: 0;
    place-items: center;
    overflow: hidden;
    padding: 8px;
    border-inline-start-width: 1px;
    border-block-end: 4px solid rgb(var(--bwe-signal, 237, 48, 51));
    box-shadow: 3px 3px 0 rgb(0 0 0 / 25%);
    transition: width 160ms steps(4, end), min-width 160ms steps(4, end);
  }

  .bwe-omnichat-launch__copy,
  .bwe-omnichat-launch__action {
    display: none;
  }

  .bwe-omnichat-launch:hover,
  .bwe-omnichat-launch:focus-visible {
    width: 224px;
    min-width: 224px;
    grid-template-columns: 16px 1fr auto;
    gap: 9px;
    place-items: initial;
    border-inline-start: 5px solid rgb(var(--bwe-signal, 237, 48, 51));
  }

  .bwe-omnichat-launch:hover .bwe-omnichat-launch__copy,
  .bwe-omnichat-launch:focus-visible .bwe-omnichat-launch__copy {
    display: grid;
  }

  .bwe-omnichat-launch:hover .bwe-omnichat-launch__action,
  .bwe-omnichat-launch:focus-visible .bwe-omnichat-launch__action {
    display: block;
  }

  #member-system-plugin > button[aria-label="Rewards"] {
    right: 8px !important;
    bottom: 66px !important;
    width: 48px !important;
    min-width: 48px !important;
    height: 48px !important;
    overflow: hidden !important;
    padding: 10px !important;
    gap: 0 !important;
    box-shadow: inset 0 -4px 0 rgb(var(--bwe-signal, 237, 48, 51)), 3px 3px 0 rgb(0 0 0 / 25%) !important;
  }

  #member-system-plugin > button[aria-label="Rewards"]::after {
    display: none;
  }

  #member-system-plugin > button[aria-label="Rewards"]:hover,
  #member-system-plugin > button[aria-label="Rewards"]:focus-visible {
    width: 156px !important;
    gap: 8px !important;
  }

  #member-system-plugin > button[aria-label="Rewards"]:hover::after,
  #member-system-plugin > button[aria-label="Rewards"]:focus-visible::after {
    display: inline;
  }
}

@media (max-width: 959px) {
  .bwe-archive-ui .header-section .header-action-bar.right > .header-action-bar__search {
    display: inline-flex !important;
    order: 1;
  }
}

@media (max-width: 350px) {
  body.bwe-archive-ui:not([data-page-type="index"]) .header__container[mobile-layout="left_logo"] .header__container-top-wrap {
    grid-template-columns: 0 48px minmax(0, 1fr);
    column-gap: 4px;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__logo {
    width: 48px;
    min-width: 48px;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__logo-link,
  body.bwe-archive-ui:not([data-page-type="index"]) .header__logo-image {
    width: 42px !important;
    height: 42px !important;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__logo-wrapper {
    padding: 2px;
  }

  .bwe-archive-ui .header-action-bar.right {
    gap: 3px;
    width: 100%;
  }

  .bwe-archive-ui .header-action-bar.right > [class*="_wishlist_header"] {
    display: none !important;
  }

  .bwe-archive-ui .header-action-bar.right .bigwhite-cart-entry {
    width: 44px;
    min-width: 44px;
  }

  .bwe-archive-ui .bwe-mobile-market {
    width: 62px;
    min-width: 62px;
    padding-inline: 4px;
    font-size: 13px;
  }

  .bwe-mobile-account-label-wide {
    display: none;
  }

  .bwe-mobile-account-label-narrow {
    display: inline;
  }
}

/* 2026-09-04:402 级窄视口下标签栏第六格 IMM. OFF 缩字号防溢出(覆盖 350-430 区间) */
@media (max-width: 430px) {
  .bwe-mobile-fx-toggle span {
    font-size: 12px;
    letter-spacing: 0;
  }
}

@media (max-width: 959px) {
  body.bwe-archive-ui[data-page-type="product"] #addToCartPluginMobile {
    display: none !important;
  }

  body:has(.is-sticky > .product-detail__buy-buttons) .bwe-omnichat-launch,
  body:has(.is-sticky > .block-product-buy-button-group) .bwe-omnichat-launch,
  body:has(.cart-fixed-checkout--visible) .bwe-omnichat-launch,
  body:has(.is-sticky > .product-detail__buy-buttons) #member-system-plugin > button[aria-label="Rewards"],
  body:has(.is-sticky > .block-product-buy-button-group) #member-system-plugin > button[aria-label="Rewards"],
  body:has(.cart-fixed-checkout--visible) #member-system-plugin > button[aria-label="Rewards"] {
    visibility: hidden !important;
    pointer-events: none !important;
  }
}

.bwe-archive-ui[data-archive-fx="reduced"] *,
.bwe-archive-ui[data-archive-fx="reduced"] *::before,
.bwe-archive-ui[data-archive-fx="reduced"] *::after {
  scroll-behavior: auto !important;
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
}

@media (prefers-reduced-motion: reduce) {
  .bwe-archive-ui *,
  .bwe-archive-ui *::before,
  .bwe-archive-ui *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Non-home equipment shell.
 * Keep SHOPLINE's native page sections and controls intact while carrying the
 * archive-terminal chassis from the header, through content, into the footer.
 * The index page owns its own projection-chamber layout and is intentionally
 * excluded from this frame.
 */
body.bwe-archive-ui:not([data-page-type="index"]) {
  --bwe-shell-gutter: clamp(12px, 2.2vw, 34px);
  --bwe-shell-width: 1600px;
  background-color: #090a09;
  background-image:
    radial-gradient(circle at 12px 12px, rgb(var(--bwe-paper), 0.07) 0 1px, transparent 1.5px),
    linear-gradient(90deg, rgb(var(--bwe-paper), 0.025) 1px, transparent 1px),
    linear-gradient(rgb(var(--bwe-paper), 0.025) 1px, transparent 1px);
  background-size: 24px 24px, 48px 48px, 48px 48px;
}

body.bwe-archive-ui:not([data-page-type="index"]) .header-section,
body.bwe-archive-ui:not([data-page-type="index"]) .bwe-market-directory,
body.bwe-archive-ui:not([data-page-type="index"]) #MainContent,
body.bwe-archive-ui:not([data-page-type="index"]) .footer {
  box-sizing: border-box;
  width: min(var(--bwe-shell-width), calc(100% - var(--bwe-shell-gutter) - var(--bwe-shell-gutter)));
  margin-inline: auto;
}

body.bwe-archive-ui:not([data-page-type="index"]) .header-section {
  border-inline: 1px solid rgb(var(--bwe-paper), 0.3);
  box-shadow:
    0 0 0 7px #090a09,
    0 0 0 8px rgb(var(--bwe-paper), 0.18),
    0 16px 34px rgb(0 0 0 / 34%);
}

body.bwe-archive-ui:not([data-page-type="index"]) .header-section .header-nav__underline {
  color: rgb(var(--bwe-paper));
}

body.bwe-archive-ui:not([data-page-type="index"]) .header-section .header-nav__underline:hover,
body.bwe-archive-ui:not([data-page-type="index"]) .header-section .header-nav__underline:focus-visible {
  color: #fff;
  text-decoration-color: rgb(var(--bwe-signal));
}

body.bwe-archive-ui:not([data-page-type="index"]) .bwe-market-directory {
  border-inline-color: rgb(var(--bwe-paper), 0.3);
  box-shadow:
    0 7px 0 #090a09,
    0 8px 0 rgb(var(--bwe-paper), 0.18);
}

body.bwe-archive-ui:not([data-page-type="index"]) #MainContent {
  min-height: 58vh;
  margin-block: 28px 34px;
  color: rgb(var(--bwe-ink));
  background-color: rgb(var(--bwe-paper));
  background-image:
    linear-gradient(90deg, rgb(var(--bwe-ink), 0.025) 1px, transparent 1px),
    linear-gradient(rgb(var(--bwe-ink), 0.025) 1px, transparent 1px);
  background-size: 32px 32px;
  border-block: 14px solid rgb(var(--bwe-ink));
  border-inline: 1px solid rgb(var(--bwe-paper), 0.36);
  box-shadow:
    0 0 0 7px #090a09,
    0 0 0 8px rgb(var(--bwe-paper), 0.24),
    0 30px 62px rgb(0 0 0 / 46%);
}

body.bwe-archive-ui:not([data-page-type="index"]) #MainContent::before,
body.bwe-archive-ui:not([data-page-type="index"]) #MainContent::after {
  position: absolute;
  z-index: 4;
  inset-inline: 14px;
  height: 6px;
  pointer-events: none;
  content: "";
  background:
    radial-gradient(circle, rgb(var(--bwe-paper), 0.58) 0 2px, transparent 2.5px) left center / 12px 6px no-repeat,
    radial-gradient(circle, rgb(var(--bwe-paper), 0.58) 0 2px, transparent 2.5px) right center / 12px 6px no-repeat,
    repeating-linear-gradient(90deg, transparent 0 11px, rgb(var(--bwe-paper), 0.17) 11px 13px);
}

body.bwe-archive-ui:not([data-page-type="index"]) #MainContent::before {
  inset-block-start: -10px;
}

body.bwe-archive-ui:not([data-page-type="index"]) #MainContent::after {
  inset-block-end: -10px;
}

body.bwe-archive-ui:not([data-page-type="index"]) #MainContent > [id^="shopline-section-"] + [id^="shopline-section-"] {
  border-block-start: 1px dashed rgb(var(--bwe-line), 0.3);
}

body.bwe-archive-ui:not([data-page-type="index"]) .footer {
  padding-block-end: 64px;
  border-inline: 1px solid rgb(var(--bwe-paper), 0.3);
  box-shadow:
    0 0 0 7px #090a09,
    0 0 0 8px rgb(var(--bwe-paper), 0.18),
    0 -18px 38px rgb(0 0 0 / 28%);
}

@media (max-width: 820px) {
  body.bwe-archive-ui:not([data-page-type="index"]) {
    --bwe-shell-gutter: 0px;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header-section,
  body.bwe-archive-ui:not([data-page-type="index"]) .bwe-market-directory,
  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent,
  body.bwe-archive-ui:not([data-page-type="index"]) .footer {
    width: 100%;
    border-inline: 0;
    box-shadow: none;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent {
    min-height: 52vh;
    margin-block: 8px 12px;
    border-block-width: 9px;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent::before,
  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent::after {
    inset-inline: 8px;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent::before {
    inset-block-start: -7px;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent::after {
    inset-block-end: -7px;
  }
}

.bwe-omnichat-launch {
  position: fixed;
  z-index: calc(var(--z-index-modal, 1030) - 1);
  right: 20px;
  bottom: 20px;
  min-width: 248px;
  min-height: 60px;
  padding: 8px 12px;
  display: grid;
  grid-template-columns: 16px 1fr auto;
  align-items: center;
  gap: 10px;
  color: rgb(var(--bwe-paper, 238, 238, 232));
  background: rgb(var(--bwe-ink, 17, 17, 17));
  border: 1px solid rgb(var(--bwe-line, 111, 111, 106));
  border-left: 6px solid rgb(var(--bwe-signal, 237, 48, 51));
  border-radius: 0;
  box-shadow: 6px 6px 0 rgb(0 0 0 / 28%);
  font-family: var(--bwe-terminal-font, "Courier New", monospace);
  text-align: left;
  cursor: pointer;
}

[data-bwe-omnichat-launch][hidden] {
  display: none !important;
}

.bwe-omnichat-launch__signal {
  width: 9px;
  height: 9px;
  background: #80d29d;
  box-shadow: 0 0 0 4px rgb(128 210 157 / 12%);
}

.bwe-omnichat-launch__copy {
  display: grid;
  gap: 3px;
}

.bwe-omnichat-launch__copy strong {
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.08em;
}

.bwe-omnichat-launch__copy small {
  color: rgb(var(--bwe-paper, 238, 238, 232) / 62%);
  font-size: 14px;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.bwe-omnichat-launch__action {
  padding-left: 10px;
  color: rgb(var(--bwe-signal, 237, 48, 51));
  border-left: 1px solid rgb(var(--bwe-line, 111, 111, 106));
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.bwe-omnichat-launch:hover,
.bwe-omnichat-launch:focus-visible {
  color: rgb(var(--bwe-ink, 17, 17, 17));
  background: rgb(var(--bwe-paper, 238, 238, 232));
  outline: 2px solid rgb(var(--bwe-signal, 237, 48, 51));
  outline-offset: 3px;
}

.bwe-omnichat-launch:hover .bwe-omnichat-launch__copy small,
.bwe-omnichat-launch:focus-visible .bwe-omnichat-launch__copy small {
  color: rgb(var(--bwe-ink, 17, 17, 17) / 62%);
}

.bwe-omnichat-launch:active {
  transform: translate(2px, 2px);
  box-shadow: 3px 3px 0 rgb(0 0 0 / 28%);
}

.bwe-cart-drawer-open .bwe-omnichat-launch,
.bwe-archive-ui.bwe-home-directory-open .bwe-omnichat-launch {
  visibility: hidden;
  pointer-events: none;
}

/* SHOPLINE Customer System launcher / archive terminal treatment */
#member-system-plugin > button[aria-label="Rewards"] {
  z-index: calc(var(--z-index-modal, 1030) - 1) !important;
  right: 20px !important;
  bottom: 92px !important;
  left: auto !important;
  width: auto !important;
  min-width: 148px !important;
  height: 48px !important;
  min-height: 44px !important;
  padding: 8px 14px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 9px !important;
  color: rgb(var(--bwe-paper, 238, 238, 232)) !important;
  background: rgb(var(--bwe-ink, 17, 17, 17)) !important;
  border: 1px solid rgb(var(--bwe-line, 111, 111, 106)) !important;
  border-radius: 0 !important;
  box-shadow: inset 0 -4px 0 rgb(var(--bwe-signal, 237, 48, 51)), 5px 5px 0 rgb(0 0 0 / 25%) !important;
  font-family: var(--bwe-terminal-font, "Courier New", monospace) !important;
}

#member-system-plugin > button[aria-label="Rewards"]::after {
  content: "REWARDS";
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.08em;
}

#member-system-plugin > button[aria-label="Rewards"] svg {
  width: 22px !important;
  height: 22px !important;
  margin: 0 !important;
  color: rgb(var(--bwe-paper, 238, 238, 232)) !important;
}

/*
 * The Customer System launcher keeps its visible "Rewards" text node even
 * when the archive skin collapses the control to an icon-only 44px square.
 * Hide only that direct text label at the compact desktop/mobile breakpoints;
 * the accessible name remains supplied by aria-label="Rewards".
 */
@media (max-width: 820px), (min-width: 960px) {
  #member-system-plugin > button[aria-label="Rewards"] > span:last-child {
    display: none !important;
  }

  #member-system-plugin > button[aria-label="Rewards"] > span:first-child {
    display: grid !important;
    place-items: center !important;
  }
}

#member-system-plugin > button[aria-label="Rewards"]:hover,
#member-system-plugin > button[aria-label="Rewards"]:focus-visible {
  color: rgb(var(--bwe-ink, 17, 17, 17)) !important;
  background: rgb(var(--bwe-paper, 238, 238, 232)) !important;
  outline: 2px solid rgb(var(--bwe-signal, 237, 48, 51)) !important;
  outline-offset: 3px !important;
}

#member-system-plugin > button[aria-label="Rewards"]:hover svg,
#member-system-plugin > button[aria-label="Rewards"]:focus-visible svg {
  color: rgb(var(--bwe-ink, 17, 17, 17)) !important;
}

.bwe-cart-drawer-open #member-system-plugin > button[aria-label="Rewards"],
.bwe-archive-ui.bwe-home-directory-open #member-system-plugin > button[aria-label="Rewards"],
.bwe-archive-ui.bwe-mobile-index-open #member-system-plugin > button[aria-label="Rewards"] {
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 820px) {
  .bwe-omnichat-launch {
    display: none;
  }

  body[data-page-type="index"] .bwe-omnichat-launch {
    right: 10px;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 1fr;
    width: 64px;
    min-width: 64px;
    min-height: 44px;
    padding: 6px;
    place-items: center;
    border-left-width: 1px;
    border-block-end: 4px solid rgb(var(--bwe-signal, 237, 48, 51));
    box-shadow: 3px 3px 0 rgb(0 0 0 / 25%);
  }

  body[data-page-type="index"] .bwe-omnichat-launch::after {
    content: "CHAT";
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  body[data-page-type="index"] .bwe-omnichat-launch[data-bwe-support-state="loading"]::after {
    content: "LINK";
  }

  body[data-page-type="index"] .bwe-omnichat-launch[data-bwe-support-state="offline"]::after {
    content: "RETRY";
    color: rgb(var(--bwe-signal, 237, 48, 51));
  }

  body[data-page-type="index"] .bwe-omnichat-launch[data-bwe-support-state="fallback"]::after {
    content: "HELP";
    color: rgb(var(--bwe-signal, 237, 48, 51));
  }

  body[data-page-type="index"] .bwe-omnichat-launch__signal,
  body[data-page-type="index"] .bwe-omnichat-launch__copy,
  body[data-page-type="index"] .bwe-omnichat-launch__action {
    display: none;
  }

  #member-system-plugin > button[aria-label="Rewards"] {
    right: 8px !important;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    padding: 10px !important;
    gap: 0 !important;
    box-shadow: inset 0 -4px 0 rgb(var(--bwe-signal, 237, 48, 51)), 3px 3px 0 rgb(0 0 0 / 25%) !important;
  }

  body[data-page-type="index"] #member-system-plugin > button[aria-label="Rewards"] {
    right: 82px !important;
    bottom: calc(78px + env(safe-area-inset-bottom, 0px)) !important;
  }

  #member-system-plugin > button[aria-label="Rewards"]::after {
    content: none;
  }

  #member-system-plugin > button[aria-label="Rewards"] svg {
    width: 22px !important;
    height: 22px !important;
  }
}
.bwe-archive-ui .visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.form__error-message--assistive {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
button.product-list-collect-btn,
button.wishlist-collect-icon-btn,
#HeaderBtnBox a {
  min-width: 44px;
  min-height: 44px;
}

theme-input-password .input-password {
  padding-inline-end: 8px;
}

theme-input-password .input-password__button {
  display: inline-grid;
  place-items: center;
  width: 44px;
  min-width: 44px;
  height: 44px;
  min-height: 44px;
  padding: 10px;
}

theme-input-verify-code .input-verify-code__button {
  min-width: 44px;
  min-height: 44px;
}

/* SHOPLINE injects this app route into several native product-card variants.
 * The destination is rendered outside the unpublished theme, so suppress it
 * before and after the dynamic card enhancer runs. */
.bwe-archive-ui .similar-product-entry[href*="/apps/recommend/similar"],
.bwe-archive-ui .similar-product-entry[data-bwe-native-route-disabled="true"] {
  display: none !important;
}

:is(.main-collection__list, .main-search__results.grid)
  .block-product-image__layer-image-wrapper:has(button.product-list-collect-btn) > a {
  clip-path: polygon(
    0 0,
    calc(100% - 84px) 0,
    calc(100% - 84px) 84px,
    100% 84px,
    100% 100%,
    0 100%
  );
}

:is(.main-collection__list, .main-search__results.grid)
  .block-product-image__layer-image-wrapper:has(button.product-list-collect-btn):has(.similar-product-entry) > a {
  clip-path: polygon(
    0 0,
    calc(100% - 84px) 0,
    calc(100% - 84px) 84px,
    100% 84px,
    100% calc(100% - 84px),
    calc(100% - 84px) calc(100% - 84px),
    calc(100% - 84px) 100%,
    0 100%
  );
}

:is(.main-collection__list, .main-search__results.grid) button.product-list-collect-btn {
  top: 12px !important;
  right: 12px !important;
}

@media (max-width: 959px) {
  :is(.main-collection__list, .main-search__results.grid) .block-product-card .similar-product-entry {
    inset: auto 12px 12px auto !important;
    width: 44px !important;
    height: 44px !important;
  }
}

button.product-list-collect-btn:focus-visible,
button.wishlist-collect-icon-btn:focus-visible,
#HeaderBtnBox a:focus-visible {
  outline: 2px solid #ed2533;
  outline-offset: 3px;
}

/* Keep the first product row visible on shorter screens and separate controls. */
@media (min-width: 960px) {
  body.bwe-archive-ui[data-page-type="collection"] .bigwhite-collection-breadcrumb {
    height: 34px;
    min-height: 34px;
    padding-block: 6px;
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-collection-cover,
  body.bwe-archive-ui[data-page-type="collection"] .bwe-collection-cover .block-main-collection__heading {
    height: 90px;
    min-height: 90px;
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-collection-cover {
    padding-block-end: 0;
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection {
    padding-block-start: 14px;
  }

  body.bwe-archive-ui[data-page-type="collection"] .facets-sorting-wrapper {
    min-height: 56px;
    margin-block-end: 10px;
    padding-block: 6px;
  }

  :is(.main-collection__list, .main-search__results.grid) .block-product-card {
    display: flex !important;
    flex-direction: column !important;
  }

  :is(.main-collection__list, .main-search__results.grid) .block-product-image__layer-image-wrapper {
    order: 1;
  }

  :is(.main-collection__list, .main-search__results.grid) .bwe-product-archive-meta {
    position: static;
    order: 2;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    width: 100%;
    max-width: none;
    min-height: 34px;
    padding: 7px 9px;
    color: rgb(var(--bwe-ink));
    background: rgb(var(--bwe-paper));
    border: 0;
    border-block-end: 1px solid rgb(var(--bwe-line));
    font-size: 12px;
    text-align: start;
  }

  :is(.main-collection__list, .main-search__results.grid) .bwe-product-archive-meta > span {
    color: rgb(var(--bwe-ink), 0.62);
  }

  :is(.main-collection__list, .main-search__results.grid) .block-product-card-info {
    order: 3;
  }

  :is(.main-collection__list, .main-search__results.grid) .bwe-product-card-record-link {
    order: 4;
  }

  :is(.main-collection__list, .main-search__results.grid) .block-product-card.has-similar-entry .block-product-card__quick-view {
    display: none !important;
  }

  :is(.main-collection__list, .main-search__results.grid) .block-product-card .similar-product-entry {
    inset: auto 12px 12px auto !important;
    width: 44px !important;
    height: 44px !important;
    color: rgb(var(--bwe-paper)) !important;
    background: rgb(var(--bwe-ink)) !important;
    border: 1px solid rgb(var(--bwe-paper), 0.45) !important;
    border-radius: 0 !important;
    box-shadow: inset 0 -3px 0 rgb(var(--bwe-signal)) !important;
  }

  .bwe-omnichat-launch {
    bottom: 40px;
  }

  #member-system-plugin > button[aria-label="Rewards"] {
    bottom: 96px !important;
  }
}

/*
 * Parity pass 0.3.8
 * Keep record metadata legible at four-column widths and collapse the two
 * third-party launchers into a compact, non-obstructive utility pair.
 */
@media (min-width: 960px) {
  :is(.main-collection__list, .main-search__results.grid) .bwe-product-archive-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    min-height: 36px;
    padding: 7px 9px;
    line-height: 1;
  }

  :is(.main-collection__list, .main-search__results.grid) .bwe-product-archive-meta > span {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  :is(.main-collection__list, .main-search__results.grid) .bwe-product-archive-meta > b {
    flex: none;
    font-size: 12px;
    line-height: 1;
    white-space: nowrap;
  }

  .bwe-omnichat-launch {
    right: 18px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: 9px minmax(0, 1fr);
    width: 118px;
    min-width: 118px;
    min-height: 44px;
    padding: 7px 10px;
    gap: 8px;
    border-left-width: 4px;
    box-shadow: 3px 3px 0 rgb(0 0 0 / 25%);
  }

  .bwe-omnichat-launch__copy {
    display: block;
    min-width: 0;
  }

  .bwe-omnichat-launch__copy strong {
    display: block;
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
  }

  .bwe-omnichat-launch__copy strong::after {
    content: "SUPPORT";
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .bwe-omnichat-launch__copy small,
  .bwe-omnichat-launch__action {
    display: none;
  }

  #member-system-plugin > button[aria-label="Rewards"] {
    right: 144px !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
    gap: 0 !important;
    box-shadow: inset 0 -4px 0 rgb(var(--bwe-signal, 237, 48, 51)), 3px 3px 0 rgb(0 0 0 / 25%) !important;
  }

  #member-system-plugin > button[aria-label="Rewards"]::after {
    content: none;
  }
}

/*
 * The desktop facets column appears at 960px, leaving too little room for a
 * four-column product grid on compact laptops and portrait tablets. Use three
 * readable record columns until the catalogue has enough horizontal space,
 * and keep both fixed utility launchers in one reserved row.
 */
@media (min-width: 960px) and (max-width: 1099px) {
  :is(.main-collection__list, .main-search__results.grid) {
    --desktop-columns: 3 !important;
  }

  body.bwe-archive-ui #member-system-plugin > button[aria-label="Rewards"] {
    right: 144px !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

@media (max-width: 820px) {
  body[data-page-type="index"] .bwe-omnichat-launch {
    right: 8px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    width: 56px;
    min-width: 56px;
  }

  body[data-page-type="index"] #member-system-plugin > button[aria-label="Rewards"] {
    right: 72px !important;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
  }
}

/* The tablet-desktop interval sits above the homepage mobile breakpoint but
 * below the compact desktop launcher breakpoint. Keep both third-party
 * controls in the same reserved utility pair throughout that interval. */
@media (min-width: 821px) and (max-width: 959px) {
  .bwe-omnichat-launch {
    right: 18px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    grid-template-columns: 9px minmax(0, 1fr);
    width: 118px;
    min-width: 118px;
    min-height: 44px;
    padding: 7px 10px;
    gap: 8px;
    border-left-width: 4px;
    box-shadow: 3px 3px 0 rgb(0 0 0 / 25%);
  }

  .bwe-omnichat-launch__copy {
    display: block;
    min-width: 0;
  }

  .bwe-omnichat-launch__copy strong {
    display: block;
    overflow: hidden;
    font-size: 0;
    white-space: nowrap;
  }

  .bwe-omnichat-launch__copy strong::after {
    content: "SUPPORT";
    font-size: 12px;
    line-height: 1;
    letter-spacing: 0.08em;
  }

  .bwe-omnichat-launch__copy small,
  .bwe-omnichat-launch__action {
    display: none;
  }

  #member-system-plugin > button[aria-label="Rewards"] {
    right: 144px !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
    gap: 0 !important;
    box-shadow: inset 0 -4px 0 rgb(var(--bwe-signal, 237, 48, 51)), 3px 3px 0 rgb(0 0 0 / 25%) !important;
  }

  #member-system-plugin > button[aria-label="Rewards"] > span:last-child {
    display: none !important;
  }

  #member-system-plugin > button[aria-label="Rewards"]::after {
    content: none;
  }
}

/* The homepage keeps its compact, fixed navigation through portrait-tablet
 * widths. Keep third-party launchers above that bar instead of allowing the
 * desktop utility pair to cover its immersive-mode control. */
@media (min-width: 821px) and (max-width: 1024px) {
  body[data-page-type="index"] .bwe-omnichat-launch {
    right: 8px;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px));
    display: grid;
    grid-template-columns: 1fr;
    width: 56px;
    min-width: 56px;
    min-height: 44px;
    padding: 6px;
    place-items: center;
    border-left-width: 1px;
    border-block-end: 4px solid rgb(var(--bwe-signal, 237, 48, 51));
    box-shadow: 3px 3px 0 rgb(0 0 0 / 25%);
  }

  body[data-page-type="index"] .bwe-omnichat-launch::after {
    content: "CHAT";
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }

  body[data-page-type="index"] .bwe-omnichat-launch[data-bwe-support-state="loading"]::after {
    content: "LINK";
  }

  body[data-page-type="index"] .bwe-omnichat-launch[data-bwe-support-state="offline"]::after {
    content: "RETRY";
    color: rgb(var(--bwe-signal, 237, 48, 51));
  }

  body[data-page-type="index"] .bwe-omnichat-launch[data-bwe-support-state="fallback"]::after {
    content: "HELP";
    color: rgb(var(--bwe-signal, 237, 48, 51));
  }

  body[data-page-type="index"] .bwe-omnichat-launch__signal,
  body[data-page-type="index"] .bwe-omnichat-launch__copy,
  body[data-page-type="index"] .bwe-omnichat-launch__action {
    display: none;
  }

  body[data-page-type="index"] #member-system-plugin > button[aria-label="Rewards"] {
    right: 72px !important;
    bottom: calc(82px + env(safe-area-inset-bottom, 0px)) !important;
    width: 44px !important;
    min-width: 44px !important;
    height: 44px !important;
    min-height: 44px !important;
    padding: 10px !important;
    gap: 0 !important;
  }

  body[data-page-type="index"] #member-system-plugin > button[aria-label="Rewards"] > span:last-child {
    display: none !important;
  }

  body[data-page-type="index"] #member-system-plugin > button[aria-label="Rewards"]::after {
    content: none;
  }
}

@media (max-width: 749px) and (max-height: 640px) {
  body[data-page-type="cart"] .cart-fixed-checkout .cart-taxes {
    display: none;
  }

  body[data-page-type="cart"] .cart-fixed-checkout__main-info {
    padding: 8px 12px;
  }

  body[data-page-type="cart"] .cart-fixed-checkout__buttons {
    margin-block-start: 0;
  }
}

/*
 * Non-home equipment fascia — single source of truth.
 * Page-specific terminals already expose the active channel, so the legacy
 * index and market-directory bands only duplicated navigation and pushed
 * commerce content below the first viewport.
 */
body.bwe-archive-ui:not([data-page-type="index"]) .bwe-header-index,
body.bwe-archive-ui:not([data-page-type="index"]) .bwe-market-directory {
  display: none;
}

/* Keep the late-loading rewards widget beside, rather than over, mobile support. */
@media (max-width: 820px) {
  body.bwe-archive-ui:not([data-page-type="index"]) #member-system-plugin > button[aria-label="Rewards"] {
    right: 72px !important;
    bottom: calc(96px + env(safe-area-inset-bottom, 0px)) !important;
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    min-height: 44px !important;
  }
}

@media (min-width: 960px) {
  body.bwe-archive-ui:not([data-page-type="index"]) .announcement-bar__group-item-inner {
    height: 28px;
    min-height: 28px;
    overflow: hidden;
    font-size: 12px;
    line-height: 1.2;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .announcement-bar__group-item-content {
    padding-inline: 14px;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .announcement-bar__group-item-inner .rte {
    min-width: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .bwe-header-instrument {
    height: 30px;
    min-height: 30px;
    padding-block: 0;
    font-size: 12px;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .bwe-desktop-immersive-toggle {
    min-height: 28px;
    margin-block: 0;
    padding-block: 2px;
    font-size: 12px;
    box-shadow: 2px 2px 0 rgb(var(--bwe-signal));
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-top,
  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-top-wrap {
    height: 62px !important;
    min-height: 62px !important;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-top-wrap {
    padding-block: 3px !important;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__logo-link,
  body.bwe-archive-ui:not([data-page-type="index"]) .header__logo-image {
    width: 50px !important;
    height: 50px !important;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__logo-image {
    --desktop-size: 50px !important;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__logo-wrapper {
    padding: 2px 6px;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-bottom,
  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-bottom .header-nav,
  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-bottom .header-nav__menu,
  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-bottom .header-nav__menu-item,
  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-bottom .header-nav__underline,
  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-bottom .header-nav__ellipsis {
    height: 44px !important;
    min-height: 44px !important;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent {
    margin-block-start: 10px;
  }
}

/* Commerce material pass 01
 * Carry the homepage's physical equipment language into collection, product
 * and cart flows without changing SHOPLINE forms, data or component markup. */
@media (min-width: 960px) {
  body.bwe-archive-ui:not([data-page-type="index"]) {
    background:
      radial-gradient(ellipse at 50% -8%, rgb(255 255 255 / 0.58), transparent 38%),
      radial-gradient(ellipse at 50% 115%, rgb(var(--bwe-ink), 0.18), transparent 58%),
      linear-gradient(90deg, rgb(var(--bwe-ink), 0.022) 1px, transparent 1px),
      linear-gradient(rgb(var(--bwe-ink), 0.022) 1px, transparent 1px),
      rgb(var(--bwe-paper));
    background-size: auto, auto, 24px 24px, 24px 24px, auto;
    background-attachment: fixed;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header-section {
    border: 2px solid rgb(var(--bwe-metal-high));
    border-top-color: rgb(153 157 145);
    border-right-color: rgb(43 46 40);
    border-bottom: 7px solid rgb(var(--bwe-metal-black));
    border-left-color: rgb(116 120 109);
    outline: 1px solid rgb(var(--bwe-metal-black));
    background:
      linear-gradient(180deg, rgb(247 247 229 / 0.13), transparent 14%, rgb(0 0 0 / 0.34)),
      repeating-linear-gradient(90deg, rgb(255 255 245 / 0.02) 0 1px, transparent 1px 5px),
      rgb(40 44 35);
    box-shadow:
      inset 0 1px rgb(255 255 245 / 0.18),
      inset 0 -12px 24px rgb(0 0 0 / 0.34),
      0 5px 0 rgb(9 11 9),
      0 18px 38px rgb(0 0 0 / 0.46);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .bwe-header-instrument {
    color: rgb(214 214 200);
    border-bottom: 1px solid rgb(7 9 7);
    background:
      linear-gradient(180deg, rgb(241 241 222 / 0.11), transparent 42%, rgb(0 0 0 / 0.3)),
      rgb(45 49 40);
    box-shadow: inset 0 1px rgb(255 255 245 / 0.13), inset 0 -2px rgb(0 0 0 / 0.65);
    text-shadow: 0 1px rgb(0 0 0 / 0.9);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-top {
    margin: 5px 6px 0;
    border: 2px solid rgb(25 27 23);
    outline: 1px solid rgb(101 105 94);
    background:
      repeating-linear-gradient(0deg, rgb(39 37 31 / 0.025) 0 1px, transparent 1px 4px),
      linear-gradient(180deg, rgb(245 244 235), rgb(211 210 200));
    box-shadow:
      inset 0 2px rgb(255 255 255 / 0.84),
      inset 0 -3px rgb(80 77 67 / 0.22),
      0 5px 0 rgb(8 10 8),
      0 10px 16px rgb(0 0 0 / 0.28);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-bottom {
    margin: 7px 6px 5px;
    border: 2px solid rgb(88 91 82);
    border-bottom-color: rgb(16 18 15);
    background:
      linear-gradient(180deg, rgb(239 240 219 / 0.13), transparent 30%, rgb(0 0 0 / 0.38)),
      rgb(40 44 35);
    box-shadow:
      inset 0 1px rgb(255 255 240 / 0.14),
      inset 0 -3px rgb(0 0 0 / 0.72),
      0 4px 0 rgb(8 10 8);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header-nav__menu-item > a {
    text-shadow: 0 1px rgb(0 0 0 / 0.9);
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-collection-cover > .block-main-collection__heading {
    border: 2px solid rgb(139 138 130);
    border-top-color: rgb(255 255 250);
    border-right-color: rgb(99 98 91);
    border-bottom-color: rgb(75 74 68);
    border-left: 8px solid rgb(var(--bwe-signal));
    background:
      linear-gradient(110deg, rgb(255 255 255 / 0.5), transparent 22%, transparent 76%, rgb(74 69 57 / 0.08)),
      repeating-linear-gradient(0deg, rgb(52 49 40 / 0.025) 0 1px, transparent 1px 5px),
      rgb(229 227 218);
    box-shadow:
      inset 0 1px rgb(255 255 255 / 0.8),
      0 5px 0 rgb(77 78 72 / 0.42),
      0 13px 24px rgb(0 0 0 / 0.18);
    text-shadow: 0 1px rgb(255 255 255 / 0.7);
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index {
    border: 3px solid rgb(111 113 105);
    border-top-color: rgb(171 173 162);
    border-right-color: rgb(68 70 64);
    border-bottom-color: rgb(42 44 40);
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.3), transparent 22%, rgb(71 67 55 / 0.09)),
      repeating-linear-gradient(0deg, rgb(46 43 35 / 0.024) 0 1px, transparent 1px 5px),
      rgb(219 217 208);
    box-shadow:
      inset 0 1px rgb(255 255 255 / 0.72),
      0 5px 0 rgb(64 66 60 / 0.34),
      0 12px 22px rgb(0 0 0 / 0.17);
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index__header {
    border-bottom: 3px solid rgb(70 72 66);
    box-shadow: inset 0 -1px rgb(255 255 255 / 0.28);
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index__routes {
    gap: 6px;
    padding: 7px;
    background: rgb(21 24 20 / 0.2);
    box-shadow: inset 0 4px 10px rgb(0 0 0 / 0.22);
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index__routes a {
    border: 2px solid rgb(152 152 142) !important;
    border-right-color: rgb(91 92 85) !important;
    border-bottom-color: rgb(70 72 66) !important;
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.5), transparent 35%, rgb(0 0 0 / 0.1)),
      rgb(228 226 217);
    box-shadow:
      inset 1px 1px rgb(255 255 255 / 0.74),
      inset -1px -1px rgb(0 0 0 / 0.09),
      0 4px 0 rgb(81 82 76 / 0.42),
      0 7px 10px rgb(0 0 0 / 0.13);
    text-shadow: 0 1px rgb(255 255 255 / 0.65);
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index__routes a:hover,
  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index__routes a:focus-visible {
    color: rgb(var(--bwe-paper));
    border-color: rgb(101 104 95) !important;
    background:
      linear-gradient(180deg, rgb(255 255 240 / 0.12), transparent 30%, rgb(0 0 0 / 0.35)),
      rgb(47 51 42);
    box-shadow: inset 0 -5px rgb(var(--bwe-signal)), 0 4px 0 rgb(8 10 8), 0 8px 13px rgb(0 0 0 / 0.32);
    text-shadow: 0 1px rgb(0 0 0 / 0.9);
  }

  body.bwe-archive-ui[data-page-type="collection"] .facets-filtering {
    border: 3px solid rgb(94 97 88);
    border-top-color: rgb(132 136 123);
    border-right-color: rgb(48 51 44);
    border-bottom-color: rgb(22 25 21);
    background:
      linear-gradient(180deg, rgb(240 241 220 / 0.12), transparent 16%, rgb(0 0 0 / 0.38)),
      repeating-linear-gradient(90deg, rgb(255 255 240 / 0.018) 0 1px, transparent 1px 5px),
      rgb(38 42 34);
    box-shadow:
      inset 0 1px rgb(255 255 240 / 0.14),
      inset 0 -16px 26px rgb(0 0 0 / 0.3),
      0 5px 0 rgb(8 10 8),
      0 13px 22px rgb(0 0 0 / 0.3);
  }

  body.bwe-archive-ui[data-page-type="collection"] .facets-sorting-wrapper {
    border: 2px solid rgb(139 139 131);
    border-top-color: rgb(250 250 243);
    border-bottom-color: rgb(82 81 75);
    background:
      linear-gradient(180deg, rgb(255 255 255 / 0.58), transparent 36%, rgb(0 0 0 / 0.08)),
      rgb(228 226 217);
    box-shadow: inset 0 1px rgb(255 255 255 / 0.8), 0 4px 0 rgb(85 86 80 / 0.34), 0 9px 16px rgb(0 0 0 / 0.13);
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-card,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-card {
    border: 2px solid rgb(121 121 113);
    border-top-color: rgb(217 216 207);
    border-right-color: rgb(76 77 71);
    border-bottom-color: rgb(57 59 54);
    background:
      repeating-linear-gradient(0deg, rgb(48 45 37 / 0.024) 0 1px, transparent 1px 5px),
      linear-gradient(145deg, rgb(238 236 227), rgb(197 195 186));
    box-shadow:
      inset 0 1px rgb(255 255 255 / 0.72),
      0 5px 0 rgb(70 71 65 / 0.38),
      0 13px 22px rgb(0 0 0 / 0.2);
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-image__image-wrapper,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-image__image-wrapper {
    border: 5px solid rgb(25 28 23);
    border-top-color: rgb(80 83 75);
    border-right-color: rgb(15 17 14);
    border-bottom-color: rgb(7 9 7);
    background: rgb(8 10 8);
    box-shadow: inset 0 0 18px rgb(0 0 0 / 0.7), 0 2px rgb(255 255 245 / 0.1);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__media-group {
    padding: 14px;
    border: 4px solid rgb(87 91 80);
    border-top-color: rgb(131 135 121);
    border-right-color: rgb(41 44 37);
    border-bottom-color: rgb(17 20 16);
    border-left-color: rgb(107 111 99);
    background:
      linear-gradient(180deg, rgb(239 240 220 / 0.12), transparent 17%, rgb(0 0 0 / 0.42)),
      repeating-linear-gradient(90deg, rgb(255 255 240 / 0.017) 0 1px, transparent 1px 5px),
      rgb(33 37 29);
    box-shadow:
      inset 0 1px rgb(255 255 240 / 0.14),
      inset 0 -20px 36px rgb(0 0 0 / 0.36),
      0 6px 0 rgb(8 10 8),
      0 18px 32px rgb(0 0 0 / 0.35);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__media-gallery {
    border: 2px solid rgb(107 110 101);
    border-top-color: rgb(28 31 25);
    border-right-color: rgb(134 138 125);
    background: rgb(7 9 7);
    box-shadow: inset 0 6px 18px rgb(0 0 0 / 0.88), 0 2px rgb(250 250 230 / 0.09);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .media-gallery__list-wrapper {
    border: 7px solid rgb(23 26 21);
    border-top-color: rgb(80 84 74);
    border-right-color: rgb(12 14 11);
    border-bottom-color: rgb(6 8 6);
    background: rgb(238 236 227);
    box-shadow: inset 0 0 22px rgb(0 0 0 / 0.18), 0 6px 12px rgb(0 0 0 / 0.42);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__info {
    padding: 24px;
    border: 3px solid rgb(132 132 123);
    border-top: 6px solid rgb(var(--bwe-signal));
    border-right-color: rgb(83 83 76);
    border-bottom-color: rgb(66 67 61);
    background:
      linear-gradient(110deg, rgb(255 255 255 / 0.46), transparent 22%, transparent 75%, rgb(73 68 56 / 0.075)),
      repeating-linear-gradient(0deg, rgb(50 47 38 / 0.026) 0 1px, transparent 1px 5px),
      rgb(224 222 213);
    box-shadow:
      inset 0 1px rgb(255 255 255 / 0.72),
      0 6px 0 rgb(74 75 69 / 0.4),
      0 18px 30px rgb(0 0 0 / 0.22);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__price,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__buy-button-group {
    border: 1px solid rgb(107 107 99);
    background: rgb(255 255 250 / 0.2);
    box-shadow: inset 0 2px 6px rgb(0 0 0 / 0.08), 0 1px rgb(255 255 255 / 0.5);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest__header {
    border: 4px solid rgb(88 92 81);
    border-top-color: rgb(137 141 126);
    border-right-color: rgb(43 46 39);
    border-bottom: 7px solid rgb(var(--bwe-signal));
    background:
      linear-gradient(180deg, rgb(241 241 221 / 0.12), transparent 20%, rgb(0 0 0 / 0.4)),
      repeating-linear-gradient(90deg, rgb(255 255 240 / 0.017) 0 1px, transparent 1px 5px),
      rgb(36 40 32);
    box-shadow:
      inset 0 1px rgb(255 255 240 / 0.14),
      0 6px 0 rgb(8 10 8),
      0 16px 28px rgb(0 0 0 / 0.34);
    text-shadow: 0 1px rgb(0 0 0 / 0.9);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-items__container {
    border: 3px solid rgb(127 127 119);
    border-top-color: rgb(225 224 214);
    border-right-color: rgb(75 76 70);
    border-bottom-color: rgb(58 60 54);
    background:
      repeating-linear-gradient(0deg, rgb(46 43 35 / 0.024) 0 1px, transparent 1px 5px),
      linear-gradient(145deg, rgb(235 233 224), rgb(202 200 191));
    box-shadow: inset 0 1px rgb(255 255 255 / 0.72), 0 6px 0 rgb(72 73 67 / 0.35), 0 15px 26px rgb(0 0 0 / 0.2);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-market-group__header {
    border-bottom: 4px solid rgb(11 13 10);
    background:
      linear-gradient(180deg, rgb(243 243 222 / 0.12), transparent 30%, rgb(0 0 0 / 0.38)),
      rgb(42 46 37);
    box-shadow: inset 0 1px rgb(255 255 240 / 0.13), 0 3px 0 rgb(8 10 8);
    text-shadow: 0 1px rgb(0 0 0 / 0.9);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-items__list .cart-item {
    background:
      linear-gradient(110deg, rgb(255 255 255 / 0.36), transparent 30%),
      rgb(224 222 213);
    box-shadow: inset 0 1px rgb(255 255 255 / 0.68);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .cart-item__picture {
    border: 5px solid rgb(30 33 27);
    border-top-color: rgb(90 93 84);
    border-right-color: rgb(16 18 15);
    border-bottom-color: rgb(8 10 8);
    box-shadow: inset 0 0 16px rgb(0 0 0 / 0.66), 0 5px 10px rgb(0 0 0 / 0.3);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-footer__container {
    border: 4px solid rgb(91 95 84);
    border-top: 7px solid rgb(var(--bwe-signal));
    border-right-color: rgb(42 45 38);
    border-bottom-color: rgb(17 20 16);
    background:
      linear-gradient(180deg, rgb(241 241 221 / 0.12), transparent 18%, rgb(0 0 0 / 0.42)),
      repeating-linear-gradient(90deg, rgb(255 255 240 / 0.016) 0 1px, transparent 1px 5px),
      rgb(35 39 31);
    box-shadow:
      inset 0 1px rgb(255 255 240 / 0.13),
      inset 0 -18px 30px rgb(0 0 0 / 0.32),
      0 6px 0 rgb(8 10 8),
      0 17px 30px rgb(0 0 0 / 0.38);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .cart-coupon__form .field__input {
    border: 3px solid rgb(18 21 17);
    outline: 1px solid rgb(110 113 103);
    background:
      repeating-linear-gradient(0deg, rgb(44 41 33 / 0.035) 0 1px, transparent 1px 4px),
      linear-gradient(180deg, rgb(242 240 231), rgb(207 205 196));
    box-shadow: inset 0 3px 8px rgb(0 0 0 / 0.2), 0 1px rgb(255 255 255 / 0.18);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .cart-coupon__form .button,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .cart-checkout .button[name="checkout"] {
    border: 2px solid rgb(255 102 113);
    border-right-color: rgb(159 14 25);
    border-bottom: 5px solid rgb(116 7 16);
    background: linear-gradient(180deg, rgb(255 68 81), rgb(211 17 33));
    box-shadow: inset 1px 1px rgb(255 255 255 / 0.34), inset -1px -2px rgb(82 0 7 / 0.5), 0 5px 0 rgb(37 3 7), 0 10px 18px rgb(0 0 0 / 0.45);
    text-shadow: 0 1px rgb(70 0 5 / 0.8);
  }
}

/* Material pass 04 — fine finish shared by commerce records. */
@media (min-width: 960px) {
  body.bwe-archive-ui:not([data-page-type="index"]) .header-section,
  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__media-group,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__info,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest__header,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-footer__container {
    background-blend-mode: screen, normal, normal;
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-collection-cover > .block-main-collection__heading,
  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index,
  body.bwe-archive-ui[data-page-type="collection"] .facets-sorting-wrapper,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__info,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-items__container {
    background-image:
      linear-gradient(108deg, rgb(255 255 255 / 0.42), transparent 21%, transparent 76%, rgb(64 59 48 / 0.08)),
      repeating-linear-gradient(0deg, rgb(55 51 41 / 0.026) 0 1px, transparent 1px 5px),
      repeating-linear-gradient(90deg, rgb(55 51 41 / 0.014) 0 1px, transparent 1px 7px);
    background-color: rgb(224 222 213);
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index__routes a,
  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-card,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-card,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-items__list .cart-item {
    transition:
      transform 140ms steps(3, end),
      box-shadow 140ms steps(3, end),
      border-color 140ms steps(3, end),
      filter 140ms steps(3, end);
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-card:hover,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-card:hover {
    z-index: 2;
    transform: translateY(-4px);
    border-color: rgb(151 152 142) rgb(82 84 76) rgb(55 58 51) rgb(132 134 124);
    box-shadow:
      inset 0 1px rgb(255 255 255 / 0.78),
      0 6px 0 rgb(62 64 58 / 0.48),
      0 19px 30px rgb(0 0 0 / 0.28);
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-image__image-wrapper::after,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-image__image-wrapper::after {
    position: absolute;
    inset: 0;
    z-index: 3;
    pointer-events: none;
    content: "";
    background:
      linear-gradient(118deg, rgb(255 255 245 / 0.14), transparent 18%, transparent 65%, rgb(255 255 245 / 0.035)),
      repeating-linear-gradient(0deg, transparent 0 3px, rgb(0 0 0 / 0.035) 3px 4px);
    mix-blend-mode: screen;
    opacity: .5;
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .media-gallery__image {
    filter: contrast(1.03) saturate(.94);
    transition: filter 160ms steps(3, end), transform 160ms steps(3, end);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .media-gallery__list-wrapper:hover .media-gallery__image {
    filter: contrast(1.05) saturate(1);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .product-detail__price,
    .product-detail__buy-button-group,
    .product-detail__variant-picker,
    .product-detail__quantity-selector
  ) {
    box-shadow:
      inset 0 3px 9px rgb(45 42 34 / 0.1),
      inset 0 -1px rgb(255 255 255 / 0.52),
      0 1px rgb(255 255 255 / 0.46);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .button[name="add"],
    .product-form__submit,
    .shopline-payment-button__button
  ),
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest :is(
    .cart-coupon__form .button,
    .cart-checkout .button[name="checkout"]
  ) {
    transition: transform 120ms steps(2, end), box-shadow 120ms steps(2, end), filter 120ms steps(2, end);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .button[name="add"],
    .product-form__submit,
    .shopline-payment-button__button
  ):hover,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest :is(
    .cart-coupon__form .button,
    .cart-checkout .button[name="checkout"]
  ):hover {
    transform: translateY(-2px);
    filter: saturate(1.08) brightness(1.04);
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .button[name="add"],
    .product-form__submit,
    .shopline-payment-button__button
  ):active,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest :is(
    .cart-coupon__form .button,
    .cart-checkout .button[name="checkout"]
  ):active {
    transform: translateY(3px);
    filter: brightness(.92);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .cart-item__amount theme-input-number {
    border: 2px solid rgb(89 90 83);
    border-top-color: rgb(42 44 39);
    border-right-color: rgb(142 142 133);
    background: rgb(238 236 227);
    box-shadow: inset 0 3px 7px rgb(0 0 0 / 0.17), 0 1px rgb(255 255 255 / 0.55);
  }

  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .cart-item__amount theme-input-number button {
    background: linear-gradient(180deg, rgb(255 255 255 / 0.6), rgb(0 0 0 / 0.06));
    box-shadow: inset 0 1px rgb(255 255 255 / 0.74), inset 0 -2px rgb(0 0 0 / 0.12);
  }

  body.bwe-archive-ui[data-archive-fx="full"] :is(
    .bwe-header-instrument,
    .bwe-cart-manifest__header,
    .bwe-product-record-wrapper .product-detail__media-group,
    .facets-filtering
  ) {
    box-shadow:
      inset 0 1px rgb(255 255 240 / 0.15),
      inset 0 -18px 30px rgb(0 0 0 / 0.34),
      0 6px 0 rgb(8 10 8),
      0 16px 30px rgb(0 0 0 / 0.42),
      0 0 24px rgb(var(--bwe-signal), 0.035);
  }
}

/* Material pass 05 - enamel, optical glass and archive-paper separation. */
@media (min-width: 960px) {
  body.bwe-archive-ui:not([data-page-type="index"]) .header-section {
    box-shadow:
      inset 0 1px rgb(255 255 245 / 0.21),
      inset 18px 0 30px rgb(255 255 235 / 0.018),
      inset -20px 0 34px rgb(0 0 0 / 0.2),
      inset 0 -16px 28px rgb(0 0 0 / 0.38),
      0 5px 0 rgb(9 11 9),
      0 15px 26px rgb(0 0 0 / 0.28),
      0 32px 54px rgb(0 0 0 / 0.3);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-top {
    background-image:
      linear-gradient(112deg, rgb(255 255 255 / 0.66), transparent 18%, transparent 71%, rgb(62 58 47 / 0.1)),
      repeating-linear-gradient(0deg, rgb(39 37 31 / 0.027) 0 1px, transparent 1px 4px),
      repeating-linear-gradient(90deg, rgb(39 37 31 / 0.012) 0 1px, transparent 1px 7px),
      linear-gradient(180deg, rgb(245 244 235), rgb(207 206 196));
    box-shadow:
      inset 0 2px rgb(255 255 255 / 0.9),
      inset 0 -3px rgb(80 77 67 / 0.24),
      inset 14px 0 18px rgb(255 255 255 / 0.08),
      inset -14px 0 20px rgb(53 50 41 / 0.06),
      0 5px 0 rgb(8 10 8),
      0 11px 18px rgb(0 0 0 / 0.3);
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-card,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-card {
    position: relative;
    isolation: isolate;
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-card::after,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-card::after {
    position: absolute;
    z-index: 4;
    right: 8px;
    bottom: 8px;
    width: 14px;
    height: 14px;
    pointer-events: none;
    content: "";
    border-right: 1px solid rgb(var(--bwe-ink), 0.5);
    border-bottom: 1px solid rgb(var(--bwe-ink), 0.5);
    opacity: .72;
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-image__image-wrapper,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-image__image-wrapper,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .media-gallery__list-wrapper,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .cart-item__picture {
    position: relative;
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .media-gallery__list-wrapper::after,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .cart-item__picture::after {
    position: absolute;
    z-index: 5;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
      linear-gradient(121deg, rgb(255 255 245 / 0.18), transparent 16%, transparent 63%, rgb(255 255 245 / 0.04)),
      repeating-linear-gradient(0deg, transparent 0 3px, rgb(0 0 0 / 0.03) 3px 4px),
      radial-gradient(ellipse at 50% 52%, transparent 60%, rgb(0 0 0 / 0.13));
    mix-blend-mode: multiply;
    opacity: .42;
  }

  body.bwe-archive-ui[data-page-type="collection"] :is(
    .bwe-collection-cover > .block-main-collection__heading,
    .bwe-catalog-index,
    .facets-sorting-wrapper
  ),
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__info,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-items__container {
    background-image:
      linear-gradient(111deg, rgb(255 255 255 / 0.48), transparent 19%, transparent 74%, rgb(62 57 46 / 0.085)),
      repeating-linear-gradient(0deg, rgb(55 51 41 / 0.028) 0 1px, transparent 1px 5px),
      repeating-linear-gradient(90deg, rgb(55 51 41 / 0.014) 0 1px, transparent 1px 8px);
    background-color: rgb(224 222 213);
  }

  body.bwe-archive-ui[data-page-type="collection"] .facets-filtering,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__media-group,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-footer__container {
    background-image:
      linear-gradient(110deg, rgb(255 255 235 / 0.09), transparent 15%, transparent 68%, rgb(0 0 0 / 0.22)),
      linear-gradient(180deg, rgb(240 241 220 / 0.12), transparent 16%, rgb(0 0 0 / 0.4)),
      repeating-linear-gradient(90deg, rgb(255 255 240 / 0.019) 0 1px, transparent 1px 5px);
    background-color: rgb(36 40 32);
  }

  body.bwe-archive-ui :is(
    .bwe-header-instrument,
    .bwe-catalog-index__header,
    .bwe-product-channel-strip,
    .bwe-cart-market-group__header
  ) {
    text-shadow: 0 1px rgb(0 0 0 / 0.88), 0 0 9px rgb(245 245 225 / 0.045);
  }
}

/* Material pass 06 - fasteners, registration marks and lacquered controls. */
@media (min-width: 960px) {
  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-top {
    background-image:
      radial-gradient(circle at 10px 10px, rgb(255 255 255 / .72) 0 1px, rgb(116 117 109) 1.5px 2.5px, rgb(35 36 32) 3px 4px, transparent 4.5px),
      radial-gradient(circle at calc(100% - 10px) 10px, rgb(255 255 255 / .58) 0 1px, rgb(106 107 100) 1.5px 2.5px, rgb(31 32 28) 3px 4px, transparent 4.5px),
      radial-gradient(circle at 10px calc(100% - 10px), rgb(255 255 255 / .4) 0 1px, rgb(96 97 90) 1.5px 2.5px, rgb(28 29 25) 3px 4px, transparent 4.5px),
      radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), rgb(255 255 255 / .34) 0 1px, rgb(90 91 84) 1.5px 2.5px, rgb(25 26 22) 3px 4px, transparent 4.5px),
      linear-gradient(112deg, rgb(255 255 255 / 0.66), transparent 18%, transparent 71%, rgb(62 58 47 / 0.1)),
      repeating-linear-gradient(0deg, rgb(39 37 31 / 0.027) 0 1px, transparent 1px 4px),
      repeating-linear-gradient(90deg, rgb(39 37 31 / 0.012) 0 1px, transparent 1px 7px),
      linear-gradient(180deg, rgb(245 244 235), rgb(207 206 196));
  }

  body.bwe-archive-ui[data-page-type="collection"] :is(
    .bwe-catalog-index,
    .facets-filtering
  ),
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .product-detail__media-group,
    .product-detail__info
  ),
  body.bwe-archive-ui[data-page-type="cart"] :is(
    .bwe-cart-manifest__header,
    .bwe-cart-manifest .main-cart-items__container,
    .bwe-cart-manifest .main-cart-footer__container
  ) {
    position: relative;
  }

  body.bwe-archive-ui[data-page-type="collection"] :is(
    .bwe-catalog-index,
    .facets-filtering
  )::before,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .product-detail__media-group,
    .product-detail__info
  )::before,
  body.bwe-archive-ui[data-page-type="cart"] :is(
    .bwe-cart-manifest__header,
    .bwe-cart-manifest .main-cart-items__container,
    .bwe-cart-manifest .main-cart-footer__container
  )::before {
    position: absolute;
    z-index: 5;
    inset: 0;
    pointer-events: none;
    content: "";
    background:
      radial-gradient(circle at 9px 9px, rgb(255 255 245 / .5) 0 1px, rgb(108 110 101) 1.5px 2.5px, rgb(26 28 24) 3px 4px, transparent 4.5px),
      radial-gradient(circle at calc(100% - 9px) 9px, rgb(255 255 245 / .4) 0 1px, rgb(98 100 92) 1.5px 2.5px, rgb(23 25 21) 3px 4px, transparent 4.5px),
      radial-gradient(circle at 9px calc(100% - 9px), rgb(255 255 245 / .3) 0 1px, rgb(88 90 82) 1.5px 2.5px, rgb(20 22 18) 3px 4px, transparent 4.5px),
      radial-gradient(circle at calc(100% - 9px) calc(100% - 9px), rgb(255 255 245 / .25) 0 1px, rgb(82 84 76) 1.5px 2.5px, rgb(18 20 16) 3px 4px, transparent 4.5px);
    opacity: .78;
  }

  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .button[name="add"],
    .product-form__submit,
    .shopline-payment-button__button
  ),
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest :is(
    .cart-coupon__form .button,
    .cart-checkout .button[name="checkout"]
  ) {
    background-image:
      linear-gradient(180deg, rgb(255 255 255 / .3) 0 1px, rgb(255 255 255 / .09) 2px, transparent 34%),
      linear-gradient(180deg, rgb(255 68 81), rgb(211 17 33));
  }

  body.bwe-archive-ui[data-page-type="collection"] .bwe-catalog-index__routes a {
    background-image:
      linear-gradient(180deg, rgb(255 255 255 / .58) 0 1px, rgb(255 255 255 / .18) 2px, transparent 36%),
      linear-gradient(180deg, rgb(238 236 227), rgb(203 201 192));
    background-color: rgb(228 226 217);
  }

  body.bwe-archive-ui :is(
    .header__container-top a,
    .header__container-top button,
    .bwe-catalog-index__routes a,
    .facets-filtering button,
    .product-detail__info button,
    .bwe-cart-manifest button,
    .bwe-cart-manifest a
  ):focus-visible {
    outline: 2px solid rgb(var(--bwe-paper));
    outline-offset: 3px;
    box-shadow: 0 0 0 2px rgb(var(--bwe-ink)), 0 0 0 4px rgb(var(--bwe-signal));
  }
}

/* Material pass 07 - darkroom workbench and illuminated archive bed. */
@media (min-width: 960px) {
  body.bwe-archive-ui:not([data-page-type="index"]) {
    background:
      radial-gradient(ellipse at 50% -10%, rgb(185 192 166 / 0.15), transparent 34%),
      radial-gradient(ellipse at 50% 118%, rgb(0 0 0 / 0.92), transparent 56%),
      repeating-linear-gradient(0deg, rgb(255 255 240 / 0.018) 0 1px, transparent 1px 5px),
      repeating-linear-gradient(90deg, rgb(255 255 240 / 0.009) 0 1px, transparent 1px 11px),
      rgb(13 16 12);
    /* SHOPLINE injects an inline body background color; this scoped override
     * restores the desktop darkroom beneath the illuminated content bed. */
    background-color: rgb(13 16 12) !important;
    background-attachment: fixed;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent {
    background-color: rgb(222 220 211);
    background-image:
      radial-gradient(ellipse at 50% 4%, rgb(255 255 255 / 0.78), transparent 35%),
      linear-gradient(90deg, rgb(49 46 38 / 0.085), transparent 4%, transparent 96%, rgb(49 46 38 / 0.095)),
      linear-gradient(180deg, rgb(49 46 38 / 0.045), transparent 7%, transparent 93%, rgb(49 46 38 / 0.08)),
      repeating-linear-gradient(90deg, rgb(var(--bwe-ink), 0.022) 0 1px, transparent 1px 32px),
      repeating-linear-gradient(0deg, rgb(var(--bwe-ink), 0.022) 0 1px, transparent 1px 32px);
    box-shadow:
      0 0 0 7px #090a09,
      0 0 0 8px rgb(var(--bwe-paper), 0.28),
      inset 18px 0 34px rgb(48 44 35 / 0.08),
      inset -18px 0 34px rgb(48 44 35 / 0.09),
      inset 0 22px 42px rgb(255 255 255 / 0.16),
      inset 0 -24px 42px rgb(48 44 35 / 0.06),
      0 30px 62px rgb(0 0 0 / 0.58),
      0 62px 120px rgb(0 0 0 / 0.34);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header-section {
    filter: drop-shadow(0 14px 20px rgb(0 0 0 / 0.24));
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-card,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-card,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper :is(
    .product-detail__media-group,
    .product-detail__info
  ),
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest :is(
    .main-cart-items__container,
    .main-cart-footer__container
  ) {
    filter: drop-shadow(0 9px 11px rgb(0 0 0 / 0.1));
  }

  body.bwe-archive-ui[data-archive-fx="full"]:not([data-page-type="index"]) #MainContent {
    box-shadow:
      0 0 0 7px #090a09,
      0 0 0 8px rgb(var(--bwe-paper), 0.28),
      inset 18px 0 38px rgb(48 44 35 / 0.1),
      inset -18px 0 38px rgb(48 44 35 / 0.11),
      inset 0 0 64px rgb(var(--bwe-signal), 0.018),
      0 30px 66px rgb(0 0 0 / 0.62),
      0 0 30px rgb(var(--bwe-signal), 0.035);
  }
}

/* Final material map layer: keep after all commerce surface passes. */
@media (min-width: 960px) {
  body.bwe-archive-ui:not([data-page-type="index"]) .header-section {
    background-image: var(--bwe-texture-metal), linear-gradient(180deg, rgb(247 247 229 / 0.13), transparent 14%, rgb(0 0 0 / 0.34)), repeating-linear-gradient(90deg, rgb(255 255 245 / 0.02) 0 1px, transparent 1px 5px);
    background-size: 384px 384px, auto, auto;
    background-blend-mode: soft-light, normal, normal;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) .header__container-top {
    background-image: var(--bwe-texture-paper), radial-gradient(circle at 10px 10px, rgb(255 255 255 / .72) 0 1px, rgb(116 117 109) 1.5px 2.5px, rgb(35 36 32) 3px 4px, transparent 4.5px), radial-gradient(circle at calc(100% - 10px) 10px, rgb(255 255 255 / .58) 0 1px, rgb(106 107 100) 1.5px 2.5px, rgb(31 32 28) 3px 4px, transparent 4.5px), radial-gradient(circle at 10px calc(100% - 10px), rgb(255 255 255 / .4) 0 1px, rgb(96 97 90) 1.5px 2.5px, rgb(28 29 25) 3px 4px, transparent 4.5px), radial-gradient(circle at calc(100% - 10px) calc(100% - 10px), rgb(255 255 255 / .34) 0 1px, rgb(90 91 84) 1.5px 2.5px, rgb(25 26 22) 3px 4px, transparent 4.5px), linear-gradient(112deg, rgb(255 255 255 / 0.66), transparent 18%, transparent 71%, rgb(62 58 47 / 0.1)), linear-gradient(180deg, rgb(245 244 235), rgb(207 206 196));
    background-size: 420px 420px, auto, auto, auto, auto, auto, auto;
    background-blend-mode: multiply, normal, normal, normal, normal, normal, normal;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent {
    background-image: var(--bwe-texture-paper), radial-gradient(ellipse at 50% 4%, rgb(255 255 255 / 0.78), transparent 35%), linear-gradient(90deg, rgb(49 46 38 / 0.085), transparent 4%, transparent 96%, rgb(49 46 38 / 0.095)), linear-gradient(180deg, rgb(49 46 38 / 0.045), transparent 7%, transparent 93%, rgb(49 46 38 / 0.08)), repeating-linear-gradient(90deg, rgb(var(--bwe-ink), 0.022) 0 1px, transparent 1px 32px), repeating-linear-gradient(0deg, rgb(var(--bwe-ink), 0.022) 0 1px, transparent 1px 32px);
    background-size: 420px 420px, auto, auto, auto, auto, auto;
    background-blend-mode: multiply, normal, normal, normal, normal, normal;
  }

  body.bwe-archive-ui[data-page-type="collection"] :is(.bwe-collection-cover > .block-main-collection__heading, .bwe-catalog-index, .facets-sorting-wrapper, .main-collection__list .block-product-card),
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-card,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__info,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-items__container {
    background-image: var(--bwe-texture-paper), linear-gradient(111deg, rgb(255 255 255 / 0.48), transparent 19%, transparent 74%, rgb(62 57 46 / 0.085)), repeating-linear-gradient(0deg, rgb(55 51 41 / 0.028) 0 1px, transparent 1px 5px), repeating-linear-gradient(90deg, rgb(55 51 41 / 0.014) 0 1px, transparent 1px 8px);
    background-size: 420px 420px, auto, auto, auto;
    background-blend-mode: multiply, normal, normal, normal;
  }

  body.bwe-archive-ui[data-page-type="collection"] .facets-filtering,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .product-detail__media-group,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .main-cart-footer__container {
    background-image: var(--bwe-texture-metal), linear-gradient(110deg, rgb(255 255 235 / 0.09), transparent 15%, transparent 68%, rgb(0 0 0 / 0.22)), linear-gradient(180deg, rgb(240 241 220 / 0.12), transparent 16%, rgb(0 0 0 / 0.4)), repeating-linear-gradient(90deg, rgb(255 255 240 / 0.019) 0 1px, transparent 1px 5px);
    background-size: 384px 384px, auto, auto, auto;
    background-blend-mode: soft-light, normal, normal, normal;
  }

  body.bwe-archive-ui[data-page-type="collection"] .main-collection__list .block-product-image__image-wrapper::after,
  body.bwe-archive-ui[data-page-type="search"] .main-search__results .block-product-image__image-wrapper::after,
  body.bwe-archive-ui[data-page-type="product"] .bwe-product-record-wrapper .media-gallery__list-wrapper::after,
  body.bwe-archive-ui[data-page-type="cart"] .bwe-cart-manifest .cart-item__picture::after {
    background-image: var(--bwe-texture-glass), linear-gradient(121deg, rgb(255 255 245 / 0.18), transparent 16%, transparent 63%, rgb(255 255 245 / 0.04)), repeating-linear-gradient(0deg, transparent 0 3px, rgb(0 0 0 / 0.03) 3px 4px), radial-gradient(ellipse at 50% 52%, transparent 60%, rgb(0 0 0 / 0.13));
    background-size: 512px 512px, auto, auto, auto;
    background-blend-mode: soft-light, normal, normal, normal;
  }
}

/* Material pass 08 cascade lock - retain the dimensional hierarchy after all
 * page-specific legacy rules above. */
@media (min-width: 960px) {
  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent {
    border: 1px solid rgb(139 139 128 / .62);
    border-top-color: rgb(245 244 230 / .66);
    border-bottom-color: rgb(44 45 40 / .66);
    box-shadow:
      0 0 0 6px rgb(7 9 7),
      0 0 0 7px rgb(119 122 109 / .7),
      inset 0 2px 0 rgb(255 255 255 / .72),
      inset 20px 0 42px rgb(57 52 41 / .09),
      inset -20px 0 42px rgb(57 52 41 / .1),
      inset 0 -28px 54px rgb(57 52 41 / .08),
      0 34px 66px rgb(0 0 0 / .62),
      0 76px 140px rgb(0 0 0 / .28);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent :is(
    .block-product-card,
    .block-article-card,
    .block-collection-card
  ) {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border: 3px solid rgb(113 114 106);
    border-top-color: rgb(219 218 207);
    border-right-color: rgb(73 74 68);
    border-bottom-color: rgb(47 49 44);
    border-radius: 0;
    background-color: rgb(210 208 198);
    background-image:
      var(--bwe-texture-paper),
      linear-gradient(112deg, rgb(255 255 255 / .58), transparent 18%, transparent 72%, rgb(57 52 41 / .12)),
      repeating-linear-gradient(0deg, rgb(53 49 40 / .025) 0 1px, transparent 1px 5px);
    background-size: 420px 420px, auto, auto;
    background-blend-mode: multiply, normal, normal;
    box-shadow: var(--bwe-depth-paper);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent :is(
    .block-product-card,
    .block-article-card,
    .block-collection-card
  ):is(:hover, :focus-within) {
    z-index: 2;
    transform: translateY(-3px);
    border-bottom-color: rgb(var(--bwe-signal));
    box-shadow:
      inset 0 1px rgb(255 255 255 / .8),
      0 5px 0 rgb(63 64 59 / .38),
      0 17px 28px rgb(0 0 0 / .24),
      0 0 0 1px rgb(var(--bwe-signal), .25);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent :is(
    .block-product-image__image-wrapper,
    .block-collection-card__image-wrapper,
    .block-article-card__image-wrapper
  ) {
    position: relative;
    overflow: hidden;
    border: 6px solid rgb(21 23 20);
    border-top-color: rgb(70 73 65);
    border-right-color: rgb(12 14 12);
    border-bottom-color: rgb(5 7 5);
    border-radius: 0 !important;
    background: rgb(7 9 7);
    box-shadow: var(--bwe-depth-glass);
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent :is(
    .block-product-image__image-wrapper,
    .block-collection-card__image-wrapper,
    .block-article-card__image-wrapper
  )::after {
    background-image:
      var(--bwe-texture-glass),
      linear-gradient(124deg, rgb(255 255 244 / .2), transparent 15%, transparent 63%, rgb(255 255 244 / .035)),
      repeating-linear-gradient(0deg, transparent 0 3px, rgb(0 0 0 / .04) 3px 4px),
      radial-gradient(ellipse at 50% 48%, transparent 55%, rgb(0 0 0 / .19));
    background-size: 512px 512px, auto, auto, auto;
    background-blend-mode: soft-light, normal, normal, normal;
    opacity: .58;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) #MainContent :is(
    .block-product-card-info,
    .block-product-card__info,
    .block-collection-card__title,
    .block-article-card__info
  ) {
    background-image:
      var(--bwe-texture-paper),
      linear-gradient(180deg, rgb(255 255 255 / .56), rgb(185 183 174 / .16));
    background-size: 420px 420px, auto;
    background-blend-mode: multiply, normal;
  }

  body.bwe-archive-ui:not([data-page-type="index"]) :is(
    .bwe-action-search__submit,
    .product-detail__info .button[name="add"],
    .product-detail__info .product-form__submit,
    .product-detail__info .shopline-payment-button__button,
    .bwe-cart-manifest .cart-checkout .button[name="checkout"]
  ) {
    --color-button-text: 255, 255, 250;
    color: rgb(255 255 250);
    background-color: rgb(var(--bwe-signal));
    background-image:
      var(--bwe-texture-enamel),
      linear-gradient(180deg, rgb(255 255 255 / .34) 0 1px, rgb(255 255 255 / .1) 2px, transparent 32%),
      linear-gradient(180deg, rgb(212 28 39), rgb(166 9 23));
    background-size: 512px 512px, auto, auto;
    background-blend-mode: soft-light, normal, normal;
    border-color: rgb(255 99 110) rgb(131 10 23) rgb(77 5 13) rgb(231 34 49);
    text-shadow: 0 1px rgb(91 5 13 / .82);
    box-shadow:
      inset 0 1px rgb(255 255 255 / .32),
      inset 0 -5px 10px rgb(88 3 12 / .38),
      0 4px 0 rgb(74 5 11),
      0 10px 18px rgb(0 0 0 / .3),
      0 0 18px rgb(var(--bwe-signal), .08);
  }
}


/* ┆ 移动端客服入口样式已统一收敛进 support-shell.css(2026-08-31 重构):
   58×58 方块 = 呼吸信号点 + HELP,不再在此处叠补丁 */


/* 2026-09-04 质感第三包(店主指令:更重的工业感 + 更细腻的纸感,≤820):
   工业加重——控制台 3px 内嵌墨线重边、标签栏 L 角标与 3px 墨线、EXEC 2px 墨框 3px 棱线 3mm 行程;
   纸感细化——标签栏/抽屉纸面十字纤维细纹 + 暖白顶光。重边一律用内阴影,不吃 58px 帽的布局预算。 */
@media (max-width: 820px) {
  /* 控制台:3px 重边(内阴影实现)+ 更厚的落影 */
  .bwe-home__console {
    box-shadow:
      inset 0 3px 0 rgb(5 6 5 / 0.9),
      inset 0 4px 0 rgb(235 236 220 / 0.07),
      0 10px 24px rgb(0 0 0 / 0.5);
  }

  /* 标签栏:3px 墨线顶缘 + L 型角标(铆接角铁)+ 更厚落影 */
  .bwe-archive-ui .bigwhite-mobile-tabbar {
    border-block-start: 3px solid rgb(var(--bwe-ink));
    box-shadow:
      inset 0 1px rgb(255 255 245 / 0.18),
      0 -8px 24px rgb(0 0 0 / 0.22);
  }

  .bwe-archive-ui .bigwhite-mobile-tabbar::before,
  .bwe-archive-ui .bigwhite-mobile-tabbar::after {
    content: "";
    position: absolute;
    top: 7px;
    width: 9px;
    height: 9px;
    border: 2px solid rgb(var(--bwe-ink) / 0.45);
    pointer-events: none;
  }

  .bwe-archive-ui .bigwhite-mobile-tabbar::before {
    left: 9px;
    border-right: 0;
    border-bottom: 0;
  }

  .bwe-archive-ui .bigwhite-mobile-tabbar::after {
    right: 9px;
    border-left: 0;
    border-bottom: 0;
  }

  /* 标签栏纸面:十字纤维细纹(横 3px/纵 4px)+ 暖白顶光 */
  .bwe-archive-ui .bigwhite-mobile-tabbar {
    background-image:
      repeating-linear-gradient(0deg, rgb(17 19 18 / 0.028) 0 1px, transparent 1px 3px),
      repeating-linear-gradient(90deg, rgb(17 19 18 / 0.02) 0 1px, transparent 1px 4px),
      linear-gradient(180deg, rgb(255 255 250 / 0.5), transparent 42%);
    background-size: auto;
  }

  /* 抽屉纸面:同语言细纤维 */
  .bwe-archive-ui .header-nav-drawer__content {
    background-image:
      repeating-linear-gradient(0deg, rgb(17 19 18 / 0.02) 0 1px, transparent 1px 3px),
      linear-gradient(180deg, rgb(255 255 248 / 0.55), transparent 28%);
  }

  /* EXEC:2px 墨框 + 3px 棱线 + 3mm 行程(按压塌到底) */
  .bwe-archive-ui .bwe-action-search__submit {
    border: 2px solid rgb(23 24 23);
    box-shadow:
      inset 0 1px rgb(255 255 245 / 0.3),
      0 3px 0 rgb(0 0 0 / 0.55);
  }

  .bwe-archive-ui .bwe-action-search__submit:active {
    transform: translateY(3px);
    box-shadow: inset 0 3px 6px rgb(0 0 0 / 0.55);
  }

  /* 市场开关:墨线描边加重,旋钮感 */
  .bwe-archive-ui .bwe-market-switch--compact {
    border: 2px solid rgb(23 24 23);
  }

  .bwe-archive-ui .bwe-market-switch--compact .bwe-market-switch__option {
    box-shadow: inset 0 1px rgb(255 255 245 / 0.14);
  }
}

/* 2026-09-04 质感第四包(店主指令:公告条金属化,≤820):
   墨底 → 阳极氧化铝面板——横向拉丝 + 斜向高光带 + 挤出件上下棱线,
   红点加辉光(金属面板上的 LED 指示灯)。叠加层全部 ≤8% 透明度,不伤对比度。 */
@media (max-width: 820px) {
  .bwe-archive-ui .announcement-bar__group-item {
    border-block: 1px solid rgb(255 255 245 / 0.18);
    background-image:
      repeating-linear-gradient(90deg, rgb(255 255 245 / 0.035) 0 1px, transparent 1px 3px),
      linear-gradient(105deg, transparent 20%, rgb(255 255 245 / 0.07) 38%, rgb(0 0 0 / 0.12) 55%, transparent 75%),
      linear-gradient(180deg, rgb(255 255 245 / 0.08), transparent 30%, transparent 70%, rgb(0 0 0 / 0.22)) !important;
    box-shadow:
      inset 0 1px 0 rgb(255 255 245 / 0.22),
      inset 0 -1px 0 rgb(0 0 0 / 0.6),
      0 2px 6px rgb(0 0 0 / 0.3);
  }

  .bwe-archive-ui .announcement-bar__group-item-inner::after {
    box-shadow:
      0 0 0 3px rgb(var(--bwe-signal) / 0.16),
      0 0 8px rgb(var(--bwe-signal) / 0.55);
  }
}

/* 2026-09-04 店主指令:移除搜索结果页的"清除关键词"✕ 钮(移动端;
   清词走输入框直接编辑,桌面保留)。 */
@media (max-width: 820px) {
  .bwe-archive-ui .main-search-box__close {
    display: none !important;
  }
}

/* 2026-09-04 店主指令:开屏动画质感升级——CRT 通电:
   面板电子束纵向展开(压扁亮闪→回弹)、扫描线两次掠过、进度条 LED 分段发光、
   退场改为 CRT 塌陷(纵向压缩成一条亮线后消失)。纯 CSS,不改 JS 时序。 */
html.bwe-boot-pending .bwe-boot-screen__panel {
  position: relative;
  animation: bwe-boot-crt-on 640ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes bwe-boot-crt-on {
  0%   { transform: scaleY(0.02) scaleX(1.06); filter: brightness(3.2); opacity: 0.5; }
  55%  { transform: scaleY(1.02) scaleX(1);    filter: brightness(1.55); }
  70%  { filter: brightness(0.72); }
  100% { transform: none; filter: none; opacity: 1; }
}

html.bwe-boot-pending .bwe-boot-screen__panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  height: 22%;
  background: linear-gradient(180deg, transparent, rgb(255 255 245 / 0.16), transparent);
  animation: bwe-boot-sweep 850ms 140ms ease-in-out 2 both;
}

@keyframes bwe-boot-sweep {
  from { transform: translateY(-130%); }
  to   { transform: translateY(560%); }
}

/* 进度条:LED 分段 + 信号红辉光 */
.bwe-boot-screen__progress i {
  background:
    repeating-linear-gradient(90deg, rgb(var(--bwe-signal)) 0 10px, rgb(12 13 12) 10px 13px);
  box-shadow: 0 0 10px rgb(var(--bwe-signal) / 0.45);
}

/* 状态行:终端打字机式揭示 */
html.bwe-boot-pending .bwe-boot-screen__core p {
  animation: bwe-boot-type 1.1s steps(18, end) 80ms both;
  clip-path: inset(0 100% 0 0);
}

@keyframes bwe-boot-type {
  to { clip-path: inset(0 0 0 0); }
}

/* 退场:CRT 塌陷成亮线(替代纯淡出) */
.bwe-boot-screen {
  transform-origin: 50% 42%;
  transition:
    opacity 280ms steps(5, end),
    transform 340ms steps(7, end),
    visibility 0s 360ms;
  transform: scaleY(0.012);
}

html.bwe-boot-pending .bwe-boot-screen {
  transform: none;
}

/* Solid-button states outrank decorative surfaces while keeping the label readable.
   Link, text and icon controls retain their own surface and foreground. */
body.bwe-archive-ui :is(.button, button[type="submit"]):not(.button--link):not(.button--text):not(.button--icon):is(:disabled, .disabled, [aria-disabled="true"]) {
  --color-button-text: 239, 239, 235;
  --color-button-background: 85, 88, 84;
  color: rgb(var(--color-button-text));
  background: rgb(var(--color-button-background));
  border-color: rgb(115 118 113);
  box-shadow: none;
  text-shadow: none;
  opacity: 1;
  cursor: not-allowed;
  transform: none;
}

/* Loading hides only the label; the spinner uses the current surface's RGB token. */
body.bwe-archive-ui :is(.button, button[type="submit"]).loading:not(.button--link):not(.button--text):not(.button--icon) {
  color: transparent;
  text-shadow: none;
}
