/**
 * Brucepilot B2B — Express order.
 *
 * Takes the theme font; everything else is a custom property on .bp-xo so a
 * theme can restyle it without touching this file:
 *
 *   .bp-xo { --bp-xo-accent: #7a5c2e; --bp-xo-radius: 6px; }
 *
 * Layout: two panes (list 40 %, product 60 %) inside a fixed-height frame,
 * each pane scrolling on its own, cart bar at the bottom. Below 640 px of
 * width (or on phones) the script adds .bp-xo--compact: the list takes the
 * page, the product opens as a full-screen sheet, the cart bar sticks to the
 * bottom of the screen.
 */

.bp-xo {
  --bp-xo-accent: #1f2a44;
  --bp-xo-accent-contrast: #ffffff;
  --bp-xo-accent-soft: rgba(31, 42, 68, 0.07);
  --bp-xo-text: #1d1d1f;
  --bp-xo-muted: rgba(29, 29, 31, 0.58);
  --bp-xo-faint: rgba(29, 29, 31, 0.38);
  --bp-xo-line: rgba(29, 29, 31, 0.09);
  --bp-xo-line-strong: rgba(29, 29, 31, 0.16);
  --bp-xo-surface: #ffffff;
  --bp-xo-subtle: #f7f6f3;
  --bp-xo-photo: #faf9f7;
  --bp-xo-success: #187a49;
  --bp-xo-warning: #b26a00;
  --bp-xo-danger: #b42318;
  --bp-xo-highlight: rgba(245, 197, 66, 0.38);
  --bp-xo-radius: 14px;
  --bp-xo-radius-sm: 10px;
  --bp-xo-gap: 16px;
  --bp-xo-font-size: 15px;
  --bp-xo-height: min(900px, calc(100vh - 140px));
  --bp-xo-sticky-top: 0px;
  --bp-xo-shadow: 0 1px 2px rgba(16, 24, 40, 0.04), 0 12px 32px -12px rgba(16, 24, 40, 0.14);
  --bp-xo-shadow-lg: 0 2px 6px rgba(16, 24, 40, 0.06), 0 24px 48px -12px rgba(16, 24, 40, 0.22);
  --bp-xo-ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  position: relative;
  display: flex;
  flex-direction: column;
  height: var(--bp-xo-height);
  min-height: 520px;
  margin: 0 0 1.5em;
  overflow: hidden;
  border: 1px solid var(--bp-xo-line);
  border-radius: var(--bp-xo-radius);
  background: var(--bp-xo-surface);
  box-shadow: var(--bp-xo-shadow);
  color: var(--bp-xo-text);
  font-size: var(--bp-xo-font-size);
  line-height: 1.45;
  text-align: left;
  -webkit-font-smoothing: antialiased;
}

@supports (height: 100dvh) {
  .bp-xo { --bp-xo-height: min(900px, calc(100dvh - 140px)); }
}

@supports (color: color-mix(in srgb, red 50%, blue)) {
  .bp-xo { --bp-xo-accent-soft: color-mix(in srgb, var(--bp-xo-accent) 8%, transparent); }
}

.bp-xo *, .bp-xo *::before, .bp-xo *::after { box-sizing: border-box; }

/* Theme resets: buttons and fields look the same in every theme. */
.bp-xo button,
.bp-xo input,
.bp-xo select {
  margin: 0;
  font: inherit;
  color: inherit;
  letter-spacing: normal;
  text-transform: none;
  text-shadow: none;
  box-shadow: none;
}
.bp-xo button {
  width: auto;
  min-width: 0;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  line-height: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.bp-xo button:disabled { cursor: not-allowed; }
.bp-xo svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.bp-xo img { display: block; max-width: 100%; height: auto; border: 0; box-shadow: none; }
.bp-xo ul { margin: 0; padding: 0; list-style: none; }
.bp-xo p { margin: 0; }
.bp-xo :focus-visible { outline: 2px solid var(--bp-xo-accent); outline-offset: 2px; }
.bp-xo kbd {
  display: inline-grid;
  place-items: center;
  min-width: 1.7em;
  height: 1.7em;
  padding: 0 0.4em;
  border: 1px solid var(--bp-xo-line-strong);
  border-bottom-width: 2px;
  border-radius: 6px;
  background: var(--bp-xo-surface);
  color: var(--bp-xo-muted);
  font: 600 0.72em/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}
.bp-xo-sr {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.bp-xo [hidden] { display: none !important; }

/* ------------------------------------------------------------------ */
/* Buttons                                                             */
/* ------------------------------------------------------------------ */

.bp-xo .bp-xo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.94em;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.18s var(--bp-xo-ease), border-color 0.18s, color 0.18s, transform 0.12s var(--bp-xo-ease), box-shadow 0.18s;
}
.bp-xo .bp-xo-btn:active:not(:disabled) { transform: translateY(1px) scale(0.99); }
.bp-xo .bp-xo-btn--primary {
  background: var(--bp-xo-accent);
  color: var(--bp-xo-accent-contrast);
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.bp-xo .bp-xo-btn--primary:hover:not(:disabled):not(.is-disabled) {
  background: var(--bp-xo-accent);
  color: var(--bp-xo-accent-contrast);
  box-shadow: 0 6px 18px -6px var(--bp-xo-accent);
  filter: brightness(1.12);
}
.bp-xo .bp-xo-btn--primary:disabled,
.bp-xo .bp-xo-btn--primary.is-disabled {
  background: var(--bp-xo-line-strong);
  color: var(--bp-xo-muted);
  box-shadow: none;
  pointer-events: none;
}
/* Checkout blocked by a cart error: the click opens the cart, which says why. */
.bp-xo.has-cart .bp-xo-btn--primary.is-disabled { pointer-events: auto; cursor: not-allowed; }
.bp-xo .bp-xo-btn--ghost {
  border-color: var(--bp-xo-line-strong);
  background: var(--bp-xo-surface);
  color: var(--bp-xo-text);
}
.bp-xo .bp-xo-btn--ghost:hover { border-color: var(--bp-xo-accent); background: var(--bp-xo-accent-soft); color: var(--bp-xo-text); }

/* ------------------------------------------------------------------ */
/* Panes                                                               */
/* ------------------------------------------------------------------ */

.bp-xo__panes {
  display: grid;
  grid-template-columns: minmax(300px, 40%) minmax(0, 1fr);
  flex: 1 1 auto;
  min-height: 0;
}

.bp-xo__list,
.bp-xo__detail {
  position: relative;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--bp-xo-line-strong) transparent;
}
.bp-xo__list {
  border-right: 1px solid var(--bp-xo-line);
  background: var(--bp-xo-subtle);
}
.bp-xo__detail {
  container-type: inline-size;
  background: var(--bp-xo-surface);
}

/* ------------------------------------------------------------------ */
/* List header: search, categories, sort                               */
/* ------------------------------------------------------------------ */

.bp-xo__head {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px 16px 10px;
  border-bottom: 1px solid var(--bp-xo-line);
  background: var(--bp-xo-subtle);
}
@supports (backdrop-filter: blur(1px)) {
  .bp-xo__head { background: rgba(247, 246, 243, 0.86); backdrop-filter: saturate(1.6) blur(14px); }
}

.bp-xo-search { position: relative; display: flex; align-items: center; }
.bp-xo-search__icon {
  position: absolute;
  left: 14px;
  font-size: 18px;
  color: var(--bp-xo-muted);
  pointer-events: none;
}
.bp-xo .bp-xo-search__input {
  width: 100%;
  height: 46px;
  padding: 0 76px 0 42px;
  border: 1px solid var(--bp-xo-line-strong);
  border-radius: 12px;
  outline: 0;
  background: var(--bp-xo-surface);
  font-size: 1em;
  line-height: 46px;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.bp-xo .bp-xo-search__input::placeholder { color: var(--bp-xo-faint); opacity: 1; }
.bp-xo .bp-xo-search__input::-webkit-search-cancel-button { display: none; }
.bp-xo .bp-xo-search__input:focus {
  border-color: var(--bp-xo-accent);
  box-shadow: 0 0 0 4px var(--bp-xo-accent-soft);
}
.bp-xo-search__kbd { position: absolute; right: 12px; pointer-events: none; transition: opacity 0.15s; }
.bp-xo-search__input:focus ~ .bp-xo-search__kbd,
.bp-xo-search__input:not(:placeholder-shown) ~ .bp-xo-search__kbd { opacity: 0; }
.bp-xo .bp-xo-search__clear {
  position: absolute;
  right: 8px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--bp-xo-subtle);
  color: var(--bp-xo-muted);
  font-size: 16px;
}
.bp-xo .bp-xo-search__clear:hover { background: var(--bp-xo-line); color: var(--bp-xo-text); }

/* Category chips */
.bp-xo-cats { display: flex; align-items: center; gap: 8px; min-width: 0; }
.bp-xo-chips,
.bp-xo-subchips {
  display: flex;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
  padding: 2px 24px 2px 2px;
  margin: -2px 0;
}
.bp-xo-chips { flex: 1 1 auto; }
.bp-xo-chips::-webkit-scrollbar,
.bp-xo-subchips::-webkit-scrollbar { display: none; }
.bp-xo .bp-xo-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: none;
  height: 32px;
  padding: 0 13px;
  border: 1px solid var(--bp-xo-line-strong);
  border-radius: 999px;
  background: var(--bp-xo-surface);
  font-size: 0.85em;
  font-weight: 500;
  white-space: nowrap;
  scroll-snap-align: start;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s;
}
.bp-xo .bp-xo-chip:hover { border-color: var(--bp-xo-accent); background: var(--bp-xo-surface); }
.bp-xo .bp-xo-chip.is-active,
.bp-xo .bp-xo-chip.is-active:hover {
  border-color: var(--bp-xo-accent);
  background: var(--bp-xo-accent);
  color: var(--bp-xo-accent-contrast);
}
.bp-xo-chip__count { font-size: 0.82em; font-variant-numeric: tabular-nums; opacity: 0.55; }
.bp-xo-subchips .bp-xo-chip { height: 28px; padding: 0 11px; border-color: transparent; background: transparent; font-size: 0.8em; }
.bp-xo .bp-xo-subchips .bp-xo-chip:hover { border-color: var(--bp-xo-line-strong); background: var(--bp-xo-surface); }
.bp-xo .bp-xo-subchips .bp-xo-chip.is-active,
.bp-xo .bp-xo-subchips .bp-xo-chip.is-active:hover {
  border-color: transparent;
  background: var(--bp-xo-accent-soft);
  color: var(--bp-xo-accent);
  font-weight: 600;
}

