.base-ideal-page {
  background: #fdf4f4;
  min-height: 60vh;
  padding: 32px 20px 72px;
}

.base-ideal-wrap {
  max-width: 920px;
  margin: 0 auto;
}

.base-ideal-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #d4918a;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.base-ideal-badge svg {
  flex-shrink: 0;
}

.base-ideal-card {
  background: #fff;
  border-radius: 18px;
  padding: 22px 20px 24px;
  margin-bottom: 16px;
  box-shadow: 0 2px 16px rgba(180, 120, 110, 0.08);
}

.base-ideal-q {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 18px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  color: #2b1515;
}

.base-ideal-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #d4918a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.base-ideal-options {
  display: grid;
  gap: 10px;
}

.base-ideal-options--5 {
  grid-template-columns: repeat(5, 1fr);
}

.base-ideal-options--4 {
  grid-template-columns: repeat(4, 1fr);
}

.base-ideal-options--3 {
  grid-template-columns: repeat(3, 1fr);
}

.base-ideal-option {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  padding: 0;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}

.base-ideal-option:hover {
  border-color: #e8c4be;
  box-shadow: 0 4px 14px rgba(212, 145, 138, 0.18);
}

.base-ideal-option.is-selected {
  border-color: #d4918a;
  box-shadow: 0 0 0 1px #d4918a;
}

.base-ideal-option img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: cover;
  object-position: center center;
}

.base-ideal-option span {
  display: block;
  background: #faf5f0;
  padding: 10px 4px;
  font-size: 11px;
  font-weight: 700;
  color: #2b1515;
  line-height: 1.2;
}

.base-ideal-result {
  display: none;
}

.base-ideal-result.is-visible {
  display: block;
}

.base-ideal-result-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 700;
  color: #2b1515;
}

.base-ideal-result-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #d4918a;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.base-ideal-result-text {
  margin: 0 0 6px;
  font-size: 14px;
  color: #3a2020;
  line-height: 1.45;
}

.base-ideal-result-label {
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 700;
  color: #2b1515;
}

.base-ideal-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}

.base-ideal-product {
  background: #fff;
  border: 1px solid #f0e4e0;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}

.base-ideal-product-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.base-ideal-product-link:hover strong {
  color: #d4918a;
}

.base-ideal-product img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  background: #faf8f7;
  padding: 6px;
}

.base-ideal-product strong,
.base-ideal-product small {
  display: block;
  padding: 0 8px;
}

.base-ideal-product strong {
  font-size: 12px;
  margin: 10px 0 2px;
  color: #2b1515;
}

.base-ideal-product small {
  font-size: 11px;
  color: #6b4545;
  margin-bottom: 12px;
}

.base-ideal-empty {
  margin: 0 0 18px;
  font-size: 14px;
  color: #6b4545;
  line-height: 1.45;
}

.base-ideal-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 52px;
  border: 0;
  border-radius: 999px;
  background: #d4918a;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s ease;
}

.base-ideal-cta:hover {
  background: #c47f78;
  color: #fff;
}

@media (max-width: 760px) {
  .base-ideal-options--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .base-ideal-options--4 {
    grid-template-columns: repeat(2, 1fr);
  }

  .base-ideal-options--3,
  .base-ideal-products {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 520px) {
  .base-ideal-page {
    padding: 20px 14px 56px;
  }

  .base-ideal-card {
    padding: 18px 14px 20px;
  }

  .base-ideal-options--5,
  .base-ideal-options--4,
  .base-ideal-options--3 {
    grid-template-columns: repeat(2, 1fr);
  }

  .base-ideal-products {
    grid-template-columns: 1fr;
  }
}
