/* Body Shape Calculator — matches site dusty rose / burgundy palette */

/* Hero: text left, calculator right */
.bsc-hero-has-calc > .kt-row-column-wrap {
  align-items: start !important;
}

.bsc-hero-has-calc .kadence-column15_c3c63b-2e > .kt-inside-inner-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.bsc-wrap {
  --bsc-rose: #dc9db2;
  --bsc-rose-dark: #c47d96;
  --bsc-rose-soft: #fae3e3;
  --bsc-rose-chip: #f8ecef;
  --bsc-burgundy: #6b2d3c;
  --bsc-text: #1e1618;
  --bsc-muted: #5c5256;
  --bsc-border: #edd5dc;
  --bsc-card: #ffffff;
  --bsc-shadow: 0 12px 32px rgba(107, 45, 60, 0.1);
  --bsc-radius: 16px;
  --bsc-font: inherit;

  width: 100%;
  max-width: 560px;
  margin: 0;
  padding: 0;
  font-family: var(--bsc-font);
  color: var(--bsc-text);
  scroll-margin-top: 100px;
}

.bsc-hero-has-calc .bsc-wrap {
  max-width: none;
  margin-left: auto;
}

@media (max-width: 900px) {
  .bsc-wrap {
    max-width: 100%;
    margin: 1.25rem 0 0;
  }
}

.bsc-card {
  background: var(--bsc-card);
  border: 1px solid var(--bsc-border);
  border-radius: calc(var(--bsc-radius) + 2px);
  box-shadow: var(--bsc-shadow);
  padding: clamp(1.25rem, 3vw, 1.75rem);
}

.bsc-card-title {
  margin: 0 0 0.35rem;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 700;
  color: var(--bsc-text);
}

.bsc-card-sub {
  margin: 0 0 1.25rem;
  color: var(--bsc-muted);
  font-size: 0.95rem;
}

.bsc-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem 1rem;
}

.bsc-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.bsc-field label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #4a3f43;
}

.bsc-field input,
.bsc-field select {
  width: 100%;
  appearance: none;
  background: #fff;
  border: 1px solid #e0c8d0;
  border-radius: 10px;
  padding: 0.72rem 0.85rem;
  font: inherit;
  font-size: 0.95rem;
  color: var(--bsc-text);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.bsc-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23c47d96' d='M1.4.6 6 5.2 10.6.6 12 2 6 8 0 2z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.2rem;
}

.bsc-field input:focus,
.bsc-field select:focus {
  outline: none;
  border-color: var(--bsc-rose);
  box-shadow: 0 0 0 3px rgba(220, 157, 178, 0.35);
}

.bsc-field input.is-invalid {
  border-color: #e11d48;
}

.bsc-checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin: 1rem 0 0.85rem;
  font-size: 0.92rem;
  color: #4a3f43;
  cursor: pointer;
}

.bsc-checkbox-row input {
  margin-top: 0.2rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--bsc-rose);
  flex-shrink: 0;
}

.bsc-shoulder-field {
  margin-bottom: 0.85rem;
}

.bsc-shoulder-field.is-hidden,
.bsc-result.is-hidden {
  display: none;
}

.bsc-btn {
  width: 100%;
  border: 1px solid #1e1618;
  border-radius: 10px;
  padding: 0.95rem 1.1rem;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}

.bsc-btn:active {
  transform: translateY(1px);
}

.bsc-btn-primary {
  background: var(--bsc-rose);
  color: #fff;
  margin-top: 0.25rem;
}

.bsc-btn-primary:hover {
  background: var(--bsc-rose-dark);
}

.bsc-result {
  margin-top: 1rem;
  border: 1px solid var(--bsc-border);
  border-radius: 12px;
  padding: 1.15rem 1rem;
  background: var(--bsc-rose-soft);
  animation: bscFadeIn 0.35s ease;
}

.bsc-result-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.9rem;
  align-items: start;
}

.bsc-result-icon {
  width: 130px;
  height: 280px;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #fff;
  border-radius: 14px;
  border: 1px solid var(--bsc-border);
  padding: 0.4rem 0.35rem 0.2rem;
  overflow: hidden;
}

.bsc-result-icon .body-fig,
.bsc-result-icon img {
  width: 120px;
  height: 270px;
  object-fit: contain;
  object-position: bottom center;
  display: block;
}

.bsc-result-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--bsc-burgundy);
}

.bsc-result-copy p {
  margin: 0;
  color: var(--bsc-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.bsc-result-meta {
  margin-top: 0.65rem !important;
  color: var(--bsc-rose-dark) !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  line-height: 1.45 !important;
}

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

@media (max-width: 560px) {
  .bsc-grid-2 {
    grid-template-columns: 1fr;
  }

  .bsc-result-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .bsc-result-icon {
    width: 140px;
    height: 300px;
  }

  .bsc-result-icon .body-fig,
  .bsc-result-icon img {
    width: 130px;
    height: 290px;
  }
}