.bp-xo .bp-xo-tree-toggle {
  display: grid;
  place-items: center;
  flex: none;
  width: 34px;
  height: 32px;
  border: 1px solid var(--bp-xo-line-strong);
  border-radius: 10px;
  background: var(--bp-xo-surface);
  font-size: 17px;
}
.bp-xo .bp-xo-tree-toggle:hover,
.bp-xo .bp-xo-tree-toggle.is-active { border-color: var(--bp-xo-accent); color: var(--bp-xo-accent); background: var(--bp-xo-surface); }

/* Category tree (deep catalogues) */
.bp-xo-tree {
  position: absolute;
  top: calc(100% - 4px);
  left: 12px;
  right: 12px;
  z-index: 6;
  max-height: min(62vh, 520px);
  padding: 8px;
  overflow-y: auto;
  border: 1px solid var(--bp-xo-line);
  border-radius: var(--bp-xo-radius);
  background: var(--bp-xo-surface);
  box-shadow: var(--bp-xo-shadow-lg);
  animation: bp-xo-pop 0.18s var(--bp-xo-ease);
}
.bp-xo-tree__list .bp-xo-tree__list { margin-left: 14px; padding-left: 8px; border-left: 1px solid var(--bp-xo-line); }
.bp-xo-tree__row { display: flex; align-items: center; gap: 2px; }
.bp-xo .bp-xo-tree__twisty,
.bp-xo-tree__spacer {
  display: grid;
  place-items: center;
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: var(--bp-xo-muted);
  font-size: 14px;
}
.bp-xo .bp-xo-tree__twisty:hover { background: var(--bp-xo-subtle); }
.bp-xo-tree__twisty svg { transition: transform 0.18s var(--bp-xo-ease); }
.bp-xo-tree__twisty[aria-expanded="true"] svg { transform: rotate(90deg); }
.bp-xo .bp-xo-tree__link,
.bp-xo .bp-xo-tree__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex: 1 1 auto;
  min-height: 34px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.9em;
  text-align: left;
}
.bp-xo .bp-xo-tree__all { width: 100%; font-weight: 600; }
.bp-xo .bp-xo-tree__link:hover,
.bp-xo .bp-xo-tree__all:hover { background: var(--bp-xo-subtle); }
.bp-xo .bp-xo-tree__link.is-active,
.bp-xo .bp-xo-tree__all.is-active { background: var(--bp-xo-accent-soft); color: var(--bp-xo-accent); font-weight: 600; }
.bp-xo-tree__count { color: var(--bp-xo-faint); font-size: 0.85em; font-variant-numeric: tabular-nums; }

.bp-xo-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 24px; }
.bp-xo-count { color: var(--bp-xo-muted); font-size: 0.8em; font-variant-numeric: tabular-nums; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-xo .bp-xo-sort select {
  max-width: 180px;
  height: 28px;
  padding: 0 24px 0 8px;
  border: 0;
  border-radius: 8px;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E") no-repeat right 4px center / 14px;
  color: var(--bp-xo-muted);
  font-size: 0.8em;
  font-weight: 500;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}
.bp-xo .bp-xo-sort select:hover { background-color: var(--bp-xo-surface); color: var(--bp-xo-text); }

/* ------------------------------------------------------------------ */
/* Product rows                                                        */
/* ------------------------------------------------------------------ */

.bp-xo .bp-xo-rows { padding: 8px; }
.bp-xo-rows__item + .bp-xo-rows__item { margin-top: 2px; }
.bp-xo .bp-xo-row {
  position: relative;
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 9px 12px 9px 9px;
  border: 1px solid transparent;
  border-radius: 12px;
  text-align: left;
  transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s;
}
.bp-xo .bp-xo-row:hover { background: var(--bp-xo-surface); border-color: var(--bp-xo-line); }
.bp-xo .bp-xo-row.is-selected {
  background: var(--bp-xo-surface);
  border-color: var(--bp-xo-line-strong);
  box-shadow: var(--bp-xo-shadow);
}
.bp-xo-row.is-selected::before {
  content: "";
  position: absolute;
  left: -9px;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 3px;
  background: var(--bp-xo-accent);
}
.bp-xo .bp-xo-row:focus-visible { outline-offset: 0; }
.bp-xo-row__thumb {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  overflow: hidden;
  border: 1px solid var(--bp-xo-line);
  border-radius: var(--bp-xo-radius-sm);
  background: var(--bp-xo-photo);
  color: var(--bp-xo-faint);
  font-size: 22px;
}
.bp-xo .bp-xo-row__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bp-xo-row__body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.bp-xo-row__name {
  display: -webkit-box;
  overflow: hidden;
  font-size: 0.94em;
  font-weight: 600;
  line-height: 1.3;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.bp-xo-row__name mark { padding: 0 1px; border-radius: 3px; background: var(--bp-xo-highlight); color: inherit; }
.bp-xo-row__meta { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--bp-xo-muted); font-size: 0.77em; }
.bp-xo-row__attrs,
.bp-xo-row__sku { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bp-xo-dots { display: inline-flex; align-items: center; flex: none; }
.bp-xo-dots__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px var(--bp-xo-surface), inset 0 0 0 1px rgba(0, 0, 0, 0.12);
}
.bp-xo-dots__dot + .bp-xo-dots__dot { margin-left: -3px; }
.bp-xo-dots__dot.is-blank { background: var(--bp-xo-line-strong); }
.bp-xo-dots__more { margin-left: 4px; font-size: 0.92em; }
.bp-xo-row__side { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; text-align: right; }
.bp-xo-row__price { display: flex; flex-direction: column; align-items: flex-end; font-size: 0.92em; font-variant-numeric: tabular-nums; line-height: 1.15; white-space: nowrap; }
.bp-xo-row__price strong { font-weight: 650; }
.bp-xo-row__price del { color: var(--bp-xo-faint); font-size: 0.82em; }
.bp-xo-row__from { color: var(--bp-xo-faint); font-size: 0.68em; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.bp-xo-row__price--hidden { max-width: 120px; color: var(--bp-xo-muted); font-size: 0.75em; white-space: normal; }
.bp-xo-row.is-out .bp-xo-row__name,
.bp-xo-row.is-out .bp-xo-row__thumb img { opacity: 0.55; }

/* Stock */
.bp-xo-stock { display: inline-flex; align-items: center; gap: 6px; color: var(--bp-xo-muted); font-size: 0.72em; white-space: nowrap; }
.bp-xo-stock__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--bp-xo-success); box-shadow: 0 0 0 3px rgba(24, 122, 73, 0.14); }
.bp-xo-stock--low .bp-xo-stock__dot,
.bp-xo-stock--back .bp-xo-stock__dot { background: var(--bp-xo-warning); box-shadow: 0 0 0 3px rgba(178, 106, 0, 0.14); }
.bp-xo-stock--out .bp-xo-stock__dot { background: var(--bp-xo-danger); box-shadow: 0 0 0 3px rgba(180, 35, 24, 0.12); }
.bp-xo-stock--lg { align-self: flex-start; padding: 6px 12px 6px 10px; border-radius: 999px; background: rgba(24, 122, 73, 0.08); font-size: 0.86em; font-weight: 500; }
.bp-xo-stock--lg.bp-xo-stock--out { background: rgba(180, 35, 24, 0.08); }
.bp-xo-stock--lg.bp-xo-stock--low,
.bp-xo-stock--lg.bp-xo-stock--back { background: rgba(178, 106, 0, 0.08); }
.bp-xo-stock--lg.bp-xo-stock--ok { color: var(--bp-xo-success); }
.bp-xo-stock--lg.bp-xo-stock--out { color: var(--bp-xo-danger); }
.bp-xo-stock--lg.bp-xo-stock--low,
.bp-xo-stock--lg.bp-xo-stock--back { color: var(--bp-xo-warning); }

