.hpc-wrap {
  max-width: 540px;
  margin: 40px auto;
  padding: 32px 28px 24px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
  font-family: var(--font-body, "DM Sans", sans-serif);
  color: #333;
}

.tbc-pricing__calculator .hpc-wrap { max-width:100%; width:100%; margin:0; }


.hpc-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.hpc-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hpc-icon--adult,
.hpc-icon--kid {
  background: #fff0ed;
  color: var(--c-primary, #e8613a);
}

.hpc-label {
  flex: 1;
  line-height: 1.3;
}

.hpc-label strong {
  font-size: 1.05rem;
  color: #1a1a2e;
}

.hpc-age {
  font-weight: 400;
  color: #888;
  font-size: 0.9rem;
}

.hpc-sub {
  display: block;
  font-size: 0.82rem;
  color: #999;
  margin-top: 1px;
}

.hpc-qty {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.hpc-btn {
  width: 40px;
  height: 40px;
  border: 2px solid #e0e0e0;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  transition: all 0.2s;
  padding: 0;
}

.hpc-btn:hover {
  border-color: var(--c-primary, #e8613a);
  color: var(--c-primary, #e8613a);
  background: #fff5f2;
}

.hpc-num {
  font-size: 1.6rem;
  font-weight: 700;
  min-width: 42px;
  text-align: center;
  color: #1a1a2e;
}

.hpc-slider-row {
  padding: 0 4px 20px;
}

.hpc-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  outline: none;
  background: linear-gradient(
    to right,
    var(--c-primary, #e8613a) var(--hpc-fill, 20%),
    #ede9e6 var(--hpc-fill, 20%)
  );
}

.hpc-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-primary, #e8613a);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  margin-top: -1px;
}

.hpc-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--c-primary, #e8613a);
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.hpc-range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #aaa;
  margin-top: 4px;
  padding: 0 2px;
}

.hpc-divider {
  border: none;
  border-top: 1px solid #eee;
  margin: 8px 0 18px;
}

.hpc-line {
  display: flex;
  justify-content: space-between;
  padding: 6px 0;
  font-size: 0.95rem;
  color: #555;
}

.hpc-line span:last-child {
  font-weight: 600;
  color: #333;
}

.hpc-total-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff5f2;
  border: 1.5px solid #f4c9ba;
  border-radius: 12px;
  padding: 18px 20px;
  margin: 18px 0 20px;
}

.hpc-total-left,
.hpc-total-right {
  display: flex;
  flex-direction: column;
}

.hpc-total-right {
  text-align: right;
}

.hpc-total-guests,
.hpc-avg-label {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 2px;
}

.hpc-total-amount {
  font-size: 2rem;
  font-weight: 800;
  color: #1a1a2e;
  line-height: 1.1;
}

.hpc-avg-amount {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--c-primary, #e8613a);
}

.hpc-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #f4713e 0%, #e8613a 50%, #d4532f 100%);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  box-shadow: 0 4px 16px rgba(232, 97, 58, 0.3);
  letter-spacing: 0.01em;
}

.hpc-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 97, 58, 0.4);
  background: linear-gradient(135deg, #e8613a 0%, #d4532f 100%);
}

.hpc-footer {
  text-align: center;
  font-size: 0.85rem;
  color: #777;
  margin: 16px 0 6px;
  border-top: 1px solid #f0f0f0;
  padding-top: 14px;
}

.hpc-footnote {
  text-align: center;
  font-size: 0.75rem;
  color: #aaa;
  margin: 0 0 4px;
}

@media (max-width: 480px) {
  .hpc-wrap {
    padding: 22px 18px 18px;
    margin: 20px auto;
  }

  .hpc-num {
    font-size: 1.3rem;
    min-width: 32px;
  }

  .hpc-total-amount {
    font-size: 1.6rem;
  }

  .hpc-avg-amount {
    font-size: 1.2rem;
  }
}
