.bpm {
  --ink: #0b0e0c;
  --muted: #667069;
  --line: #dfe3dd;
  --paper: #f4f6f1;
  --acid: #d9ff55;
  --acid-soft: #f2f8db;
  --acid-line: #b9cc70;
  max-width: 100%;
  overflow-x: clip;
  background: #fff;
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

.bpm__shell {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(430px, .92fr);
  gap: clamp(38px, 4.5vw, 72px);
  width: min(100%, 1560px);
  margin: 0 auto;
  padding: 28px 40px 72px;
}

.bpm__media { position: sticky; top: 18px; align-self: start; min-width: 0; }
.bpm__media-stage { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #f5f3f3; }
.bpm__media-stage img, .bpm__media-stage video { display: block; width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2, .7, .2, 1), opacity .2s ease; }
.bpm__media-stage video[hidden] { display: none; }
.bpm__media-badge { position: absolute; z-index: 2; top: 16px; left: 16px; min-height: 34px; padding: 0 12px; border: 0; background: var(--ink); color: #fff; font-family: inherit; font-size: 10px; font-weight: 800; line-height: 1; letter-spacing: .12em; cursor: pointer; }
.bpm__media-badge:hover, .bpm__media-badge:focus-visible { background: var(--acid); color: var(--ink); }

.bpm__thumbs { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 8px; margin-top: 8px; }
.bpm__thumbs button { position: relative; aspect-ratio: 1 / 1; min-width: 0; overflow: hidden; padding: 0; border: 1px solid var(--line); background: var(--paper); opacity: .72; cursor: pointer; transition: opacity .16s ease, box-shadow .16s ease, transform .16s ease; }
.bpm__thumbs button:hover, .bpm__thumbs button.is-active { opacity: 1; }
.bpm__thumbs button.is-active { box-shadow: inset 0 0 0 2px var(--ink); }
.bpm__thumbs button:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.bpm__thumbs img { display: block; width: 100%; height: 100%; object-fit: contain; }

.bpm__buy { min-width: 0; padding-top: 8px; }
.bpm__buy h1 { max-width: 680px; margin: 0; font-family: Jost, "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: clamp(42px, 4.1vw, 66px); font-weight: 700; line-height: .98; letter-spacing: -.045em; overflow-wrap: anywhere; }
.bpm__price { display: flex; align-items: baseline; gap: 10px; margin-top: 22px; }
.bpm__price strong { font-size: 30px; line-height: 1; letter-spacing: -.04em; }
.bpm__price s { color: #899089; font-size: 15px; }
.bpm__lede { max-width: 600px; margin: 15px 0 0; color: #39413c; font-size: 15px; font-weight: 400; line-height: 1.58; }

.bpm__packs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 26px 0 0; padding: 0; border: 0; }
.bpm__packs legend { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; margin-bottom: 3px; font-size: 14px; font-weight: 750; }
.bpm__packs legend > span, .bpm__configure-head > div > span { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; font-size: 10px; font-weight: 800; }
.bpm__packs label { position: relative; display: flex; flex-direction: column; align-items: flex-start; min-width: 0; min-height: 98px; padding: 12px 11px; border: 1px solid #cfd4ce; background: #fff; cursor: pointer; }
.bpm__packs label.is-selected { padding: 11px 10px; border: 2px solid var(--ink); background: linear-gradient(180deg, var(--acid-soft) 0, #f8faf1 100%); box-shadow: inset 0 -4px 0 var(--acid); }
.bpm__packs input { position: absolute; opacity: 0; pointer-events: none; }
.bpm__pack-name, .bpm__pack-price { display: flex; align-items: baseline; gap: 4px; }
.bpm__pack-name b { font-size: 20px; line-height: 1; }
.bpm__pack-name small, .bpm__pack-price small { color: var(--muted); font-size: 10px; font-weight: 400; line-height: 1.25; }
.bpm__packs label.is-selected .bpm__pack-price small { color: #526023; font-weight: 750; }
.bpm__pack-price { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; margin-top: auto; }
.bpm__pack-price b { font-size: 17px; line-height: 1.1; }
.bpm__pack-tag { position: absolute; top: 6px; right: 6px; padding: 3px 5px; border: 1px solid #bed467; background: var(--acid); color: var(--ink); font-size: 9px; font-weight: 850; line-height: 1.1; letter-spacing: .035em; }

.bpm__configure-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 20px 0 9px; }
.bpm__configure-head > div { display: flex; align-items: center; gap: 8px; }
.bpm__configure-head h2 { margin: 0; font-size: 16px; font-weight: 750; line-height: 1.2; }
.bpm__configure-head button { min-height: 36px; padding: 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: var(--ink); font-family: inherit; font-size: 12px; font-weight: 700; line-height: 1; cursor: pointer; }

.bpm__items { display: grid; gap: 7px; min-width: 0; }
.bpm-item { min-width: 0; overflow: hidden; padding: 10px 11px; border: 1px solid var(--line); background: var(--paper); }
.bpm-item.is-complete { border-color: #a8b4aa; background: #f7faf5; }
.bpm-item__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; margin-bottom: 7px; }
.bpm-item__top b { font-size: 13px; font-weight: 700; }
.bpm-item__status { overflow: hidden; color: var(--muted); font-size: 11px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.bpm-item.is-complete .bpm-item__status { color: #34714a; }
.bpm-item__fields { display: grid; grid-template-columns: minmax(250px, 1.55fr) minmax(110px, .68fr); align-items: end; gap: 10px; min-width: 0; }
.bpm-item__field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; color: var(--muted); font-size: 10px; font-weight: 750; letter-spacing: .07em; text-transform: uppercase; }
.bpm-item__field-head b { color: var(--ink); font-size: 11px; letter-spacing: 0; text-transform: none; }
.bpm-item__swatches { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 4px; max-width: 100%; }
.bpm-item__swatches button { display: grid; place-items: center; min-width: 0; height: 36px; padding: 2px; border: 1px solid #cbd1ca; background: #fff; cursor: pointer; }
.bpm-item__swatches button.is-active { border-color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.bpm-item__swatches i { display: block; width: 20px; height: 20px; border: 1px solid rgba(0, 0, 0, .14); border-radius: 50%; background: var(--swatch); }
.bpm-item__swatches button.is-active i { box-shadow: 0 0 0 2px #fff, 0 0 0 3px var(--ink); }
.bpm-item__size, .bpm-item__colour { min-width: 0; }
.bpm-item select { width: 100%; height: 42px; padding: 0 28px 0 10px; border: 1px solid #cfd4ce; border-radius: 0; background: #fff; color: var(--ink); font-family: inherit; font-size: 12px; font-weight: 650; line-height: 1; cursor: pointer; }
.bpm-item select:focus-visible, .bpm button:focus-visible, .bpm summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.bpm__size-guide { margin-top: 9px; border: 1px solid var(--line); background: #fbfcf9; }
.bpm__size-guide > summary { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; min-height: 45px; padding: 0 11px; list-style: none; cursor: pointer; }
.bpm__size-guide > summary::-webkit-details-marker, .bpm__accordions summary::-webkit-details-marker { display: none; }
.bpm__size-guide > summary span { font-size: 13px; font-weight: 800; }
.bpm__size-guide > summary small { color: var(--muted); font-size: 11px; }
.bpm__size-guide > summary i { display: grid; place-items: center; width: 26px; height: 26px; border: 1px solid var(--line); border-radius: 50%; font-style: normal; transition: transform .18s ease; }
.bpm__size-guide[open] > summary i { transform: rotate(45deg); }
.bpm__size-guide-body { padding: 0 10px 10px; }
.bpm__size-guide-body > p { margin: 0 0 8px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.bpm__size-table { max-width: 100%; overflow: hidden; border: 1px solid var(--line); background: #fff; }
.bpm__size-table table { width: 100%; table-layout: fixed; border-collapse: collapse; }
.bpm__size-table th, .bpm__size-table td { padding: 7px 2px; border-bottom: 1px solid var(--line); font-size: 10px; text-align: center; white-space: nowrap; }
.bpm__size-table th:first-child { width: 68px; padding-left: 8px; text-align: left; }
.bpm__size-table thead th { background: var(--ink); color: #fff; font-size: 9px; }
.bpm__size-table tbody th { font-weight: 800; }
.bpm__size-table tbody tr:last-child th, .bpm__size-table tbody tr:last-child td { border-bottom: 0; }
.bpm__size-guide-body .bpm__model-fit { margin: 7px 0 0; color: var(--ink); font-weight: 650; }

.bpm__add { position: relative; display: flex; align-items: center; justify-content: space-between; isolation: isolate; width: 100%; min-height: 54px; margin-top: 10px; overflow: hidden; padding: 0 18px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-family: inherit; font-size: 15px; font-weight: 800; line-height: 1.1; cursor: pointer; }
.bpm__add:not(:disabled):hover { background: var(--acid); color: var(--ink); }
.bpm__add:disabled { border-color: var(--acid-line); background: var(--acid-soft); color: var(--ink); box-shadow: inset 4px 0 0 var(--acid); cursor: not-allowed; opacity: 1; }
.bpm__add:disabled > span:first-child { letter-spacing: .01em; }
.bpm__add:disabled > span:last-child { display: grid; place-items: center; width: 28px; height: 28px; border: 1px solid var(--acid-line); border-radius: 50%; background: #fff; color: var(--ink); }
.bpm__add.is-loading { background: #1e2923; color: #fff; cursor: wait; }
.bpm__add.is-loading > span:last-child { font-size: 0; }
.bpm__add.is-loading > span:last-child::after { display: block; width: 18px; height: 18px; border: 2px solid rgba(255, 255, 255, .38); border-top-color: #fff; border-radius: 50%; content: ""; animation: bpmSpin .7s linear infinite; }
.bpm__error { margin: 8px 0 0; color: #a52c2c; font-size: 11px; }
.bpm__microcopy { margin: 9px 0 0; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.4; text-align: center; }
.bpm__microcopy span { color: #38a05a; }
.bpm__payments { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-top: 13px; }
.bpm-pay { display: inline-flex; align-items: center; justify-content: center; min-width: 46px; height: 28px; padding: 2px 5px; border: 1px solid #d8dcd7; border-radius: 4px; background: #fff; }
.bpm-pay img { display: block; width: 38px; height: 22px; object-fit: contain; }
.bpm-pay--wallet { min-width: 94px; color: #354039; font-size: 9px; font-weight: 800; letter-spacing: .05em; }
.bpm__secure { margin: 6px 0 0; color: var(--muted); font-size: 11px; font-weight: 400; line-height: 1.4; text-align: center; }

.bpm__accordions { margin-top: 15px; border-top: 1px solid var(--line); }
.bpm__accordions-title { margin: 0; padding: 13px 3px 7px; color: var(--muted); font-size: 11px; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.bpm__accordions details { border-bottom: 1px solid var(--line); }
.bpm__accordions summary { display: flex; align-items: center; justify-content: space-between; min-height: 46px; padding: 11px 4px; list-style: none; font-size: 14px; font-weight: 750; cursor: pointer; }
.bpm__accordions summary span { transition: transform .18s ease; }
.bpm__accordions details[open] summary span { transform: rotate(45deg); }
.bpm__accordions p { margin: -2px 0 15px; padding: 0 20px 0 4px; color: var(--muted); font-size: 13px; line-height: 1.58; }
.bpm-sticky { display: none; }

.bpm button, .bpm select, .bpm summary, .bpm__packs label { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.bpm button, .bpm__packs label { transition: transform .12s ease, filter .12s ease, background-color .18s ease, border-color .18s ease, box-shadow .18s ease; }
.bpm button:not(:disabled):active, .bpm__packs label:active { transform: scale(.985); filter: brightness(.94); }
@keyframes bpmSpin { to { transform: rotate(360deg); } }

@media (hover: hover) and (min-width: 841px) {
  .bpm__media-stage:hover img { transform: scale(1.012); }
}

@media (max-width: 1100px) {
  .bpm__shell { grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr); gap: 30px; padding-inline: 22px; }
  .bpm__buy h1 { font-size: 43px; }
}

@media (max-width: 840px) {
  .bpm__shell { display: block; padding: 0 0 48px; }
  .bpm__media { position: relative; top: auto; }
  .bpm__media-stage { width: 100%; aspect-ratio: 1 / 1; }
  .bpm__media-badge { top: 12px; left: 12px; min-height: 32px; padding-inline: 10px; font-size: 9px; }
  .bpm__thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 21px) / 4); gap: 7px; margin: 7px 14px 0; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .bpm__thumbs::-webkit-scrollbar { display: none; }
  .bpm__thumbs button { scroll-snap-align: start; }
  .bpm__buy { padding: 21px 18px 0; }
  .bpm__buy h1 { font-size: clamp(32px, 9vw, 39px); }
  .bpm__price { margin-top: 16px; }
  .bpm__lede { margin-top: 11px; font-size: 15px; }
  .bpm__packs { margin-top: 20px; gap: 6px; }
  .bpm__packs label { min-height: 94px; }
  .bpm-sticky { position: fixed; z-index: 90; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 12px calc(9px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: rgba(255, 255, 255, .96); box-shadow: 0 -8px 28px rgba(11, 14, 12, .12); transform: translateY(120%); transition: transform .24s ease; backdrop-filter: blur(12px); }
  .bpm-sticky.is-visible { transform: translateY(0); }
  .bpm-sticky div { min-width: 0; }
  .bpm-sticky small, .bpm-sticky strong { display: block; }
  .bpm-sticky small { margin-bottom: 3px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .07em; }
  .bpm-sticky strong { font-size: 13px; }
  .bpm-sticky button { min-width: 142px; min-height: 46px; padding: 0 13px; border: 0; background: var(--ink); color: #fff; font-family: inherit; font-size: 14px; font-weight: 800; line-height: 1; }
}

@media (max-width: 540px) {
  .bpm__buy { padding-inline: 15px; }
  .bpm__packs label { min-height: 92px; padding: 10px 8px; }
  .bpm__packs label.is-selected { padding: 9px 7px; }
  .bpm__pack-name b { font-size: 18px; }
  .bpm__pack-name small, .bpm__pack-price small { font-size: 10px; }
  .bpm__pack-price b { font-size: 15px; }
  .bpm__pack-tag { top: 5px; right: 4px; font-size: 9px; }
  .bpm__configure-head { margin-top: 17px; }
  .bpm-item { padding: 8px 9px; }
  .bpm-item__top { min-height: 18px; margin-bottom: 5px; }
  .bpm-item__status { max-width: 62%; font-size: 10px; }
  .bpm-item__fields { grid-template-columns: minmax(0, 1fr) 96px; align-items: center; gap: 7px; }
  .bpm-item__field-head { display: none; }
  .bpm-item__swatches { gap: 2px; }
  .bpm-item__swatches button { height: 34px; padding: 0; border-color: transparent; background: transparent; }
  .bpm-item__swatches button.is-active { border-color: transparent; box-shadow: none; }
  .bpm-item__swatches i { width: 19px; height: 19px; }
  .bpm-item select { height: 36px; padding: 0 24px 0 8px; font-size: 12px; }
  .bpm__size-guide > summary small { display: none; }
  .bpm__size-guide-body { padding: 0 8px 8px; }
  .bpm__size-table th, .bpm__size-table td { padding: 6px 1px; font-size: 9px; }
  .bpm__size-table th:first-child { width: 60px; padding-left: 6px; }
  .bpm__payments { gap: 4px; }
  .bpm-pay { min-width: 42px; }
}

@media (prefers-reduced-motion: reduce) {
  .bpm *, .bpm *::before, .bpm *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