.bp-xo-more { padding: 4px 16px 20px; text-align: center; }
.bp-xo-more .bp-xo-btn { width: 100%; }

/* Skeletons */
.bp-xo-skel {
  display: block;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--bp-xo-line) 0%, rgba(29, 29, 31, 0.04) 40%, var(--bp-xo-line) 80%) 0 0 / 300% 100%;
  animation: bp-xo-shimmer 1.4s linear infinite;
}
.bp-xo-skel-row { display: grid; grid-template-columns: 56px 1fr 56px; align-items: center; gap: 12px; padding: 9px 12px 9px 9px; }
.bp-xo-skel-lines { display: flex; flex-direction: column; gap: 8px; }
.bp-xo-skel--thumb { width: 56px; height: 56px; border-radius: var(--bp-xo-radius-sm); }
.bp-xo-skel--line { width: 82%; height: 12px; }
.bp-xo-skel--short { width: 48%; height: 10px; }
.bp-xo-skel--price { width: 56px; height: 14px; }
.bp-xo-skel--image { width: 100%; aspect-ratio: 1; border-radius: var(--bp-xo-radius); }
.bp-xo-skel--title { width: 70%; height: 26px; }
.bp-xo-skel--button { width: 100%; height: 48px; margin-top: 12px; border-radius: 12px; }
.is-skeleton .bp-xo-info { gap: 14px; }

/* Empty and error states */
.bp-xo-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 40px 24px;
  text-align: center;
}
.bp-xo-empty__title { font-size: 1em; font-weight: 600; }
.bp-xo-empty__text { max-width: 34ch; color: var(--bp-xo-muted); font-size: 0.9em; }
.bp-xo-empty__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 6px; }
.bp-xo-empty__icon { font-size: 28px; color: var(--bp-xo-danger); }
.bp-xo-empty--detail { min-height: 100%; padding: 48px 32px; }
.bp-xo-empty--detail .bp-xo-empty__title { margin: 6px 0 0; font-size: 1.25em; }
.bp-xo .bp-xo-empty__art { width: 112px; height: 112px; margin-bottom: 4px; }
.bp-xo-empty__art circle { fill: var(--bp-xo-subtle); stroke: var(--bp-xo-line-strong); stroke-width: 1.5; }
.bp-xo-empty__art circle + circle { fill: var(--bp-xo-surface); }
.bp-xo-keys { display: flex; align-items: center; gap: 6px; margin-top: 10px; color: var(--bp-xo-faint); font-size: 0.8em; }
.bp-xo-keys kbd + kbd { margin-left: -2px; }

/* ------------------------------------------------------------------ */
/* Product detail                                                      */
/* ------------------------------------------------------------------ */

.bp-xo-sheet-bar { display: none; }
.bp-xo-detail { min-height: 100%; }
.bp-xo-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 24px;
  padding: clamp(18px, 3cqi, 32px);
}
.bp-xo-product.is-new { animation: bp-xo-fade 0.22s var(--bp-xo-ease); }
@container (min-width: 620px) {
  .bp-xo-product { grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 32px; align-items: start; }
  .bp-xo-gallery { position: sticky; top: 0; }
}

.bp-xo-gallery { display: flex; flex-direction: column; gap: 10px; }
.bp-xo .bp-xo-gallery__main {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid var(--bp-xo-line);
  border-radius: var(--bp-xo-radius);
  background: var(--bp-xo-photo);
  cursor: zoom-in;
}
.bp-xo .bp-xo-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s var(--bp-xo-ease);
}
.bp-xo .bp-xo-gallery__main:hover img { transform: scale(1.03); }
.bp-xo-gallery__main.is-empty { cursor: default; color: var(--bp-xo-faint); font-size: 48px; }
.bp-xo-gallery__zoom {
  position: absolute;
  right: 12px;
  bottom: 12px;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 10px rgba(16, 24, 40, 0.14);
  color: var(--bp-xo-text);
  font-size: 18px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.18s, transform 0.18s var(--bp-xo-ease);
}
.bp-xo-gallery__main:hover .bp-xo-gallery__zoom,
.bp-xo-gallery__main:focus-visible .bp-xo-gallery__zoom { opacity: 1; transform: none; }
.bp-xo-thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding: 2px; }
.bp-xo-thumbs::-webkit-scrollbar { display: none; }
.bp-xo .bp-xo-thumbs__btn {
  flex: none;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border: 1px solid var(--bp-xo-line);
  border-radius: var(--bp-xo-radius-sm);
  background: var(--bp-xo-photo);
  opacity: 0.72;
  transition: opacity 0.15s, box-shadow 0.15s;
}
.bp-xo .bp-xo-thumbs__btn:hover { opacity: 1; }
.bp-xo .bp-xo-thumbs__btn.is-active { opacity: 1; box-shadow: 0 0 0 2px var(--bp-xo-surface), 0 0 0 4px var(--bp-xo-accent); }
.bp-xo .bp-xo-thumbs__btn img { width: 100%; height: 100%; object-fit: cover; }

