/* ─────────────────────────────────────────────────────────────────────────────
   Arch Pro — Blackmagic Camera Picker + Pricing
   Companion stylesheet for js/camera-picker.js
   ───────────────────────────────────────────────────────────────────────── */

.camera-picker {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
  width: 100%;
  max-width: 1080px;
  color: #fff;
  font-family: Inter, sans-serif;
  text-align: left;
  box-sizing: border-box;
}

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

@keyframes cpFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

.cp-fade {
  animation: cpFadeIn 220ms ease both;
}

.cp-card {
  background-color: #17171b;
  border: 1px solid #2f2f2f;
  border-radius: 20px;
}

/* ── Left: picker card ─────────────────────────────────────────────────── */

.cp-picker-card {
  flex: 1 1 0;
  min-width: 0;
  padding: 32px 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cp-label {
  color: var(--grey);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1;
  margin-bottom: 10px;
}

.cp-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cp-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1.5px solid #3a3a42;
  background-color: transparent;
  color: var(--grey);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.3;
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}

.cp-chip:hover {
  border-color: var(--purple);
  color: #fff;
}

.cp-chip.is-active {
  border-color: var(--purple);
  color: #c9aaff;
  font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(129, 62, 251, 0.13);
}

.cp-divider {
  height: 1px;
  background-color: #2a2a30;
  margin-bottom: 24px;
}

.cp-summary-name {
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cp-summary-log {
  color: #c9aaff;
  font-size: 14px;
  margin-top: 4px;
  opacity: 0.85;
}

.cp-summary-hint {
  color: var(--grey);
  font-size: 14px;
  line-height: 1.4;
  margin-top: 10px;
}

.cp-includes-label {
  margin-top: 14px;
}

.cp-includes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.cp-include-tag {
  color: #fff;
  background-color: #2a2a30;
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
}

/* ── Right: pricing card ───────────────────────────────────────────────── */

.cp-pricing-col {
  flex: 0 0 360px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cp-pricing-card {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 0 0 28px;
  overflow: hidden;
}

.cp-tier-tabs {
  display: flex;
  border-bottom: 1px solid #2a2a30;
}

.cp-tier-tab {
  flex: 1;
  padding: 18px 8px 15px;
  background-color: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  color: var(--grey);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  transition: all 180ms ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.cp-tier-tab:hover {
  color: #fff;
}

.cp-tier-tab.is-active {
  border-bottom-color: var(--purple);
  color: #fff;
  font-weight: 700;
}

.cp-tier-badge {
  color: #c9aaff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.6;
}

.cp-tier-tab.is-active .cp-tier-badge {
  opacity: 1;
}

.cp-tier-body {
  padding: 26px 28px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.cp-price {
  display: flex;
  align-items: flex-start;
  gap: 2px;
  margin-bottom: 6px;
}

.cp-price-currency {
  color: var(--grey);
  font-size: 17px;
  font-weight: 500;
  margin-top: 10px;
}

.cp-price-number {
  color: #fff;
  font-size: 58px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.cp-price-for {
  color: var(--grey);
  font-size: 14px;
  margin-bottom: 4px;
}

.cp-price-log {
  color: #c9aaff;
  font-size: 14px;
  margin-bottom: 22px;
  opacity: 0.85;
}

.cp-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 28px;
  flex: 1;
}

.cp-feature {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
}

.cp-feature-check {
  color: #c9aaff;
  font-weight: 700;
  flex-shrink: 0;
}

.cp-feature-strong {
  font-weight: 600;
}

.cp-buy {
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 9px;
  background-color: var(--purple);
  color: #fff;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  transition: transform 0.2s;
}

.cp-buy:hover {
  transform: scale(1.03);
}

.cp-buy-note {
  color: var(--grey);
  text-align: center;
  font-size: 12px;
  margin-top: 12px;
}

/* ── Empty state ───────────────────────────────────────────────────────── */

.cp-empty {
  flex: 1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px;
}

.cp-empty-mark {
  font-size: 28px;
  opacity: 0.15;
}

.cp-empty-text {
  color: var(--grey);
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.7;
}

/* ── Responsive ────────────────────────────────────────────────────────── */

@media screen and (max-width: 850px) {
  .camera-picker {
    flex-direction: column;
  }

  .cp-pricing-col {
    flex: 1 1 auto;
  }
}

@media screen and (max-width: 479px) {
  .cp-picker-card {
    padding: 24px 20px 28px;
  }

  .cp-tier-body {
    padding: 22px 20px 0;
  }
}
