.bcim {
  --bcim-lime: #c8df1e;
  --bcim-blue: #00aee6;
  --bcim-orange: #f47a20;
  --bcim-ink: #111111;
  --bcim-paper: #ffffff;
  --bcim-muted: #f3f6f4;
  --bcim-border: rgba(17, 17, 17, 0.16);
  color: var(--bcim-ink);
  font-family: inherit;
  margin: 2rem auto;
  max-width: 1180px;
}

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

.bcim__sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.bcim__intro {
  margin: 0 0 1rem;
  max-width: 760px;
}

.bcim__intro h2 {
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 0.95;
  margin: 0.1rem 0 0.55rem;
  text-transform: uppercase;
}

.bcim__intro p:last-child {
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.45;
  margin: 0;
}

.bcim__eyebrow {
  display: inline-block;
  background: var(--bcim-blue);
  border-radius: 999px;
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
  margin: 0 0 0.35rem;
  padding: 0.45rem 0.75rem;
  text-transform: uppercase;
}

.bcim__layout {
  align-items: start;
  display: grid;
  gap: 1.25rem;
  grid-template-columns: minmax(0, 1fr) minmax(310px, 400px);
}

.bcim__map-wrap {
  background: #111111;
  border: 2px solid var(--bcim-border);
  border-radius: 1.1rem;
  overflow: hidden;
  position: relative;
}

.bcim__map-canvas {
  position: relative;
  width: 100%;
}

.bcim__map-image {
  display: block;
  height: auto;
  width: 100%;
}

.bcim__hotspots {
  inset: 0;
  position: absolute;
}

.bcim__hotspot {
  align-items: center;
  background: transparent;
  border: 2px solid transparent;
  border-radius: 999px;
  color: transparent;
  cursor: pointer;
  display: flex;
  font-size: 0;
  font-weight: 900;
  height: clamp(32px, 4.8vw, 48px);
  justify-content: center;
  left: calc(var(--x) * 1%);
  line-height: 1;
  padding: 0;
  position: absolute;
  top: calc(var(--y) * 1%);
  transform: translate(-50%, -50%);
  transition: background 140ms ease, border-color 140ms ease, transform 140ms ease, box-shadow 140ms ease;
  width: clamp(32px, 4.8vw, 48px);
}

.bcim__hotspot:hover,
.bcim__hotspot:focus-visible,
.bcim__hotspot.is-active {
  background: rgba(255, 255, 255, 0.08);
  border-color: #ffffff;
  box-shadow: 0 0 0 4px rgba(0, 174, 230, 0.64), 0 8px 24px rgba(0, 0, 0, 0.35);
  outline: none;
  transform: translate(-50%, -50%) scale(1.12);
}

.bcim__popover {
  background: var(--bcim-paper);
  border: 3px solid var(--bcim-blue);
  border-radius: 1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  color: var(--bcim-ink);
  left: 0;
  max-width: min(320px, 88%);
  opacity: 0;
  padding: 1rem;
  pointer-events: none;
  position: absolute;
  top: 0;
  transform: translateY(6px);
  transition: opacity 130ms ease, transform 130ms ease;
  width: 320px;
  z-index: 5;
}

.bcim__popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.bcim__popover-title {
  font-size: 1.15rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 0.65rem;
}

.bcim__popover-prices {
  display: grid;
  gap: 0.5rem;
  margin: 0 0 0.75rem;
}

.bcim__price {
  align-items: center;
  background: var(--bcim-muted);
  border-radius: 0.65rem;
  display: flex;
  gap: 0.75rem;
  justify-content: space-between;
  padding: 0.55rem 0.65rem;
}