.bp-xo-info { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.bp-xo-kicker { color: var(--bp-xo-muted); font-size: 0.72em; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.bp-xo .bp-xo-title {
  margin: -6px 0 0;
  padding: 0;
  border: 0;
  color: inherit;
  font-family: inherit;
  font-size: 1.6em;
  font-weight: 650;
  line-height: 1.18;
  letter-spacing: -0.015em;
  text-transform: none;
}
.bp-xo .bp-xo-title:focus { outline: 0; }
.bp-xo-sku { display: inline-flex; align-self: flex-start; align-items: center; gap: 0; margin: -4px 0 0; overflow: hidden; border: 1px solid var(--bp-xo-line-strong); border-radius: 8px; font-size: 0.8em; line-height: 1; }
.bp-xo-sku__label { padding: 6px 8px; background: var(--bp-xo-subtle); color: var(--bp-xo-muted); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; font-size: 0.86em; }
.bp-xo-sku__value { padding: 6px 10px; color: var(--bp-xo-text); font-weight: 500; font-variant-numeric: tabular-nums; letter-spacing: 0.02em; user-select: all; }
.bp-xo-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-size: 1.5em; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.2; }
.bp-xo-price del { color: var(--bp-xo-faint); font-size: 0.62em; font-weight: 500; }
.bp-xo-price ins { text-decoration: none; }
.bp-xo-price .woocommerce-price-suffix,
.bp-xo-price small,
.bp-xo-price__tax { color: var(--bp-xo-muted); font-size: 0.5em; font-weight: 500; letter-spacing: 0.02em; }
.bp-xo-price .bp-xo-b2b-rrp,
.bp-xo-price .bp-b2b-rrp { display: block; width: 100%; color: var(--bp-xo-muted); font-size: 0.5em; font-weight: 400; }
.bp-xo-price.is-hidden { color: var(--bp-xo-muted); font-size: 1em; font-weight: 500; }
.bp-xo-rrp { display: grid; grid-template-columns: 1fr auto; gap: 1px; overflow: hidden; border: 1px solid var(--bp-xo-line); border-radius: var(--bp-xo-radius-sm); background: var(--bp-xo-line); }
.bp-xo-rrp__cell { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; background: var(--bp-xo-accent-soft); }
.bp-xo-rrp__cell--margin { min-width: 120px; background: rgba(24, 122, 73, 0.07); }
.bp-xo-rrp__label { color: var(--bp-xo-muted); font-size: 0.72em; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.bp-xo-rrp__value { color: var(--bp-xo-text); font-size: 1.25em; font-weight: 650; font-variant-numeric: tabular-nums; line-height: 1.1; }
.bp-xo-rrp__cell--margin .bp-xo-rrp__value { color: var(--bp-xo-success); }

.bp-xo-tiers { padding: 12px 14px; border-radius: 12px; background: var(--bp-xo-subtle); }
.bp-xo-tiers__title { margin-bottom: 8px; color: var(--bp-xo-muted); font-size: 0.72em; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.bp-xo-tiers__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 6px; }
.bp-xo-tiers__list li { display: flex; flex-direction: column; padding: 7px 10px; border: 1px solid var(--bp-xo-line); border-radius: 9px; background: var(--bp-xo-surface); font-size: 0.85em; }
.bp-xo-tiers__list span { color: var(--bp-xo-muted); font-size: 0.85em; }
.bp-xo-tiers__list strong { font-variant-numeric: tabular-nums; }

.bp-xo-desc { color: var(--bp-xo-muted); font-size: 0.92em; line-height: 1.6; }
.bp-xo-desc p + p,
.bp-xo-desc ul { margin-top: 0.5em; }
.bp-xo-desc ul { padding-left: 1.2em; list-style: disc; }
.bp-xo-desc a { color: var(--bp-xo-accent); }

/* Variant pickers */
.bp-xo-pickers { display: flex; flex-direction: column; gap: 16px; padding-top: 4px; }
.bp-xo-picker__label { display: flex; align-items: baseline; gap: 8px; margin-bottom: 9px; font-size: 0.84em; font-weight: 600; }
.bp-xo-picker__value { color: var(--bp-xo-muted); font-weight: 500; }
.bp-xo-picker__opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-xo .bp-xo-opt {
  position: relative;
  display: inline-grid;
  place-items: center;
  border-radius: 10px;
  transition: box-shadow 0.15s, background-color 0.15s, opacity 0.15s, transform 0.12s var(--bp-xo-ease);
}
.bp-xo .bp-xo-opt:active { transform: scale(0.97); }
.bp-xo .bp-xo-opt--pill {
  min-width: 44px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--bp-xo-line-strong);
  background: var(--bp-xo-surface);
  font-size: 0.88em;
  font-weight: 500;
}
.bp-xo .bp-xo-opt--pill:hover { border-color: var(--bp-xo-text); background: var(--bp-xo-surface); }
.bp-xo .bp-xo-opt--pill.is-on,
.bp-xo .bp-xo-opt--pill.is-on:hover {
  border-color: var(--bp-xo-accent);
  background: var(--bp-xo-accent-soft);
  box-shadow: inset 0 0 0 1px var(--bp-xo-accent);
  color: var(--bp-xo-accent);
  font-weight: 600;
}
.bp-xo .bp-xo-opt--colour {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1px var(--bp-xo-line-strong);
  background: var(--bp-xo-surface);
}
.bp-xo-opt__swatch { width: 30px; height: 30px; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12), inset 0 2px 4px rgba(255, 255, 255, 0.35); }
.bp-xo .bp-xo-opt--colour:hover { box-shadow: inset 0 0 0 1.5px var(--bp-xo-text); }
.bp-xo .bp-xo-opt--colour.is-on,
.bp-xo .bp-xo-opt--colour.is-on:hover { box-shadow: inset 0 0 0 2px var(--bp-xo-accent); }
.bp-xo .bp-xo-opt--image {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bp-xo-photo);
  box-shadow: inset 0 0 0 1px var(--bp-xo-line-strong);
}
.bp-xo .bp-xo-opt--image img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.bp-xo .bp-xo-opt--image:hover { box-shadow: 0 0 0 1.5px var(--bp-xo-text); }
.bp-xo .bp-xo-opt--image.is-on,
.bp-xo .bp-xo-opt--image.is-on:hover { box-shadow: 0 0 0 2px var(--bp-xo-surface), 0 0 0 4px var(--bp-xo-accent); }
.bp-xo .bp-xo-opt.is-off { opacity: 0.42; }
.bp-xo .bp-xo-opt.is-off.is-on { opacity: 0.75; }
.bp-xo-opt.is-none::after,
.bp-xo-opt.is-out::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(to top right, transparent calc(50% - 0.75px), var(--bp-xo-muted) calc(50% - 0.75px), var(--bp-xo-muted) calc(50% + 0.75px), transparent calc(50% + 0.75px));
  pointer-events: none;
}
.bp-xo-opt.is-out::after { opacity: 0.6; }

/* Buy */
.bp-xo-buy { display: flex; flex-direction: column; gap: 10px; padding-top: 6px; }
.bp-xo-buy__row { display: flex; gap: 10px; }
.bp-xo-qty {
  display: inline-flex;
  align-items: center;
  flex: none;
  height: 50px;
  overflow: hidden;
  border: 1px solid var(--bp-xo-line-strong);
  border-radius: 12px;
  background: var(--bp-xo-surface);
}
.bp-xo .bp-xo-qty__btn {
  display: grid;
  place-items: center;
  width: 40px;
  height: 100%;
  color: var(--bp-xo-text);
  font-size: 16px;
  transition: background-color 0.15s;
}
.bp-xo .bp-xo-qty__btn:hover:not(:disabled) { background: var(--bp-xo-subtle); }
.bp-xo .bp-xo-qty__btn:disabled { color: var(--bp-xo-faint); }
.bp-xo .bp-xo-qty input {
  width: 52px;
  height: 100%;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
  -moz-appearance: textfield;
  appearance: textfield;
}
.bp-xo .bp-xo-qty input::-webkit-outer-spin-button,
.bp-xo .bp-xo-qty input::-webkit-inner-spin-button { margin: 0; -webkit-appearance: none; }
.bp-xo .bp-xo-qty input:focus { outline: 0; background: var(--bp-xo-accent-soft); }
.bp-xo-qty--sm { height: 34px; border-radius: 9px; }
.bp-xo .bp-xo-qty--sm .bp-xo-qty__btn { width: 30px; font-size: 13px; }
.bp-xo .bp-xo-qty--sm input { width: 38px; font-size: 0.9em; }

