/* ============================================
   SECURITY BOX - CALCULATOR STYLES
   ============================================ */

.calc-page {
  padding: 120px var(--spacing-2xl) 80px;
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}

.calc-panel {
  background: var(--bg2);
  border: 1px solid rgba(204, 27, 27, 0.14);
  padding: 44px;
  margin-bottom: 2px;
}

.calc-sec-title {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--red-bright);
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(204, 27, 27, 0.14);
}

/* Display */
.cam-display {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.cam-big {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--red-bright);
  line-height: 1;
}

.cam-lbl {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 6px;
}

.cam-manopera {
  text-align: right;
}

.cam-man-val {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--white);
  font-weight: 700;
}

.cam-man-lbl {
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-top: 4px;
}

/* Visual icons */
.cams-visual {
  display: flex;
  gap: 7px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}

.cami {
  font-size: 20px;
  transition: all 0.3s ease;
  opacity: 0.18;
}

.cami.active {
  opacity: 1;
  filter: drop-shadow(0 0 5px var(--red-glow));
}

/* Range inputs */
input[type='range'] {
  width: 100%;
  appearance: none;
  height: 3px;
  background: linear-gradient(90deg, var(--red-bright) var(--fill, 50%),
                              rgba(0, 0, 0, 0.1) var(--fill, 50%));
  outline: none;
  border-radius: 0;
}

input[type='range']::-webkit-slider-thumb {
  appearance: none;
  width: 18px;
  height: 18px;
  background: var(--red-bright);
  border-radius: 0;
  transform: rotate(45deg);
  box-shadow: 0 0 10px var(--red-glow);
}

input[type='range']::-moz-range-thumb {
  width: 18px;
  height: 18px;
  background: var(--red-bright);
  border-radius: 0;
  border: none;
  box-shadow: 0 0 10px var(--red-glow);
  transform: rotate(45deg);
}

.range-labels {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
}

.range-labels span {
  font-size: 11px;
  color: var(--text-dim);
  letter-spacing: 1px;
}

/* Options */
.opts-label {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: var(--font-body);
}

.opts-group {
  margin-bottom: 26px;
}

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

.pill {
  padding: 8px 16px;
  border: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 12px;
  letter-spacing: 1px;
  transition: all 0.25s ease;
  font-family: var(--font-body);
  font-weight: 500;
  background: transparent;
  color: var(--text-dim);
  line-height: 1.4;
  cursor: pointer;
}

.pill:hover {
  border-color: var(--red-bright);
  background: rgba(204, 27, 27, 0.04);
}

.pill.sel {
  border-color: var(--red-bright);
  color: var(--red-bright);
  background: rgba(204, 27, 27, 0.08);
}

/* Toggle switches */
.tog-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.tog-row:last-child {
  border-bottom: none;
}

.tog-info {
  flex: 1;
}

.tog-name {
  font-size: 14px;
  color: var(--text-body);
  font-weight: 500;
}

.tog-sub {
  font-size: 12px;
  color: var(--text-dim);
  font-weight: 300;
  margin-top: 2px;
}

.tog {
  position: relative;
  width: 42px;
  height: 22px;
  background: rgba(0, 0, 0, 0.1);
  transition: background 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
  cursor: pointer;
  border-radius: 11px;
}

.tog.on {
  background: var(--red);
}

.tog::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 16px;
  height: 16px;
  background: white;
  transition: transform 0.3s ease;
  border-radius: 8px;
}

.tog.on::after {
  transform: translateX(20px);
}

/* RESULT PANEL */
.result-panel {
  position: sticky;
  top: 90px;
}

.result-card {
  background: var(--bg2);
  border: 1px solid rgba(204, 27, 27, 0.18);
  padding: 44px;
}

.res-title {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 26px;
}

.cost-rows {
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.cost-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.cost-row:last-child {
  border-bottom: none;
}

.cost-name {
  font-size: 13px;
  color: var(--text-dim);
  font-weight: 400;
}

.cost-val {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--white);
  font-weight: 600;
}

.cost-row.hl .cost-name {
  color: var(--text-body);
  font-weight: 500;
}

.cost-row.hl .cost-val {
  color: var(--red-bright);
}

.subtotals {
  border-top: 1px solid rgba(204, 27, 27, 0.18);
  padding-top: 18px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sub-row {
  display: flex;
  justify-content: space-between;
}

.sub-lbl {
  font-size: 13px;
  color: var(--text-dim);
}

.sub-val {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--white);
}

.total-box {
  background: rgba(204, 27, 27, 0.08);
  border: 1px solid rgba(204, 27, 27, 0.22);
  padding: 26px 30px;
  margin-bottom: 2px;
}

.total-lbl {
  font-size: 10px;
  letter-spacing: 4px;
  color: var(--text-dim);
  text-transform: uppercase;
  font-family: var(--font-body);
  font-weight: 600;
  margin-bottom: 6px;
}

.total-price {
  font-family: var(--font-display);
  font-size: 50px;
  font-weight: 900;
  color: var(--red-bright);
  line-height: 1;
}

.total-price small {
  font-size: 18px;
}

.total-note {
  font-size: 12px;
  color: var(--text-dim);
  margin-top: 6px;
  font-weight: 300;
  line-height: 1.5;
}

.calc-cta {
  margin-top: 2px;
}

.calc-cta .btn-primary {
  width: 100%;
  text-align: center;
  clip-path: none;
  padding: 18px;
  font-size: 11px;
  letter-spacing: 2px;
  display: block;
}

.incl-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.incl-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  /* more visible color for the included‑items list */
  color: var(--red-bright);
  font-weight: 300;
  letter-spacing: 0.5px;
}

.incl-item::before {
  content: '✓';
  color: var(--red-bright);
  font-size: 11px;
  flex-shrink: 0;
}