.bcim__price span:first-child {
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.bcim__price span:last-child {
  font-size: 1.15rem;
  font-weight: 900;
  text-align: right;
}

.bcim__popover-actions {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr;
}

.bcim__add {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  padding: 0.7rem 0.9rem;
}

.bcim__add--home {
  background: var(--bcim-blue);
  color: #ffffff;
}

.bcim__add--shared {
  background: var(--bcim-lime);
  color: #111111;
}

.bcim__cart {
  background: var(--bcim-lime);
  border-radius: 1.1rem;
  box-shadow: 0 12px 28px rgba(17, 17, 17, 0.12);
  padding: clamp(0.85rem, 2vw, 1.15rem);
  position: sticky;
  top: 1rem;
}

.bcim__cart .bcim__eyebrow {
  background: var(--bcim-orange);
  margin-bottom: 0.5rem;
}

.bcim__total {
  background: var(--bcim-paper);
  border: 3px solid var(--bcim-ink);
  border-radius: 0.9rem;
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
  margin: 0 0 0.6rem;
  padding: 0.75rem;
  text-align: right;
}

.bcim__hint {
  font-size: 0.96rem;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 0.85rem;
}

.bcim__guide {
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(17, 17, 17, 0.14);
  border-radius: 0.95rem;
  margin: 0 0 1rem;
  padding: 1rem 0.8rem 1rem 1rem;
}


.bcim__guide-header {
  align-items: end;
  display: grid;
  gap: 0.75rem;
  grid-template-columns: minmax(0, 1fr) max-content;
  margin: 0 0 0.65rem;
}

.bcim__guide-title,
.bcim__guide-price-label,
.bcim__cart-subhead {
  font-size: 1rem;
  font-weight: 950;
  letter-spacing: 0.06em;
  line-height: 1.05;
  text-transform: uppercase;
}

.bcim__guide-title,
.bcim__guide-price-label {
  display: block;
  margin: 0;
}

.bcim__guide-price-label {
  padding-right: 0.9rem;
  text-align: right;
  white-space: nowrap;
}

.bcim__cart-subhead {
  margin: 0 0 0.65rem;
}

.bcim__guide-list {
  counter-reset: bcim-guide;
  display: grid;
  gap: 0.48rem;
  list-style: none;
  margin: 0 auto;
  max-height: 380px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0.85rem 0 0;
  scrollbar-gutter: stable;
  width: 100%;
}

.bcim__guide-list li {
  align-items: start;
  counter-increment: bcim-guide;
  display: grid;
  font-size: 0.98rem;
  font-weight: 850;
  gap: 0.42rem;
  grid-template-columns: 2.35em minmax(0, 1fr) minmax(82px, max-content);
  line-height: 1.22;
}

.bcim__guide-list li::before {
  content: counter(bcim-guide) ".";
  font-weight: 950;
  text-align: right;
}

.bcim__guide-list li span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.bcim__guide-list li strong {
  font-size: 0.96rem;
  font-weight: 950;
  justify-self: end;
  line-height: 1.15;
  padding-left: 0.35rem;
  text-align: right;
  white-space: nowrap;
}

.bcim__cart-list {
  display: grid;
  gap: 0.5rem;
  list-style: none;
  margin: 0 0 0.85rem;
  max-height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0 0.3rem 0 0;
  scrollbar-gutter: stable;
}

.bcim__cart-item {
  align-items: start;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 0.85rem;
  display: grid;
  gap: 0.45rem;
  grid-template-columns: minmax(0, 1fr) auto;
  padding: 0.75rem;
}

.bcim__cart-item--empty {
  grid-template-columns: 1fr;
  text-align: left;
}

.bcim__cart-item strong {
  display: block;
  font-size: 1rem;
  line-height: 1.22;
}

.bcim__cart-item span {
  display: block;
  font-size: 0.92rem;
  font-weight: 850;
  line-height: 1.25;
  margin-top: 0.2rem;
}

.bcim__remove {
  background: transparent;
  border: 0;
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 900;
  line-height: 1;
  padding: 0.15rem 0.25rem;
}

.bcim__cart-actions {
  display: grid;
  gap: 0.5rem;
  grid-template-columns: 1fr 0.45fr;
}

.bcim__checkout,
.bcim__clear {
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 900;
  padding: 0.8rem 1rem;
}

.bcim__checkout {
  background: var(--bcim-blue);
  color: #ffffff;
}

.bcim__clear {
  background: #ffffff;
  color: var(--bcim-ink);
}

.bcim__status {
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0.75rem 0 0;
  min-height: 1.15em;
}

@media (max-width: 880px) {
  .bcim__layout {
    grid-template-columns: 1fr;
  }

  .bcim__cart {
    position: static;
  }

  .bcim__guide-list {
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    max-height: none;
  }
}

@media (max-width: 680px) {
  .bcim__map-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }

  .bcim__map-canvas {
    min-width: 640px;
  }

  .bcim__map-wrap::after {
    background: linear-gradient(90deg, rgba(17,17,17,0), rgba(17,17,17,0.72));
    border-radius: 0 0.75rem 0.75rem 0;
    bottom: 0;
    color: #ffffff;
    content: "Swipe plan";
    font-size: 0.72rem;
    font-weight: 900;
    letter-spacing: 0.06em;
    padding: 0.55rem 0.7rem;
    pointer-events: none;
    position: absolute;
    right: 0;
    text-transform: uppercase;
  }
}

@media (max-width: 560px) {
  .bcim__intro h2 {
    font-size: 2.3rem;
  }

  .bcim__map-wrap {
    border-radius: 0.75rem;
  }

  .bcim__hotspot {
    height: 44px;
    width: 44px;
  }

  .bcim__popover {
    border-radius: 1rem 1rem 0 0;
    bottom: 0.75rem;
    left: 0.75rem !important;
    max-width: none;
    position: fixed;
    right: 0.75rem;
    top: auto !important;
    width: auto;
    z-index: 9999;
  }

  .bcim__guide-list {
    grid-template-columns: 1fr;
    padding-right: 0.4rem;
  }

  .bcim__guide-price-label {
    padding-right: 0.4rem;
  }


  .bcim__guide-list li {
    grid-template-columns: 2.35em minmax(0, 1fr) minmax(88px, max-content);
  }

  .bcim__cart-list {
    max-height: none;
  }

  .bcim__total {
    font-size: 2.35rem;
  }
}