.bp-xo .bp-xo-add { flex: 1 1 auto; min-height: 52px; border-radius: 999px; font-size: 1em; font-weight: 600; letter-spacing: 0.02em; }
.bp-xo .bp-xo-add.is-busy { pointer-events: none; }
.bp-xo .bp-xo-add.is-busy .bp-xo-add__label { animation: bp-xo-pulse 1s ease-in-out infinite; }
.bp-xo .bp-xo-add.is-done,
.bp-xo .bp-xo-add.is-done:hover { background: var(--bp-xo-success); color: #fff; box-shadow: 0 6px 18px -8px var(--bp-xo-success); filter: none; }
.bp-xo-add__check { font-size: 18px; stroke-width: 2.4; stroke-dasharray: 24; stroke-dashoffset: 24; animation: bp-xo-draw 0.35s 0.05s var(--bp-xo-ease) forwards; }
.bp-xo-buy__rules { color: var(--bp-xo-muted); font-size: 0.8em; }
.bp-xo-buy__msg { color: var(--bp-xo-muted); font-size: 0.85em; }
.bp-xo-buy__msg.is-empty { display: none; }
.bp-xo-buy__msg.is-error {
  padding: 10px 12px;
  border: 1px solid rgba(180, 35, 24, 0.22);
  border-radius: 10px;
  background: rgba(180, 35, 24, 0.06);
  color: var(--bp-xo-danger);
  animation: bp-xo-shake 0.32s var(--bp-xo-ease);
}

.bp-xo .bp-xo-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  color: var(--bp-xo-accent);
  font-size: 0.88em;
  font-weight: 600;
  text-decoration: none;
}
.bp-xo .bp-xo-link svg { transition: transform 0.15s var(--bp-xo-ease); }
.bp-xo .bp-xo-link:hover { color: var(--bp-xo-accent); text-decoration: underline; text-underline-offset: 3px; }
.bp-xo .bp-xo-link:hover svg { transform: translateX(3px); }

/* ------------------------------------------------------------------ */
/* Cart bar                                                            */
/* ------------------------------------------------------------------ */

