@charset "UTF-8";
:root {
  --bvd-ink: #18283d;
  --bvd-muted: #526278;
  --bvd-accent: #365f2e;
  --bvd-tint: #f1f6ef;
  --bvd-canvas: #f6f8fa;
  --bvd-surface: #fff;
  --bvd-line: #dce3e9;
  --bvd-gutter: clamp(1.25rem, 5vw, 4.5rem);
}

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

body {
  display: flex;
  flex-direction: column;
  min-block-size: 100vh;
  margin: 0;
  background: var(--bvd-canvas);
  color: var(--bvd-ink);
  font-family: system-ui, sans-serif;
  line-height: 1.55;
}

a {
  color: var(--bvd-accent);
  text-underline-offset: 0.2em;
}

:focus-visible {
  outline: 2px solid var(--bvd-accent);
  outline-offset: 4px;
}

.layout-shell {
  inline-size: min(100% - 2 * var(--bvd-gutter), 74rem);
  margin-inline: auto;
}

.site-header {
  border-block-end: 1px solid var(--bvd-line);
  background: var(--bvd-surface);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-block-size: 4.5rem;
}

.site-name {
  border-inline-start: 3px solid var(--bvd-accent);
  padding-inline-start: 0.75rem;
  color: var(--bvd-ink);
  font-size: 1.125rem;
  font-weight: 750;
  text-decoration: none;
}

.site-main {
  flex: 1;
  padding-block: clamp(2rem, 6vw, 5rem);
}

.site-footer {
  border-block-start: 1px solid var(--bvd-line);
  background: var(--bvd-surface);
}

.site-footer__inner {
  padding-block: 1.5rem;
  font-size: 0.875rem;
}

.page-content + .page-content {
  margin-block-start: 2.5rem;
}

.page-title {
  margin-block: 0 1rem;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  line-height: 1.15;
}

.screen-reader-text:not(:focus) {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 100000;
  inset-block-start: 3.5rem;
  inset-inline-start: 1rem;
  padding: 0.75rem 1rem;
  background: var(--bvd-surface);
}

body:has(.battery-page) {
  background: var(--bvd-surface);
}

.battery-page {
  inline-size: min(100% - 2 * clamp(1.25rem, 3.5vw, 4.5rem), 120rem);
  padding-block-start: clamp(2rem, 3.6vw, 4.5rem);
}

.bvd-detail-hero {
  --bvd-detail-rule: #dedede;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin-block-end: clamp(1.75rem, 3.5vw, 3rem);
  color: #111;
  line-height: 1.3;
}
.bvd-detail-hero__intro h2 {
  margin: 0;
  font-size: clamp(2rem, 2.65vw, 3.5rem);
  font-weight: 550;
  letter-spacing: -0.035em;
  line-height: 1.12;
  overflow-wrap: anywhere;
}
.bvd-detail-hero__eyebrow {
  margin: 0 0 0.7rem;
  color: #383838;
  font-size: clamp(0.8125rem, 1.1vw, 1.375rem);
  text-transform: uppercase;
}
.bvd-detail-hero__rating {
  margin: 0.45rem 0 0;
  font-size: clamp(1.4rem, 2.2vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.025em;
}
.bvd-detail-hero__photo {
  display: grid;
  grid-template: minmax(0, 1fr)/minmax(0, 1fr);
  place-items: center;
  aspect-ratio: 5/4;
  margin: 0;
  border-radius: clamp(0.75rem, 1.2vw, 1.375rem);
  padding: clamp(1rem, 3.1vw, 3.75rem);
  overflow: hidden;
  background: #f2f2f2;
}
.bvd-detail-hero__photo img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: contain;
  mix-blend-mode: multiply;
}
.bvd-detail-hero__specs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
}
.bvd-detail-hero__spec {
  display: grid;
  align-content: start;
  padding: 0.65rem 0.45rem;
  text-align: center;
}
.bvd-detail-hero__spec dt {
  grid-row: 2;
  margin-block-start: 0.45rem;
  font-size: clamp(0.875rem, 1.06vw, 1.3rem);
  color: #383838;
  hyphens: auto;
}
.bvd-detail-hero__spec dd {
  display: grid;
  grid-row: 1;
  justify-items: center;
  gap: 0.55rem;
  margin: 0;
  font-size: clamp(1.125rem, 1.41vw, 1.75rem);
}
.bvd-detail-hero__spec svg {
  inline-size: clamp(1.5rem, 1.9vw, 2.375rem);
  block-size: auto;
}
.bvd-detail-hero__references {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.85rem;
  margin: 0;
  border-block-start: 1px solid var(--bvd-detail-rule);
  padding-block-start: clamp(1rem, 1.65vw, 2rem);
  color: #333;
  font-size: clamp(0.9375rem, 1.07vw, 1.375rem);
}
.bvd-detail-hero__references > div {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 0.35em;
  max-inline-size: 100%;
}
.bvd-detail-hero__references dd {
  margin: 0;
  overflow-wrap: anywhere;
}