.bp-xo-bar {
  position: relative;
  z-index: 8;
  flex: none;
  border-top: 1px solid var(--bp-xo-line);
  background: var(--bp-xo-surface);
  box-shadow: 0 -10px 30px -18px rgba(16, 24, 40, 0.28);
}
.bp-xo-bar__main { display: flex; align-items: center; gap: 16px; padding: 10px 14px 10px 10px; }
.bp-xo .bp-xo-bar__toggle {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 6px 12px 6px 6px;
  border-radius: 12px;
  text-align: left;
  transition: background-color 0.15s;
}
.bp-xo .bp-xo-bar__toggle:hover { background: var(--bp-xo-subtle); }
.bp-xo-bar__icon {
  position: relative;
  display: grid;
  place-items: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--bp-xo-accent-soft);
  color: var(--bp-xo-accent);
  font-size: 21px;
}
.bp-xo-bar__badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border: 2px solid var(--bp-xo-surface);
  border-radius: 10px;
  background: var(--bp-xo-accent);
  color: var(--bp-xo-accent-contrast);
  font-size: 11px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  line-height: 16px;
  text-align: center;
}
.bp-xo-bar__summary { display: flex; flex-direction: column; min-width: 0; line-height: 1.25; }
.bp-xo-bar__label { color: var(--bp-xo-muted); font-size: 0.74em; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.bp-xo-bar__count { overflow: hidden; font-size: 0.92em; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.bp-xo-bar__chevron { color: var(--bp-xo-muted); font-size: 16px; transition: transform 0.2s var(--bp-xo-ease); }
.bp-xo-bar__toggle[aria-expanded="true"] .bp-xo-bar__chevron { transform: rotate(180deg); }
.bp-xo .bp-xo-bar__total { display: flex; flex-direction: column; align-items: flex-end; margin: 0 0 0 auto; line-height: 1.2; }
.bp-xo-bar__total-label { color: var(--bp-xo-muted); font-size: 0.72em; font-weight: 600; letter-spacing: 0.04em; }
.bp-xo-bar__total strong { font-size: 1.15em; font-weight: 700; font-variant-numeric: tabular-nums; }
.bp-xo-bar__actions { display: flex; gap: 8px; }
.bp-xo-bar.is-bumped .bp-xo-bar__badge { animation: bp-xo-bump 0.5s var(--bp-xo-ease); }
.bp-xo-bar.is-bumped .bp-xo-bar__icon { animation: bp-xo-wiggle 0.5s var(--bp-xo-ease); }

.bp-xo-bar__panel {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: calc(100% + 8px);
  max-height: min(60vh, 540px);
  padding: 16px 16px 8px;
  overflow-y: auto;
  border: 1px solid var(--bp-xo-line);
  border-radius: var(--bp-xo-radius);
  background: var(--bp-xo-surface);
  box-shadow: var(--bp-xo-shadow-lg);
  animation: bp-xo-rise 0.22s var(--bp-xo-ease);
}
.bp-xo .bp-xo-bar__title { margin: 0 0 6px; padding: 0; border: 0; color: inherit; font-family: inherit; font-size: 1em; font-weight: 650; text-transform: none; letter-spacing: normal; }
.bp-xo-notice { margin: 8px 0; padding: 10px 12px; border-radius: 10px; font-size: 0.85em; }
.bp-xo-notice--error { background: rgba(180, 35, 24, 0.06); color: var(--bp-xo-danger); }
.bp-xo-line {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto auto 32px;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--bp-xo-line);
  transition: opacity 0.15s;
}
.bp-xo-line:last-child { border-bottom: 0; }
.bp-xo-line.is-pending { opacity: 0.5; pointer-events: none; }
.bp-xo-line__thumb { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border: 1px solid var(--bp-xo-line); border-radius: 9px; background: var(--bp-xo-photo); color: var(--bp-xo-faint); }
.bp-xo .bp-xo-line__thumb img { width: 100%; height: 100%; object-fit: cover; }
.bp-xo-line__body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.bp-xo-line__name { overflow: hidden; font-size: 0.88em; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.bp-xo-line__variation { color: var(--bp-xo-muted); font-size: 0.76em; }
.bp-xo-line__error { color: var(--bp-xo-danger); font-size: 0.76em; }
.bp-xo-line__total { min-width: 72px; font-size: 0.9em; font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.bp-xo-line__fixed { color: var(--bp-xo-muted); font-size: 0.88em; }
.bp-xo .bp-xo-line__remove { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 8px; color: var(--bp-xo-faint); font-size: 17px; }
.bp-xo .bp-xo-line__remove:hover { background: rgba(180, 35, 24, 0.07); color: var(--bp-xo-danger); }
.bp-xo-lines__empty { padding: 24px 0; color: var(--bp-xo-muted); font-size: 0.9em; text-align: center; }

/* ------------------------------------------------------------------ */
/* Lightbox                                                            */
/* ------------------------------------------------------------------ */

.bp-xo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 100000;
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(14, 14, 16, 0.94);
  color: #fff;
}
.bp-xo-lightbox:not([open]) { display: none; }
.bp-xo-lightbox[open] { animation: bp-xo-fade 0.2s ease; }
.bp-xo-lightbox::backdrop { background: rgba(0, 0, 0, 0.5); }
.bp-xo-lightbox__stage {
  position: absolute;
  inset: 64px 84px;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.bp-xo .bp-xo-lightbox__stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  cursor: zoom-in;
  transition: transform 0.3s var(--bp-xo-ease);
}
.bp-xo .bp-xo-lightbox__stage.is-zoomed img { transform: scale(2.2); cursor: zoom-out; }
.bp-xo .bp-xo-lightbox__nav,
.bp-xo .bp-xo-lightbox__close {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-size: 22px;
  transition: background-color 0.15s;
}
.bp-xo .bp-xo-lightbox__nav:hover,
.bp-xo .bp-xo-lightbox__close:hover { background: rgba(255, 255, 255, 0.2); }
.bp-xo .bp-xo-lightbox__nav--prev { left: 18px; top: 50%; margin-top: -24px; }
.bp-xo .bp-xo-lightbox__nav--next { right: 18px; top: 50%; margin-top: -24px; }
.bp-xo .bp-xo-lightbox__close { top: 14px; right: 14px; }
.bp-xo-lightbox__count { position: absolute; left: 0; right: 0; bottom: 22px; color: rgba(255, 255, 255, 0.7); font-size: 0.85em; font-variant-numeric: tabular-nums; text-align: center; }
.bp-xo .bp-xo-lightbox :focus-visible { outline-color: #fff; }

html.bp-xo-locked,
html.bp-xo-locked body { overflow: hidden; }

/* ------------------------------------------------------------------ */
/* Compact: phones and narrow columns                                  */
/* ------------------------------------------------------------------ */

.bp-xo.bp-xo--compact {
  height: auto;
  min-height: 0;
  padding-bottom: 78px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
.bp-xo--compact .bp-xo__panes { display: block; }
.bp-xo--compact .bp-xo__list { overflow: visible; border-right: 0; background: transparent; }
.bp-xo--compact .bp-xo__head {
  top: var(--bp-xo-sticky-top);
  margin: 0 -4px;
  padding: 12px 4px 10px;
  border-bottom-color: transparent;
  background: var(--bp-xo-surface);
}
@supports (backdrop-filter: blur(1px)) {
  .bp-xo--compact .bp-xo__head { background: rgba(255, 255, 255, 0.9); }
}
.bp-xo--compact .bp-xo-rows { padding: 4px 0; }
.bp-xo--compact .bp-xo-row { padding: 10px 6px; border-radius: 0; border-width: 0 0 1px; border-color: var(--bp-xo-line); }
.bp-xo--compact .bp-xo-row:hover,
.bp-xo--compact .bp-xo-row.is-selected { border-color: var(--bp-xo-line); box-shadow: none; background: transparent; }
.bp-xo--compact .bp-xo-row.is-selected::before { display: none; }
.bp-xo--compact .bp-xo-tree { left: 0; right: 0; }

/* The product opens as a sheet over the page, under the cart bar. */
.bp-xo--compact .bp-xo__detail {
  position: fixed;
  inset: 0 0 var(--bp-xo-bar-height, 70px) 0;
  z-index: 99990;
  overflow-y: auto;
  background: var(--bp-xo-surface);
  visibility: hidden;
  transform: translateY(100%);
  transition: transform 0.32s var(--bp-xo-ease), visibility 0s linear 0.32s;
}
.bp-xo--compact.is-sheet-open .bp-xo__detail {
  visibility: visible;
  transform: none;
  transition: transform 0.32s var(--bp-xo-ease), visibility 0s;
  box-shadow: var(--bp-xo-shadow-lg);
}
.bp-xo--compact .bp-xo-sheet-bar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  padding: max(10px, env(safe-area-inset-top)) 10px 10px;
  border-bottom: 1px solid var(--bp-xo-line);
  background: var(--bp-xo-surface);
}
.bp-xo .bp-xo-back { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 0 12px 0 6px; border-radius: 10px; font-weight: 600; font-size: 0.92em; }
.bp-xo .bp-xo-back svg { font-size: 20px; }
.bp-xo .bp-xo-back:hover { background: var(--bp-xo-subtle); }
.bp-xo--compact .bp-xo-product { padding: 16px 16px 28px; gap: 18px; }
.bp-xo--compact .bp-xo-title { font-size: 1.4em; }
.bp-xo.bp-xo--compact .bp-xo-gallery__main { aspect-ratio: 4 / 3; }
.bp-xo--compact .bp-xo-empty--detail { display: none; }

.bp-xo--compact .bp-xo-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99995;
  padding-bottom: env(safe-area-inset-bottom);
  border-top-color: var(--bp-xo-line-strong);
}
.bp-xo--compact .bp-xo-bar__main { gap: 10px; padding: 8px 10px; }
.bp-xo--compact .bp-xo-bar__toggle { padding-right: 6px; }
.bp-xo--compact .bp-xo-bar__label,
.bp-xo--compact .bp-xo-bar__total-label { display: none; }
.bp-xo--compact .bp-xo-bar__continue { display: none; }
.bp-xo--compact.is-sheet-open .bp-xo-bar__continue { display: inline-flex; }
.bp-xo--compact.is-sheet-open .bp-xo-bar__total,
.bp-xo--compact:not(.has-cart) .bp-xo-bar__total { display: none; }
.bp-xo--compact .bp-xo-btn { min-height: 42px; padding: 0 14px; }
.bp-xo--compact .bp-xo-bar__panel { left: 8px; right: 8px; max-height: 70vh; }
.bp-xo--compact .bp-xo-line { grid-template-columns: 44px minmax(0, 1fr) auto 28px; }
.bp-xo--compact .bp-xo-line .bp-xo-qty { grid-column: 2; grid-row: 2; justify-self: start; }
.bp-xo--compact .bp-xo-line__total { grid-column: 3; grid-row: 1 / span 2; }
.bp-xo--compact .bp-xo-line__remove { grid-column: 4; grid-row: 1 / span 2; }
.bp-xo--compact .bp-xo-line__thumb { grid-row: 1 / span 2; width: 44px; height: 44px; }

@media (max-width: 480px) {
  .bp-xo--compact .bp-xo-bar__count { font-size: 0.84em; }
  .bp-xo .bp-xo-lightbox__stage { inset: 64px 12px 72px; }
  .bp-xo .bp-xo-lightbox__nav { top: auto; bottom: 12px; margin-top: 0; }
}

/* ------------------------------------------------------------------ */
/* Login prompt and notices outside the screen                         */
/* ------------------------------------------------------------------ */

.bp-xo-gate {
  margin: 0 0 1.5em;
  padding: 20px 22px;
  border: 1px solid rgba(29, 29, 31, 0.1);
  border-radius: 14px;
  background: rgba(29, 29, 31, 0.025);
}
.bp-xo-gate p + p { margin-top: 0.6em; }
.bp-xo-gate__title { font-size: 1.1em; font-weight: 650; }
.bp-xo-gate--card {
  box-sizing: border-box;
  max-width: 440px;
  margin: 56px auto;
  padding: 36px 32px 32px;
  text-align: center;
  background: #fff;
  border: 1px solid rgba(29, 29, 31, 0.08);
  border-radius: 18px;
  box-shadow: 0 24px 60px -32px rgba(29, 29, 31, 0.28);
}
.bp-xo-gate__icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: rgba(29, 29, 31, 0.05);
}
.bp-xo-gate__icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bp-xo-gate--card .bp-xo-gate__title { margin: 0; font-size: 1.35em; letter-spacing: -0.01em; }
.bp-xo-gate__text { margin: 8px 0 0; opacity: 0.7; line-height: 1.5; }
.bp-xo-gate__actions { margin: 22px 0 0; }
.bp-xo-gate__btn { display: inline-block; min-width: 180px; padding: 12px 22px !important; border-radius: 999px !important; }

/* Welcome pane (before a product is chosen) */
.bp-xo-welcome { display: flex; flex-direction: column; justify-content: center; min-height: 100%; max-width: 640px; margin: 0 auto; padding: 40px 32px; box-sizing: border-box; }
.bp-xo-welcome__hello { margin: 0 0 6px; color: var(--bp-xo-muted); font-size: 0.95em; letter-spacing: 0.01em; }
.bp-xo-welcome__title { margin: 0; font-size: 1.7em; line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; color: var(--bp-xo-text); }
.bp-xo-welcome__text { margin: 10px 0 0; max-width: 46ch; color: var(--bp-xo-muted); line-height: 1.55; }
.bp-xo-welcome__label { margin: 30px 0 12px; font-size: 0.72em; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--bp-xo-faint); }
.bp-xo-welcome__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bp-xo .bp-xo-card { display: flex; flex-direction: column; gap: 6px; padding: 10px; border: 1px solid var(--bp-xo-line); border-radius: 14px; background: var(--bp-xo-surface); text-align: left; cursor: pointer; transition: border-color 0.15s, box-shadow 0.2s, transform 0.2s; }
.bp-xo .bp-xo-card:hover { border-color: var(--bp-xo-line-strong); box-shadow: 0 10px 24px -16px rgba(16, 24, 40, 0.35); transform: translateY(-2px); }
.bp-xo .bp-xo-card:focus-visible { outline: 2px solid var(--bp-xo-accent); outline-offset: 2px; }
.bp-xo-card__photo { display: grid; place-items: center; aspect-ratio: 1; overflow: hidden; border-radius: 10px; background: var(--bp-xo-photo); color: var(--bp-xo-faint); }
.bp-xo-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.bp-xo-card__photo svg { width: 28px; height: 28px; }
.bp-xo-card__name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.86em; line-height: 1.35; color: var(--bp-xo-text); }
.bp-xo-card__price { font-size: 0.9em; }
.bp-xo-card__price .bp-xo-row__price { display: inline-flex; gap: 6px; align-items: baseline; }
.bp-xo-card.is-skeleton { min-height: 180px; cursor: default; background: linear-gradient(90deg, var(--bp-xo-subtle) 25%, var(--bp-xo-photo) 50%, var(--bp-xo-subtle) 75%); background-size: 200% 100%; animation: bp-xo-shimmer 1.4s linear infinite; }
@media (max-width: 1100px) { .bp-xo-welcome__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Toast after "add to cart": fixed, always visible */
.bp-xo-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 2147482000;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: calc(100vw - 32px);
  padding: 10px 10px 10px 14px;
  border-radius: 14px;
  background: #1d1d1f;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, 0.45);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 16px);
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.bp-xo-toast.is-shown { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.bp-xo-toast__icon { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 50%; background: #2f9e6a; }
.bp-xo-toast__icon svg { width: 14px; height: 14px; fill: none; stroke: #fff; stroke-width: 2.4; }
.bp-xo-toast__text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.bp-xo-toast__link { flex: none; color: rgba(255, 255, 255, 0.8) !important; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.bp-xo-toast__btn { flex: none; padding: 7px 14px; border-radius: 999px; background: #fff; color: #1d1d1f !important; font-weight: 600; text-decoration: none !important; white-space: nowrap; }
@media (max-width: 600px) {
  .bp-xo-toast { left: 12px; right: 12px; bottom: 12px; transform: translateY(16px); }
  .bp-xo-toast.is-shown { transform: none; }
  .bp-xo-toast__text { white-space: normal; }
}

/* ------------------------------------------------------------------ */
/* Motion                                                              */
/* ------------------------------------------------------------------ */

@keyframes bp-xo-shimmer { to { background-position: -150% 0; } }
@keyframes bp-xo-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes bp-xo-pop { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: none; } }
@keyframes bp-xo-rise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes bp-xo-pulse { 50% { opacity: 0.55; } }
@keyframes bp-xo-draw { to { stroke-dashoffset: 0; } }
@keyframes bp-xo-bump { 0% { transform: scale(1); } 35% { transform: scale(1.35); } 100% { transform: scale(1); } }
@keyframes bp-xo-wiggle { 0%, 100% { transform: none; } 30% { transform: rotate(-8deg); } 60% { transform: rotate(6deg); } }
@keyframes bp-xo-shake { 0%, 100% { transform: none; } 25% { transform: translateX(-4px); } 75% { transform: translateX(4px); } }

@media (prefers-reduced-motion: reduce) {
  .bp-xo *,
  .bp-xo *::before,
  .bp-xo *::after,
  .bp-xo-lightbox {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
  .bp-xo .bp-xo-gallery__main:hover img { transform: none; }
}

/* Buy row: quantity and add-to-cart share height and shape */
.bp-xo-buy__row .bp-xo-qty { height: 52px; border-radius: 999px; padding: 0 4px; }

/* ---- Product pane polish (themes with their own button styles) ---- */

/* Thumbnails and image options: the selected ring is drawn inside, so the
   scroll container never clips it. */
.bp-xo-thumbs { padding: 4px 2px; }
.bp-xo .bp-xo-thumbs__btn,
.bp-xo .bp-xo-opt--image { padding: 0; margin: 0; border: 1px solid var(--bp-xo-line); outline: none; }
.bp-xo .bp-xo-thumbs__btn.is-active,
.bp-xo .bp-xo-opt--image.is-on,
.bp-xo .bp-xo-opt--image.is-on:hover { border-color: var(--bp-xo-accent); box-shadow: inset 0 0 0 1px var(--bp-xo-accent); }
.bp-xo .bp-xo-opt--image:hover { border-color: var(--bp-xo-line-strong); box-shadow: none; }
.bp-xo .bp-xo-thumbs__btn:focus-visible,
.bp-xo .bp-xo-opt:focus-visible { outline: 2px solid var(--bp-xo-accent); outline-offset: 2px; }

/* HT / TTC readable next to the price */
.bp-xo-price__tax { color: var(--bp-xo-text); opacity: 0.62; font-size: 0.48em; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

/* Recommended retail price: warm, readable panel */
.bp-xo-rrp { border-color: var(--bp-xo-line-strong); background: var(--bp-xo-line-strong); }
.bp-xo-rrp__cell { background: #fbf8f4; }
.bp-xo-rrp__cell--margin { background: #f1f8f3; }
.bp-xo-rrp__label { color: var(--bp-xo-text); opacity: 0.66; }
.bp-xo-rrp__value { color: var(--bp-xo-text); }
.bp-xo-rrp__cell--margin .bp-xo-rrp__value { color: var(--bp-xo-success); }

/* Variant choice: its own section, clear label, room around the options */
.bp-xo-pickers { margin-top: 6px; padding-top: 18px; border-top: 1px solid var(--bp-xo-line); gap: 18px; }
.bp-xo-picker__label { margin-bottom: 12px; font-size: 0.78em; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--bp-xo-text); opacity: 0.8; }
.bp-xo-picker__value { text-transform: none; letter-spacing: 0; font-weight: 600; color: var(--bp-xo-accent); opacity: 1; font-size: 1.12em; }
.bp-xo-picker__opts { gap: 10px; }
.bp-xo-desc { margin-bottom: 2px; }
/* ------------------------------------------------------------------ */
/* Incitations: progress in the bar, messages and suggestions          */
/* ------------------------------------------------------------------ */

/* Thin line on top of the cart bar: free shipping or minimum order. */
.bp-xo-bar__progress {
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 3px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.bp-xo-bar__progress.is-on { opacity: 1; background: var(--bp-xo-line); }
.bp-xo-bar__progress-fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: 0 3px 3px 0;
  background: var(--bp-xo-accent);
  transition: width 0.6s var(--bp-xo-ease), background-color 0.3s;
}
.bp-xo-bar__progress.is-success .bp-xo-bar__progress-fill { background: var(--bp-xo-success); }
/* The bar label becomes the short message: same line, no height change. */
.bp-xo-bar__label.is-nudge {
  max-width: 38ch;
  overflow: hidden;
  color: var(--bp-xo-accent);
  font-size: 0.78em;
  font-weight: 600;
  letter-spacing: 0;
  text-overflow: ellipsis;
  text-transform: none;
  white-space: nowrap;
}
.bp-xo-bar__label.is-nudge.is-success { color: var(--bp-xo-success); }
/* Phones: too narrow for the text, the line on top of the bar stays. */
.bp-xo--compact .bp-xo-bar__label.is-nudge { display: none; }

/* Messages in the cart panel and the hint on the product. */
.bp-xo-nudges { display: grid; gap: 8px; margin: 2px 0 10px; }
.bp-xo-nudges:empty { display: none; }
.bp-xo-nudge {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 6px 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bp-xo-accent-soft);
}
.bp-xo-nudge__icon { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--bp-xo-surface); color: var(--bp-xo-accent); font-size: 15px; box-shadow: inset 0 0 0 1px var(--bp-xo-line); }
.bp-xo .bp-xo-nudge__text { grid-column: 2; font-size: 0.88em; line-height: 1.4; }
.bp-xo-nudge__text strong { font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.bp-xo .bp-xo-nudge__cta { grid-column: 3; min-height: 34px; padding: 0 14px; border-radius: 999px; font-size: 0.85em; }
.bp-xo .bp-xo-nudge__cta.is-busy { opacity: 0.6; pointer-events: none; }
.bp-xo-nudge__track { grid-column: 2 / -1; display: block; height: 4px; overflow: hidden; border-radius: 999px; background: var(--bp-xo-line); }
.bp-xo-nudge__fill { display: block; height: 100%; border-radius: inherit; background: var(--bp-xo-accent); transition: width 0.6s var(--bp-xo-ease); }
.bp-xo-nudge.is-success { background: rgba(24, 122, 73, 0.08); }
.bp-xo-nudge.is-success .bp-xo-nudge__icon { background: var(--bp-xo-success); color: #fff; box-shadow: none; }
.bp-xo-nudge.is-success .bp-xo-nudge__text { color: var(--bp-xo-success); font-weight: 600; }
.bp-xo-nudge.is-success .bp-xo-nudge__fill { background: var(--bp-xo-success); }
.bp-xo-hint { animation: bp-xo-rise 0.22s var(--bp-xo-ease); }
.bp-xo-nudge--hint { border: 1px dashed color-mix(in srgb, var(--bp-xo-accent) 35%, transparent); }

/* Suggestions under the cart lines. */
.bp-xo-suggest:empty { display: none; }
.bp-xo-suggest__box { margin: 10px 0 6px; padding-top: 12px; border-top: 1px solid var(--bp-xo-line); }
.bp-xo .bp-xo-suggest__title { margin-bottom: 10px; color: var(--bp-xo-muted); font-size: 0.72em; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
/* Compact cards: thumbnail, name and price, round add button. */
.bp-xo-suggest__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 8px; }
.bp-xo-suggest__card { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 6px 8px 6px 6px; border: 1px solid var(--bp-xo-line); border-radius: 12px; background: var(--bp-xo-surface); transition: border-color 0.15s, box-shadow 0.2s; }
.bp-xo-suggest__card:hover { border-color: var(--bp-xo-line-strong); box-shadow: 0 8px 20px -14px rgba(16, 24, 40, 0.35); }
.bp-xo .bp-xo-suggest__open { display: grid; flex: 1; grid-template-columns: 48px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; align-items: center; min-width: 0; text-align: left; }
.bp-xo-suggest__photo { display: grid; grid-row: 1 / 3; place-items: center; width: 48px; height: 48px; overflow: hidden; border-radius: 9px; background: var(--bp-xo-photo); color: var(--bp-xo-faint); font-size: 20px; }
.bp-xo .bp-xo-suggest__photo img { width: 100%; height: 100%; object-fit: cover; }
.bp-xo-suggest__name { display: -webkit-box; align-self: end; overflow: hidden; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 0.82em; line-height: 1.3; }
.bp-xo-suggest__price { align-self: start; font-size: 0.8em; font-weight: 600; font-variant-numeric: tabular-nums; }
.bp-xo-suggest__price del { color: var(--bp-xo-muted); font-weight: 400; }
.bp-xo-suggest__price ins { text-decoration: none; }
.bp-xo .bp-xo-suggest__add {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 32px;
  padding: 0 12px 0 9px;
  border: 1px solid var(--bp-xo-accent);
  border-radius: 999px;
  color: var(--bp-xo-accent);
  font-size: 0.78em;
  font-weight: 600;
  transition: background-color 0.15s, color 0.15s;
}
.bp-xo .bp-xo-suggest__add:hover { background: var(--bp-xo-accent); color: var(--bp-xo-accent-contrast); }
.bp-xo .bp-xo-suggest__add.is-busy { opacity: 0.6; pointer-events: none; }
.bp-xo--compact .bp-xo-suggest__list { grid-template-columns: minmax(0, 1fr); }

/* Toast: second line with the free shipping message. */
.bp-xo-toast__body { display: flex; flex-direction: column; min-width: 0; }
.bp-xo-toast__nudge { overflow: hidden; color: rgba(255, 255, 255, 0.72); font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; max-width: 46ch; }
.bp-xo-toast__nudge.is-success { color: #7ee2a8; }
@media (max-width: 600px) { .bp-xo-toast__nudge { white-space: normal; } }

@media (prefers-reduced-motion: reduce) {
  .bp-xo-bar__progress-fill, .bp-xo-nudge__fill, .bp-xo-suggest__photo img { transition: none; }
  .bp-xo-hint { animation: none; }
}

/* ------------------------------------------------------------------ */
/* Wide screens: the page scrolls, not a box inside the page           */
/* ------------------------------------------------------------------ */

/*
 * The list follows the page scroll; search and categories stay on top
 * and the product stays in view on the right (position: sticky).
 * overflow: clip keeps the rounded corners without creating a scroll
 * container, which would stop the sticky parts.
 */
.bp-xo:not(.bp-xo--compact) {
  height: auto;
  min-height: 0;
  overflow: visible;
  overflow: clip;
}
.bp-xo:not(.bp-xo--compact) .bp-xo__panes { align-items: start; }
.bp-xo:not(.bp-xo--compact) .bp-xo__list {
  min-height: calc(100vh - var(--bp-xo-sticky-top));
  overflow: visible;
  align-self: stretch;
}
.bp-xo:not(.bp-xo--compact) .bp-xo__head { top: var(--bp-xo-sticky-top); }
.bp-xo:not(.bp-xo--compact) .bp-xo__detail {
  position: sticky;
  top: var(--bp-xo-sticky-top);
  max-height: calc(100vh - var(--bp-xo-sticky-top));
  overscroll-behavior: auto;
}
@supports (height: 100dvh) {
  .bp-xo:not(.bp-xo--compact) .bp-xo__list { min-height: calc(100dvh - var(--bp-xo-sticky-top)); }
  .bp-xo:not(.bp-xo--compact) .bp-xo__detail { max-height: calc(100dvh - var(--bp-xo-sticky-top)); }
}

/*
 * Cart card in the product pane, under "Add to cart": no bar pinned to
 * the bottom of the window, where chat bubbles and language switchers
 * sit. The cart opens in the card (accordion).
 */
.bp-xo.has-side-cart .bp-xo-bar {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid var(--bp-xo-line);
  border-radius: var(--bp-xo-radius);
  background: var(--bp-xo-surface);
  box-shadow: var(--bp-xo-shadow);
}
.bp-xo.has-side-cart .bp-xo-welcome .bp-xo-bar { margin: 18px 0 6px; }
/* Under the product: the width of the pane, same side margins as the product. */
.bp-xo.has-side-cart .bp-xo-detail > .bp-xo-bar {
  width: auto;
  margin: 0 clamp(18px, 3cqi, 32px) clamp(18px, 3cqi, 32px);
}
.bp-xo.has-side-cart .bp-xo-bar__main { gap: 14px; padding: 12px 12px 12px 10px; }
.bp-xo.has-side-cart .bp-xo-bar__toggle { flex: 1 1 auto; min-width: 0; }
.bp-xo.has-side-cart .bp-xo-bar__label.is-nudge { max-width: none; white-space: normal; }
.bp-xo.has-side-cart .bp-xo-bar__continue { display: none; }
.bp-xo.has-side-cart .bp-xo-bar__actions { flex: none; }
.bp-xo.has-side-cart .bp-xo-bar__actions .bp-xo-btn--primary { min-height: 46px; padding: 0 26px; }
.bp-xo.has-side-cart .bp-xo-bar__panel {
  position: static;
  order: 2;
  max-height: none;
  padding: 12px 14px 6px;
  border: 0;
  border-top: 1px solid var(--bp-xo-line);
  border-radius: 0;
  box-shadow: none;
  animation: bp-xo-fade 0.2s ease;
}
.bp-xo.has-side-cart .bp-xo-line { grid-template-columns: 40px minmax(0, 1fr) auto auto 28px; gap: 10px; }
.bp-xo.has-side-cart .bp-xo-line__thumb { width: 40px; height: 40px; }
.bp-xo .bp-xo-bar__main { width: 100%; max-width: none; }