@media (width < 56rem) {
  .bvd-detail-hero__spec:nth-child(even) {
    border-inline-start: 1px solid var(--bvd-detail-rule);
  }
  .bvd-detail-hero__spec:nth-child(n+3) {
    border-block-start: 1px solid var(--bvd-detail-rule);
  }
}
@media (width >= 56rem) {
  .bvd-detail-hero {
    gap: 0 clamp(2rem, 5.45vw, 7rem);
  }
  .bvd-detail-hero:has(> figure) {
    grid-template-columns: minmax(0, 1.33fr) minmax(0, 1fr);
    grid-template-rows: auto auto 1fr;
  }
  .bvd-detail-hero:not(:has(> figure)) {
    max-inline-size: 66rem;
  }
  .bvd-detail-hero__photo {
    grid-column: 2;
    grid-row: 1/span 3;
    align-self: start;
  }
  .bvd-detail-hero__specs {
    grid-auto-flow: column;
    grid-auto-columns: minmax(0, 1fr);
    grid-template-columns: none;
    margin-block-start: clamp(1.75rem, 2.65vw, 3.5rem);
  }
  .bvd-detail-hero__spec + .bvd-detail-hero__spec {
    border-inline-start: 1px solid var(--bvd-detail-rule);
  }
  .bvd-detail-hero__references {
    align-self: start;
    margin-block-start: clamp(1.125rem, 1.55vw, 2rem);
  }
}
@media (width >= 90rem) {
  .bvd-detail-hero__references {
    column-gap: 0.65rem;
  }
  .bvd-detail-hero__references > div:not(:last-child) {
    border-inline-end: 1px solid var(--bvd-detail-rule);
    padding-inline-end: 0.65rem;
  }
}
.battery-page > p:last-child > a:only-child {
  display: inline-flex;
  align-items: center;
  min-block-size: 2.75rem;
  border: 1px solid var(--bvd-line);
  border-radius: 0.625rem;
  padding: 0.5rem 0.875rem;
  background: var(--bvd-surface);
  font-weight: 650;
  text-decoration: none;
}
.battery-page > p:last-child > a:only-child::before {
  margin-inline-end: 0.55rem;
  content: "←"/"";
}
.battery-page > p:last-child > a:only-child:hover {
  border-color: var(--bvd-accent);
  background: var(--bvd-tint);
}

@media (min-width: 56rem) and (pointer: fine) {
  .bvd-scanner {
    display: none;
  }
}
.bvd-scanner button {
  min-block-size: 2.75rem;
  border: 1px solid var(--bvd-line);
  border-radius: 0.625rem;
  padding: 0.55rem 0.85rem;
  background: var(--bvd-surface);
  color: var(--bvd-ink);
  cursor: pointer;
  font: inherit;
}
.bvd-scanner .bvd-scanner__start {
  margin-block: 0.5rem 0.75rem;
  border-color: var(--bvd-ink);
  padding-inline: 1.15rem;
  background: var(--bvd-ink);
  color: var(--bvd-surface);
  font-weight: 650;
}
.bvd-scanner__dialog {
  inline-size: min(100% - 2rem, 31rem);
  max-block-size: calc(100% - 2rem);
  max-block-size: calc(100dvh - 2rem);
  overflow: auto;
  border: 1px solid var(--bvd-line);
  border-radius: 1rem;
  padding: 1rem;
  background: var(--bvd-surface);
  color: var(--bvd-ink);
}
.bvd-scanner__dialog::backdrop {
  background: rgba(24, 40, 61, 0.66);
}
.bvd-scanner__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}
.bvd-scanner__header h2 {
  margin: 0;
  font-size: 1.25rem;
}
.bvd-scanner__viewfinder {
  position: relative;
  inline-size: 100%;
  max-block-size: 52dvh;
  aspect-ratio: 4/5;
  margin-block-start: 1rem;
  overflow: hidden;
  border-radius: 0.625rem;
  background: #0d1724;
}
.bvd-scanner__viewfinder video {
  position: absolute;
  inset: 0;
  display: block;
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}
.bvd-scanner__viewfinder::after {
  position: absolute;
  inset-block: 36%;
  inset-inline: 3%;
  border: 2px solid #fff;
  border-radius: 0.4rem;
  content: "";
  pointer-events: none;
}
.bvd-scanner__status {
  margin: 0.75rem 0 0;
}
.bvd-scanner__manual {
  margin-block-start: 0.75rem;
}
@media (orientation: landscape) {
  .bvd-scanner__dialog {
    padding-block: 0.75rem;
  }
  .bvd-scanner__viewfinder {
    max-block-size: min(43dvh, 16rem);
    aspect-ratio: 16/9;
    margin-block-start: 0.75rem;
  }
  .bvd-scanner__viewfinder::after {
    inset-block: 22%;
  }
}
